Skip to content

Commit

Permalink
add French language
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlobu committed Jun 1, 2022
1 parent 159df1e commit 95b67f9
Show file tree
Hide file tree
Showing 8 changed files with 57 additions and 1 deletion.
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"
}
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', 'fr'],
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 @@ -16,6 +16,7 @@ export default {
'ko',
'it',
'ja',
'fr',
],
langISOKeyToLangFullNameMap: {
en: 'English',
Expand All @@ -26,6 +27,7 @@ export default {
de: 'Deutsch',
fi: 'Suomi',
it: 'Italiano',
fr: 'Français',
ko: '한국어',
zh_CN: '简体中文',
zh_TW: '繁體中文',
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 @@ -20,6 +20,7 @@ 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 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 +69,7 @@ export const getShuffledArrayOfHello = (): string[] => {
res.push(translationFI.Hello);
res.push(translationIT.Hello);
res.push(translationJA.Hello);
res.push(translationFR.Hello);

shuffleArray(res);

Expand Down
4 changes: 4 additions & 0 deletions app/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
"zh_TW": "繁體中文",
"da": "Dansk",
"de": "Deutsch",
"fi": "Suomi",
"ko": "한국어",
"it": "Italiano",
"ja": "日本語",
"fr": "Français",
"Donate": "Donner",
"If you like Deskreen consider contributing financially Deskreen is open-source Your donations keep us motivated to make Deskreen even better": "Si vous appréciez Deskreen, merci de soutenir le projet financièrement. Deskreen est un logiciel libre. Vos donations nous aident à rendre Deskreen meilleur.",
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 @@ -14,6 +14,7 @@
"ko": "한국어",
"it": "Italiano",
"ja": "日本語",
"fr": "Français",
"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 @@ -14,6 +14,7 @@
"ko": "한국어",
"it": "Italiano",
"ja": "日本語",
"fr": "Français",
"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 @@ -14,6 +14,7 @@
"ko": "한국어",
"it": "Italiano",
"ja": "日本語",
"fr": "Français",
"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

0 comments on commit 95b67f9

Please sign in to comment.