From 54e585bc840337bb6074adc3f38eb33b5e9feeba Mon Sep 17 00:00:00 2001 From: David Smith Date: Thu, 16 Mar 2017 13:02:25 +0000 Subject: [PATCH] After `riw db import TODO-done.json` with one string --- TODO-done.json | 39 ++------------------------------------- src/locale/riw-db.json | 5 +++++ 2 files changed, 7 insertions(+), 37 deletions(-) diff --git a/TODO-done.json b/TODO-done.json index 83d718a..d886294 100644 --- a/TODO-done.json +++ b/TODO-done.json @@ -1,44 +1,9 @@ [ { "id": "App.welcome", - "defaultMessage": "Hello world!", + "defaultMessage": "Hello everyone!", "file": "/Users/dave/git-repos/riw-example/src/components/App.js", "locale": "pt-BR", - "translation": "Olá Mundo!" - }, - { - "id": "App.welcome", - "defaultMessage": "Hello world!", - "file": "/Users/dave/git-repos/riw-example/src/components/App.js", - "locale": "xx-en-reverse", - "translation": "!dlrow olleH" - }, - { - "id": "App.farewell", - "defaultMessage": "The end", - "file": "/Users/dave/git-repos/riw-example/src/components/App.js", - "locale": "pt-BR", - "translation": "O fim" - }, - { - "id": "App.farewell", - "defaultMessage": "The end", - "file": "/Users/dave/git-repos/riw-example/src/components/App.js", - "locale": "xx-en-reverse", - "translation": "dne ehT" - }, - { - "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", - "translation": "Você {numFiles, plural, =0 {não tem arquivos} one {tem um arquivo} other {tem # arquivos}}" - }, - { - "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", - "translation": "{numFiles, plural, =0 {selif on} one {elif eno} other {selif #}} evah uoT" + "translation": "Olá a todos" } ] diff --git a/src/locale/riw-db.json b/src/locale/riw-db.json index 4bfbf54..cfddbb3 100644 --- a/src/locale/riw-db.json +++ b/src/locale/riw-db.json @@ -18,6 +18,11 @@ "pt-BR": "Você {numFiles, plural, =0 {não tem arquivos} one {tem um arquivo} other {tem # arquivos}}", "xx-en-reverse": "{numFiles, plural, =0 {selif on} one {elif eno} other {selif #}} evah uoT" } + }, + "Hello everyone!": { + "_": { + "pt-BR": "Olá a todos" + } } } } \ No newline at end of file