Skip to content
Open
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
34 changes: 32 additions & 2 deletions src/simple-timer-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
*
* Author: eyalgal
* License: MIT
* Version: 2.2.1
* Version: 2.2.2
* For more information, visit: https://github.com/eyalgal/simple-timer-card
*/

import { html, LitElement, css } from "lit";

const cardVersion="2.2.1";
const cardVersion="2.2.2";

const DAY_IN_MS = 86400000;
const YEAR_IN_MS = 365 * DAY_IN_MS;
Expand Down Expand Up @@ -170,6 +170,35 @@ const TRANSLATIONS = {
month: "måned", months: "måneder", year: "år", years: "år",
hour: "time", hours: "timer", minute: "minut", minutes: "minutter",
second: "sekund", seconds: "sekunder",
},
it: {
no_timers: "Nessun timer",
click_to_start: "Clicca per avviare",
no_active_timers: "Nessun timer attivo",
active_timers: "Timer attivi",
add: "Aggiungi",
custom: "Custom",
cancel: "Annulla",
save: "Salva",
start: "Avvia",
snooze: "Rimanda",
dismiss: "Silenza",
ready: "Pronto",
paused: "In pausa",
times_up: "Tempo finito!",
timer: "Timer",
hour_ago: "ora fa",
hours_ago: "ore fa",
minute_ago: "minuto fa",
minutes_ago: "minuti fa",
second_ago: "secondo fa",
seconds_ago: "secondi fa",
h: "h", m: "m", s: "s", d: "g",
w_short: "set", mo_short: "mm", y_short: "aa",
day: "giorno", days: "giorni", week: "settimana", weeks: "settimane",
month: "mese", months: "mesi", year: "anno", years: "anni",
hour: "ora", hours: "ore", minute: "minuto", minutes: "minuti",
second: "secondo", seconds: "secondi",
}
};

Expand Down Expand Up @@ -3874,6 +3903,7 @@ _pinnedTimerValueChanged(ev, index) {
<mwc-list-item value="de">Deutsch</mwc-list-item>
<mwc-list-item value="es">Español</mwc-list-item>
<mwc-list-item value="da">Dansk</mwc-list-item>
<mwc-list-item value="it">Italiano</mwc-list-item>
</ha-select>
</div>
`;
Expand Down