Skip to content

Commit 1aec415

Browse files
Add Czech language (#397)
* Add Czech language * Update i18n.ts adding cs * Update languages.tsx adding Čeština * Update resources.ts add cs strings * Create cs.json add czech strings * Update cs.json remove some strings * Add Czech strings * Update cs.json modify czech strings * Add Czech strings * Update group-translation-files.js add cs * Update spread-translation-files.js add cs * Update i18.ts add cs * Create cs.json add Czech string * Create cs.json Add czech strings * Create cs.json Add czech strings * Create cs.json Add czech strings * Create cs.json Add czech string * Create cs.json Add czech strings * Create cs.json add czech strings * Create cs.json add czech strings * Update index.ts add cs strings * Update index.ts add cs * Update index.ts add cs * Update index.ts add cs * Update index.ts ad cs * Update index.ts add cs * Create cs.json add cs strings * Update index.ts add cs * Create cs.json add cs strings * Update index.ts add cs strings * Create cs.json add cs * Update index.ts add cs * Create cs.json add cs * Update index.ts add cs * Create cs.json add cs * Update index.ts add cs * Create cs.json add cs * Update index.ts add cs * Create cs.json add cs * Update index.ts * Create cs.json * Update index.ts * Create cs.json * Update index.ts * Create cs.json * Update index.ts * Create cs.json * Update index.ts * Create cs.json * Update index.ts * Create cs.json * Update index.ts * Create cs.json * Update index.ts add cs * Create cs.json * Update index.ts add cs * Create cs.json * Update index.ts add cs * Create cs.json * Update index.ts add cs * Create cs.json * Update index.ts * Update index.ts * Update App.tsx add cs * Update cs.json * Update cs.json remove comma at the end * Update cs.json fix typo * update translation * update yarn lock * update node version in test.yml --------- Co-authored-by: Pierre Bresson <[email protected]> Co-authored-by: Pierre Bresson <[email protected]>
1 parent ee4a11a commit 1aec415

File tree

80 files changed

+4132
-2378
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+4132
-2378
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
- uses: actions/setup-node@v3
3535
with:
36-
node-version: 16
36+
node-version: 18
3737
- name: Measure setup node
3838
uses: green-coding-solutions/eco-ci-energy-estimation@v3
3939
with:

App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const supportedLanguages: string[] = [
2323
"en",
2424
"fr",
2525
"de",
26+
"cs",
2627
"sv",
2728
"da",
2829
"ru",
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"NO_EMISSION_COMPONENT_TITLE": "Ahoj 👋",
3+
"NO_EMISSION_COMPONENT_THANKS": "Děkujeme, že jste se připojili k našemu boji proti klimatickým změnám!",
4+
"NO_EMISSION_COMPONENT_START_USING_APP": "Chcete-li začít sledovat své emise CO2, klepněte na tlačítko níže",
5+
"NO_EMISSION_COMPONENT_ADD_FIRST_EMISSION": "Přidat mé první emise"
6+
}

app/components/NoEmission/translations/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import zh from "./zh.json";
1111
import ms from "./ms.json";
1212
import it from "./it.json";
1313
import ar from "./ar.json";
14+
import cs from "./cs.json";
1415

1516
interface TranslationKeys {
1617
NO_EMISSION_COMPONENT_TITLE: string;
@@ -19,4 +20,4 @@ interface TranslationKeys {
1920
NO_EMISSION_COMPONENT_ADD_FIRST_EMISSION: string;
2021
}
2122

22-
export { en, fr, de, sv, es, pt, da, ru, pl, zh, ms, it, ar, TranslationKeys };
23+
export { en, fr, de, sv, es, pt, da, ru, pl, zh, ms, it, ar, cs, TranslationKeys };
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"OPEN_FOOD_FACTS_COMPONENT_DATA_FROM": "Data z OPEN FOOD FACTS"
3+
}

app/components/OpenFoodFacts/translations/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ import zh from "./zh.json";
1111
import ms from "./ms.json";
1212
import it from "./it.json";
1313
import ar from "./ar.json";
14+
import cs from "./cs.json";
1415

1516
interface TranslationKeys {
1617
OPEN_FOOD_FACTS_COMPONENT_DATA_FROM: string;
1718
}
1819

19-
export { en, fr, de, sv, es, pt, da, ru, pl, zh, ms, it, ar, TranslationKeys };
20+
export { en, fr, de, sv, es, pt, da, ru, pl, zh, ms, it, ar, cs, TranslationKeys };
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"PERMISSIONS_REQUEST_COMPONENT_OPEN_SETTINGS": "Otevřete nastavení",
3+
"PERMISSIONS_REQUEST_COMPONENT_CAMERA_TITLE": "Žádný přístup ke kameře",
4+
"PERMISSIONS_REQUEST_COMPONENT_CAMERA_SUBTITLE": "Chcete-li tuto funkci používat, dejte aplikaci NMF.earth v nastavení telefonu přístup k fotoaparátu.",
5+
"PERMISSIONS_REQUEST_COMPONENT_NOTIFICATION_TITLE": "Nemáte oprávnění odesílat upozornění",
6+
"PERMISSIONS_REQUEST_COMPONENT_NOTIFICATION_SUBTITLE": "Chcete-li tuto funkci používat, dejte aplikaci NMF.earth oprávnění k zasílání upozornění v nastavení telefonu."
7+
}

app/components/PermissionsRequest/translations/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import zh from "./zh.json";
1111
import ms from "./ms.json";
1212
import it from "./it.json";
1313
import ar from "./ar.json";
14+
import cs from "./cs.json";
1415

1516
interface TranslationKeys {
1617
PERMISSIONS_REQUEST_COMPONENT_OPEN_SETTINGS: string;
@@ -20,4 +21,4 @@ interface TranslationKeys {
2021
PERMISSIONS_REQUEST_COMPONENT_NOTIFICATION_SUBTITLE: string;
2122
}
2223

23-
export { en, fr, de, sv, es, pt, da, ru, pl, zh, ms, it, ar, TranslationKeys };
24+
export { en, fr, de, sv, es, pt, da, ru, pl, zh, ms, it, ar, cs, TranslationKeys };
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"ABOUT_SCREEN_TITLE": "O nás",
3+
"ABOUT_SCREEN_INTRO": "Jsme malý tým, který se zajímá o vliv člověka na planetu. Nejsme startup poháněný růstem nebo ziskem, abychom vypláceli dividendy investorům. Jsme transparentní a můžete se podívat na naše čísla na Indie Hackers. Pokud chcete pomoci projektu, můžete se připojit k našemu týmu. Nebo jednoduše mluvte kolem sebe o našem projektu, dejte nám 5 hvězdiček v obchodě a pošlete nám svůj názor na aplikaci, což nám hodně pomůže. Děkujeme ✌️",
4+
"ABOUT_SCREEN_CARE_HEADER": "Záleží nám na vás",
5+
"ABOUT_SCREEN_PRIVACY": "Ochrana soukromí již od návrhu",
6+
"ABOUT_SCREEN_ETHIC": "Etika jako design",
7+
"ABOUT_SCREEN_OPEN_SOURCE": "100% Open source",
8+
"ABOUT_SCREEN_PRIVACY_BODY": "Všechna data poskytnutá v aplikaci nebudou nikdy prodána ani sdílena žádným společnostem a nesledujeme, co v aplikaci děláte ",
9+
"ABOUT_SCREEN_ETHIC_BODY": "Nevyužíváme psychologické zranitelnosti, jako jsou nekonečné rolování stránky nebo automatické přehrávání, abychom uživatelům zabránili v odchodu ",
10+
"ABOUT_SCREEN_OPEN_SOURCE_BODY": "Každý bude moci přidávat obsah do aplikace, ověřovat modely emisí a opravovat nesprávné informace",
11+
"ABOUT_SCREEN_LIBRARIES_AND_CONTRIBUTORS": "Knihovny a přispěvatelé",
12+
"ABOUT_SCREEN_CAN_BE_FOUND": "Lze nalézt na ",
13+
"ABOUT_SCREEN_GITHUB": "Github"
14+
}

app/screens/About/translations/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import zh from "./zh.json";
1111
import ms from "./ms.json";
1212
import it from "./it.json";
1313
import ar from "./ar.json";
14+
import cs from "./cs.json";
1415

1516
interface TranslationKeys {
1617
ABOUT_SCREEN_TITLE: string;
@@ -27,4 +28,4 @@ interface TranslationKeys {
2728
ABOUT_SCREEN_GITHUB: string;
2829
}
2930

30-
export { en, fr, de, sv, es, pt, da, ru, pl, zh, ms, it, ar, TranslationKeys };
31+
export { en, fr, de, sv, es, pt, da, ru, pl, zh, ms, it, ar, cs, TranslationKeys };

0 commit comments

Comments
 (0)