diff --git a/docs/config.md b/docs/config.md index 73a21b4..872e4ff 100644 --- a/docs/config.md +++ b/docs/config.md @@ -171,6 +171,7 @@ formats. Available languages: +- `cs-CZ` (Standard Czech) - `da-DK` (Standard Danish) - `de-DE` (Standard German) - `en-GB` (British English) diff --git a/src/i18n.js b/src/i18n.js index 89b2365..e4c6e4b 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -5,6 +5,7 @@ import config from "@/config"; // TODO: This should be possible to do with https://github.com/intlify/bundle-tools/tree/main/packages/unplugin-vue-i18n, // but that breaks at runtime - may only work with vue-i18n@9? +import cs_CZ from "@/locales/cs-CZ.json"; import da_DK from "@/locales/da-DK.json"; import de_DE from "@/locales/de-DE.json"; import en_GB from "@/locales/en-GB.json"; @@ -17,6 +18,7 @@ import tr_TR from "@/locales/tr-TR.json"; Vue.use(VueI18n); const messages = { + "cs-CZ": cs_CZ, "da-DK": da_DK, "de-DE": de_DE, "en-GB": en_GB, diff --git a/src/locales/cs-CZ.json b/src/locales/cs-CZ.json new file mode 100644 index 0000000..f4beda5 --- /dev/null +++ b/src/locales/cs-CZ.json @@ -0,0 +1,38 @@ +{ + "Automatically center the map view and zoom in to relevant data": "Automaticky vystředit pohled na mapu a přiblížit na příslušné údaje", + "Fit view": "Napasovat pohled", + "Layer settings": "Nastavení vrstvy", + "Show/hide layers": "Zobrazit/skrýť vrstvy", + "Now": "Teď", + "Select start date": "Zvolit počáteční datum", + "to": "do", + "Select end date": "Zvolit konečný datum", + "Select user": "Zvolit uživatele", + "Show all": "Zobrazit všechno", + "Select device": "Zvolit zařízení", + "Distance travelled": "Procestovaná vzdálenost", + "Elevation gain / loss": "Výškový výstup / pokles", + "Download raw data": "Stáhnout čisté údaje", + "Information": "Informace", + "Show last known locations": "Zobrazit naposledy známé polohy", + "Show location history (line)": "Zobrazit historii poloh (čára)", + "Show location history (points)": "Zobrazit historii poloh (body)", + "Show location heatmap": "Zobrazit tepelnou mapu poloh", + "Minify JSON": "Zminimalizovat JSON", + "Copy to clipboard": "Zkopírovat do schránky", + "Download": "Stáhnout", + "Loading version...": "Nahrávám verzi...", + "OwnTracks website": "Web Stránka OwnTracks", + "OwnTracks documentation": "Dokumentace OwnTracks", + "OwnTracks on Mastodon": "OwnTracks na Mastodon", + "Loading data, please wait...": "Nahrávám údaje, prosím počkejte...", + "Cancel": "Zrušit", + "Image of {deviceName}": "Obrázek {deviceName}", + "Timestamp": "Čas", + "Location": "Poloha", + "Address": "Adresa", + "Battery": "Baterie", + "Speed": "Rychlost", + "Regions:": "Oblasti:", + "WiFi": "WiFi" +}