Skip to content

Commit

Permalink
Add Finnish language (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
Konkka123 authored Jun 24, 2024
1 parent 4fed8d9 commit e5e6bd8
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ This card supports translations. Please, help to add more translations and impro
- Deutsch (German)
- Eesti (Estonian)
- Español (Spanish)
- Suomi (Finnish)
- Français (French)
- Hrvatski (Croatian)
- Italiano (Italian)
Expand Down
92 changes: 92 additions & 0 deletions src/localize/languages/fi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
{
"$schema": "../schema/schema.json",
"common": {
"name": "Meteoalarm kortti",
"description": "Meteoalarm kortti ilmoittaa voimassa olevista säävaroituksista.",
"warning": "Varoitus",
"expected": "Odotettavissa",
"unavailable": {
"long": "Integraatio ei saatavilla",
"short": "Ei saatavilla"
}
},
"error": {
"missing_entity": "Entiteetti puuttuu!",
"invalid_integration": "Integraatiota ei ole valittu oikein.",
"invalid_scaling_mode": "Skaalautumisasetus ei ole oikein!",
"entity_invalid": {
"single": "Valittu integraatio ei sovi valitun entiteetin kanssa.",
"multiple": "Valittu integraatio ei sovi valittujen entiteettien kanssa: {entity}."
}
},
"editor": {
"entity": "Entiteetti",
"integration": "Integraatio",
"required": "Vaadittu",
"recommended": "Suositeltu",
"override_headline": "Ohita integraation tarjoama otsikko",
"hide_when_no_warning": "Piilota kun varoitusta ei ole saatavilla",
"hide_caption": "Piilota seloste",
"disable_swiper": "Poista varoitus swiper",
"description": {
"start": "Valittu integraatio luo monta entiteettiä.",
"current_expected": "Ensimmäinen on parhaillaan voimassa olevat varoitukset ja toinen tulevat varoitukset.",
"slots": "Niiden tarkempi määrä on päätetään asetuksissa.",
"separate_events": "Jokaisella tapahtumatyypillä on oma erillinen entiteetti.",
"warning_watch_statement_advisory": "There are 4 entities: warnings, watches, statements and advisories.",
"end": "You should add all of them to make sure you don't miss any alerts."
},
"error": {
"expected_entity": "Odotettavissa olevia varoituksia-entiteettiä ei ole lisätty. Tulevia varoituksia ei voida näyttää.",
"too_many_entities": "More entities than expected haven't been provided. Expected {expected} entities, got {got} entities.",
"duplicate": "Duplikaatti entiteettejä löydetty."
},
"scaling_mode": "Skaalausasetus",
"scaling_mode_options": {
"disabled": "Pois",
"headline": "Vain otsikko",
"scale": "Vain skaalaus",
"headline_and_scale": "Otsikko ja skaalaus"
}
},
"events": {
"no_warnings": "Ei varoituksia",
"nuclear": "radioaktiivinen saaste",
"tornado": "trombi",
"hurricane": "hurrikaani",
"wind": "tuuli",
"earthquake": "maanjäristys",
"volcano": "tulivuori",
"snow_ice": "lumi/jää",
"fog": "sumu",
"high_temperature": "korkea lämpötila",
"low_temperature": "matala lämpötila",
"coastal_event": "rannikkomeri",
"tsunami": "tsunami",
"sea_event": "meri",
"forest_fire": "maastopalo",
"avalanches": "maanvyöry",
"thunderstorms": "ukkosmyrsky",
"rain": "sade",
"flooding": "tulva",
"air_quality": "ilmanlaatu",
"dust": "pöly"
},
"messages": {
"yellow": {
"event": "Keltainen {event} varoitus",
"generic": "Keltainen varoitus",
"color": "Keltainen"
},
"orange": {
"event": "Oranssi {event} varoitus",
"generic": "Oranssi varoitus",
"color": "Oranssi"
},
"red": {
"event": "Punainen {event} varoitus",
"generic": "Punainen varoitus",
"color": "Punainen"
}
}
}
2 changes: 2 additions & 0 deletions src/localize/localize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import * as de from './languages/de.json';
import * as en from './languages/en.json';
import * as es from './languages/es.json';
import * as et from './languages/et.json';
import * as fi from './languages/fi.json';
import * as fr from './languages/fr.json';
import * as hr from './languages/hr.json';
import * as it from './languages/it.json';
Expand All @@ -19,6 +20,7 @@ const languages: any = {
nl: nl,
pl: pl,
et: et,
fi: fi,
fr: fr,
it: it,
es: es,
Expand Down

0 comments on commit e5e6bd8

Please sign in to comment.