locale: fix dialog message

This commit is contained in:
thoradia 2017-05-30 08:51:47 +02:00
parent 1b40fa2d9a
commit 5fc0a7b38b
4 changed files with 6 additions and 3 deletions

View File

@ -1,2 +1,5 @@
101:
- Fix dialog message
100:
- Initial add-on

View File

@ -17,7 +17,7 @@
################################################################################
PKG_NAME="locale"
PKG_REV="100"
PKG_REV="101"
PKG_ARCH="any"
PKG_DEPENDS_TARGET="toolchain glibc"
PKG_SECTION="service"

View File

@ -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()

View File

@ -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 ""