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

Added Catalan translation #190

Merged
merged 3 commits into from
Mar 7, 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 @@ -166,6 +166,7 @@ This card supports translations. Please, help to add more translations and impro
- Dansk (Danish)
- 한국어 (Korean)
- Suomi (Finnish)
- Català (Catalan)
- [_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 @@ -18,6 +18,7 @@ import * as nb from './translations/nb.json';
import * as da from './translations/da.json';
import * as ko from './translations/ko.json';
import * as fi from './translations/fi.json';
import * as ca from './translations/ca.json';

var languages = {
en,
Expand All @@ -36,7 +37,8 @@ var languages = {
nb,
da,
ko,
fi
fi,
ca
};

const DEFAULT_LANG = 'en';
Expand Down
49 changes: 49 additions & 0 deletions src/translations/ca.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"status": {
"cleaning": "Netejant",
"paused": "En pausa",
"idle": "Inactiu",
"charging": "Carregant",
"returning home": "Tornant a la base",
"docked": "A la base"
},
"source": {
"gentle": "Delicat",
"silent": "Silenciós",
"standard": "Estàndard",
"medium": "Mitjà",
"turbo": "Turbo"
},
"common": {
"name": "Vacuum Card",
"description": "Vacuum card us permet controlar el robot aspirador.",
"start": "Neteja",
"continue": "Continua",
"pause": "Pausa",
"stop": "Atura",
"return_to_base": "Torna a la base",
"locate": "Localitza",
"not_available": "No disponible"
},
"error": {
"missing_entity": "Cal especificar una entitat."
},
"editor": {
"entity": "Entitat (Requerit)",
"map": "Càmera de mapa (Opcional)",
"image": "Imatge (Opcional)",
"compact_view": "Visualització compacta",
"compact_view_aria_label_on": "Activar visualització compacta",
"compact_view_aria_label_off": "Desactivar visualització compacta",
"show_name": "Mostrar nom",
"show_name_aria_label_on": "Mostra nom",
"show_name_aria_label_off": "Amaga nom",
"show_status": "Mostrar estat",
"show_status_aria_label_on": "Mostra estat",
"show_status_aria_label_off": "Amaga estat",
"show_toolbar": "Mostrar barra d'eines",
"show_toolbar_aria_label_on": "Mostra barra d'eines",
"show_toolbar_aria_label_off": "Amaga barra d'eines",
"code_only_note": "Nota: Configuració de les accions i estadístiques només disponible des de l'Editor de Codi."
}
}