diff --git a/README.md b/README.md index 5db3b0c16..8abfd8876 100644 --- a/README.md +++ b/README.md @@ -161,7 +161,7 @@ This is the container component that encapsulates the lanes and cards | Name | Type | Description | | ------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------ | -| lang | string | Language of compiled texts ("en", "ru"). Default is "en" | +| lang | string | Language of compiled texts ("en", "ru", "pt-br"). Default is "en" | | t | function | Translation function. You can specify either one key as a `String`. Look into ./src/locales for keys list | ### Style customization diff --git a/src/locales/index.js b/src/locales/index.js index 73b1a959a..89659657e 100644 --- a/src/locales/index.js +++ b/src/locales/index.js @@ -1,10 +1,13 @@ // i18next support structure export default { - en: { + "en": { translation: require('./en/translation.json') }, - ru: { + "ru": { translation: require('./ru/translation.json') + }, + "pt-br": { + translation: require('./pt-br/translation.json') } } diff --git a/src/locales/pt-br/translation.json b/src/locales/pt-br/translation.json new file mode 100644 index 000000000..7983579f6 --- /dev/null +++ b/src/locales/pt-br/translation.json @@ -0,0 +1,16 @@ +{ + "Add another lane": "+ Adicionar outra coluna", + "Click to add card": "Clique para adicionar um cartão", + "Delete lane": "Deletar coluna", + "Lane actions": "Ações da coluna", + "button": { + "Add lane": "Adicionar coluna", + "Add card": "Adicionar cartão", + "Cancel": "Cancelar" + }, + "placeholder": { + "title": "título", + "description": "descrição", + "label": "etiqueta" + } +} \ No newline at end of file