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

Turkish language translations added #364

Merged
merged 2 commits into from
Nov 29, 2020
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: 17 additions & 0 deletions buildPy2exe.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def get_nsis_path():
LoadLanguageFile "$${NSISDIR}\Contrib\Language files\Spanish.nlf"
LoadLanguageFile "$${NSISDIR}\Contrib\Language files\PortugueseBR.nlf"
LoadLanguageFile "$${NSISDIR}\Contrib\Language files\Portuguese.nlf"
LoadLanguageFile "$${NSISDIR}\Contrib\Language files\Turkish.nlf"

Unicode true

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

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

LangString ^SyncplayLanguage $${LANG_ENGLISH} "en"
LangString ^Associate $${LANG_ENGLISH} "Associate Syncplay with multimedia files."
Expand Down Expand Up @@ -184,6 +190,15 @@ def get_nsis_path():
LangString ^AutomaticUpdates $${LANG_PORTUGUESE} "Verificar atualizações automaticamente"
LangString ^UninstConfig $${LANG_PORTUGUESE} "Apagar ficheiro de configuração."

LangString ^SyncplayLanguage $${LANG_TURKISH} "tr"
LangString ^Associate $${LANG_TURKISH} "Syncplay'i ortam dosyalarıyla ilişkilendirin."
LangString ^Shortcut $${LANG_TURKISH} "Aşağıdaki konumlarda kısayollar oluşturun:"
LangString ^StartMenu $${LANG_TURKISH} "Başlangıç menüsü"
LangString ^Desktop $${LANG_TURKISH} "Masaüstü"
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."

; Remove text to save space
LangString ^ClickInstall $${LANG_GERMAN} " "

Expand Down Expand Up @@ -293,6 +308,8 @@ def get_nsis_path():
Push 'Português do Brasil'
Push $${LANG_PORTUGUESE}
Push 'Português de Portugal'
Push $${LANG_TURKISH}
Push 'Türkçe'
Push A ; A means auto count languages
LangDLL::LangDialog "Language Selection" "Please select the language of Syncplay and the installer"
Pop $$LANGUAGE
Expand Down
2 changes: 2 additions & 0 deletions syncplay/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from . import messages_es
from . import messages_pt_BR
from . import messages_pt_PT
from . import messages_tr

messages = {
"en": messages_en.en,
Expand All @@ -17,6 +18,7 @@
"es": messages_es.es,
"pt_BR": messages_pt_BR.pt_BR,
"pt_PT": messages_pt_PT.pt_PT,
"tr": messages_tr.tr,
"CURRENT": None
}

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)',
"language-argument": 'Sprache für Syncplay-Nachrichten (de/en/ru/it/es/pt_BR/pt_PT/tr)',

"version-argument": 'gibt die aktuelle Version aus',
"version-message": "Du verwendest Syncplay v. {} ({})",
Expand Down
2 changes: 1 addition & 1 deletion syncplay/messages_en.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
"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)',
"language-argument": 'language for Syncplay messages (de/en/ru/it/es/pt_BR/pt_PT/tr)',

"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)',
"language-argument": 'lenguaje para los mensajes de Syncplay (de/en/ru/it/es/pt_BR/pt_PT/tr)',

"version-argument": 'imprime tu versión',
"version-message": "Estás usando la versión de Syncplay {} ({})",
Expand Down
2 changes: 1 addition & 1 deletion syncplay/messages_it.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
"file-argument": 'file da riprodurre',
"args-argument": 'opzioni del player, se hai bisogno di utilizzare opzioni che iniziano con - anteponi un singolo \'--\'',
"clear-gui-data-argument": 'ripristina il percorso e i dati impostati tramite interfaccia grafica e salvati come QSettings',
"language-argument": 'lingua per i messaggi di Syncplay (de/en/ru/it/es/pt_BR/pt_PT)',
"language-argument": 'lingua per i messaggi di Syncplay (de/en/ru/it/es/pt_BR/pt_PT/tr)',

"version-argument": 'mostra la tua versione',
"version-message": "Stai usando la versione di Syncplay {} ({})",
Expand Down
2 changes: 1 addition & 1 deletion syncplay/messages_pt_BR.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
"file-argument": 'arquivo a ser tocado',
"args-argument": 'opções do reprodutor; se você precisar passar opções começando com -, as preceda com um único argumento \'--\'',
"clear-gui-data-argument": 'redefine o caminho e o estado de dados da janela da GUI para as de QSettings',
"language-argument": 'idioma para mensagens do Syncplay (de/en/ru/it/es/pt_BR/pt_PT)',
"language-argument": 'idioma para mensagens do Syncplay (de/en/ru/it/es/pt_BR/pt_PT/tr)',

"version-argument": 'exibe sua versão',
"version-message": "Você está usando o Syncplay versão {} ({})",
Expand Down
2 changes: 1 addition & 1 deletion syncplay/messages_pt_PT.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
"file-argument": 'ficheiro a ser tocado',
"args-argument": 'opções do reprodutor; se você precisar passar opções começando com -, as preceda com um único argumento \'--\'',
"clear-gui-data-argument": 'redefine o caminho e o estado de dados da janela da GUI para as de QSettings',
"language-argument": 'idioma para mensagens do Syncplay (de/en/ru/it/es/pt_BR/pt_PT)',
"language-argument": 'idioma para mensagens do Syncplay (de/en/ru/it/es/pt_BR/pt_PT/tr)',

"version-argument": 'exibe sua versão',
"version-message": "Você está usando o Syncplay versão {} ({})",
Expand Down
2 changes: 1 addition & 1 deletion syncplay/messages_ru.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
"file-argument": 'воспроизводимый файл',
"args-argument": 'параметры проигрывателя; если нужно передать параметры, начинающиеся с - , то сначала пишите \'--\'',
"clear-gui-data-argument": 'сбрасывает путь и данные о состоянии окна GUI, хранимые как QSettings',
"language-argument": 'язык сообщений Syncplay (de/en/ru/it/es/pt_BR/pt_PT)',
"language-argument": 'язык сообщений Syncplay (de/en/ru/it/es/pt_BR/pt_PT/tr)',

"version-argument": 'выводит номер версии',
"version-message": "Вы используете Syncplay версии {} ({})",
Expand Down
Loading