parent
79169cfbde
commit
d2b1710b1b
@ -57,6 +57,7 @@ NSIS_SCRIPT_TEMPLATE = r"""
|
|||||||
LoadLanguageFile "$${NSISDIR}\Contrib\Language files\Polish.nlf"
|
LoadLanguageFile "$${NSISDIR}\Contrib\Language files\Polish.nlf"
|
||||||
LoadLanguageFile "$${NSISDIR}\Contrib\Language files\Russian.nlf"
|
LoadLanguageFile "$${NSISDIR}\Contrib\Language files\Russian.nlf"
|
||||||
LoadLanguageFile "$${NSISDIR}\Contrib\Language files\German.nlf"
|
LoadLanguageFile "$${NSISDIR}\Contrib\Language files\German.nlf"
|
||||||
|
LoadLanguageFile "$${NSISDIR}\Contrib\Language files\Italian.nlf"
|
||||||
|
|
||||||
Unicode true
|
Unicode true
|
||||||
|
|
||||||
@ -84,6 +85,11 @@ NSIS_SCRIPT_TEMPLATE = r"""
|
|||||||
VIAddVersionKey /LANG=$${LANG_RUSSIAN} "LegalCopyright" "Syncplay"
|
VIAddVersionKey /LANG=$${LANG_RUSSIAN} "LegalCopyright" "Syncplay"
|
||||||
VIAddVersionKey /LANG=$${LANG_RUSSIAN} "FileDescription" "Syncplay"
|
VIAddVersionKey /LANG=$${LANG_RUSSIAN} "FileDescription" "Syncplay"
|
||||||
|
|
||||||
|
VIAddVersionKey /LANG=$${LANG_ITALIAN} "ProductName" "Syncplay"
|
||||||
|
VIAddVersionKey /LANG=$${LANG_ITALIAN} "FileVersion" "$version.0"
|
||||||
|
VIAddVersionKey /LANG=$${LANG_ITALIAN} "LegalCopyright" "Syncplay"
|
||||||
|
VIAddVersionKey /LANG=$${LANG_ITALIAN} "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 ^VLC $${LANG_ENGLISH} "Install Syncplay interface for VLC 2 and above"
|
LangString ^VLC $${LANG_ENGLISH} "Install Syncplay interface for VLC 2 and above"
|
||||||
@ -127,6 +133,17 @@ NSIS_SCRIPT_TEMPLATE = r"""
|
|||||||
LangString ^AutomaticUpdates $${LANG_GERMAN} "Automatisch nach Updates suchen";
|
LangString ^AutomaticUpdates $${LANG_GERMAN} "Automatisch nach Updates suchen";
|
||||||
LangString ^UninstConfig $${LANG_GERMAN} "Konfigurationsdatei löschen."
|
LangString ^UninstConfig $${LANG_GERMAN} "Konfigurationsdatei löschen."
|
||||||
|
|
||||||
|
LangString ^SyncplayLanguage $${LANG_ITALIAN} "it"
|
||||||
|
LangString ^Associate $${LANG_ITALIAN} "Associa Syncplay con i file multimediali."
|
||||||
|
LangString ^VLC $${LANG_ITALIAN} "Installa l'interfaccia di Syncplay per VLC 2+"
|
||||||
|
LangString ^BrowseVLCBtn $${LANG_ITALIAN} "Cartella di VLC"
|
||||||
|
LangString ^Shortcut $${LANG_ITALIAN} "Crea i collegamenti nei percorsi seguenti:"
|
||||||
|
LangString ^StartMenu $${LANG_ITALIAN} "Menu Start"
|
||||||
|
LangString ^Desktop $${LANG_ITALIAN} "Desktop"
|
||||||
|
LangString ^QuickLaunchBar $${LANG_ITALIAN} "Barra di avvio rapido"
|
||||||
|
LangString ^AutomaticUpdates $${LANG_ITALIAN} "Controllo automatico degli aggiornamenti"
|
||||||
|
LangString ^UninstConfig $${LANG_ITALIAN} "Cancella i file di configurazione."
|
||||||
|
|
||||||
; Remove text to save space
|
; Remove text to save space
|
||||||
LangString ^ClickInstall $${LANG_GERMAN} " "
|
LangString ^ClickInstall $${LANG_GERMAN} " "
|
||||||
|
|
||||||
@ -233,6 +250,8 @@ NSIS_SCRIPT_TEMPLATE = r"""
|
|||||||
Push Русский
|
Push Русский
|
||||||
Push $${LANG_GERMAN}
|
Push $${LANG_GERMAN}
|
||||||
Push Deutsch
|
Push Deutsch
|
||||||
|
Push $${LANG_ITALIAN}
|
||||||
|
Push Italiano
|
||||||
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
|
||||||
|
|||||||
@ -4,11 +4,13 @@ from syncplay import constants
|
|||||||
import messages_en
|
import messages_en
|
||||||
import messages_ru
|
import messages_ru
|
||||||
import messages_de
|
import messages_de
|
||||||
|
import messages_it
|
||||||
|
|
||||||
messages = {
|
messages = {
|
||||||
"en": messages_en.en,
|
"en": messages_en.en,
|
||||||
"ru": messages_ru.ru,
|
"ru": messages_ru.ru,
|
||||||
"de": messages_de.de,
|
"de": messages_de.de,
|
||||||
|
"it": messages_it.it,
|
||||||
"CURRENT": None
|
"CURRENT": None
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -245,6 +245,7 @@ de = {
|
|||||||
"chat-top-option": u"Top", # TODO: Translate
|
"chat-top-option": u"Top", # TODO: Translate
|
||||||
"chat-middle-option": u"Middle", # TODO: Translate
|
"chat-middle-option": u"Middle", # TODO: Translate
|
||||||
"chat-bottom-option": u"Bottom", # TODO: Translate
|
"chat-bottom-option": u"Bottom", # TODO: Translate
|
||||||
|
"chatoutputheader-label" : u"Chat message output", # TODO: Translate
|
||||||
"chatoutputfont-label": u"Chat output font", # TODO: Translate
|
"chatoutputfont-label": u"Chat output font", # TODO: Translate
|
||||||
"chatoutputenabled-label": u"Enable chat output in media player (mpv only for now)", # TODO: Translate
|
"chatoutputenabled-label": u"Enable chat output in media player (mpv only for now)", # TODO: Translate
|
||||||
"chatoutputposition-label": u"Output mode", # TODO: Translate
|
"chatoutputposition-label": u"Output mode", # TODO: Translate
|
||||||
|
|||||||
@ -250,6 +250,7 @@ en = {
|
|||||||
"chat-top-option" : u"Top",
|
"chat-top-option" : u"Top",
|
||||||
"chat-middle-option" : u"Middle",
|
"chat-middle-option" : u"Middle",
|
||||||
"chat-bottom-option" : u"Bottom",
|
"chat-bottom-option" : u"Bottom",
|
||||||
|
"chatoutputheader-label" : u"Chat message output",
|
||||||
"chatoutputfont-label": u"Chat output font",
|
"chatoutputfont-label": u"Chat output font",
|
||||||
"chatoutputenabled-label": u"Enable chat output in media player (mpv only for now)",
|
"chatoutputenabled-label": u"Enable chat output in media player (mpv only for now)",
|
||||||
"chatoutputposition-label": u"Output mode",
|
"chatoutputposition-label": u"Output mode",
|
||||||
|
|||||||
@ -254,6 +254,7 @@ ru = {
|
|||||||
"chat-top-option": u"Top", # TODO: Translate
|
"chat-top-option": u"Top", # TODO: Translate
|
||||||
"chat-middle-option": u"Middle", # TODO: Translate
|
"chat-middle-option": u"Middle", # TODO: Translate
|
||||||
"chat-bottom-option": u"Bottom", # TODO: Translate
|
"chat-bottom-option": u"Bottom", # TODO: Translate
|
||||||
|
"chatoutputheader-label" : u"Chat message output", # TODO: Traslate
|
||||||
"chatoutputfont-label": u"Chat output font", # TODO: Translate
|
"chatoutputfont-label": u"Chat output font", # TODO: Translate
|
||||||
"chatoutputenabled-label": u"Enable chat output in media player (mpv only for now)", # TODO: Translate
|
"chatoutputenabled-label": u"Enable chat output in media player (mpv only for now)", # TODO: Translate
|
||||||
"chatoutputposition-label": u"Output mode", # TODO: Translate
|
"chatoutputposition-label": u"Output mode", # TODO: Translate
|
||||||
|
|||||||
@ -946,7 +946,7 @@ class ConfigDialog(QtWidgets.QDialog):
|
|||||||
self.chatInputFontButton.objectName(), self.chatFontLabel.objectName(),
|
self.chatInputFontButton.objectName(), self.chatFontLabel.objectName(),
|
||||||
self.chatInputColourButton.objectName(), self.chatDirectInputCheckbox.objectName()]
|
self.chatInputColourButton.objectName(), self.chatDirectInputCheckbox.objectName()]
|
||||||
# Output
|
# Output
|
||||||
self.chatOutputGroup = QtWidgets.QGroupBox(u"Chat message output")
|
self.chatOutputGroup = QtWidgets.QGroupBox(getMessage("chatoutputheader-label"))
|
||||||
self.chatOutputLayout = QtWidgets.QGridLayout()
|
self.chatOutputLayout = QtWidgets.QGridLayout()
|
||||||
self.chatLayout.addWidget(self.chatOutputGroup)
|
self.chatLayout.addWidget(self.chatOutputGroup)
|
||||||
self.chatOutputGroup.setLayout(self.chatOutputLayout)
|
self.chatOutputGroup.setLayout(self.chatOutputLayout)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user