From a4fc1fa586fdfd74ccc9696c0da801dc9adcf263 Mon Sep 17 00:00:00 2001 From: Samuel Mannehed Date: Fri, 28 Oct 2016 15:40:08 +0200 Subject: [PATCH] Add Swedish translation --- app/locale/locale-sv-SE.js | 11 +++++++++++ core/util.js | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 app/locale/locale-sv-SE.js diff --git a/app/locale/locale-sv-SE.js b/app/locale/locale-sv-SE.js new file mode 100644 index 00000000..fac8be63 --- /dev/null +++ b/app/locale/locale-sv-SE.js @@ -0,0 +1,11 @@ +Language = { + "Connected (encrypted) to ": "Ansluten (krypterat) till ", + "Connected (unencrypted) to ": "Ansluten (okrypterat) till ", + "Must set host and port": "Du måste specifiera en host och port", + "Disconnect timeout": "Det tog för lång tid att koppla ner", + "Password is required": "Lösenord krävs", + "Forcing clipping mode since scrollbars aren't supported by IE in fullscreen": "Tvingar 'Clipping mode' eftersom skrollning inte stödjs av IE i fullskärm", + "Connecting": "Ansluter", + "Disconnecting": "Kopplar ner", + "Disconnected": "Frånkopplad", +}; diff --git a/core/util.js b/core/util.js index 4616713c..2a7002d6 100644 --- a/core/util.js +++ b/core/util.js @@ -382,7 +382,9 @@ Util.Localisation = { 'nl-NL': 'nl-NL', 'nl-BE': 'nl-NL', 'de': 'de-DE', - 'de-DE': 'de-DE' + 'de-DE': 'de-DE', + 'sv-SE': 'sv-SE', + 'sv': 'sv-SE' }, // Get language code from browser and verify it