Skip to content

Commit

Permalink
Merge pull request #199 from pavlobu/lang-swedish
Browse files Browse the repository at this point in the history
Lang swedish
  • Loading branch information
pavlobu authored Jun 2, 2022
2 parents 702dbb2 + 5bfd1b2 commit 6d96bad
Show file tree
Hide file tree
Showing 21 changed files with 427 additions and 214 deletions.
45 changes: 45 additions & 0 deletions app/client/public/locales/sv/translation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"Waiting for user to click ALLOW button on screen sharing device...": "Väntar på att användaren ska klicka på 'TILLÅT' på skärmdelningsenheten...",
"Waiting for user to select source to share from screen sharing device...": "Väntar på att användaren ska välja källa att dela från skärmdelningsenhet...",
"My Device Info": "Min enhetsinformation",
"Device Type": "Enhetens typ",
"Your Device IP should match with Device IP in alert popup appeared on your computer, where Deskreen is running": "Din enhets IP-adress bör matcha med 'Enhetens IP' i den varnings-popup som dyker upp på din dator där Deskreen körs",
"Device IP": "Enhetens IP",
"Device Browser": "Enhetens webbläsare",
"Device OS": "Enhetens operativsystem",
"These details should match with the ones that you see in alert popup on computer screen, where Deskreen is running": "Dessa uppgifter ska matcha de som du ser i popup-fönstret på skärmdelningsenheten.",
"Deskreen Screen Viewer": "Deskreen skärmvisare",
"Connected!": "Ansluten!",
"Error occurred": "Ett fel inträffade",
"Deskreen Error Dialog": "Deskreen felhanterare",
"Something went wrong": "Något blev fel",
"You may close this browser window then try to connect again": "Stäng det här webbläsarfönstret och försök sedan ansluta igen",
"An unknown error occurred": "Ett okänt fel inträffade",
"You were not allowed to connect": "Du fick inte ansluta",
"You were disconnected": "Du blev nedkopplad",
"WebRTC error occurred": "Ett WebRTC-fel error inträffade",
"If you like Deskreen consider contributing financially Deskreen is open-source Your donations keep us motivated to make Deskreen even better": "Om du gillar Deskreen, överväg i så fall att ge oss ett ekonomiskt bidrag. Deskreen är open-source. Era donationer motiverar oss att göra Deskreen ännu bättre.",
"Donate": "Donera",
"Video stream is paused": "Videoströmmen är pausad",
"Video stream is playing": "Videoströmmen spelas",
"Pause": "Paus",
"Play": "Kör",
"Video Settings": "Videoinställningar",
"Flip": "Omvänd",
"Video quality has been changed to": "Videokvaliteten har ändrats till",
"Click to Open Video Settings": "Klicka här för att öppna videoinställningarna",
"Click to Enter Full Screen Mode": "Klicka här för att gå in i helskärmsläge",
"Default video player has been turned OFF": "Standardvideospelaren har stängts av",
"Default video player has been turned ON": "Standardvideospelaren har aktiverats",
"ON": "",
"OFF": "AV",
"Default Video Player": "Standardvideospelare",
"Click to visit our website": "Klicka här för att besöka vår webbplats",
"Video is flipped horizontally": "Videon är vänd horisontellt",
"TRANSLATIONS BELOW ARE NOT ADDED TO UI YET, BUT YOUR TRANSLATIONS ARE WELCOME! THE FEATURES WILL BE ADDED SOON SO YOUR TRANSLATIONS ARE NEEDED": "",
"Click to see connection info": "Klicka här för att visa anslutningsinformationen",
"Pair ID": "ID för sammankopplingen",
"Unpair": "Ta bort sammankopplingen",
"Session ID": "ID för sessionen",
"Click to boost video stream if it is lagging": "Klicka för att öka videoströmmen om den släpar efter"
}
2 changes: 1 addition & 1 deletion app/client/src/config/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ i18n
saveMissingTo: 'all',
fallbackLng: 'en', // TODO: to generate missing keys use false as value here, will be useful when custom nodejs server is created to store missing values
debug: false, // change to true to see debug message logs in browser console
whitelist: ['en', 'es', 'ru', 'ua', 'zh_CN', 'zh_TW', 'da', 'de', 'fi', 'ko', 'it', 'ja', 'nl', 'fr'],
whitelist: ['en', 'es', 'ru', 'ua', 'zh_CN', 'zh_TW', 'da', 'de', 'fi', 'ko', 'it', 'ja', 'nl', 'fr', 'sv'],
backend: {
// path where resources get loaded from
loadPath: '/locales/{{lng}}/{{ns}}.json',
Expand Down
2 changes: 2 additions & 0 deletions app/configs/app.lang.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default {
'ja',
'nl',
'fr',
'sv',
],
langISOKeyToLangFullNameMap: {
en: 'English',
Expand All @@ -30,6 +31,7 @@ export default {
it: 'Italiano',
nl: 'Nederlands',
fr: 'Français',
sv: 'Svenska',
ko: '한국어',
zh_CN: '简体中文',
zh_TW: '繁體中文',
Expand Down
2 changes: 2 additions & 0 deletions app/configs/i18next.config.client.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ describe('i18next.config.client tests', () => {
expectedMap.set('Dansk', 'da');
expectedMap.set('Deutsch', 'de');
expectedMap.set('Nederlands', 'nl');
expectedMap.set('Svenska', 'sv');

const res = getLangFullNameToLangISOKeyMap();

Expand All @@ -58,6 +59,7 @@ describe('i18next.config.client tests', () => {
expectedMap.set('da', 'Dansk');
expectedMap.set('de', 'Deutsch');
expectedMap.set('nl', 'Nederlands');
expectedMap.set('sv', 'Svenska');

const res = getLangISOKeyToLangFullNameMap();

Expand Down
2 changes: 2 additions & 0 deletions app/configs/i18next.config.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import translationIT from '../locales/it/translation.json';
import translationJA from '../locales/ja/translation.json';
import translationNL from '../locales/nl/translation.json';
import translationFR from '../locales/fr/translation.json';
import translationSV from '../locales/sv/translation.json';
import { IpcEvents } from '../main/IpcEvents.enum';
import { ElectronStoreKeys } from '../enums/ElectronStoreKeys.enum';
import store from '../deskreen-electron-store';
Expand Down Expand Up @@ -72,6 +73,7 @@ export const getShuffledArrayOfHello = (): string[] => {
res.push(translationJA.Hello);
res.push(translationNL.Hello);
res.push(translationFR.Hello);
res.push(translationSV.Hello);

shuffleArray(res);

Expand Down
1 change: 1 addition & 0 deletions app/locales/da/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"ja": "日本語",
"fr": "Français",
"nl": "Nederlands",
"sv": "Svenska",
"Donate": "Donér",
"If you like Deskreen consider contributing financially Deskreen is open-source Your donations keep us motivated to make Deskreen even better": "Hvis du er vild med Deskreen, så overvej at bidrage til Deskreen financielt. Deskreen er open-source. Dine donationer hjælper os med at forblive motiverede for at gøre Deskreen endnu bedre.",
"Click to visit our website": "Klik her for at besøge vores hjemmeside",
Expand Down
1 change: 1 addition & 0 deletions app/locales/de/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"ja": "日本語",
"fr": "Français",
"nl": "Nederlands",
"sv": "Svenska",
"Donate": "Spenden",
"If you like Deskreen consider contributing financially Deskreen is open-source Your donations keep us motivated to make Deskreen even better": "Wenn dir Deskreen gefällt, denke über eine Spende nach. Deskreen ist Open-Source. Spenden motivieren uns, Deskreen noch besser zu machen.",
"Click to visit our website": "Klicken um unsere Website zu besuchen",
Expand Down
1 change: 1 addition & 0 deletions app/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"ja": "日本語",
"nl": "Nederlands",
"fr": "Français",
"sv": "Svenska",
"Donate": "Donate",
"If you like Deskreen consider contributing financially Deskreen is open-source Your donations keep us motivated to make Deskreen even better": "If you like Deskreen, consider contributing financially. Deskreen is open-source. Your donations keep us motivated to make Deskreen even better.",
"Click to visit our website": "Click to visit our website",
Expand Down
1 change: 1 addition & 0 deletions app/locales/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"ja": "日本語",
"fr": "Français",
"nl": "Nederlands",
"sv": "Svenska",
"Donate": "Donar",
"If you like Deskreen consider contributing financially Deskreen is open-source Your donations keep us motivated to make Deskreen even better": "Si te gusta Deskreen, considera la posibilidad de contribuir económicamente. Deskreen es de código abierto. Tus donaciones nos mantienen motivados para hacer que Deskreen sea aún mejor.",
"Click to visit our website": "Clic para visitar nuestro sitio web",
Expand Down
1 change: 1 addition & 0 deletions app/locales/fi/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"ja": "日本語",
"fr": "Français",
"nl": "Nederlands",
"sv": "Svenska",
"Donate": "Lahjoittaa",
"If you like Deskreen consider contributing financially Deskreen is open-source Your donations keep us motivated to make Deskreen even better": "Jos pidät Deskreen, harkitse taloudellista osallistumista. Deskreen on avoimen lähdekoodin lähde. Lahjoituksesi motivoivat meitä tekemään Deskreen entistä paremman.",
"Click to visit our website": "Napsauta vieraillaksesi verkkosivuillamme",
Expand Down
1 change: 1 addition & 0 deletions app/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"it": "Italiano",
"ja": "日本語",
"nl": "Nederlands",
"sv": "Svenska",
"Donate": "Donation",
"If you like Deskreen consider contributing financially Deskreen is open-source Your donations keep us motivated to make Deskreen even better": "Si vous aimez Deskreen, Vous pouvez contribuer financièrement. Deskreen est open-source. Votre don nous motivera à rendre Deskreen encore meilleur .",
"Click to visit our website": "Cliquez ici pour visiter notre site web",
Expand Down
1 change: 1 addition & 0 deletions app/locales/it/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"ja": "日本語",
"fr": "Français",
"nl": "Nederlands",
"sv": "Svenska",
"Donate": "Dona",
"If you like Deskreen consider contributing financially Deskreen is open-source Your donations keep us motivated to make Deskreen even better": "Se ti piace Deskreen, considera di contribuire finanziariamente. Deskreen è open-source. Le tue donazioni ci motivano a rendere Deskreen ancora migliore.",
"Click to visit our website": "Clicca per visitare il nostro sito",
Expand Down
1 change: 1 addition & 0 deletions app/locales/ja/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"ja": "日本語",
"fr": "Français",
"nl": "Nederlands",
"sv": "Svenska",
"Donate": "寄付",
"If you like Deskreen consider contributing financially Deskreen is open-source Your donations keep us motivated to make Deskreen even better": "Deskreenを気に入っていただけたなら、資金面での貢献をご検討ください。 Deskreenはオープンソースです。あなたの寄付により、Deskreenをより良くするためのモチベーションが保つことができます。",
"Click to visit our website": "クリックするとウェブサイトが開きます。",
Expand Down
1 change: 1 addition & 0 deletions app/locales/ko/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"ja": "日本語",
"fr": "Français",
"nl": "Nederlands",
"sv": "Svenska",
"Donate": "기부하기",
"If you like Deskreen consider contributing financially Deskreen is open-source Your donations keep us motivated to make Deskreen even better": "오픈소스 프로젝트에 재정적으로 기여하는 것은 더 좋은 프로그램 개발 동기를 부여합니다.",
"Click to visit our website": "클릭하면 웹 사이트를 방문합니다",
Expand Down
1 change: 1 addition & 0 deletions app/locales/nl/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"ja": "日本語",
"fr": "Français",
"nl": "Nederlands",
"sv": "Svenska",
"Donate": "Doneer",
"If you like Deskreen consider contributing financially Deskreen is open-source Your donations keep us motivated to make Deskreen even better": "Als u Deskreen waardeert, overweeg dan een financiële bijdrage. Deskreen is open-source. Uw donaties houden ons gemotiveerd om Deskreen te blijven verbeteren.",
"Click to visit our website": "Klik om onze website te bezoeken",
Expand Down
1 change: 1 addition & 0 deletions app/locales/ru/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"ja": "日本語",
"fr": "Français",
"nl": "Nederlands",
"sv": "Svenska",
"Donate": "Пожертвовать",
"If you like Deskreen consider contributing financially Deskreen is open-source Your donations keep us motivated to make Deskreen even better": "Если вам нравится Deskreen, подумайте о том, чтобы внести финансовый вклад. Deskreen - это оупенсорсный проэкт. Ваши пожертвования позволяют нам делать Deskreen еще лучше.",
"Click to visit our website": "Нажмите, чтобы посетить наш сайт",
Expand Down
154 changes: 154 additions & 0 deletions app/locales/sv/translation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
{
"Hello": "Hej",
"Continue": "Fortsätt",
"Language": "Språk",
"ru": "Русский",
"en": "English",
"es": "Español",
"ua": "Українська",
"zh_CN": "简体中文",
"zh_TW": "繁體中文",
"da": "Dansk",
"de": "Deutsch",
"fi": "Suomi",
"ko": "한국어",
"it": "Italiano",
"ja": "日本語",
"fr": "Français",
"nl": "Nederlands",
"sv": "Svenska",
"Donate": "Donera",
"If you like Deskreen consider contributing financially Deskreen is open-source Your donations keep us motivated to make Deskreen even better": "Om du gillar Deskreen, överväg i så fall att ge oss ett ekonomiskt bidrag. Deskreen är open-source. Era donationer motiverar oss att göra Deskreen ännu bättre.",
"Click to visit our website": "Klicka här för att komma till vår webbplats",
"Connected Devices": "Anslutna enheter",
"Tutorial": "Handledning",
"Settings": "Inställningar",
"Connect": "Anslut",
"Select": "Välj",
"Confirm": "Bekräfta",
"Scan the QR code": "Skanna QR-koden",
"Make sure your computer and screen viewing device are connected to same Wi-Fi": "Se till att din dator och den enhet du tänker använda för skärmdelning båda är anslutna till samma trådlösa nätverk",
"Or type the following address in browser address bar on any device": "Eller skriv in följande adress i webbläsarens addressrad för någon de enheter du vill ansluta med",
"Someone is trying to connect, do you allow?": "Någon försöker ansluta till Deskreen, Tillåter du det?",
"Click to make bigger": "Klicka för att förstora",
"Click to copy": "Klicka för att kopiera",
"Partner Device Info": "Deltagande enhetens information",
"Device Type": "Enhetens typ",
"Device IP": "Enhetens IP",
"Device Browser": "Enhetens webbläsare",
"Device OS": "Enhetens operativsystem",
"Session ID": "ID för sessionen",
"Allow": "Tillåt",
"Deny": "Neka",
"Device is successfully disconnected by you You can connect a new device": "Du har kopplat från enheten. Du kan nu ansluta en ny enhet.",
"Deskreen Update is Available!": "Det finns en uppdatering till Deskreen!",
"Your current version is": "Din nuvarande version är",
"Click to download new updated version": "Klicka här för att ladda ner en uppdaterad version",
"Connected": "Ansluten",
"Click to see more": "Klicka för att visa mer",
"This should match with Device IP displayed on the screen of device that is trying to connect": "Detta bör matcha med det IP som visas på skärmen på den enhet som försöker ansluta.",
"If IP addresses dont match click Disconnect button": "Om IP-adresserna inte matchar, klicka på knappen 'Koppla ner' för att förhindra obehörig åtkomst till din datorskärm.",
"Disconnect": "Koppla ner",
"choose entire screen or app window you want to share": "välj hela skärmen eller ett applikationsfönster som du vill dela",
"or": "eller",
"Entire Screen": "Hela skärmen",
"Application Window": "Applikationsfönster",
"Check if all is OK and click Confirm": "Säkerställ att allt är okej och tryck på 'Bekräfta'",
"Confirm Button Text": "Bekräfta",
"No, I need to choose other": "Nej, Jag vill välja en annan",
"Done!": "Klart!",
"Now you can see your screen on other device": "Nu kan du visa din skärm på en annan enhet.",
"You can manage connected devices by clicking Connected Devices button in top panel": "Du kan hantera anslutna enheter genom att klicka på knappen 'Ansluta enheter' i toppanelen.",
"Connect New Device": "Anslut ny enhet",
"Select Entire Screen to Share": "Välj att dela hela skärmen",
"Select App Window to Share": "Välj ett applikationsfönster att dela",
"Refresh": "Ladda om",
"Disconnect all devices": "Koppla ner alla anslutna enheter",
"Are you sure you want to disconnect all connected viewing devices?": "Är du säker på att du vill koppla ner alla anslutna enheter?",
"This step can not be undone": "Den här åtgärden kan inte ångras",
"You will have to connect all devices manually again": "Du kommer att behöva ansluta till alla enheter manuellt igen",
"No, Cancel": "Nej, Avbryt",
"Yes, Disconnect All": "Ja, Koppla ner alla",
"A new version of Deskreen is available! Click to download new version": "Det finns en ny version av Deskreen tillgänglig! Klicka här för att ladda ned den nya versionen",
"Security": "Säkerhet",
"General": "Allmänt",
"About": "Om",
"Website": "Webbplats",
"About Deskreen": "Om Deskreen",
"Security Settings": "Säkerhetsinställningar",
"Color Theme": "Färgschema",
"Automatic Updates": "Automatiska uppdateringar",
"General Settings": "Generella inställningar",
"Disabled": "Inaktiverad",
"Version": "Version",
"Copyright": "Upphovsrätt",
"Edit": "Redigera",
"Hide Deskreen": "Dölj Deskreen",
"Hide Others": "Dölj Övriga",
"Show All": "Visa Alla",
"Quit": "Avsluta",
"Undo": "Ångra",
"Redo": "Gör om",
"Cut": "Klipp ut",
"Copy": "Kopiera",
"Paste": "Klistra in",
"Select All": "Select All",
"View": "Visa",
"Reload": "Ladda om",
"Toggle Full Screen": "Växla fullskärmsläge",
"Toggle Developer Tools": "Växla utvecklarverktyg",
"Window": "Fönster",
"Minimize": "Minimera",
"Close": "Stäng",
"Bring All to Front": "Ta fram alla",
"Help": "Hjälp",
"Learn More": "Läs mer",
"Documentation": "Dokumentation",
"Community Discussions": "Gemenskapsdiskussioner",
"Search Issues": "Sök efter problem",
"TRANSLATIONS BELOW ARE NOT ADDED TO UI YET, BUT YOUR TRANSLATIONS ARE WELCOME! THE FEATURES WILL BE ADDED SOON SO YOUR TRANSLATIONS ARE NEEDED": "",
"Available Trusted Devices": "Tillgängliga tillförlitliga enheter",
"Make this device trusted": "Gör den här enheten tillförlitlig",
"Click to select other screen source to share": "Klicka här för att välja en annan skärmkälla att dela",
"Click to edit Device Alias": "Klicka här för att redigera enhetens alias",
"Trusted Device ID": "Tillförlitlig enhets ID",
"Trusted": "Tillförlitlig",
"Make Trusted": "Gör den tillförlitlig",
"Forget This Device": "Glöm bort den här enheten",
"Device Alias": "Enhetens alias",
"Auto share last Entire Screen source when device is available": "Dela den senast använda Helskärmen när enheten är tillgänglig",
"All devices are successfully disconnected": "Alla enheter är nu frånkopplade",
"Device was disconnected": "Enheten är nu frånkopplad",
"Networking": "Nätverk",
"Deskreen Application Port": "Post för Deskreen",
"Port is already used by other App": "Porten används redan av en annan applikation",
"Click to change Deskreen Application Port": "Klicka här för att ange en annan port",
"Type a number from 3000 to 64000 to use as a Deskreen Application Port": "Ange ett nummer mellan 3000 och 64000 för att använda som port för Deskreen",
"Type another number in range from 3000 to 64000": "Ange ett annat nummer mellan 3000 och 64000",
"Select Network Interface": "Välj nätverksgränssnitt",
"I know IP of my computer and I want to type it manually": "Jag känner till mitt IP-nummer och och vill ange det manuellt",
"Type Your Computer IP": "Ange din dators IP-nummer",
"Click to type IP manually": "Klicka här för att ange ditt IP-nummer manuellt",
"Banned IPs": "Blockerade IP-nummer",
"Ban New IP": "Blockera nytt IP-nummer",
"Type the IP you want to ban": "Ange det IP-nummer du vill blockera",
"Unban this IP": "Tillåt det här IP-numret",
"Unban all IPs": "Tillåt alla IP-nummer",
"Reset Deskreen settings to default": "Återställ Deskreen inställningar till standardinställningarna",
"Ask user to enter password when connecting": "Be användaren att ange lösenord vid anslutning",
"Change Password": "Ändra lösenord",
"Type a New Password": "Ange ett nytt lösenord",
"Cancel": "Avbryt",
"Device Status": "Enhetens status",
"Sharing Screen": "Delar skärm",
"Available, no screen sharing": "Tillgängliga, ingen skärmdelning",
"Not Available": "Inte tillgängligt",
"Autostart Deskreen App on login": "Starta Deskreen automatiskt vid inloggning",
"Open Deskreen App window on login": "Öppna Deskreen automatiskt vid inloggning",
"Use system tray": "Use system tray",
"Deskreen System Tray": "Deskreen System Tray",
"Open App Window": "Öppna Applikationsfönstret",
"Minimize To Tray": "Minimize To Tray",
"Show Connected Devices": "Visa Anslutna Enheter",
"Quit Deskreen": "Avsluta Deskreen"
}
Loading

0 comments on commit 6d96bad

Please sign in to comment.