From 24305bd58fe2aa1ba1744e98b415f6d20596ac44 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 27 Mar 2018 11:10:14 -0400 Subject: [PATCH] CMake: make the translations more transparent; easier to update --- CMakeLists.txt | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f3c5baca8..9d004c9d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -185,6 +185,18 @@ if( NOT PYTHONLIBS_FOUND OR NOT PYTHONQT_FOUND ) set( WITH_PYTHONQT OFF ) endif() +### Transifex Translation status +# +# complete = 100% translated +# good = nearly complete (use own judgement) +# ok = incomplete +# bad = 0% translated, placeholder in tx +set( _tx_complete ca zh_CN zh_TW hr cs_CZ da fr lt pt_BR pt_PT es tr_TR) +set( _tx_good sq ja pl sk ro it_IT hu he ru id de nl ) +set( _tx_ok bg uk ast is ar sv el es_MX gl en_GB es_ES th fi_FI hi pl_PL + eu nb sr sl sr@latin mr es_PR kn kk et ) +set( _tx_bad fr_CH gu lo fa ur uz ) + ### ### Calamares application info ### @@ -192,7 +204,8 @@ set( CALAMARES_ORGANIZATION_NAME "Calamares" ) set( CALAMARES_ORGANIZATION_DOMAIN "github.com/calamares" ) set( CALAMARES_APPLICATION_NAME "Calamares" ) set( CALAMARES_DESCRIPTION_SUMMARY "The distribution-independent installer framework" ) -set( CALAMARES_TRANSLATION_LANGUAGES ar ast bg ca cs_CZ da de el en en_GB es_MX es eu fr he hi hr hu id is it_IT ja lt mr nl pl pt_BR pt_PT ro ru sk sq sv th tr_TR zh_CN zh_TW ) +set( CALAMARES_TRANSLATION_LANGUAGES ${_tx_complete} ${_tx_good} ${_tx_ok} ) +list( SORT CALAMARES_TRANSLATION_LANGUAGES ) ### Bump version here set( CALAMARES_VERSION_MAJOR 3 )