From 5347fbdbb14c7277f471f2da50b1e03b84743e1b Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Fri, 20 Jan 2023 12:18:19 -0800 Subject: [PATCH] Update languages to be installed for release Languages that have been abandoned or are not yet sufficiently translated are not shipped with release. The po files and existing translations remain and will be re-enabled post release for future development --- common/pgm_base.cpp | 13 ++++++++----- translation/pofiles/LINGUAS_INSTALL | 24 ++++++++++++------------ 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/common/pgm_base.cpp b/common/pgm_base.cpp index e5c60280b8..9c969c7512 100644 --- a/common/pgm_base.cpp +++ b/common/pgm_base.cpp @@ -77,13 +77,15 @@ * @note Because this list is not created on the fly, wxTranslation * must be called when a language name must be displayed after translation. * Do not change this behavior, because m_Lang_Label is also used as key in config + * N.B. Languages that are commented out have some translation existing but are + * not sufficiently translated to list as valid translations in KiCad for release */ #undef _ #define _(s) s LANGUAGE_DESCR LanguagesList[] = { { wxLANGUAGE_DEFAULT, ID_LANGUAGE_DEFAULT, _( "Default" ), false }, - { wxLANGUAGE_INDONESIAN, ID_LANGUAGE_INDONESIAN, wxT( "Bahasa Indonesia" ), true }, +// { wxLANGUAGE_INDONESIAN, ID_LANGUAGE_INDONESIAN, wxT( "Bahasa Indonesia" ), true }, { wxLANGUAGE_CZECH, ID_LANGUAGE_CZECH, wxT( "Čeština" ), true }, { wxLANGUAGE_DANISH, ID_LANGUAGE_DANISH, wxT( "Dansk" ), true }, { wxLANGUAGE_GERMAN, ID_LANGUAGE_GERMAN, wxT( "Deutsch" ), true }, @@ -95,18 +97,19 @@ LANGUAGE_DESCR LanguagesList[] = { wxLANGUAGE_KOREAN, ID_LANGUAGE_KOREAN, wxT( "한국어"), true }, { wxLANGUAGE_ITALIAN, ID_LANGUAGE_ITALIAN, wxT( "Italiano" ), true }, { wxLANGUAGE_LITHUANIAN, ID_LANGUAGE_LITHUANIAN, wxT( "Lietuvių" ), true }, - { wxLANGUAGE_HUNGARIAN, ID_LANGUAGE_HUNGARIAN, wxT( "Magyar" ), true }, +// { wxLANGUAGE_HUNGARIAN, ID_LANGUAGE_HUNGARIAN, wxT( "Magyar" ), true }, + { wxLANGUAGE_DUTCH, ID_LANGUAGE_DUTCH, wxT( "Nederlandse" ), true }, { wxLANGUAGE_JAPANESE, ID_LANGUAGE_JAPANESE, wxT( "日本語" ), true }, { wxLANGUAGE_THAI, ID_LANGUAGE_THAI, wxT( "ภาษาไทย" ), true }, { wxLANGUAGE_POLISH, ID_LANGUAGE_POLISH, wxT( "Polski" ), true }, { wxLANGUAGE_PORTUGUESE, ID_LANGUAGE_PORTUGUESE, wxT( "Português" ),true }, { wxLANGUAGE_PORTUGUESE_BRAZILIAN, ID_LANGUAGE_PORTUGUESE_BRAZILIAN, wxT( "Português (Brasil)" ), true }, { wxLANGUAGE_RUSSIAN, ID_LANGUAGE_RUSSIAN, wxT( "Русский" ), true }, - { wxLANGUAGE_SERBIAN, ID_LANGUAGE_SERBIAN, wxT( "Српски" ), true }, +// { wxLANGUAGE_SERBIAN, ID_LANGUAGE_SERBIAN, wxT( "Српски" ), true }, { wxLANGUAGE_FINNISH, ID_LANGUAGE_FINNISH, wxT( "Suomi" ), true }, { wxLANGUAGE_SWEDISH, ID_LANGUAGE_SWEDISH, wxT( "Svenska" ), true }, - { wxLANGUAGE_VIETNAMESE, ID_LANGUAGE_VIETNAMESE, wxT( "Tiếng Việt" ), true }, - { wxLANGUAGE_TURKISH, ID_LANGUAGE_TURKISH, wxT( "Türkçe" ), true }, +// { wxLANGUAGE_VIETNAMESE, ID_LANGUAGE_VIETNAMESE, wxT( "Tiếng Việt" ), true }, +// { wxLANGUAGE_TURKISH, ID_LANGUAGE_TURKISH, wxT( "Türkçe" ), true }, { wxLANGUAGE_UKRAINIAN, ID_LANGUAGE_UKRANIAN, wxT( "Українець" ), true }, { wxLANGUAGE_CHINESE_SIMPLIFIED, ID_LANGUAGE_CHINESE_SIMPLIFIED, wxT( "简体中文" ), true }, diff --git a/translation/pofiles/LINGUAS_INSTALL b/translation/pofiles/LINGUAS_INSTALL index 15d6b09668..21ba04033e 100644 --- a/translation/pofiles/LINGUAS_INSTALL +++ b/translation/pofiles/LINGUAS_INSTALL @@ -1,8 +1,8 @@ # please keep this list sorted alphabetically # -ar -bg -ca +#ar +#bg +#ca cs da de @@ -12,27 +12,27 @@ es es_MX fi fr -hu -id +#hu +#id it ja ko lt -lv +#lv nl no pl pt pt_br -ro +#ro ru -sk -sl -sr +#sk +#sl +#sr sv th -tr +#tr uk -vi +#vi zh_CN zh_TW