From eba275aa1e3fcd9fee89144047039e363eedcc5b Mon Sep 17 00:00:00 2001 From: David Smith Date: Thu, 16 Mar 2017 12:29:35 +0000 Subject: [PATCH] After running `riw app translate` for the first time --- src/locale/TODO-untranslated.json | 90 +++++++++++++++++++++++++++++++ src/locale/en-GB.json | 9 ++++ src/locale/pt-BR.json | 1 + src/locale/xx-en-reverse.json | 1 + 4 files changed, 101 insertions(+) create mode 100644 src/locale/TODO-untranslated.json create mode 100644 src/locale/en-GB.json create mode 100644 src/locale/pt-BR.json create mode 100644 src/locale/xx-en-reverse.json diff --git a/src/locale/TODO-untranslated.json b/src/locale/TODO-untranslated.json new file mode 100644 index 0000000..fa20777 --- /dev/null +++ b/src/locale/TODO-untranslated.json @@ -0,0 +1,90 @@ +[ + { + "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", + "defaultMessage": "Press me", + "file": "/Users/dave/git-repos/riw-example/src/components/Buttons.js", + "locale": "pt-BR" + }, + { + "id": "Buttons.press", + "description": "User presses button to take an action", + "defaultMessage": "Press me", + "file": "/Users/dave/git-repos/riw-example/src/components/Buttons.js", + "locale": "xx-en-reverse" + }, + { + "id": "Buttons.cancel", + "description": "User presses button to cancel action", + "defaultMessage": "Cancel", + "file": "/Users/dave/git-repos/riw-example/src/components/Buttons.js", + "locale": "pt-BR" + }, + { + "id": "Buttons.cancel", + "description": "User presses button to cancel action", + "defaultMessage": "Cancel", + "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}.", + "file": "/Users/dave/git-repos/riw-example/src/components/Text.js", + "locale": "pt-BR" + }, + { + "id": "Text.intro", + "defaultMessage": "This is some boring text related to {name}.", + "file": "/Users/dave/git-repos/riw-example/src/components/Text.js", + "locale": "xx-en-reverse" + }, + { + "id": "Text.thanks", + "defaultMessage": "Thank you.", + "file": "/Users/dave/git-repos/riw-example/src/components/Text.js", + "locale": "pt-BR" + }, + { + "id": "Text.thanks", + "defaultMessage": "Thank you.", + "file": "/Users/dave/git-repos/riw-example/src/components/Text.js", + "locale": "xx-en-reverse" + } +] \ No newline at end of file diff --git a/src/locale/en-GB.json b/src/locale/en-GB.json new file mode 100644 index 0000000..a4bb34f --- /dev/null +++ b/src/locale/en-GB.json @@ -0,0 +1,9 @@ +{ + "App.welcome": "Hello world!", + "App.farewell": "The end", + "Buttons.press": "Press me", + "Buttons.cancel": "Cancel", + "FileCounter.label": "You have {numFiles, plural, =0 {no files} one {one file} other {# files}}", + "Text.intro": "This is some boring text related to {name}.", + "Text.thanks": "Thank you." +} \ No newline at end of file diff --git a/src/locale/pt-BR.json b/src/locale/pt-BR.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/src/locale/pt-BR.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/src/locale/xx-en-reverse.json b/src/locale/xx-en-reverse.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/src/locale/xx-en-reverse.json @@ -0,0 +1 @@ +{} \ No newline at end of file