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 romanian language #242

Merged
merged 1 commit into from
Jul 13, 2021
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ This card supports translations. Please, help to add more translations and impro
- 正體中文 (Traditional Chinese)
- Việt Nam (Vietnamese)
- Lietuvių (Lithuanian)
- Română (Romanian)
- [_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 @@ -23,6 +23,7 @@ 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';
import * as ro from './translations/ro.json';

var languages = {
en,
Expand All @@ -46,7 +47,8 @@ var languages = {
ca,
tw,
vi,
lt
lt,
ro
};

const DEFAULT_LANG = 'en';
Expand Down
61 changes: 61 additions & 0 deletions src/translations/ro.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"status": {
"cleaning": "Curățare",
"auto": "Curățare Automată",
"spot": "Curățare Punct",
"edge": "Curățare Margini",
"single_room": "Curățare o singură cameră",
"paused": "Repauz",
"idle": "Inactiv",
"stop": "Oprit",
"charging": "Încărcare",
"returning home": "Revenire Acasă",
"returning": "Revenire Acasă",
"docked": "Parcat",
"unknown": "Necunoscut",
"offline": "Deconectat",
"error": "Eroare"
},
"source": {
"gentle": "Blând",
"silent": "Silențios",
"standard": "Standard",
"medium": "Mediu",
"turbo": "Turbo",
"normal": "Normal",
"high": "Ridicat"
},
"common": {
"name": "Card de vid.",
"description": "Un card de vid vă permite să controlați vidul robotului.",
"start": "Curat",
"continue": "Continuă",
"pause": "Repauz",
"stop": "Stop",
"return_to_base": "Parchează",
"locate": "Găsește Aspirator",
"not_available": "Aspiratorul nu este disponibil"
},
"error": {
"missing_entity": "Este necesară specificarea entității!"
},
"editor": {
"entity": "Entitate (Necesar)",
"map": "Camera Harta (Optional)",
"image": "Imagine (Optional)",
"compact_view": "Vizualizare compactă",
"compact_view_aria_label_on": "Pornește vizualizare compactă",
"compact_view_aria_label_off": "Oprește vizualizare compactă compact view off",
"show_name": "Arată Nume",
"show_name_aria_label_on": "Pornește arată nume",
"show_name_aria_label_off": "Oprește arată nume",
"show_status": "Arată Status",
"show_status_aria_label_on": "Pornește arată status",
"show_status_aria_label_off": "Oprește arată status",
"show_toolbar": "Arată bara de instrumente",
"show_toolbar_aria_label_on": "Pornește arată bara de instrumente",
"show_toolbar_aria_label_off": "Oprește arată bara de instrumente",
"code_only_note": "Notă: Acțiunile de setare și opțiunile de statistici sunt disponibile exclusiv folosind Editorul de cod."
}
}