Some small changes based on #6
This commit is contained in:
parent
fd3196a34f
commit
4771ca669e
8 changed files with 31 additions and 32 deletions
|
@ -1,11 +1,11 @@
|
|||
function getStrings(languageCode) {
|
||||
if (languageCode === 'pt-br') {
|
||||
return require('../locales/portuguese.json');
|
||||
} else {
|
||||
return require('../locales/english.json');
|
||||
}
|
||||
if (languageCode === 'pt-br') {
|
||||
return require('../locales/portuguese.json');
|
||||
} else {
|
||||
return require('../locales/english.json');
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
getStrings
|
||||
};
|
||||
getStrings
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue