Remove redundant localizations: fr_CA, en_CA, en_IN.

This commit is contained in:
Roman Telezhynskyi 2024-01-30 16:10:11 +02:00
parent 748d18ce9a
commit 9a5263eb83
13 changed files with 5 additions and 55441 deletions

View File

@ -2,342 +2,6 @@
host = https://www.transifex.com host = https://www.transifex.com
lang_map = es: es_ES, id: id_ID, uk: uk_UA, cs: cs_CZ, nl: nl_NL, fi: fi_FI lang_map = es: es_ES, id: id_ID, uk: uk_UA, cs: cs_CZ, nl: nl_NL, fi: fi_FI
[o:valentina:p:valentina-project:r:measurements_p0ts]
file_filter = share/translations/measurements_p0_<lang>.ts
source_file = share/translations/measurements_p0.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p10ts]
file_filter = share/translations/measurements_p10_<lang>.ts
source_file = share/translations/measurements_p10.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p11ts]
file_filter = share/translations/measurements_p11_<lang>.ts
source_file = share/translations/measurements_p11.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p12ts]
file_filter = share/translations/measurements_p12_<lang>.ts
source_file = share/translations/measurements_p12.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p13ts]
file_filter = share/translations/measurements_p13_<lang>.ts
source_file = share/translations/measurements_p13.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p14ts]
file_filter = share/translations/measurements_p14_<lang>.ts
source_file = share/translations/measurements_p14.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p15ts]
file_filter = share/translations/measurements_p15_<lang>.ts
source_file = share/translations/measurements_p15.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p16ts]
file_filter = share/translations/measurements_p16_<lang>.ts
source_file = share/translations/measurements_p16.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p17ts]
file_filter = share/translations/measurements_p17_<lang>.ts
source_file = share/translations/measurements_p17.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p18ts]
file_filter = share/translations/measurements_p18_<lang>.ts
source_file = share/translations/measurements_p18.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p19ts]
file_filter = share/translations/measurements_p19_<lang>.ts
source_file = share/translations/measurements_p19.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p1ts]
file_filter = share/translations/measurements_p1_<lang>.ts
source_file = share/translations/measurements_p1.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p20ts]
file_filter = share/translations/measurements_p20_<lang>.ts
source_file = share/translations/measurements_p20.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p21ts]
file_filter = share/translations/measurements_p21_<lang>.ts
source_file = share/translations/measurements_p21.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p22ts]
file_filter = share/translations/measurements_p22_<lang>.ts
source_file = share/translations/measurements_p22.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p23ts]
file_filter = share/translations/measurements_p23_<lang>.ts
source_file = share/translations/measurements_p23.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p24ts]
file_filter = share/translations/measurements_p24_<lang>.ts
source_file = share/translations/measurements_p24.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p25ts]
file_filter = share/translations/measurements_p25_<lang>.ts
source_file = share/translations/measurements_p25.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p26ts]
file_filter = share/translations/measurements_p26_<lang>.ts
source_file = share/translations/measurements_p26.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p27ts]
file_filter = share/translations/measurements_p27_<lang>.ts
source_file = share/translations/measurements_p27.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p28ts]
file_filter = share/translations/measurements_p28_<lang>.ts
source_file = share/translations/measurements_p28.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p29ts]
file_filter = share/translations/measurements_p29_<lang>.ts
source_file = share/translations/measurements_p29.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p2ts]
file_filter = share/translations/measurements_p2_<lang>.ts
source_file = share/translations/measurements_p2.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p30ts]
file_filter = share/translations/measurements_p30_<lang>.ts
source_file = share/translations/measurements_p30.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p31ts]
file_filter = share/translations/measurements_p31_<lang>.ts
source_file = share/translations/measurements_p31.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p32ts]
file_filter = share/translations/measurements_p32_<lang>.ts
source_file = share/translations/measurements_p32.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p33ts]
file_filter = share/translations/measurements_p33_<lang>.ts
source_file = share/translations/measurements_p33.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p34ts]
file_filter = share/translations/measurements_p34_<lang>.ts
source_file = share/translations/measurements_p34.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p35ts]
file_filter = share/translations/measurements_p35_<lang>.ts
source_file = share/translations/measurements_p35.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p36ts]
file_filter = share/translations/measurements_p36_<lang>.ts
source_file = share/translations/measurements_p36.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p37ts]
file_filter = share/translations/measurements_p37_<lang>.ts
source_file = share/translations/measurements_p37.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p38ts]
file_filter = share/translations/measurements_p38_<lang>.ts
source_file = share/translations/measurements_p38.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p39ts]
file_filter = share/translations/measurements_p39_<lang>.ts
source_file = share/translations/measurements_p39.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p3ts]
file_filter = share/translations/measurements_p3_<lang>.ts
source_file = share/translations/measurements_p3.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p40ts]
file_filter = share/translations/measurements_p40_<lang>.ts
source_file = share/translations/measurements_p40.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p41ts]
file_filter = share/translations/measurements_p41_<lang>.ts
source_file = share/translations/measurements_p41.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p42ts]
file_filter = share/translations/measurements_p42_<lang>.ts
source_file = share/translations/measurements_p42.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p43ts]
file_filter = share/translations/measurements_p43_<lang>.ts
source_file = share/translations/measurements_p43.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p44ts]
file_filter = share/translations/measurements_p44_<lang>.ts
source_file = share/translations/measurements_p44.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p45ts]
file_filter = share/translations/measurements_p45_<lang>.ts
source_file = share/translations/measurements_p45.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p46ts]
file_filter = share/translations/measurements_p46_<lang>.ts
source_file = share/translations/measurements_p46.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p47ts]
file_filter = share/translations/measurements_p47_<lang>.ts
source_file = share/translations/measurements_p47.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p48ts]
file_filter = share/translations/measurements_p48_<lang>.ts
source_file = share/translations/measurements_p48.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p49ts]
file_filter = share/translations/measurements_p49_<lang>.ts
source_file = share/translations/measurements_p49.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p4ts]
file_filter = share/translations/measurements_p4_<lang>.ts
source_file = share/translations/measurements_p4.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p50ts]
file_filter = share/translations/measurements_p50_<lang>.ts
source_file = share/translations/measurements_p50.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p51ts]
file_filter = share/translations/measurements_p51_<lang>.ts
source_file = share/translations/measurements_p51.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p52ts]
file_filter = share/translations/measurements_p52_<lang>.ts
source_file = share/translations/measurements_p52.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p53ts]
file_filter = share/translations/measurements_p53_<lang>.ts
source_file = share/translations/measurements_p53.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p54ts]
file_filter = share/translations/measurements_p54_<lang>.ts
source_file = share/translations/measurements_p54.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p5ts]
file_filter = share/translations/measurements_p5_<lang>.ts
source_file = share/translations/measurements_p5.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p6ts]
file_filter = share/translations/measurements_p6_<lang>.ts
source_file = share/translations/measurements_p6.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p7ts]
file_filter = share/translations/measurements_p7_<lang>.ts
source_file = share/translations/measurements_p7.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p8ts]
file_filter = share/translations/measurements_p8_<lang>.ts
source_file = share/translations/measurements_p8.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p998ts]
file_filter = share/translations/measurements_p998_<lang>.ts
source_file = share/translations/measurements_p998.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:measurements_p9ts]
file_filter = share/translations/measurements_p9_<lang>.ts
source_file = share/translations/measurements_p9.ts
source_lang = en
type = QT
[o:valentina:p:valentina-project:r:valentina_ts] [o:valentina:p:valentina-project:r:valentina_ts]
file_filter = share/translations/valentina_<lang>.ts file_filter = share/translations/valentina_<lang>.ts
source_file = share/translations/valentina.ts source_file = share/translations/valentina.ts

View File

@ -11,8 +11,6 @@ Module {
"es_ES", "es_ES",
"fi_FI", "fi_FI",
"en_US", "en_US",
"en_CA",
"en_IN",
"ro_RO", "ro_RO",
"zh_CN", "zh_CN",
"pt_BR", "pt_BR",

View File

@ -8,9 +8,10 @@ start=$(date +%s)
# Download all translations from transifex.com. # Download all translations from transifex.com.
# Empty means unstable branch # Empty means unstable branch
MEASUREMENTS_BRANCH='' # For example _05x
VALENTINA_BRANCH='' # for example 05x VALENTINA_BRANCH='' # for example 05x
LANGUAGES="uk,de_DE,cs,he_IL,fr_FR,it_IT,nl,id,es,fi,en_US,ro_RO,zh_CN,pt_BR,el_GR,pl_PL"
# Certant languages like he_IL and zh_CN are not supported by math parser # Certant languages like he_IL and zh_CN are not supported by math parser
tx pull -r valentina-project.valentina_${VALENTINA_BRANCH}ts --mode=default -f --skip -l "${LANGUAGES}" & tx pull -r valentina-project.valentina_${VALENTINA_BRANCH}ts --mode=default -f --skip -l "${LANGUAGES}" &

View File

@ -9,7 +9,7 @@ start=$(date +%s)
# Empty means unstable branch # Empty means unstable branch
VALENTINA_BRANCH='' # for example 05x VALENTINA_BRANCH='' # for example 05x
LANGUAGES="uk,de_DE,cs,he_IL,fr_FR,it_IT,nl,id,es,fi,en_US,en_CA,en_IN,ro_RO,zh_CN,pt_BR,el_GR,pl_PL" LANGUAGES="uk,de_DE,cs,he_IL,fr_FR,it_IT,nl,id,es,fi,en_US,ro_RO,zh_CN,pt_BR,el_GR,pl_PL"
# Certant languages like he_IL and zh_CN are not supported by math parser # Certant languages like he_IL and zh_CN are not supported by math parser
tx pull -r valentina-project.valentina_${VALENTINA_BRANCH}ts --mode=default -f --skip -l "${LANGUAGES}" & tx pull -r valentina-project.valentina_${VALENTINA_BRANCH}ts --mode=default -f --skip -l "${LANGUAGES}" &

View File

@ -61,8 +61,6 @@ LANGUAGES += \
es_ES \ es_ES \
fi_FI \ fi_FI \
en_US \ en_US \
en_CA \
en_IN \
ro_RO \ ro_RO \
zh_CN \ zh_CN \
pt_BR \ pt_BR \

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -181,22 +181,6 @@ macx{
QMAKE_BUNDLE_DATA += TRANSLATION_en_US QMAKE_BUNDLE_DATA += TRANSLATION_en_US
} }
exists($${TRANSLATIONS_PATH}/valentina_en_CA.qm){
TRANSLATION_en_CA.files += \
$$files($${TRANSLATIONS_PATH}/*_en_CA.qm) \
$${TRANSLATIONS_PATH}/Localizable.strings
TRANSLATION_en_CA.path = "$$RESOURCES_DIR/translations/en_CA.lproj"
QMAKE_BUNDLE_DATA += TRANSLATION_en_CA
}
exists($${TRANSLATIONS_PATH}/valentina_en_IN.qm){
TRANSLATION_en_IN.files += \
$$files($${TRANSLATIONS_PATH}/*_en_IN.qm) \
$${TRANSLATIONS_PATH}/Localizable.strings
TRANSLATION_en_IN.path = "$$RESOURCES_DIR/translations/en_IN.lproj"
QMAKE_BUNDLE_DATA += TRANSLATION_en_IN
}
exists($${TRANSLATIONS_PATH}/valentina_ro_RO.qm){ exists($${TRANSLATIONS_PATH}/valentina_ro_RO.qm){
TRANSLATION_ro_RO.files += \ TRANSLATION_ro_RO.files += \
$$files($${TRANSLATIONS_PATH}/*_ro_RO.qm) \ $$files($${TRANSLATIONS_PATH}/*_ro_RO.qm) \

View File

@ -165,8 +165,8 @@ void SetItemOverrideCursor(QGraphicsItem *item, const QString &pixmapPath, int h
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
auto SupportedLocales() -> QStringList auto SupportedLocales() -> QStringList
{ {
return QStringList{"uk_UA", "de_DE", "cs_CZ", "he_IL", "fr_FR", "it_IT", "nl_NL", "id_ID", "es_ES", return QStringList{"uk_UA", "de_DE", "cs_CZ", "he_IL", "fr_FR", "it_IT", "nl_NL", "id_ID",
"fi_FI", "en_US", "en_CA", "en_IN", "ro_RO", "zh_CN", "pt_BR", "el_GR", "pl_PL"}; "es_ES", "fi_FI", "en_US", "ro_RO", "zh_CN", "pt_BR", "el_GR", "pl_PL"};
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------

View File

@ -7,17 +7,14 @@
<file>flags/Israel.png</file> <file>flags/Israel.png</file>
<file>flags/Italy.png</file> <file>flags/Italy.png</file>
<file>flags/Netherlands.png</file> <file>flags/Netherlands.png</file>
<file>flags/Russia.png</file>
<file>flags/Ukraine.png</file> <file>flags/Ukraine.png</file>
<file>flags/UnitedStates.png</file> <file>flags/UnitedStates.png</file>
<file>flags/Spain.png</file> <file>flags/Spain.png</file>
<file>flags/Finland.png</file> <file>flags/Finland.png</file>
<file>flags/Brazil.png</file> <file>flags/Brazil.png</file>
<file>flags/Canada.png</file>
<file>flags/Colombia.png</file> <file>flags/Colombia.png</file>
<file>flags/Dominican-Republic.png</file> <file>flags/Dominican-Republic.png</file>
<file>flags/Greece.png</file> <file>flags/Greece.png</file>
<file>flags/India.png</file>
<file>flags/Poland.png</file> <file>flags/Poland.png</file>
<file>flags/Romania.png</file> <file>flags/Romania.png</file>
<file>flags/China.png</file> <file>flags/China.png</file>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 632 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 613 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 508 B