This commit is contained in:
yumoqing 2022-10-09 13:44:16 +08:00
parent ba29b30fe9
commit d372b521c4
2 changed files with 4 additions and 2 deletions

View File

@ -632,12 +632,14 @@ class Slider(Carousel):
w = bk.widgetBuild(desc)
self.add_widget(w)
i18n = I18n()
i18n = None
class I18nWidget(PressableText):
lang = StringProperty(None)
def __init__(self, **kw):
super().__init__(**kw)
if i18n is None:
i18n = I18n()
self.lang = i18n.lang
def on_lang(self, *args):

View File

@ -1 +1 @@
__version__ = '0.3.24'
__version__ = '0.3.25'