Merge pull request #1665 from thoradia/locale-fu-8

locale: fix dialog message
This commit is contained in:
Christian Hewitt 2017-05-31 19:50:15 +04:00 committed by GitHub
commit f9bce9dd13
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 ""