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