Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added French Translation #455

Merged
merged 10 commits into from
Dec 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion buildPy2exe.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ def get_nsis_path():
LoadLanguageFile "$${NSISDIR}\Contrib\Language files\PortugueseBR.nlf"
LoadLanguageFile "$${NSISDIR}\Contrib\Language files\Portuguese.nlf"
LoadLanguageFile "$${NSISDIR}\Contrib\Language files\Turkish.nlf"

LoadLanguageFile "$${NSISDIR}\Contrib\Language files\French.nlf"

Unicode true

Name "Syncplay $version"
Expand Down Expand Up @@ -118,6 +119,11 @@ def get_nsis_path():
VIAddVersionKey /LANG=$${LANG_TURKISH} "FileVersion" "$version.0"
VIAddVersionKey /LANG=$${LANG_TURKISH} "LegalCopyright" "Syncplay"
VIAddVersionKey /LANG=$${LANG_TURKISH} "FileDescription" "Syncplay"

VIAddVersionKey /LANG=$${LANG_FRENCH} "ProductName" "Syncplay"
VIAddVersionKey /LANG=$${LANG_FRENCH} "FileVersion" "$version.0"
VIAddVersionKey /LANG=$${LANG_FRENCH} "LegalCopyright" "Syncplay"
VIAddVersionKey /LANG=$${LANG_FRENCH} "FileDescription" "Syncplay"

LangString ^SyncplayLanguage $${LANG_ENGLISH} "en"
LangString ^Associate $${LANG_ENGLISH} "Associate Syncplay with multimedia files."
Expand Down Expand Up @@ -198,6 +204,15 @@ def get_nsis_path():
LangString ^QuickLaunchBar $${LANG_TURKISH} "Hızlı Başlatma Çubuğu"
LangString ^AutomaticUpdates $${LANG_TURKISH} "Güncellemeleri otomatik denetle"
LangString ^UninstConfig $${LANG_TURKISH} "Yapılandırma dosyasını silin."

LangString ^SyncplayLanguage $${LANG_FRENCH} "fr"
LangString ^Associate $${LANG_FRENCH} "Associer Syncplay avec les fichiers multimedias."
LangString ^Shortcut $${LANG_FRENCH} "Créer Racourcis pour les chemins suivants:"
LangString ^StartMenu $${LANG_FRENCH} "Menu Démarrer"
LangString ^Desktop $${LANG_FRENCH} "Bureau"
LangString ^QuickLaunchBar $${LANG_FRENCH} "Barre de Lancement Rapide"
LangString ^AutomaticUpdates $${LANG_FRENCH} "Vérifier automatiquement les mises à jour"
LangString ^UninstConfig $${LANG_FRENCH} "Supprimer le fichier de configuration."

; Remove text to save space
LangString ^ClickInstall $${LANG_GERMAN} " "
Expand Down
2 changes: 2 additions & 0 deletions syncplay/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@
from . import messages_pt_BR
from . import messages_pt_PT
from . import messages_tr
from . import messages_fr
import re

messages = {
"de": messages_de.de,
"en": messages_en.en,
"es": messages_es.es,
"fr": messages_fr.fr,
"it": messages_it.it,
"pt_PT": messages_pt_PT.pt_PT,
"pt_BR": messages_pt_BR.pt_BR,
Expand Down
2 changes: 1 addition & 1 deletion syncplay/messages_de.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
"file-argument": 'Abzuspielende Datei',
"args-argument": 'Player-Einstellungen; Wenn du Einstellungen, die mit - beginnen, nutzen willst, stelle ein einzelnes \'--\'-Argument davor',
"clear-gui-data-argument": 'Setzt die Pfad- und GUI-Fenster-Daten die in den QSettings gespeichert sind zurück',
"language-argument": 'Sprache für Syncplay-Nachrichten (de/en/ru/it/es/pt_BR/pt_PT/tr)',
"language-argument": 'Sprache für Syncplay-Nachrichten (de/en/ru/it/es/pt_BR/pt_PT/tr/fr)',

"version-argument": 'gibt die aktuelle Version aus',
"version-message": "Du verwendest Syncplay v. {} ({})",
Expand Down
8 changes: 4 additions & 4 deletions syncplay/messages_en.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"left-notification": "{} has left", # User
"left-paused-notification": "{} left, {} paused", # User who left, User who paused
"playing-notification": "{} is playing '{}' ({})", # User, file, duration
"playing-notification/room-addendum": " in room: '{}'", # Room
"playing-notification/room-addendum": " in room: '{}'", # Room

"not-all-ready": "Not ready: {}", # Usernames
"all-users-ready": "Everyone is ready ({} users)", # Number of ready users
Expand Down Expand Up @@ -163,18 +163,18 @@
"argument-description": 'Solution to synchronize playback of multiple media player instances over the network.',
"argument-epilog": 'If no options supplied _config values will be used',
"nogui-argument": 'show no GUI',
"host-argument": 'server\'s address',
"host-argument": "server's address",
"name-argument": 'desired username',
"debug-argument": 'debug mode',
"force-gui-prompt-argument": 'make configuration prompt appear',
"no-store-argument": 'don\'t store values in .syncplay',
"no-store-argument": "don't store values in .syncplay",
"room-argument": 'default room',
"password-argument": 'server password',
"player-path-argument": 'path to your player executable',
"file-argument": 'file to play',
"args-argument": 'player options, if you need to pass options starting with - prepend them with single \'--\' argument',
"clear-gui-data-argument": 'resets path and window state GUI data stored as QSettings',
"language-argument": 'language for Syncplay messages (de/en/ru/it/es/pt_BR/pt_PT/tr)',
"language-argument": 'language for Syncplay messages (de/en/ru/it/es/pt_BR/pt_PT/tr/fr)',

"version-argument": 'prints your version',
"version-message": "You're using Syncplay version {} ({})",
Expand Down
2 changes: 1 addition & 1 deletion syncplay/messages_es.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
"file-argument": 'archivo a reproducir',
"args-argument": 'opciones del reproductor, si necesitas pasar opciones que empiezan con -, pásalas utilizando \'--\'',
"clear-gui-data-argument": 'restablece ruta y los datos del estado de la ventana GUI almacenados como QSettings',
"language-argument": 'lenguaje para los mensajes de Syncplay (de/en/ru/it/es/pt_BR/pt_PT/tr)',
"language-argument": 'lenguaje para los mensajes de Syncplay (de/en/ru/it/es/pt_BR/pt_PT/tr/fr)',

"version-argument": 'imprime tu versión',
"version-message": "Estás usando la versión de Syncplay {} ({})",
Expand Down
Loading