Removes hardcoded label in GuiConfiguration and replaces it with chatoutputheader-label
This commit is contained in:
parent
0e9126569b
commit
907904f890
@ -245,6 +245,7 @@ de = {
|
||||
"chat-top-option": u"Top", # TODO: Translate
|
||||
"chat-middle-option": u"Middle", # 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
|
||||
"chatoutputenabled-label": u"Enable chat output in media player (mpv only for now)", # TODO: Translate
|
||||
"chatoutputposition-label": u"Output mode", # TODO: Translate
|
||||
|
||||
@ -250,6 +250,7 @@ en = {
|
||||
"chat-top-option" : u"Top",
|
||||
"chat-middle-option" : u"Middle",
|
||||
"chat-bottom-option" : u"Bottom",
|
||||
"chatoutputheader-label" : u"Chat message output",
|
||||
"chatoutputfont-label": u"Chat output font",
|
||||
"chatoutputenabled-label": u"Enable chat output in media player (mpv only for now)",
|
||||
"chatoutputposition-label": u"Output mode",
|
||||
|
||||
@ -254,6 +254,7 @@ ru = {
|
||||
"chat-top-option": u"Top", # TODO: Translate
|
||||
"chat-middle-option": u"Middle", # 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
|
||||
"chatoutputenabled-label": u"Enable chat output in media player (mpv only for now)", # TODO: Translate
|
||||
"chatoutputposition-label": u"Output mode", # TODO: Translate
|
||||
|
||||
@ -946,7 +946,7 @@ class ConfigDialog(QtWidgets.QDialog):
|
||||
self.chatInputFontButton.objectName(), self.chatFontLabel.objectName(),
|
||||
self.chatInputColourButton.objectName(), self.chatDirectInputCheckbox.objectName()]
|
||||
# Output
|
||||
self.chatOutputGroup = QtWidgets.QGroupBox(u"Chat message output")
|
||||
self.chatOutputGroup = QtWidgets.QGroupBox(getMessage("chatoutputheader-label"))
|
||||
self.chatOutputLayout = QtWidgets.QGridLayout()
|
||||
self.chatLayout.addWidget(self.chatOutputGroup)
|
||||
self.chatOutputGroup.setLayout(self.chatOutputLayout)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user