Skip to content
This repository was archived by the owner on Jan 16, 2022. It is now read-only.

Commit c87e08c

Browse files
authored
feat(i18n): add Czech language (#488)
1 parent e9d0729 commit c87e08c

File tree

17 files changed

+185
-2
lines changed

17 files changed

+185
-2
lines changed

i18n/config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import i18n from 'i18next';
22
import { initReactI18next } from 'react-i18next';
33

44
import translationEN from './translations/en-US.json';
5+
import translationCS from './translations/cs-CZ.json';
56
import translationPT from './translations/pt-BR.json';
67
import translationES from './translations/es-ES.json';
78
import translationDE from './translations/de-DE.json';
@@ -16,6 +17,9 @@ const languages = {
1617
'en-US': {
1718
translation: translationEN,
1819
},
20+
'cs-CZ': {
21+
translation: translationCS,
22+
},
1923
'pt-BR': {
2024
translation: translationPT,
2125
},
@@ -56,7 +60,7 @@ i18n
5660
// in case window.VEDACCIO_LANGUAGE is undefined,it will fall back to 'en-US'
5761
lng: window?.__VERDACCIO_BASENAME_UI_OPTIONS?.language,
5862
fallbackLng: 'en-US',
59-
whitelist: ['en-US', 'pt-BR', 'es-ES', 'de-DE', 'fr-FR', 'zh-CN', 'ja-JP', 'uk-UA', 'km-KH', 'zh-TW'],
63+
whitelist: ['en-US', 'cs-CZ', 'pt-BR', 'es-ES', 'de-DE', 'fr-FR', 'zh-CN', 'ja-JP', 'uk-UA', 'km-KH', 'zh-TW'],
6064
load: 'currentOnly',
6165
resources: languages,
6266
debug: false,

i18n/translations/cs-CZ.json

Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
1+
{
2+
"copy-to-clipboard": "Zkopírovat do schránky",
3+
"author-anonymous": "Anonymní",
4+
"action-bar-action": {
5+
"visit-home-page": "Navštívit domovskou stránku",
6+
"open-an-issue": "Otevřít otázku",
7+
"download-tarball": "Stáhnout archív (Tar)"
8+
},
9+
"dialog": {
10+
"registry-info": {
11+
"title": "Informace o registru"
12+
}
13+
},
14+
"header": {
15+
"documentation": "Dokumentace",
16+
"registry-info": "Informace o registru",
17+
"greetings": "Ahoj "
18+
},
19+
"search": {
20+
"packages": "Hledat balíčky"
21+
},
22+
"autoComplete": {
23+
"loading": "Načítání...",
24+
"no-results-found": "Nebyly nalezeny žádné výsledky",
25+
"clear": "Vyčistit",
26+
"expand": "Otevřít",
27+
"collapse": "Zavřít"
28+
},
29+
"tab": {
30+
"uplinks": "Uplinky",
31+
"versions": "Verze",
32+
"dependencies": "Závislosti",
33+
"readme": "Přečti si mě"
34+
},
35+
"uplinks": {
36+
"title": "Uplinky",
37+
"no-items": "{{name}} nemá žádné uplinky."
38+
},
39+
"versions": {
40+
"current-tags": "Aktuální značky",
41+
"version-history": "Historie verzí",
42+
"not-available": "Nedostupné"
43+
},
44+
"package": {
45+
"published-on": "Zveřejněno v {{time}} •",
46+
"version": "v{{version}}",
47+
"visit-home-page": "Navštívit domovskou stránku",
48+
"homepage": "Domovská stránka",
49+
"open-an-issue": "Otevřít otázku",
50+
"bugs": "Chyby",
51+
"download": "Stáhnout {{what}}",
52+
"the-tar-file": "tar soubor",
53+
"tarball": "Archív (Tar)"
54+
},
55+
"dependencies": {
56+
"has-no-dependencies": "{{package}} nemá žádné závislosti.",
57+
"dependency-block": "{{package}}@{{version}}"
58+
},
59+
"form": {
60+
"username": "Uživatelské jméno",
61+
"password": "Heslo"
62+
},
63+
"form-placeholder": {
64+
"username": "Vaše uživatelské jméno",
65+
"password": "Vaše silné heslo"
66+
},
67+
"form-validation": {
68+
"required-field": "Toto pole je povinné",
69+
"required-min-length": "Toto pole vyžaduje zadání alespoň {{length}} znaků",
70+
"unable-to-sign-in": "Přihlášení se nezdařilo",
71+
"username-or-password-cant-be-empty": "Uživatelské jméno nebo heslo nemohou být prázdné!"
72+
},
73+
"help": {
74+
"title": "Zatím nebyl zveřejně žádný balíček.",
75+
"sub-title": "Pro zveřejnění vašeho prvního balíčku proveďte následující:",
76+
"first-step": "1. Přihlašte se",
77+
"first-step-command-line": "npm adduser --registry {{registryUrl}}",
78+
"second-step": "2. Zveřejněte balíček",
79+
"second-step-command-line": "npm publish --registry {{registryUrl}}",
80+
"third-step": "3. Obnovte tuto stránku."
81+
},
82+
"sidebar": {
83+
"detail": {
84+
"latest-version": "Nejnovější v{{version}}",
85+
"version": "v{{version}}"
86+
},
87+
"installation": {
88+
"title": "Instalace",
89+
"install-using-yarn": "Instalace pomocí yarn",
90+
"install-using-yarn-command": "yarn add {{packageName}}",
91+
"install-using-npm": "Instalace pomocí npm",
92+
"install-using-npm-command": "npm install {{packageName}}",
93+
"install-using-pnpm": "Instalace pomocí pnpm",
94+
"install-using-pnpm-command": "pnpm install {{packageName}}"
95+
},
96+
"repository": {
97+
"title": "Repozitář"
98+
},
99+
"author": {
100+
"title": "Autor"
101+
},
102+
"distribution": {
103+
"title": "Nejnovější distribuce",
104+
"license": "Licence",
105+
"size": "Velikost",
106+
"file-count": "počet souborů"
107+
},
108+
"maintainers": {
109+
"title": "Správci"
110+
},
111+
"contributors": {
112+
"title": "Přispěvatelé"
113+
},
114+
"engines": {
115+
"npm-version": "NPM verze",
116+
"node-js": "NODE JS"
117+
}
118+
},
119+
"footer": {
120+
"powered-by": "Pohání",
121+
"made-with-love-on": "Tvořeno s <0>♥</0> na"
122+
},
123+
"button": {
124+
"close": "Zavřít",
125+
"cancel": "Zrušit",
126+
"login": "Přihlásit se",
127+
"logout": "Odhlásit se",
128+
"go-to-the-home-page": "Přejít na domovskou stránku",
129+
"learn-more": "Více informací",
130+
"fund-this-package": "<0>Sponzorovat</0> tento balíček"
131+
},
132+
"error": {
133+
"unspecific": "Něco se pokazilo.",
134+
"404": {
135+
"page-not-found": "404 - Stránka nebyla nalezena",
136+
"sorry-we-could-not-find-it": "Omlouváme se, ale nepodařilo se nám to najít..."
137+
},
138+
"app-context-not-correct-used": "Kontext aplikace nebyl použit správným způsobem",
139+
"theme-context-not-correct-used": "Kontext šablony nebyl použit správným způsobem",
140+
"package-meta-is-required-at-detail-context": "packageMeta je vyžadováno v DetailContext"
141+
},
142+
"lng": {
143+
"english": "Angličtina",
144+
"czech": "Čeština",
145+
"japanese": "Japonština",
146+
"portuguese": "Portugalština",
147+
"spanish": "Španělština",
148+
"german": "Němčina",
149+
"chinese": "Čínština",
150+
"chineseTraditional": "Čínština (tradiční)",
151+
"french": "Francouzština",
152+
"ukraine": "Ukrajinština",
153+
"khmer": "Khmerština"
154+
}
155+
}

i18n/translations/de-DE.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
},
142142
"lng": {
143143
"english": "Englisch",
144+
"czech": "Tschechisch",
144145
"japanese": "Japanisch",
145146
"portuguese": "Portugiesisch",
146147
"spanish": "Spanisch",

i18n/translations/en-US.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
},
142142
"lng": {
143143
"english": "English",
144+
"czech": "Czech",
144145
"japanese": "Japanese",
145146
"portuguese": "Portuguese",
146147
"spanish": "Spanish",

i18n/translations/es-ES.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
},
142142
"lng": {
143143
"english": "Inglés",
144+
"czech": "Checo",
144145
"japanese": "Japonés",
145146
"portuguese": "Portugués",
146147
"spanish": "Español",

i18n/translations/fr-FR.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
},
142142
"lng": {
143143
"english": "Anglais",
144+
"czech": "Tchèque",
144145
"japanese": "Japonais",
145146
"portuguese": "Portugais",
146147
"spanish": "Espagnol",

i18n/translations/ja-JP.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
},
142142
"lng": {
143143
"english": "英語",
144+
"czech": "チェコ人",
144145
"japanese": "日本語",
145146
"portuguese": "ポルトガル語",
146147
"spanish": "スペイン語",

i18n/translations/km-KH.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
},
142142
"lng": {
143143
"english": "អង់គ្លេស",
144+
"czech": "ឆែក",
144145
"japanese": "ជប៉ុន",
145146
"portuguese": "ព័រទុយហ្កាល់",
146147
"spanish": "អេស្ប៉ាញ",

i18n/translations/pt-BR.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
},
142142
"lng": {
143143
"english": "Inglês",
144+
"czech": "Tcheco",
144145
"japanese": "Japonês",
145146
"portuguese": "Português",
146147
"spanish": "Espanhol",

i18n/translations/uk-UA.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
},
142142
"lng": {
143143
"english": "Англійська",
144+
"czech": "Чеська",
144145
"japanese": "Японська",
145146
"portuguese": "Португальська",
146147
"spanish": "Іспанська",

0 commit comments

Comments
 (0)