mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
locale: fix dialog message
This commit is contained in:
parent
1b40fa2d9a
commit
5fc0a7b38b
@ -1,2 +1,5 @@
|
||||
101:
|
||||
- Fix dialog message
|
||||
|
||||
100:
|
||||
- Initial add-on
|
||||
|
@ -17,7 +17,7 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="locale"
|
||||
PKG_REV="100"
|
||||
PKG_REV="101"
|
||||
PKG_ARCH="any"
|
||||
PKG_DEPENDS_TARGET="toolchain glibc"
|
||||
PKG_SECTION="service"
|
||||
|
@ -65,7 +65,7 @@ class Monitor(xbmc.Monitor):
|
||||
|
||||
current = os.environ.get('LANG', '')
|
||||
if lang != current:
|
||||
if xbmcgui.Dialog().yesno('Locale', strings(30003).format(current, lang)
|
||||
if xbmcgui.Dialog().yesno('Locale', strings(30003).format(lang)
|
||||
) == True:
|
||||
xbmc.restart()
|
||||
|
||||
|
@ -15,5 +15,5 @@ msgid "Locale"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "#30003"
|
||||
msgid "Locale changed from {} to {}. Please reboot to apply globally."
|
||||
msgid "Locale changed to {}. Please reboot to apply globally."
|
||||
msgstr ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user