diff --git a/dist/const.js b/dist/const.js index 474c345..956ce4a 100644 --- a/dist/const.js +++ b/dist/const.js @@ -1 +1 @@ -export let VERSION = "v0.11.0" \ No newline at end of file +export let VERSION = "v0.11.1" \ No newline at end of file diff --git a/dist/localize/languages/it.js b/dist/localize/languages/it.js new file mode 100644 index 0000000..4077c64 --- /dev/null +++ b/dist/localize/languages/it.js @@ -0,0 +1,148 @@ +export const it = { + "common": { + "api_error": "API Error", + "no_upcoming_games": "Nessun Match imminente %s", + "finalTerm": "%s - Finale", + "byeTerm": "Ciao", + "tourney2": "Finale", + "tourney4": "Semifinale", + "tourney8": "Quarti di finale", + "tourney16": "Sedicesimi", + "tourney32": "Trentaduesimi", + "tourney64": "Sessantaquattresimi", + "tourney128": "Gironi", + "tourney256": "Gironi", + "today": "Oggi", + "tomorrow": "Domani" + }, + "australian-football": { + "startTerm": "Inizio", + "overUnder": "O/U: %s", + "gameStat1": "%s", + "gameStat2": "%s", + "gameStat3": "", + "gameBar": "Probabilità di vittoria", + "teamBarLabel": "%s%", + "oppoBarLabel": "%s%" + }, + "baseball": { + "startTerm": "Primo lancio", + "overUnder": "O/U: %s", + "gameStat1": "Balls %s", + "gameStat2": "Strikes %s", + "gameStat3": "%s Outs", + "gameBar": "Probabilità di vittoria", + "teamBarLabel": "%s%", + "oppoBarLabel": "%s%" + }, + "basketball": { + "startTerm": "Palla a due", + "overUnder": "O/U: %s", + "gameStat1": "%s", + "gameStat2": "%s", + "gameStat3": "", + "gameBar": "Probabilità di vittoria", + "teamBarLabel": "%s%", + "oppoBarLabel": "%s%" + }, + "cricket": { + "startTerm": "Inizio", + "overUnder": "O/U: %s", + "gameStat1": "%s", + "gameStat2": "%s", + "gameStat3": "", + "gameBar": "Probabilità di vittoria", + "teamBarLabel": "%s%", + "oppoBarLabel": "%s%" + }, + "football": { + "startTerm": "Calcio di inizio", + "overUnder": "O/U: %s", + "gameStat1": "%s", + "gameStat2": "%s", + "gameStat3": "", + "gameBar": "Probabilità di vittoria", + "teamBarLabel": "%s%", + "oppoBarLabel": "%s%" + }, + "golf": { + "startTerm": "Inizio", + "overUnder": "O/U: %s", + "gameStat1": "%s", + "gameStat2": "%s", + "gameStat3": "", + "gameBar": "Colpi (attraverso)", + "teamBarLabel": "%s", + "oppoBarLabel": "%s" + }, + "hockey": { + "startTerm": "Inizio", + "overUnder": "O/U: %s", + "gameStat1": "%s", + "gameStat2": "%s", + "gameStat3": "", + "gameBar": "Tiri in porta", + "teamBarLabel": "%s", + "oppoBarLabel": "%s" + }, + "mma": { + "startTerm": "Inizio", + "overUnder": "O/U: %s", + "gameStat1": "%s", + "gameStat2": "%s", + "gameStat3": "", + "gameBar": "Probabilità di vittoria", + "teamBarLabel": "%s%", + "oppoBarLabel": "%s%" + }, + "racing": { + "startTerm": "Partenza", + "overUnder": "O/U: %s", + "gameStat1": "%s", + "gameStat2": "%s", + "gameStat3": "", + "gameBar": "Giri", + "teamBarLabel": "%s", + "oppoBarLabel": "%s" + }, + "soccer": { + "startTerm": "Calcio di inizio", + "overUnder": "O/U: %s", + "gameStat1": "%s", + "gameStat2": "%s", + "gameStat3": "", + "gameBar": "Tiri (In porta)", + "teamBarLabel": "%s", + "oppoBarLabel": "%s" + }, + "tennis": { + "startTerm": "Primo servizio", + "overUnder": "O/U: %s", + "gameStat1": "%s", + "gameStat2": "%s", + "gameStat3": "", + "gameBar": "%s", + "teamBarLabel": "%s", + "oppoBarLabel": "%s" + }, + "volleyball": { + "startTerm": "Primo servizio", + "overUnder": "O/U: %s", + "gameStat1": "%s", + "gameStat2": "%s", + "gameStat3": "", + "gameBar": "%s Punteggio", + "teamBarLabel": "%s", + "oppoBarLabel": "%s" + }, + "default": { + "startTerm": "Inizio", + "overUnder": "O/U: %s", + "gameStat1": "%s", + "gameStat2": "%s", + "gameStat3": "", + "gameBar": "Probabilità di vittoria", + "teamBarLabel": "%s%", + "oppoBarLabel": "%s%" + } +} \ No newline at end of file diff --git a/dist/localize/translator.js b/dist/localize/translator.js index 0420768..63be2e8 100644 --- a/dist/localize/translator.js +++ b/dist/localize/translator.js @@ -3,6 +3,7 @@ import {en_US} from "./languages/en_US.js" import {es} from "./languages/es.js" import {es_419} from "./languages/es_419.js" import {fr} from "./languages/fr.js" +import {it} from "./languages/it.js" import {nl} from "./languages/nl.js" import {pt_BR} from "./languages/pt_BR.js" import {sk} from "./languages/sk.js" @@ -15,6 +16,7 @@ var languages = { es_419: es_419, nl: nl, fr: fr, + it: it, pt_BR: pt_BR, sk: sk, sk_SK: sk_SK, diff --git a/dist/set_sports.js b/dist/set_sports.js index 6266c06..802ee26 100644 --- a/dist/set_sports.js +++ b/dist/set_sports.js @@ -268,6 +268,6 @@ export function setVolleyball(t, stateObj, c, team, oppo) { c.barLabel[team] = t.translate("volleyball.teamBarLabel", "%s", String(stateObj.attributes.team_score)); c.barLabel[oppo] = t.translate("volleyball.oppoBarLabel", "%s", String(stateObj.attributes.opponent_score)); c.timeouts[team] = stateObj.attributes.team_sets_won; - c.timeouts[team] = stateObj.attributes.opponent_sets_won; + c.timeouts[oppo] = stateObj.attributes.opponent_sets_won; c.timeoutsDisplay = 'inline'; }