Skip to content

Commit

Permalink
v5.9.2
Browse files Browse the repository at this point in the history
added Polish language support
  • Loading branch information
dckiller51 committed Aug 15, 2022
1 parent 91a38cc commit 0c0ef6f
Show file tree
Hide file tree
Showing 6 changed files with 260 additions and 138 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

All notable changes to this project will be documented in this file.

## v5.9.2

- added Polish language support (thank you @LukaszP2)

## v5.9.1

- added romania language support (thank you @18rrs)
- added Romania language support (thank you @18rrs)

## v5.9.0

Expand Down
268 changes: 134 additions & 134 deletions dist/body-miscale-card.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/const.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { localize } from './localize/localize';

export const CARD_VERSION = '5.9.1';
export const CARD_VERSION = '5.9.2';

export const states = {
status: {
Expand Down
116 changes: 116 additions & 0 deletions src/localize/languages/pl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
{
"common": {
"version": "Wersja",
"name": "Karta BodyMiScale",
"description": "Karta BodyMiScale pokazuje Twoją wagę oraz parametry ciała.",
"not_available": "BodyMiScale jest niedostępna",
"toggle_power": "Więcej szczegółów jak BMI kCal - pokaż / ukryj"
},
"states": {
"ok": "POMIAR: OK",
"unknown": "STATUS: nieznany",
"problem": "Problem",
"none": "Brak",
"weight unavailable": "Waga niedostępna",
"impedance unavailable": "Impedancja niedostępna",
"weight unavailable, impedance unavailable": "Waga i impedancja niedostępne",
"weight low": "Niska waga",
"impedance low": "Niska impedancja",
"weight low, impedance low": "Waga i impedancja niskie",
"weight high": "Waga wysoka",
"impedance high": "Impedancja wysoka",
"weight high, impedance high": "Waga i impedancja wysoka",
"weight high, impedance low": "Waga wysoka a impedancja niska",
"weight low, impedance high": "Waga nizska a impedancja wysoka"
},
"attributes": {
"weight: ": "Waga: ",
"impedance: ": "Impedancja: ",
"height: ": "Wzrost: ",
"age: ": "Wiek: ",
"gender: ": "Płeć: "
},
"attributes_value": {
"male": "męska",
"female": "żeńska",
"unavailable": "niedstępna"
},
"body": {
"bmi": "BMI",
"bmi_label": "BMI label",
"visceral_fat": "Visceral fat",
"body_fat": "Body fat",
"protein": "Protein",
"water": "Water",
"muscle_mass": "Muscle mass",
"bone_mass": "Bone mass",
"weight": "Waga",
"ideal": "Ideal",
"basal_metabolism": "Basal metabolism",
"body_type": "Typ sylwetki",
"metabolic_age": "Wiek metaboliczny"
},
"body_value": {
"Skinny": "Skinny",
"Balanced-skinny": "Balanced-skinny",
"Skinny-muscular": "Skinny-muscular",
"Balanced": "Balanced",
"Balanced-muscular": "Balanced-muscular",
"Lack-exercise": "Lack-exercise",
"Thick-set": "Thick-set",
"Obese": "Obese",
"Overweight": "Overweight",
"Underweight": "Underweight",
"Normal or Healthy Weight": "Normal or Healthy Weight",
"Slight overweight": "Slight overweight",
"Moderate obesity": "Moderate obesity",
"Severe obesity": "Severe obesity",
"Massive obesity": "Massive obesity",
"unavailable": "niedostępny"
},
"unit": {
" years": " lat"
},
"error": {
"missing_entity": "Proszę zdefiniuj encje.",
"missing_entity_bodymiscale": "Proszę zdefiniuj encję bodymiscale."
},
"editor": {
"entity": "Proszę wybierz konto na wadze (wymagane)!",
"image": "Obraz tła (opcjonalne)",
"model": "ACTIVATE if the scale has 4 grey circles of 5 cm Ø on top",
"model1": "( = model 181B)!",
"model_aria_label_on": "Włącz opcję impedancji",
"model_aria_label_off": "Wyłącz opcję impedancji",
"unit": "Zamień kg na lbs",
"unit_aria_label_on": "Włącz opcję konwersji",
"unit_aria_label_off": "Włącz opcję konwersji",
"theme": "Wybierz rodza motywu.",
"theme_aria_label_on": "Włącz jasny motyw",
"theme_aria_label_off": "Włącz ciemny motyw",
"show_name": "Użyć imienia jako tytułu karty?",
"show_name_aria_label_on": "Włącz opcję imienia jako tytułu",
"show_name_aria_label_off": "Wyłącz opcję imienia jako tytułu",
"show_states": "Wyświetlić stan?",
"show_states_aria_label_on": "Włącz wyświetlanie stanu",
"show_states_aria_label_off": "Wyłącz wyświetlanie stanu",
"show_attributes": "Show personal master data (gora po prawej)?",
"show_attributes_aria_label_on": "Toggle display attributes on",
"show_attributes_aria_label_off": "Toggle display attributes off",
"show_toolbar": "Pokazać zaawansowane opcje?",
"show_toolbar_aria_label_on": "Włącz zaawansowane opcje",
"show_toolbar_aria_label_off": "Wyłącz zaawansowane opcje",
"show_body": "Offer further measurement details",
"show_body1": "(lower half - icon chevron down will show those)?",
"show_body_aria_label_on": "Toggle display body score on",
"show_body_aria_label_off": "Toggle display body score off",
"show_buttons": "Allow account switch?",
"show_buttons_aria_label_on": "Toggle display buttons on",
"show_buttons_aria_label_off": "Toggle display buttons off",
"code_information": "CHANGES WILL ONLY APPEAR AFTER THEY HAVE BEEN SAVED.",
"header_options": "1. Card header options",
"body_options": "2. More card options",
"warning": "UWAGA:",
"code_only_note": "Dodatkowe opcje dostępne są tylko poprzez edycje kodu."
}
}
2 changes: 2 additions & 0 deletions src/localize/localize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import * as es from './languages/es.json';
import * as fr from './languages/fr.json';
import * as it from './languages/it.json';
import * as nl from './languages/nl.json';
import * as pl from './languages/pl.json';
import * as pt from './languages/pt.json';
import * as pt_BR from './languages/pt-BR.json';
import * as ro from './languages/ro.json';
Expand All @@ -20,6 +21,7 @@ const languages: any = {
fr: fr,
it: it,
nl: nl,
pl: pl,
pt: pt,
pt_BR: pt_BR,
ro: ro,
Expand Down
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": "2022-07-24",
"version": "v5.9.1",
"updated_at": "2022-08-15",
"version": "v5.9.2",
"remote_location": "https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/master/dist/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

0 comments on commit 0c0ef6f

Please sign in to comment.