Skip to content

Commit

Permalink
update translation
Browse files Browse the repository at this point in the history
  • Loading branch information
dckiller51 committed May 30, 2021
1 parent f85bf9f commit 30852ca
Show file tree
Hide file tree
Showing 6 changed files with 157 additions and 38 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog
All notable changes to this project will be documented in this file.

## v3.1.0
- Complete translation of card elements
- Added pt-BR language

## v3.0.3
- fix

Expand Down
72 changes: 36 additions & 36 deletions body-miscale-card.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions tracker.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"body-miscale-card": {
"updated_at": "2021-05-26",
"version": "v3.0.3",
"updated_at": "2021-05-30",
"version": "v3.1.0",
"remote_location": "https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/master/body-miscale-card.js",
"visit_repo": "https://github.com/dckiller51/lovelace-body-miscale-card",
"changelog": "https://github.com/dckiller51/lovelace-body-miscale-card/blob/master/CHANGELOG.md"
Expand Down
17 changes: 17 additions & 0 deletions translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
"Age: ": "Age: ",
"Gender: ": "Gender: "
},
"attributes_value": {
"male": "male",
"female": "female",
"unavailable kg": "unavailable",
"unavailable ohm": "unavailable"
},
"body": {
"Water": "Water",
"Visceral fat": "Visceral fat",
Expand All @@ -33,6 +39,17 @@
"Ideal": "Ideal",
"Body type": "Body type"
},
"body_value": {
"Skinny": "Skinny",
"Balanced-skinny": "Balanced-skinny",
"Skinny-muscular": "Skinny-muscular",
"Balanced": "Balanced",
"Balanced-muscular": "Balanced-muscular",
"Lack-exerscise": "Lack-exerscise",
"Thick-set": "Thick-set",
"Obese": "Obese",
"Overweight": "Overweight"
},
"unit": {
" years": " years"
},
Expand Down
17 changes: 17 additions & 0 deletions translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
"Age: ": "Age: ",
"Gender: ": "Genre: "
},
"attributes_value": {
"male": "homme",
"female": "femme",
"unavailable kg": "indisponible",
"unavailable ohm": "indisponible"
},
"body": {
"Water": "Eau",
"Visceral fat": "Graisse viscérale",
Expand All @@ -33,6 +39,17 @@
"Ideal": "Poids idéal",
"Body type": "Corpulence"
},
"body_value": {
"Skinny": "Maigre",
"Balanced-skinny": "Équilibré maigre",
"Skinny-muscular": "Maigre musclé",
"Balanced": "Équilibré",
"Balanced-muscular": "Musclé équilibré",
"Lack-exerscise": "Manque d'exercice",
"Thick-set": "Trapu",
"Obese": "Obèse",
"Overweight": "Surpoids"
},
"unit": {
" years": " ans"
},
Expand Down
81 changes: 81 additions & 0 deletions translations/pt-BR.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"common": {
"name": "Bodymiscale Card",
"description": "O cartão bodymiscale permite que você exiba a pontuação do seu corpo.",
"not_available": "Bodymiscale não é avaialável",
"toggle_power": "Pontuação do show/Ocultar pontuação"
},
"state": {
"ok": "OK",
"problem": "Problema",
"none": "Nenhum",
"weight unavailable": "Peso indisponível",
"impedance unavailable": "Impedance indisponível",
"weight unavailable, impedance unavailable": "Peso indisponível, impedance indisponível"
},
"attributes": {
"Weight: ": "Peso: ",
"Impedance: ": "Impedance: ",
"Height: ": "Cintura: ",
"Age: ": "Idade: ",
"Gender: ": "Gênero: "
},
"attributes_value": {
"male": "macho",
"female": "fêmea",
"unavailable kg": "indisponível",
"unavailable ohm": "indisponível"
},
"body": {
"Water": "Água",
"Visceral fat": "Gordura visceral",
"Body fat": "Gordura corporal",
"BMI": "IMC",
"Muscle mass": "Massa muscular",
"Protein": "Proteína",
"Basal metabolism": "Metabolismo basal",
"Bone mass": "Massa óssea",
"Metabolic age": "Idade metabólica",
"Ideal": "Ideal",
"Body type": "Tipo de corpo"
},
"body_value": {
"Skinny": "Magro",
"Balanced-skinny": "Magro equilibrado",
"Skinny-muscular": "Magro musculoso",
"Balanced": "Equilibrado",
"Balanced-muscular": "Musculoso equilibrado",
"Lack-exerscise": "Falta de exercício",
"Thick-set": "Grosso-conjunto",
"Obese": "Obeso",
"Overweight": "Sobrepeso"
},
"unit": {
" years": " Anos"
},
"error": {
"missing_entity": "Especificar entidade é necessário!"
},
"editor": {
"entity": "Entidade (Obrigatório)",
"show_name": "Nome do show",
"show_name_aria_label_on": "Alternar o nome da exibição",
"show_name_aria_label_off": "Alternar o nome da exibição",
"show_state": "Mostrar Estado",
"show_state_aria_label_on": "Alternar estado de exibição ligado",
"show_state_aria_label_off": "Alternar estado de exibição fora",
"show_attributes": "Atributos do show",
"show_attributes_aria_label_on": "Alternar atributos de exibição em",
"show_attributes_aria_label_off": "Alternar atributos de exibição fora",
"show_body": "Mostrar pontuação corporal",
"show_body_aria_label_on": "Alternar a pontuação do corpo do display em",
"show_body_aria_label_off": "Alternar a pontuação do corpo do display fora",
"show_buttons": "Mostrar botões",
"show_buttons_aria_label_on": "Alternar botões de exibição",
"show_buttons_aria_label_off": "Alternar botões de exibição desligados",
"show_toolbar": "Mostrar barra de ferramentas",
"show_toolbar_aria_label_on": "Alternar a barra de ferramentas do display em",
"show_toolbar_aria_label_off": "Alternar barra de ferramentas de exibição fora",
"code_only_note": "Nota: As opções de configuração de ações e estatísticas estão disponíveis exclusivamente usando o Editor de Código."
}
}

0 comments on commit 30852ca

Please sign in to comment.