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 Finnish translations #1262

Merged
merged 5 commits into from
Dec 29, 2022
Merged
Show file tree
Hide file tree
Changes from 3 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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ Change the language of user-facing copy in Leaflet-Geoman
map.pm.setLang('de');
```

Currently available languages are `cz`, `da`, `de`, `el`, `en`, `es`, `fa`, `fr`, `hu`, `id`, `it`, `ja`, `nl`, `no`, `pl`, `pt_br`, `ro`, `ru`, `sv`, `tr`, `ua`, `zh` and `zh_tw`.
Currently available languages are `cz`, `da`, `de`, `el`, `en`, `es`, `fa`, `fi`, `fr`, `hu`, `id`, `it`, `ja`, `nl`, `no`, `pl`, `pt_br`, `ro`, `ru`, `sv`, `tr`, `ua`, `zh` and `zh_tw`.
To add translations to the plugin, you can add [a translation file](src/assets/translations) via Pull Request.

You can also provide your own custom translations.
Expand Down
35 changes: 35 additions & 0 deletions src/assets/translations/fi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"tooltips": {
"placeMarker": "Klikkaa asettaaksesi merkin",
"firstVertex": "Klikkaa asettaakseni ensimmäisen osuuden",
"continueLine": "Klikkaa jatkaaksesi piirtämistä",
"finishLine": "Klikkaa olemassa olevaa merkkiä lopettaaksesi",
"finishPoly": "Klikkaa ensimmäistä merkkiä lopettaaksesi",
"finishRect": "Klikkaa lopettaaksesi",
"startCircle": "Klikkaa asettaaksesi ympyrän keskipisteen",
"finishCircle": "Klikkaa lopettaaksesi ympyrän",
"placeCircleMarker": "Klikkaa asettaaksesi ympyrämerkin",
"placeText": "Klikkaa asettaaksesi tekstin"
},
"actions": {
"finish": "Valmis",
"cancel": "Peruuta",
"removeLastVertex": "Poista viimeinen osuus"
},
"buttonTitles": {
"drawMarkerButton": "Piirrä merkkejä",
"drawPolyButton": "Piirrä monikulmioita",
"drawLineButton": "Piirrä viivoja",
"drawCircleButton": "Piirrä ympyrä",
"drawRectButton": "Piirrä neliskulmioita",
"editButton": "Muokkaa",
"dragButton": "Siirrä",
"cutButton": "Leikkaa",
"deleteButton": "Posta",
"drawCircleMarkerButton": "Piirrä ympyrämerkki",
"snappingButton": "Kiinnitä siirrettävä merkki toisiin muotoihin",
"pinningButton": "Kiinnitä jaetut muodot yhteen",
"rotateButton": "Käännä",
"drawTextButton": "Piirrä tekstiä"
}
}
2 changes: 2 additions & 0 deletions src/assets/translations/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import ua from './ua.json';
import tr from './tr.json';
import cz from './cz.json';
import ja from './ja.json';
import fi from './fi.json';

export default {
en,
Expand All @@ -48,4 +49,5 @@ export default {
tr,
cz,
ja,
fi,
};