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 Italian Translation #221

Merged
merged 1 commit into from
Apr 1, 2022
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
7 changes: 5 additions & 2 deletions src/localize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,20 @@
// https://github.com/custom-cards/boilerplate-card/blob/master/src/localize/localize.ts

import { HomeAssistant } from "custom-card-helpers";

import * as de from "./translations/de.json";
import * as en from "./translations/en.json";
import * as fr from "./translations/fr.json";
import * as de from "./translations/de.json";
import * as it from "./translations/it.json";
import * as pt_BR from "./translations/pt-BR.json";
import * as sv from "./translations/sv.json";
import * as zh_Hans from "./translations/zh-Hans.json";

const languages: Record<string, unknown> = {
de,
en,
fr,
de,
it,
"pt-BR": pt_BR,
sv,
"zh-Hans": zh_Hans,
Expand Down
114 changes: 114 additions & 0 deletions src/translations/it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
{
"editor": {
"form": {
"color_picker": {
"values": {
"default": "Colore predefinito"
}
},
"info_picker": {
"values": {
"default": "Informazione predefinita",
"name": "Nome",
"state": "Statp",
"last-changed": "Ultimo Cambiamento",
"last-updated": "Ultimo Aggiornamento",
"none": "Nessuno"
}
},
"layout_picker": {
"values": {
"default": "Disposizione Predefinita",
"vertical": "Disposizione Verticale",
"horizontal": "Disposizione Orizzontale"
}
},
"alignment_picker": {
"values": {
"default": "Allineamento predefinito",
"start": "Inizio",
"end": "Fine",
"center": "Centro",
"justify": "Giustificato"
}
}
},
"card": {
"generic": {
"hide_name": "Nascondi il nome",
"hide_state": "Nascondi lo stato",
"hide_icon": "Nascondi l'icona",
"icon_color": "Colore dell'icona",
"layout": "Disposizione",
"primary_info": "Informazione primaria",
"secondary_info": "Informazione secondaria",
"content_info": "Contenuto",
"use_entity_picture": "Usa l'immagine dell'entità"
},
"light": {
"use_light_color": "Usa il colore della luce",
"show_brightness_control": "Controllo luminosità",
"show_color_temp_control": "Controllo temperatura",
"show_color_control": "Controllo colore",
"incompatible_controls": "Alcuni controlli potrebbero non essere mostrati se la tua luce non li supporta."
},
"fan": {
"icon_animation": "Anima l'icona quando attiva",
"show_percentage_control": "Controllo potenza",
"show_oscillate_control": "Controllo oscillazione"
},
"cover": {
"show_buttons_control": "Controllo",
"show_position_control": "Controllo percentuale apertura"
},
"alarm_control_panel": {
"displayed_states": "Mostra stati"
},
"template": {
"primary": "Informazione primaria",
"secondary": "Informazione Secondaria",
"multiline_secondary": "Abilita frasi multilinea",
"entity_extra": "Usato in templates ed azioni",
"content": "Contenuto"
},
"title": {
"title": "Titolo",
"subtitle": "Sottotitolo"
},
"chips": {
"alignment": "Allineamento"
},
"weather": {
"show_conditions": "Condizioni",
"show_temperature": "Temperatura"
}
},
"chip": {
"sub_element_editor": {
"title": "Editor di chip"
},
"conditional": {
"chip": "Chip"
},
"chip-picker": {
"chips": "Chips",
"details": "Mostra i dettagli cliccando sul bottone di modifica",
"add": "Aggiungi chip",
"edit": "Modifica",
"clear": "Libera",
"select": "Seleziona chip",
"types": {
"action": "Azione",
"alarm-control-panel": "Allarme",
"back": "Torna indietro",
"conditional": "Condizionale",
"entity": "Entità",
"light": "Luce",
"menu": "Menù",
"template": "Template",
"weather": "Meteo"
}
}
}
}
}