From 864ac5afd7788cd7683eb6f0dddf45ac1455cedb Mon Sep 17 00:00:00 2001 From: David Smith Date: Thu, 16 Mar 2017 12:55:49 +0000 Subject: [PATCH] After `riw app translate` --- src/locale/TODO-untranslated.json | 36 ------------------------------- src/locale/pt-BR.json | 6 +++++- src/locale/xx-en-reverse.json | 6 +++++- 3 files changed, 10 insertions(+), 38 deletions(-) diff --git a/src/locale/TODO-untranslated.json b/src/locale/TODO-untranslated.json index fa20777..56ca0d4 100644 --- a/src/locale/TODO-untranslated.json +++ b/src/locale/TODO-untranslated.json @@ -1,28 +1,4 @@ [ - { - "id": "App.welcome", - "defaultMessage": "Hello world!", - "file": "/Users/dave/git-repos/riw-example/src/components/App.js", - "locale": "pt-BR" - }, - { - "id": "App.welcome", - "defaultMessage": "Hello world!", - "file": "/Users/dave/git-repos/riw-example/src/components/App.js", - "locale": "xx-en-reverse" - }, - { - "id": "App.farewell", - "defaultMessage": "The end", - "file": "/Users/dave/git-repos/riw-example/src/components/App.js", - "locale": "pt-BR" - }, - { - "id": "App.farewell", - "defaultMessage": "The end", - "file": "/Users/dave/git-repos/riw-example/src/components/App.js", - "locale": "xx-en-reverse" - }, { "id": "Buttons.press", "description": "User presses button to take an action", @@ -51,18 +27,6 @@ "file": "/Users/dave/git-repos/riw-example/src/components/Buttons.js", "locale": "xx-en-reverse" }, - { - "id": "FileCounter.label", - "defaultMessage": "You have {numFiles, plural, =0 {no files} one {one file} other {# files}}", - "file": "/Users/dave/git-repos/riw-example/src/components/FileCounter.js", - "locale": "pt-BR" - }, - { - "id": "FileCounter.label", - "defaultMessage": "You have {numFiles, plural, =0 {no files} one {one file} other {# files}}", - "file": "/Users/dave/git-repos/riw-example/src/components/FileCounter.js", - "locale": "xx-en-reverse" - }, { "id": "Text.intro", "defaultMessage": "This is some boring text related to {name}.", diff --git a/src/locale/pt-BR.json b/src/locale/pt-BR.json index 9e26dfe..585b1da 100644 --- a/src/locale/pt-BR.json +++ b/src/locale/pt-BR.json @@ -1 +1,5 @@ -{} \ No newline at end of file +{ + "App.welcome": "Olá Mundo!", + "App.farewell": "O fim", + "FileCounter.label": "Você {numFiles, plural, =0 {não tem arquivos} one {tem um arquivo} other {tem # arquivos}}" +} \ No newline at end of file diff --git a/src/locale/xx-en-reverse.json b/src/locale/xx-en-reverse.json index 9e26dfe..b4af86c 100644 --- a/src/locale/xx-en-reverse.json +++ b/src/locale/xx-en-reverse.json @@ -1 +1,5 @@ -{} \ No newline at end of file +{ + "App.welcome": "!dlrow olleH", + "App.farewell": "dne ehT", + "FileCounter.label": "{numFiles, plural, =0 {selif on} one {elif eno} other {selif #}} evah uoT" +} \ No newline at end of file