mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-29 12:52:28 -04: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
|
ja # Japanese
|
||||||
zh # Chinese
|
zh # Chinese
|
||||||
zh_HK # Chinese per Hong Kong
|
zh_HK # Chinese per Hong Kong
|
||||||
|
#no # Norwegian
|
||||||
|
#sv # Swedish
|
||||||
|
#pt # Portuguese
|
||||||
|
#it # Italian
|
||||||
)
|
)
|
||||||
foreach (lang_ ${LANGUAGES})
|
foreach (lang_ ${LANGUAGES})
|
||||||
file (TO_NATIVE_PATH ${CMAKE_SOURCE_DIR}/translations/wsjtx_${lang_}.ts ts_)
|
file (TO_NATIVE_PATH ${CMAKE_SOURCE_DIR}/translations/wsjtx_${lang_}.ts ts_)
|
||||||
if (EXISTS "${ts_}")
|
list (APPEND TS_FILES ${ts_})
|
||||||
list (APPEND TS_FILES ${ts_})
|
|
||||||
endif ()
|
|
||||||
set (qt_translations_ "${QT_TRANSLATIONS_DIR}/qtbase_${lang_}.qm")
|
set (qt_translations_ "${QT_TRANSLATIONS_DIR}/qtbase_${lang_}.qm")
|
||||||
if (EXISTS "${qt_translations_}")
|
if (EXISTS "${qt_translations_}")
|
||||||
add_custom_command (
|
add_custom_command (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user