4
0
Эх сурвалжийг харах

Fix code for Czech language (#6514)

Use the correct ISO 639-1 code: `cs` and not `cz` (which is the country)
https://www.loc.gov/standards/iso639-2/php/langcodes_name.php?iso_639_1=cs
Alexandre Alapetite 1 жил өмнө
parent
commit
8fc8ac3aef

+ 1 - 1
.typos.toml

@@ -14,7 +14,7 @@ extend-exclude = [
 	"*.pot",
 	"*.rtl.css",
 	".git/",
-	"app/i18n/cz/",
+	"app/i18n/cs/",
 	"app/i18n/de/",
 	"app/i18n/el/",
 	"app/i18n/es/",

+ 0 - 0
app/i18n/cz/admin.php → app/i18n/cs/admin.php


+ 0 - 0
app/i18n/cz/conf.php → app/i18n/cs/conf.php


+ 0 - 0
app/i18n/cz/feedback.php → app/i18n/cs/feedback.php


+ 1 - 1
app/i18n/cz/gen.php → app/i18n/cs/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => 'JavaScript musí být povolen',
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 0 - 0
app/i18n/cz/index.php → app/i18n/cs/index.php


+ 0 - 0
app/i18n/cz/install.php → app/i18n/cs/install.php


+ 0 - 0
app/i18n/cz/sub.php → app/i18n/cs/sub.php


+ 0 - 0
app/i18n/cz/user.php → app/i18n/cs/user.php


+ 1 - 1
app/i18n/de/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => 'JavaScript muss aktiviert sein',
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
app/i18n/el/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => 'JavaScript must be enabled',	// TODO
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
app/i18n/en-us/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => 'JavaScript must be enabled',	// IGNORE
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
app/i18n/en/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => 'JavaScript must be enabled',
 	),
 	'lang' => array(
-		'cz' => 'Čeština',
+		'cs' => 'Čeština',
 		'de' => 'Deutsch',
 		'el' => 'Ελληνικά',
 		'en' => 'English',

+ 1 - 1
app/i18n/es/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => 'JavaScript debe estar activado',
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
app/i18n/fa/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => ' جاوا اسکریپت باید فعال باشد',
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
app/i18n/fr/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => 'Le JavaScript doit être activé.',
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
app/i18n/he/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => 'חובה להפעיל JavaScript',
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
app/i18n/hu/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => 'A JavaScript futtatásának engedélyezve kell lennie',
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
app/i18n/id/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => 'JavaScript must be enabled',	// TODO
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
app/i18n/it/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => 'JavaScript deve essere abilitato',
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
app/i18n/ja/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => 'JavaScriptは有効になっている必要があります。',
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
app/i18n/ko/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => '자바스크립트를 사용하도록 설정해야합니다',
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
app/i18n/lv/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => 'JavaScript jābūt ieslēgtam',
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
app/i18n/nl/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => 'JavaScript moet aanstaan',
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
app/i18n/oc/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => 'JavaScript deu èsser activat',
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
app/i18n/pl/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => 'JavaScript musi być włączony',
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
app/i18n/pt-br/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => 'O JavaScript precisa estar ativo',
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
app/i18n/ru/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => 'JavaScript должен быть включён',
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
app/i18n/sk/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => 'Musíte povoliť JavaScript',
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
app/i18n/tr/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => 'JavaScript aktif olmalıdır.',
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
app/i18n/zh-cn/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => '必须启用 JavaScript',
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
app/i18n/zh-tw/gen.php

@@ -144,7 +144,7 @@ return array(
 		'should_be_activated' => '必須啟用 JavaScript',
 	),
 	'lang' => array(
-		'cz' => 'Čeština',	// IGNORE
+		'cs' => 'Čeština',	// IGNORE
 		'de' => 'Deutsch',	// IGNORE
 		'el' => 'Ελληνικά',	// IGNORE
 		'en' => 'English',	// IGNORE

+ 1 - 1
docs/en/users/05_Configuration.md

@@ -13,7 +13,7 @@ Available languages are:
 
 | Language (English name) | Language (Endonym) | Ordered by language code (ISO-639-1) |
 |:------------------------|:-----------------------|:-------------------------------------|
-| Czech                   | Čeština                | cz                                   |
+| Czech                   | Čeština                | cs                                   |
 | German                  | Deutsch                | de                                   |
 | Greek                   | Ελληνικά               | el                                   |
 | English                 | English                | en                                   |

+ 1 - 1
docs/fr/users/05_Configuration.md

@@ -19,7 +19,7 @@ Les langues disponibles sont:
 
 | Langue (nom français)   | Langue (endonyme)      | Classé par code de langue (ISO-639-1) |
 |:------------------------|:-----------------------|:-------------------------------------|
-| Tchèque                 | Čeština                | cz                                   |
+| Tchèque                 | Čeština                | cs                                   |
 | Allemand                | Deutsch                | de                                   |
 | Grec                    | Ελληνικά               | el                                   |
 | Anglais                 | English                | en                                   |

+ 3 - 3
docs/i18n/freshrss.fr.po

@@ -6841,7 +6841,7 @@ msgstr ""
 msgid ""
 "| Language (English name) | Language (Endonym) | Ordered by language code (ISO-639-1) |\n"
 "|:------------------------|:-----------------------|:-------------------------------------|\n"
-"| Czech                   | Čeština                | cz                                   |\n"
+"| Czech                   | Čeština                | cs                                   |\n"
 "| German                  | Deutsch                | de                                   |\n"
 "| Greek                   | Ελληνικά               | el                                   |\n"
 "| English                 | English                | en                                   |\n"
@@ -9429,10 +9429,10 @@ msgstr ""
 #~ msgstr "Organisation des flux"
 
 #~ msgid ""
-#~ "Available languages are: cz, de, en, es, fr, he, it, ko, nl, oc, pt-br, "
+#~ "Available languages are: cs, de, en, es, fr, he, it, ko, nl, oc, pt-br, "
 #~ "ru, tr, zh-cn."
 #~ msgstr ""
-#~ "Les langues disponibles sont : cz, de, en, es, fr, he, it, ko, nl, oc, pt-"
+#~ "Les langues disponibles sont : cs, de, en, es, fr, he, it, ko, nl, oc, pt-"
 #~ "br, ru, tr, zh-cn."
 
 #~ msgid "*Blue Lagoon* by **Mister aiR**"

+ 1 - 1
docs/i18n/templates/freshrss.pot

@@ -6342,7 +6342,7 @@ msgid ""
 "| Language (English name) | Language (Endonym) | Ordered by language code "
 "(ISO-639-1) |\n"
 "|:------------------------|:-----------------------|:-------------------------------------|\n"
-"| Czech                   | Čeština                | cz                                   "
+"| Czech                   | Čeština                | cs                                   "
 "|\n"
 "| German                  | Deutsch                | de                                   "
 "|\n"