Added Turkish translation
* Repaired variable name in to message_tr.py * Added new 'tr' language to 'language-argument' * Added Turkish translation in buildPy2exe.py
This commit is contained in:
parent
517eef663f
commit
36239ce01c
@ -65,6 +65,7 @@ NSIS_SCRIPT_TEMPLATE = r"""
|
|||||||
LoadLanguageFile "$${NSISDIR}\Contrib\Language files\Spanish.nlf"
|
LoadLanguageFile "$${NSISDIR}\Contrib\Language files\Spanish.nlf"
|
||||||
LoadLanguageFile "$${NSISDIR}\Contrib\Language files\PortugueseBR.nlf"
|
LoadLanguageFile "$${NSISDIR}\Contrib\Language files\PortugueseBR.nlf"
|
||||||
LoadLanguageFile "$${NSISDIR}\Contrib\Language files\Portuguese.nlf"
|
LoadLanguageFile "$${NSISDIR}\Contrib\Language files\Portuguese.nlf"
|
||||||
|
LoadLanguageFile "$${NSISDIR}\Contrib\Language files\Turkish.nlf"
|
||||||
|
|
||||||
Unicode true
|
Unicode true
|
||||||
|
|
||||||
@ -113,6 +114,11 @@ NSIS_SCRIPT_TEMPLATE = r"""
|
|||||||
VIAddVersionKey /LANG=$${LANG_PORTUGUESE} "LegalCopyright" "Syncplay"
|
VIAddVersionKey /LANG=$${LANG_PORTUGUESE} "LegalCopyright" "Syncplay"
|
||||||
VIAddVersionKey /LANG=$${LANG_PORTUGUESE} "FileDescription" "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 ^SyncplayLanguage $${LANG_ENGLISH} "en"
|
||||||
LangString ^Associate $${LANG_ENGLISH} "Associate Syncplay with multimedia files."
|
LangString ^Associate $${LANG_ENGLISH} "Associate Syncplay with multimedia files."
|
||||||
LangString ^Shortcut $${LANG_ENGLISH} "Create Shortcuts in following locations:"
|
LangString ^Shortcut $${LANG_ENGLISH} "Create Shortcuts in following locations:"
|
||||||
@ -184,6 +190,15 @@ NSIS_SCRIPT_TEMPLATE = r"""
|
|||||||
LangString ^AutomaticUpdates $${LANG_PORTUGUESE} "Verificar atualizações automaticamente"
|
LangString ^AutomaticUpdates $${LANG_PORTUGUESE} "Verificar atualizações automaticamente"
|
||||||
LangString ^UninstConfig $${LANG_PORTUGUESE} "Apagar ficheiro de configuração."
|
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
|
; Remove text to save space
|
||||||
LangString ^ClickInstall $${LANG_GERMAN} " "
|
LangString ^ClickInstall $${LANG_GERMAN} " "
|
||||||
|
|
||||||
@ -293,6 +308,8 @@ NSIS_SCRIPT_TEMPLATE = r"""
|
|||||||
Push 'Português do Brasil'
|
Push 'Português do Brasil'
|
||||||
Push $${LANG_PORTUGUESE}
|
Push $${LANG_PORTUGUESE}
|
||||||
Push 'Português de Portugal'
|
Push 'Português de Portugal'
|
||||||
|
Push $${LANG_TURKISH}
|
||||||
|
Push 'Türkçe'
|
||||||
Push A ; A means auto count languages
|
Push A ; A means auto count languages
|
||||||
LangDLL::LangDialog "Language Selection" "Please select the language of Syncplay and the installer"
|
LangDLL::LangDialog "Language Selection" "Please select the language of Syncplay and the installer"
|
||||||
Pop $$LANGUAGE
|
Pop $$LANGUAGE
|
||||||
|
|||||||
@ -8,6 +8,7 @@ from . import messages_it
|
|||||||
from . import messages_es
|
from . import messages_es
|
||||||
from . import messages_pt_BR
|
from . import messages_pt_BR
|
||||||
from . import messages_pt_PT
|
from . import messages_pt_PT
|
||||||
|
from . import messages_tr
|
||||||
|
|
||||||
messages = {
|
messages = {
|
||||||
"en": messages_en.en,
|
"en": messages_en.en,
|
||||||
@ -17,6 +18,7 @@ messages = {
|
|||||||
"es": messages_es.es,
|
"es": messages_es.es,
|
||||||
"pt_BR": messages_pt_BR.pt_BR,
|
"pt_BR": messages_pt_BR.pt_BR,
|
||||||
"pt_PT": messages_pt_PT.pt_PT,
|
"pt_PT": messages_pt_PT.pt_PT,
|
||||||
|
"tr": messages_tr.tr,
|
||||||
"CURRENT": None
|
"CURRENT": None
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -174,7 +174,7 @@ de = {
|
|||||||
"file-argument": 'Abzuspielende Datei',
|
"file-argument": 'Abzuspielende Datei',
|
||||||
"args-argument": 'Player-Einstellungen; Wenn du Einstellungen, die mit - beginnen, nutzen willst, stelle ein einzelnes \'--\'-Argument davor',
|
"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',
|
"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-argument": 'gibt die aktuelle Version aus',
|
||||||
"version-message": "Du verwendest Syncplay v. {} ({})",
|
"version-message": "Du verwendest Syncplay v. {} ({})",
|
||||||
|
|||||||
@ -174,7 +174,7 @@ en = {
|
|||||||
"file-argument": 'file to play',
|
"file-argument": 'file to play',
|
||||||
"args-argument": 'player options, if you need to pass options starting with - prepend them with single \'--\' argument',
|
"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',
|
"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-argument": 'prints your version',
|
||||||
"version-message": "You're using Syncplay version {} ({})",
|
"version-message": "You're using Syncplay version {} ({})",
|
||||||
|
|||||||
@ -174,7 +174,7 @@ es = {
|
|||||||
"file-argument": 'archivo a reproducir',
|
"file-argument": 'archivo a reproducir',
|
||||||
"args-argument": 'opciones del reproductor, si necesitas pasar opciones que empiezan con -, pásalas utilizando \'--\'',
|
"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',
|
"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-argument": 'imprime tu versión',
|
||||||
"version-message": "Estás usando la versión de Syncplay {} ({})",
|
"version-message": "Estás usando la versión de Syncplay {} ({})",
|
||||||
|
|||||||
@ -174,7 +174,7 @@ it = {
|
|||||||
"file-argument": 'file da riprodurre',
|
"file-argument": 'file da riprodurre',
|
||||||
"args-argument": 'opzioni del player, se hai bisogno di utilizzare opzioni che iniziano con - anteponi un singolo \'--\'',
|
"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',
|
"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-argument": 'mostra la tua versione',
|
||||||
"version-message": "Stai usando la versione di Syncplay {} ({})",
|
"version-message": "Stai usando la versione di Syncplay {} ({})",
|
||||||
|
|||||||
@ -174,7 +174,7 @@ pt_BR = {
|
|||||||
"file-argument": 'arquivo a ser tocado',
|
"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 \'--\'',
|
"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',
|
"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-argument": 'exibe sua versão',
|
||||||
"version-message": "Você está usando o Syncplay versão {} ({})",
|
"version-message": "Você está usando o Syncplay versão {} ({})",
|
||||||
|
|||||||
@ -174,7 +174,7 @@ pt_PT = {
|
|||||||
"file-argument": 'ficheiro a ser tocado',
|
"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 \'--\'',
|
"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',
|
"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-argument": 'exibe sua versão',
|
||||||
"version-message": "Você está usando o Syncplay versão {} ({})",
|
"version-message": "Você está usando o Syncplay versão {} ({})",
|
||||||
|
|||||||
@ -175,7 +175,7 @@ ru = {
|
|||||||
"file-argument": 'воспроизводимый файл',
|
"file-argument": 'воспроизводимый файл',
|
||||||
"args-argument": 'параметры проигрывателя; если нужно передать параметры, начинающиеся с - , то сначала пишите \'--\'',
|
"args-argument": 'параметры проигрывателя; если нужно передать параметры, начинающиеся с - , то сначала пишите \'--\'',
|
||||||
"clear-gui-data-argument": 'сбрасывает путь и данные о состоянии окна GUI, хранимые как QSettings',
|
"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-argument": 'выводит номер версии',
|
||||||
"version-message": "Вы используете Syncplay версии {} ({})",
|
"version-message": "Вы используете Syncplay версии {} ({})",
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
"""Turkish dictionary"""
|
"""Turkish dictionary"""
|
||||||
|
|
||||||
en = {
|
tr = {
|
||||||
"LANGUAGE": "Türkçe", # Turkish
|
"LANGUAGE": "Türkçe", # Turkish
|
||||||
|
|
||||||
# Client notifications
|
# Client notifications
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user