Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Portuguese translation #511

Merged
merged 2 commits into from
May 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/localize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import * as nb from "./translations/nb.json";
import * as nl from "./translations/nl.json";
import * as pl from "./translations/pl.json";
import * as pt_BR from "./translations/pt-BR.json";
import * as pt_PT from "./translations/pt-PT.json";
import * as sv from "./translations/sv.json";
import * as tr from "./translations/tr.json";
import * as vi from "./translations/vi.json";
Expand All @@ -29,6 +30,7 @@ const languages: Record<string, unknown> = {
nl,
pl,
"pt-BR": pt_BR,
"pt-PT": pt_PT,
sv,
tr,
vi,
Expand Down
107 changes: 107 additions & 0 deletions src/translations/pt-PT.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
{
"editor": {
"form": {
"color_picker": {
"values": {
"default": "Cor padrão"
}
},
"info_picker": {
"values": {
"default": "Informações padrão",
"name": "Nome",
"state": "Estado",
"last-changed": "Última alteração",
"last-updated": "Última atualização",
"none": "Nenhum"
}
},
"layout_picker": {
"values": {
"default": "Layout padrão",
"vertical": "Layout vertical",
"horizontal": "Layout horizontal"
}
},
"alignment_picker": {
"values": {
"default": "Padrão (inicio)",
"end": "Fim",
"center": "Centrado",
"justify": "Justificado"
}
}
},
"card": {
"generic": {
"hide_name": "Ocultar nome?",
"hide_state": "Ocultar estado?",
"hide_icon": "Ocultar ícone?",
"icon_color": "Cor do ícone?",
"layout": "Layout",
"primary_info": "Informações primárias",
"secondary_info": "Informações secundárias",
"use_entity_picture": "Usar imagem da entidade?"
},
"light": {
"show_brightness_control": "Mostrar controle de brilho?",
"use_light_color": "Usar cor da luz?",
"show_color_temp_control": "Mostrar controle de temperatura?",
"show_color_control": "Mostrar controle de cor?",
"incompatible_controls": "Alguns controles podem não ser exibidos se a luz não suportar o recurso."
},
"fan": {
"icon_animation": "Animar ícone quando ativo?",
"show_percentage_control": "Mostrar controle de porcentagem?",
"show_oscillate_control": "Mostrar controle de oscilação?"
},
"cover": {
"show_buttons_control": "Mostrar botões?",
"show_position_control": "Mostrar controle de posição?"
},
"template": {
"primary": "Informações primárias",
"secondary": "Informações secundárias",
"multiline_secondary": "Multilinha secundária?",
"content": "Conteúdo"
},
"title": {
"title": "Título",
"subtitle": "Subtítulo"
},
"chips": {
"alignment": "Alinhamento"
},
"weather": {
"show_conditions": "Condições?",
"show_temperature": "Temperatura?"
}
},
"chip": {
"sub_element_editor": {
"title": "Editor de fichas"
},
"conditional": {
"chip": "Ficha"
},
"chip-picker": {
"chips": "Fichas",
"add": "Adicionar ficha",
"edit": "Editar",
"clear": "Limpar",
"select": "Selecionar ficha",
"types": {
"action": "Ação",
"alarm-control-panel": "Alarme",
"back": "Voltar",
"conditional": "Condicional",
"entity": "Entidade",
"light": "Iluminação",
"menu": "Menu",
"template": "Modelo",
"weather": "Clima"
}
}
}
}
}