diff --git a/examples/create-react-app/src/App.test.tsx b/examples/create-react-app/src/App.test.tsx index 0a95c196c..8ad75e60a 100644 --- a/examples/create-react-app/src/App.test.tsx +++ b/examples/create-react-app/src/App.test.tsx @@ -2,15 +2,14 @@ import React from "react" import { getByText, render, act } from "@testing-library/react" import { i18n } from "@lingui/core" import { I18nProvider } from "@lingui/react" - import App from "./App" i18n.load({ en: { - ZXBDaP: "Language switcher example:", + "zg/nOF": "Language switcher example: ", }, cs: { - ZXBDaP: "Příklad přepínače jazyků:", + "zg/nOF": "Příklad přepínače jazyků: ", }, }) diff --git a/examples/create-react-app/src/locales/cs.po b/examples/create-react-app/src/locales/cs.po index 6acf82b08..2c0a1d096 100644 --- a/examples/create-react-app/src/locales/cs.po +++ b/examples/create-react-app/src/locales/cs.po @@ -11,38 +11,38 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" -#: src/App.tsx:31 +#: src/App.tsx:43 msgid "{count, plural, zero {There are no books} one {There's one book} other {There are # books}}" msgstr "{count, plural, zero {Nejsou žádné knihy} one {Je tu jedna kniha} other {Existuje # knih}}" -#: src/App.tsx:37 +#: src/App.tsx:50 msgid "Date formatter example:" msgstr "Příklad formátovače data:" -#: src/App.tsx:28 +#: src/App.tsx:40 msgid "Decrement" msgstr "Úbytek" -#: src/App.tsx:45 +#: src/App.tsx:59 msgid "I have a balance of {0}" msgstr "Mám zůstatek {0}" -#: src/App.tsx:25 +#: src/App.tsx:37 msgid "Increment" msgstr "Přírůstek" -#: src/App.tsx:14 -msgid "Language switcher example:" -msgstr "Příklad přepínače jazyků:" +#: src/App.tsx:19 +msgid "Language switcher example: " +msgstr "Příklad přepínače jazyků: " -#: src/App.tsx:43 +#: src/App.tsx:56 msgid "Number formatter example:" msgstr "Příklad formátovače čísel:" -#: src/App.tsx:22 -msgid "Plurals example:" -msgstr "Příklad množného čísla:" +#: src/App.tsx:33 +msgid "Plurals example: " +msgstr "Příklad množného čísla: " -#: src/App.tsx:39 +#: src/App.tsx:53 msgid "Today is {0}" msgstr "Dnes je {0}" diff --git a/examples/create-react-app/src/locales/en.po b/examples/create-react-app/src/locales/en.po index 542c5392f..7cd5d0540 100644 --- a/examples/create-react-app/src/locales/en.po +++ b/examples/create-react-app/src/locales/en.po @@ -13,38 +13,38 @@ msgstr "" "Language-Team: \n" "Plural-Forms: \n" -#: src/App.tsx:31 +#: src/App.tsx:43 msgid "{count, plural, zero {There are no books} one {There's one book} other {There are # books}}" msgstr "{count, plural, zero {There are no books} one {There's one book} other {There are # books}}" -#: src/App.tsx:37 +#: src/App.tsx:50 msgid "Date formatter example:" msgstr "Date formatter example:" -#: src/App.tsx:28 +#: src/App.tsx:40 msgid "Decrement" msgstr "Decrement" -#: src/App.tsx:45 +#: src/App.tsx:59 msgid "I have a balance of {0}" msgstr "I have a balance of {0}" -#: src/App.tsx:25 +#: src/App.tsx:37 msgid "Increment" msgstr "Increment" -#: src/App.tsx:14 -msgid "Language switcher example:" -msgstr "Language switcher example:" +#: src/App.tsx:19 +msgid "Language switcher example: " +msgstr "Language switcher example: " -#: src/App.tsx:43 +#: src/App.tsx:56 msgid "Number formatter example:" msgstr "Number formatter example:" -#: src/App.tsx:22 -msgid "Plurals example:" -msgstr "Plurals example:" +#: src/App.tsx:33 +msgid "Plurals example: " +msgstr "Plurals example: " -#: src/App.tsx:39 +#: src/App.tsx:53 msgid "Today is {0}" msgstr "Today is {0}"