From 3006d13aee733a8c7ab6cc40d809b0344a67e736 Mon Sep 17 00:00:00 2001 From: Adam Stachowicz Date: Wed, 1 Sep 2021 15:37:56 +0200 Subject: [PATCH 1/4] Update translation docs --- src/languages/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/languages/README.md b/src/languages/README.md index 3da55e8dc..1deeacd6f 100644 --- a/src/languages/README.md +++ b/src/languages/README.md @@ -1,10 +1,10 @@ # How to translate 1. Fork this repo. -2. Create a language file. (e.g. zh-TW.js) The filename must be ISO language code: http://www.lingoes.net/en/translator/langcode.htm +2. Create a language file. (e.g. `zh-TW.js`) The filename must be ISO language code: http://www.lingoes.net/en/translator/langcode.htm 3. `npm run update-language-files --base-lang=de-DE` 6. Your language file should be filled in. You can translate now. -7. Make a pull request when you have done. +7. Make a [pull request](https://github.com/louislam/uptime-kuma/pulls) when you have done. -If you do not have programming skills, let me know in Issue section. I will assist you. 😏 +If you do not have programming skills, let me know in [Issues section](https://github.com/louislam/uptime-kuma/issues). I will assist you. 😏 From 00ac560bd616cd5aeb18c6ed9087cd35ac2c7003 Mon Sep 17 00:00:00 2001 From: Levi Date: Wed, 1 Sep 2021 16:30:08 +0200 Subject: [PATCH 2/4] Create sv-SE.js --- src/languages/sv-SE.js | 110 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 src/languages/sv-SE.js diff --git a/src/languages/sv-SE.js b/src/languages/sv-SE.js new file mode 100644 index 000000000..666851f64 --- /dev/null +++ b/src/languages/sv-SE.js @@ -0,0 +1,110 @@ +export default { + languageName: "Swedish", + checkEverySecond: "Uppdatera var {0} sekund.", + "Avg.": "Genomsnitt ", + retriesDescription: "Max antal försök innan tjĂ€nsten markeras som nere och en notis skickas", + ignoreTLSError: "Ignorera TLS/SSL-fel för webbsidor med HTTPS", + upsideDownModeDescription: "VĂ€nd upp och ner pĂ„ statusen. Om tjĂ€nsten Ă€r nĂ„bar visas den som NERE.", + maxRedirectDescription: "Max antal omdirigeringar att följa. VĂ€lj 0 för att avaktivera omdirigeringar.", + acceptedStatusCodesDescription: "VĂ€lj statuskoder som rĂ€knas som lyckade.", + passwordNotMatchMsg: "Det bekrĂ€ftade lösenorder stĂ€mmer ej överens.", + notificationDescription: "VĂ€nligen lĂ€gg till en notistjĂ€nst till övervakaren.", + keywordDescription: "Sök efter nyckelord i ren HTML eller JSON-svar. Sökningen Ă€r skiftkĂ€nslig.", + pauseDashboardHome: "Pausa", + deleteMonitorMsg: "Är du sĂ€ker pĂ„ att du vill ta bort den hĂ€r övervakningen?", + deleteNotificationMsg: "Är du sĂ€ker pĂ„ att du vill ta bort den hĂ€r notisen för alla övervakare?", + resoverserverDescription: "Cloudflare Ă€r den förvalda servern. Du kan byta resolver nĂ€r som helst.", + rrtypeDescription: "VĂ€lj den RR-typ du vill övervaka", + pauseMonitorMsg: "Är du sĂ€ker pĂ„ att du vill pausa?", + Settings: "InstĂ€llningar", + Dashboard: "Infopanel", + "New Update": "Ny uppdatering", + Language: "SprĂ„k", + Appearance: "Utseende", + Theme: "Tema", + General: "AllmĂ€nt", + Version: "Version", + "Check Update On GitHub": "Sök efter uppdatering pĂ„ GitHub", + List: "Lista", + Add: "LĂ€gg till", + "Add New Monitor": "LĂ€gg Till Ny Övervakare", + "Quick Stats": "Snabbstatistik", + Up: "Uppe", + Down: "Nere", + Pending: "PĂ„gĂ„ende", + Unknown: "OkĂ€nt", + Pause: "Paus", + Name: "Namn", + Status: "Status", + DateTime: "DatumTid", + Message: "Meddelande", + "No important events": "Inga viktiga hĂ€ndelser", + Resume: "Återuppta", + Edit: "Redigera", + Delete: "Ta bort", + Current: "Nuvarande", + Uptime: "Drifttid", + "Cert Exp.": "CertifikatsutgĂ„ng", + days: "dagar", + day: "dag", + "-day": "-dag", + hour: "timme", + "-hour": "-timme", + Response: "Svar", + Ping: "Ping", + "Monitor Type": "Övervakningstyp", + Keyword: "Nyckelord", + "Friendly Name": "VĂ€nligt Namn", + URL: "URL", + Hostname: "VĂ€rdnamn", + Port: "Port", + "Heartbeat Interval": "HjĂ€rtslagsintervall", + Retries: "Försök", + Advanced: "Avancerat", + "Upside Down Mode": "Upp och ner-lĂ€ge", + "Max. Redirects": "Max antal omdirigeringar", + "Accepted Status Codes": "TillĂ„tna statuskoder", + Save: "Spara", + Notifications: "Notiser", + "Not available, please setup.": "Ej tillgĂ€nglig, vĂ€nligen konfigurera.", + "Setup Notification": "Konfigurera Notis", + Light: "Ljust", + Dark: "Mörkt", + Auto: "Automatisk", + "Theme - Heartbeat Bar": "Tema - Heartbeat Bar", + Normal: "Normal", + Bottom: "Botten", + None: "Ingen", + Timezone: "Tidszon", + "Search Engine Visibility": "Synlighet pĂ„ Sökmotorer", + "Allow indexing": "TillĂ„t indexering", + "Discourage search engines from indexing site": "Hindra sökmotorer frĂ„n att indexera sidan", + "Change Password": "Byt Lösenord", + "Current Password": "Nuvarande Lösenord", + "New Password": "Nytt Lösenord", + "Repeat New Password": "Upprepa Nytt Lösenord", + "Update Password": "Uppdatera Lösenord", + "Disable Auth": "Avaktivera Autentisering", + "Enable Auth": "Aktivera Autentisering", + Logout: "Logga ut", + Leave: "LĂ€mna", + "I understand, please disable": "Jag förstĂ„r, vĂ€nligen avaktivera", + Confirm: "BekrĂ€fta", + Yes: "Ja", + No: "Nej", + Username: "AnvĂ€ndarnamn", + Password: "Lösenord", + "Remember me": "Kom ihĂ„g mig", + Login: "Logga in", + "No Monitors, please": "Inga Övervakare, tack", + "add one": "lĂ€gg till en", + "Notification Type": "Notistyp", + Email: "Email", + Test: "Test", + "Certificate Info": "Certifikatsinfo", + "Resolver Server": "Resolverserver", + "Resource Record Type": "RR-typ", + "Last Result": "Senaste resultat", + "Create your admin account": "Skapa ditt administratörskonto", + "Repeat Password": "Upprepa Lösenord" +} From ed5c75282c2c874d31771ed5397cae1ae1d42dee Mon Sep 17 00:00:00 2001 From: Levi Date: Wed, 1 Sep 2021 16:38:05 +0200 Subject: [PATCH 3/4] Update main.js --- src/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.js b/src/main.js index e0f59dae4..3c261d82a 100644 --- a/src/main.js +++ b/src/main.js @@ -29,6 +29,7 @@ import deDE from "./languages/de-DE"; import fr from "./languages/fr"; import ja from "./languages/ja"; import daDK from "./languages/da-DK"; +import svSE from "./languages/sv-SE"; const routes = [ { @@ -98,6 +99,7 @@ const languageList = { "fr": fr, "ja": ja, "da-DK": daDK, + "sv-SE": svSE, }; const i18n = createI18n({ From dce2ba8f9f8b9002924ee0c08aaa0b6303a9c45c Mon Sep 17 00:00:00 2001 From: Levi Date: Wed, 1 Sep 2021 16:41:51 +0200 Subject: [PATCH 4/4] Update sv-SE.js --- src/languages/sv-SE.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/languages/sv-SE.js b/src/languages/sv-SE.js index 666851f64..068f5d597 100644 --- a/src/languages/sv-SE.js +++ b/src/languages/sv-SE.js @@ -7,7 +7,7 @@ export default { upsideDownModeDescription: "VĂ€nd upp och ner pĂ„ statusen. Om tjĂ€nsten Ă€r nĂ„bar visas den som NERE.", maxRedirectDescription: "Max antal omdirigeringar att följa. VĂ€lj 0 för att avaktivera omdirigeringar.", acceptedStatusCodesDescription: "VĂ€lj statuskoder som rĂ€knas som lyckade.", - passwordNotMatchMsg: "Det bekrĂ€ftade lösenorder stĂ€mmer ej överens.", + passwordNotMatchMsg: "Det bekrĂ€ftade lösenordet stĂ€mmer ej överens.", notificationDescription: "VĂ€nligen lĂ€gg till en notistjĂ€nst till övervakaren.", keywordDescription: "Sök efter nyckelord i ren HTML eller JSON-svar. Sökningen Ă€r skiftkĂ€nslig.", pauseDashboardHome: "Pausa",