mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 04:11:16 -05:00
Add pending translations as comments in language list
and fix a defect in setting up new languages.
This commit is contained in:
parent
26fd98491c
commit
27a3b4d8fa
@ -1107,12 +1107,14 @@ set (LANGUAGES
|
||||
ja # Japanese
|
||||
zh # Chinese
|
||||
zh_HK # Chinese per Hong Kong
|
||||
#no # Norwegian
|
||||
#sv # Swedish
|
||||
#pt # Portuguese
|
||||
#it # Italian
|
||||
)
|
||||
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 (
|
||||
|
Loading…
Reference in New Issue
Block a user