Skip to content

Commit

Permalink
feat: Added lithuanian translation (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
elijusgust authored May 14, 2021
1 parent 91beacb commit f35cbe2
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ This card supports translations. Please, help to add more translations and impro
- Català (Catalan)
- 正體中文 (Traditional Chinese)
- Việt Nam (Vietnamese)
- Lietuvių (Lithuanian)
- [_Your language?_][add-translation]

## Supported models
Expand Down
4 changes: 3 additions & 1 deletion src/localize.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import * as fi from './translations/fi.json';
import * as ca from './translations/ca.json';
import * as tw from './translations/tw.json';
import * as vi from './translations/vi.json';
import * as lt from './translations/lt.json';

var languages = {
en,
Expand All @@ -44,7 +45,8 @@ var languages = {
fi,
ca,
tw,
vi
vi,
lt
};

const DEFAULT_LANG = 'en';
Expand Down
49 changes: 49 additions & 0 deletions src/translations/lt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"status": {
"cleaning": "Valo",
"paused": "Pristabdytas",
"idle": "Neturi darbo",
"charging": "Kraunasi",
"returning home": "Grįžtą namo",
"docked": "Doke"
},
"source": {
"gentle": "Švelnus",
"silent": "Tylus",
"standard": "Standartinis",
"medium": "Vidutinis",
"turbo": "Turbo"
},
"common": {
"name": "Siurblio kortelė",
"description": "Siurblio kortelė leidžia valdyti jūsų robotą siurblį",
"start": "Valyti",
"continue": "Tęsti",
"pause": "Pristabdyti",
"stop": "Sustabdyti",
"return_to_base": "Statyti į doką",
"locate": "Ieškoti siurblio",
"not_available": "Siurblys yra nepasiekiamas"
},
"error": {
"missing_entity": "Būtina nurodyti entity!"
},
"editor": {
"entity": "Entity (Būtina)",
"map": "Žemėlapio kamera (Neprivaloma)",
"image": "Paveikslėlis (Neprivaloma)",
"compact_view": "Glaustas vaizdas",
"compact_view_aria_label_on": "Įjungti glaustą vaizdą",
"compact_view_aria_label_off": "Išjungti glaustą vaizdą",
"show_name": "Rodyti pavadinimą",
"show_name_aria_label_on": "Įjungti pavadinimo rodymą",
"show_name_aria_label_off": "Išjungti pavadinimo rodymą",
"show_status": "Rodyti būseną",
"show_status_aria_label_on": "Įjungti būsenos rodymą",
"show_status_aria_label_off": "Išjungti būsenos rodymą",
"show_toolbar": "Rodyti įrankių juostą",
"show_toolbar_aria_label_on": "Įjungti įrankių juostos rodymą",
"show_toolbar_aria_label_off": "Išjungti įrankių juostos rodymą",
"code_only_note": "Pastaba: Veiksmų ir statistikos nustatymai gali būti redaguojami tik naudojantis kodo redaguotoju."
}
}

0 comments on commit f35cbe2

Please sign in to comment.