Add pending translations as comments in language list

and fix a defect in setting up new languages.
This commit is contained in:
Bill Somerville 2020-06-02 21:17:31 +01:00
parent 7e3e8367aa
commit 837e542991
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F
1 changed files with 1 additions and 3 deletions

View File

@ -1111,9 +1111,7 @@ set (LANGUAGES
)
foreach (lang_ ${LANGUAGES})
file (TO_NATIVE_PATH ${CMAKE_SOURCE_DIR}/translations/wsjtx_${lang_}.ts ts_)
if (EXISTS "${ts_}")
list (APPEND TS_FILES ${ts_})
endif ()
list (APPEND TS_FILES ${ts_})
set (qt_translations_ "${QT_TRANSLATIONS_DIR}/qtbase_${lang_}.qm")
if (EXISTS "${qt_translations_}")
add_custom_command (