Skip to content

Commit

Permalink
Merge pull request #198 from pavlobu/lang-dutch
Browse files Browse the repository at this point in the history
Lang dutch and french
  • Loading branch information
pavlobu authored Jun 2, 2022
2 parents 67ed171 + ac8273a commit 702dbb2
Show file tree
Hide file tree
Showing 24 changed files with 435 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "deskreen-client-viewer",
"version": "2.0.1",
"version": "2.0.3",
"private": true,
"dependencies": {
"@blueprintjs/core": "^3.35.0",
Expand Down
45 changes: 45 additions & 0 deletions app/client/public/locales/fr/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...": "En attente de la validation depuis l'appareil source...",
"Waiting for user to select source to share from screen sharing device...": "En attente de la sélection de la source à partager depuis l'appareil source...",
"My Device Info": "Mes informations d'appareil",
"Device Type": "Type d'appareil",
"Your Device IP should match with Device IP in alert popup appeared on your computer, where Deskreen is running": "Votre adresse IP doit correspondre avec l'\"Adresse IP\" affiché dans la pop-up affichée sur l'ordinateur depuis lequel Deskreen est lancé.",
"Device IP": "IP de l'appareil",
"Device Browser": "Navigateur de l'appareil",
"Device OS": "OS de l'appareil",
"These details should match with the ones that you see in alert popup on computer screen, where Deskreen is running": "Ces détails doivent correspondre avec ceux inscrits dans la pop-up affichée sur l'ordinateur depuis lequel Deskreen est lancé..",
"Deskreen Screen Viewer": "Écran de visionnage Deskreen",
"Connected!": "Connecté!",
"Error occurred": "Une erreur est survenue",
"Deskreen Error Dialog": "Boîte de dialogue d'erreur",
"Something went wrong": "Quelque chose s'est mal passé",
"You may close this browser window then try to connect again": "Vous devriez fermer cette fenêtre de navigateur et essayer de vous connecter de nouveau",
"An unknown error occurred": "Une erreur inconnue s'est produite",
"You were not allowed to connect": "Vous n'êtes pas autorisé à vous connecter",
"You were disconnected": "Vous avez été déconnecté",
"WebRTC error occurred": "Une erreur WebRTC s'est produite",
"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.",
"Donate": "Donner",
"Video stream is paused": "Le flux vidéo est en pause",
"Video stream is playing": "Lecture du flux vidéo",
"Pause": "Pause",
"Play": "Lecture",
"Video Settings": "Paramètres Vidéo",
"Flip": "Tourner",
"Video quality has been changed to": "Qualité de la vidéo changée en",
"Click to Open Video Settings": "Cliquez pour ouvrir les paramètres vidéo",
"Click to Enter Full Screen Mode": "Cliquez pour passer en plein écran",
"Default video player has been turned OFF": "Le lecteur vidéo par défaut a été désactivé",
"Default video player has been turned ON": "Le lecteur vidéo par défaut a été activé",
"ON": "ON",
"OFF": "OFF",
"Default Video Player": "Lecteur vidéo par défaut",
"Click to visit our website": "Cliquez ici pour visiter notre site web",
"Video is flipped horizontally": "La vidéo à été tourner horizontallement",
"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": "Cliquez pour voir les informations de connexion",
"Pair ID": "ID d'appairage",
"Unpair": "Desappairer",
"Session ID": "ID de session",
"Click to boost video stream if it is lagging": "Cliquez pour booster le flux vidéo si vous rencontrez des ralentissements"
}
45 changes: 45 additions & 0 deletions app/client/public/locales/nl/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...": "Wachtend op de gebruiker om de TOESTAAN knop in te drukken op het scherm-delen-apparaat...",
"Waiting for user to select source to share from screen sharing device...": "Wachtend op de gebruiker om de bron te selecteren om te delen vanuit het scherm-delen-apparaat...",
"My Device Info": "Mijn Apparaat Info",
"Device Type": "Apparaat Type",
"Your Device IP should match with Device IP in alert popup appeared on your computer, where Deskreen is running": "Uw Apparaat IP zou identiek moeten zijn met het Apparaat IP in de verschenen alert pop-up op uw computer, waar Deskreen actief is",
"Device IP": "Apparaat IP",
"Device Browser": "Apparaat Browser",
"Device OS": "Apparaat OS",
"These details should match with the ones that you see in alert popup on computer screen, where Deskreen is running": "Deze details zouden identiek moeten zijn met diegene die u ziet in de alert pop-up op uw computer, waar Deskreen actief is",
"Deskreen Screen Viewer": "Deskreen Scherm Viewer",
"Connected!": "Verbonden!",
"Error occurred": "Fout opgetreden",
"Deskreen Error Dialog": "Deskreen Error Dialoog",
"Something went wrong": "Er is iets misgegaan",
"You may close this browser window then try to connect again": "U mag dit browser venster sluiten en opnieuw proberen te verbinden",
"An unknown error occurred": "Een onbekende fout is opgetreden",
"You were not allowed to connect": "Uw verbinding werd niet toegestaan",
"You were disconnected": "Uw verbinding werd verbroken",
"WebRTC error occurred": "WebRTC fout opgetreden",
"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.",
"Donate": "Doneer",
"Video stream is paused": "Video stream is gepauzeerd",
"Video stream is playing": "Video stream wordt afgespeeld",
"Pause": "Pauze",
"Play": "Afspelen",
"Video Settings": "Video Instellingen",
"Flip": "Flip",
"Video quality has been changed to": "Video kwaliteit is aangepast naar",
"Click to Open Video Settings": "Klik om Video Instellingen te openen",
"Click to Enter Full Screen Mode": "Klik om Volledig Scherm modus te activeren",
"Default video player has been turned OFF": "Standaard video speler staat nu UIT",
"Default video player has been turned ON": "Standaard video speler staat nu AAN",
"ON": "AAN",
"OFF": "UIT",
"Default Video Player": "Standaard Video Speler",
"Click to visit our website": "Klik om onze website te bezoeken",
"Video is flipped horizontally": "Video is horizontaal geflipt",
"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": "Klik om verbindings informatie te zien",
"Pair ID": "Koppel ID",
"Unpair": "Ontkoppelen",
"Session ID": "Sessie ID",
"Click to boost video stream if it is lagging": "Klik om de video stream te versterken als het traag is"
}
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'],
whitelist: ['en', 'es', 'ru', 'ua', 'zh_CN', 'zh_TW', 'da', 'de', 'fi', 'ko', 'it', 'ja', 'nl', 'fr'],
backend: {
// path where resources get loaded from
loadPath: '/locales/{{lng}}/{{ns}}.json',
Expand Down
4 changes: 4 additions & 0 deletions app/configs/app.lang.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export default {
'ko',
'it',
'ja',
'nl',
'fr',
],
langISOKeyToLangFullNameMap: {
en: 'English',
Expand All @@ -26,6 +28,8 @@ export default {
de: 'Deutsch',
fi: 'Suomi',
it: 'Italiano',
nl: 'Nederlands',
fr: 'Français',
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 @@ -36,6 +36,7 @@ describe('i18next.config.client tests', () => {
expectedMap.set('繁體中文', 'zh_TW');
expectedMap.set('Dansk', 'da');
expectedMap.set('Deutsch', 'de');
expectedMap.set('Nederlands', 'nl');

const res = getLangFullNameToLangISOKeyMap();

Expand All @@ -56,6 +57,7 @@ describe('i18next.config.client tests', () => {
expectedMap.set('zh_TW', '繁體中文');
expectedMap.set('da', 'Dansk');
expectedMap.set('de', 'Deutsch');
expectedMap.set('nl', 'Nederlands');

const res = getLangISOKeyToLangFullNameMap();

Expand Down
4 changes: 4 additions & 0 deletions app/configs/i18next.config.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import translationDE from '../locales/de/translation.json';
import translationFI from '../locales/fi/translation.json';
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 { IpcEvents } from '../main/IpcEvents.enum';
import { ElectronStoreKeys } from '../enums/ElectronStoreKeys.enum';
import store from '../deskreen-electron-store';
Expand Down Expand Up @@ -68,6 +70,8 @@ export const getShuffledArrayOfHello = (): string[] => {
res.push(translationFI.Hello);
res.push(translationIT.Hello);
res.push(translationJA.Hello);
res.push(translationNL.Hello);
res.push(translationFR.Hello);

shuffleArray(res);

Expand Down
2 changes: 2 additions & 0 deletions app/locales/da/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
"ko": "한국어",
"it": "Italiano",
"ja": "日本語",
"fr": "Français",
"nl": "Nederlands",
"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
2 changes: 2 additions & 0 deletions app/locales/de/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
"ko": "한국어",
"it": "Italiano",
"ja": "日本語",
"fr": "Français",
"nl": "Nederlands",
"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
2 changes: 2 additions & 0 deletions app/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
"ko": "한국어",
"it": "Italiano",
"ja": "日本語",
"nl": "Nederlands",
"fr": "Français",
"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
2 changes: 2 additions & 0 deletions app/locales/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
"ko": "한국어",
"it": "Italiano",
"ja": "日本語",
"fr": "Français",
"nl": "Nederlands",
"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
2 changes: 2 additions & 0 deletions app/locales/fi/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
"ko": "한국어",
"it": "Italiano",
"ja": "日本語",
"fr": "Français",
"nl": "Nederlands",
"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
Loading

0 comments on commit 702dbb2

Please sign in to comment.