diff --git a/test/fixtures/i18n.csv b/test/fixtures/i18n.csv index 104dee7..e2faad5 100644 --- a/test/fixtures/i18n.csv +++ b/test/fixtures/i18n.csv @@ -1,7 +1,9 @@ -key,en-us,nl-nl -node1.node1-1,Industries,Industrieën -node1.node1-2.node1-2-1,test,test -node1.node1-2.node1-2-2,test,test -node2.node2-1,test,test -node2.node2-2.node2-2-1,test,test -node2.node2-2.node2-2-2,test,test +key,en-us,nl-nl,pt-br +node1.node1-1,Industries,Industrieën,Indústrias +node1.node1-2.node1-2-1,test,test,test +node1.node1-2.node1-2-2,test,test,test +node2.node2-1,test,test,test +node2.node2-2.node2-2-1,test,test,test +node2.node2-2.node2-2-2,test,test,test +weekday.tuesday,Tuesday,Dinsdag,Terça +weekday.saturday,Saturday,Zaterdag,Sábado diff --git a/test/fixtures/locales-jshint-ignore/en-us/translations.js b/test/fixtures/locales-jshint-ignore/en-us/translations.js index d54a554..34fa365 100644 --- a/test/fixtures/locales-jshint-ignore/en-us/translations.js +++ b/test/fixtures/locales-jshint-ignore/en-us/translations.js @@ -14,6 +14,10 @@ export default { "node2-2-1": "test", "node2-2-2": "test" } + }, + "weekday": { + "tuesday": "Tuesday", + "saturday": "Saturday" } }; diff --git a/test/fixtures/locales-jshint-ignore/nl-nl/translations.js b/test/fixtures/locales-jshint-ignore/nl-nl/translations.js index 207b3be..9c1879f 100644 --- a/test/fixtures/locales-jshint-ignore/nl-nl/translations.js +++ b/test/fixtures/locales-jshint-ignore/nl-nl/translations.js @@ -14,6 +14,10 @@ export default { "node2-2-1": "test", "node2-2-2": "test" } + }, + "weekday": { + "tuesday": "Dinsdag", + "saturday": "Zaterdag" } }; diff --git a/test/fixtures/locales-jshint-ignore/pt-br/translations.js b/test/fixtures/locales-jshint-ignore/pt-br/translations.js new file mode 100644 index 0000000..3717898 --- /dev/null +++ b/test/fixtures/locales-jshint-ignore/pt-br/translations.js @@ -0,0 +1,24 @@ +/* jshint ignore:start */ + +export default { + "node1": { + "node1-1": "Indústrias", + "node1-2": { + "node1-2-1": "test", + "node1-2-2": "test" + } + }, + "node2": { + "node2-1": "test", + "node2-2": { + "node2-2-1": "test", + "node2-2-2": "test" + } + }, + "weekday": { + "tuesday": "Terça", + "saturday": "Sábado" + } +}; + +/* jshint ignore:end */ diff --git a/test/fixtures/locales/en-us/translations.js b/test/fixtures/locales/en-us/translations.js index 83e595f..6e021e1 100644 --- a/test/fixtures/locales/en-us/translations.js +++ b/test/fixtures/locales/en-us/translations.js @@ -12,5 +12,9 @@ export default { "node2-2-1": "test", "node2-2-2": "test" } + }, + "weekday": { + "tuesday": "Tuesday", + "saturday": "Saturday" } }; diff --git a/test/fixtures/locales/nl-nl/translations.js b/test/fixtures/locales/nl-nl/translations.js index e065996..bab61a9 100644 --- a/test/fixtures/locales/nl-nl/translations.js +++ b/test/fixtures/locales/nl-nl/translations.js @@ -12,5 +12,9 @@ export default { "node2-2-1": "test", "node2-2-2": "test" } + }, + "weekday": { + "tuesday": "Dinsdag", + "saturday": "Zaterdag" } }; diff --git a/test/fixtures/locales/pt-br/translations.js b/test/fixtures/locales/pt-br/translations.js new file mode 100644 index 0000000..316267a --- /dev/null +++ b/test/fixtures/locales/pt-br/translations.js @@ -0,0 +1,20 @@ +export default { + "node1": { + "node1-1": "Indústrias", + "node1-2": { + "node1-2-1": "test", + "node1-2-2": "test" + } + }, + "node2": { + "node2-1": "test", + "node2-2": { + "node2-2-1": "test", + "node2-2-2": "test" + } + }, + "weekday": { + "tuesday": "Terça", + "saturday": "Sábado" + } +};