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
+1 -3
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 (