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

Patch 2 #57

Merged
merged 4 commits into from
Jul 13, 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
2 changes: 1 addition & 1 deletion .github/workflows/translate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
subscriptionKey: '${{ secrets.TRANSLATOR_SUBSCRIPTION_KEY }}'
filePath: './src/localize/languages/en.json'
from: 'en'
to: 'de,es,fr,nb,pl,pt'
to: 'de,es,fr,it,nb,pl,pt'
debug: false

- name: Get current branch name
Expand Down
37 changes: 37 additions & 0 deletions src/localize/languages/it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"common": {
"version": "Versione",
"title": "Previsione Meteo Oraria",
"title_card": "Scheda Meteo Oraria",
"description": "Una scheda per rappresentare le condizioni meteorologiche orarie come una barra.",
"invalid_configuration": "Configurazione Non Valida"
},
"editor": {
"entity": "Entità (Richiesta)",
"name": "Nome (Facoltativo)",
"hours_to_show": "Numero delle ore da mostrare (Facoltativo)",
"icons": "Mostra le icone invece delle etichette di testo"
},
"errors": {
"missing_entity": "entità mancante nella configurazione",
"too_many_hours_requested": "Troppe ore richieste in num_hours. Deve essere <= al numero di ore nell'entità previsione.",
"daily_forecasts": "L'entità meteo selezionata sembra fornire previsioni giornaliere. Prendi in considerazione il passaggio a un'entità oraria.",
"must_be_int": "Deve essere un numero intero pari, maggiore o uguale a 2",
"invalid_colors": "I seguenti colori nella tua configurazione non sono validi:",
"num_hours_not_multiple": "L'entità meteo selezionata fornisce previsioni a intervalli in {hoursPerSegment}. Considera di rendere num_hours un multiplo di {hoursPerSegment}."
},
"conditions": {
"clear": "Limpido",
"cloudy": "Nuvoloso",
"fog": "Nebbia",
"hail": "Grandine",
"thunderstorm": "Temporale",
"partlyCloudy": "Parzialmente Nuvoloso",
"heavyRain": "Acquazzone",
"rain": "Pioggia",
"snow": "Neve",
"mixedPrecip": "Precipitazioni Miste",
"sunny": "Soleggiato",
"windy": "Ventoso"
}
}
2 changes: 2 additions & 0 deletions src/localize/localize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import * as de from './languages/de.json';
import * as en from './languages/en.json';
import * as es from './languages/es.json';
import * as fr from './languages/fr.json';
import * as it from './languages/it.json';
import * as nb from './languages/nb.json';
import * as pl from './languages/pl.json';
import * as pt from './languages/pt.json';
Expand All @@ -12,6 +13,7 @@ const languages: any = {
en,
es,
fr,
it,
nb,
pl,
pt,
Expand Down