Use language only to identify Spanish translation files

This  allows the  Spanish UI  translation to  work, for  now, for  all
Spanish speaking locales.  If necessary we  can make it es-ES if other
translators feel it is not a good base for their Spanish variant. OTOH
if they just need to l10n a  few strings then, say for Argentina, then
they can do  that in an wsjtx_es_AR.ts and  untranslated strings there
will fall back to the  ones in wsjtx_es.ts automatically. This happens
because of teh way the application loads multiple translation files in
an order suitable for that to happen.
This commit is contained in:
Bill Somerville 2020-05-26 00:01:43 +01:00
parent 546550e97a
commit fc76966720
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F
3 changed files with 2 additions and 2 deletions

View File

@ -1097,8 +1097,8 @@ add_custom_target (etags COMMAND ${ETAGS} -o ${CMAKE_SOURCE_DIR}/TAGS -R ${sourc
# Qt i18n
set (LANGUAGES
en_GB # English UK
pt_PT # Poutuguese
es_ES # Spanish
pt # Poutuguese
es # Spanish
ca # Catalan
)
foreach (lang_ ${LANGUAGES})