mirror of
https://github.com/clockworkpi/launcher.git
synced 2026-03-21 19:32:44 +01:00
continue translate
This commit is contained in:
@@ -10,12 +10,13 @@ from UI.fonts import fonts
|
||||
from UI.icon_item import IconItem
|
||||
from UI.icon_pool import MyIconPool
|
||||
from UI.keys_def import CurKeys
|
||||
from UI.skin_manager import SkinManager
|
||||
from UI.skin_manager import MySkinManager
|
||||
from UI.lang_manager import MyLangManager
|
||||
|
||||
from libs.DBUS import is_wifi_connected_now,get_wifi_ip
|
||||
|
||||
class TinyCloudPage(Page):
|
||||
_FootMsg = ["Nav.","","","Back",""]
|
||||
_FootMsg = [MyLangManager.Tr("Nav"),"","",MyLangManager.Tr("Back"),""]
|
||||
_MyList = []
|
||||
|
||||
_ListFontObj = fonts["varela13"]
|
||||
@@ -25,8 +26,8 @@ class TinyCloudPage(Page):
|
||||
|
||||
_Coords = {}
|
||||
|
||||
_URLColor = SkinManager().GiveColor('URL')
|
||||
_TextColor = SkinManager().GiveColor('Text')
|
||||
_URLColor = MySkinManager.GiveColor('URL')
|
||||
_TextColor = MySkinManager.GiveColor('Text')
|
||||
_Scrolled = 0
|
||||
|
||||
_PngSize = {}
|
||||
@@ -165,7 +166,7 @@ class TinyCloudPage(Page):
|
||||
|
||||
def KeyDown(self,event):
|
||||
if event.key == CurKeys["A"] or event.key == CurKeys["Menu"]:
|
||||
if self._FootMsg[3] == "Back":
|
||||
if self._FootMsg[3] == MyLangManager.Tr("Back"):
|
||||
self.ReturnToUpLevelPage()
|
||||
self._Screen.Draw()
|
||||
self._Screen.SwapAndShow()
|
||||
@@ -198,7 +199,7 @@ class TinyCloudPage(Page):
|
||||
self._DrawOnce = True
|
||||
|
||||
if self._HWND != None:
|
||||
self._HWND.fill(SkinManager().GiveColor('White'))
|
||||
self._HWND.fill(MySkinManager.GiveColor('White'))
|
||||
self._HWND.blit(self._CanvasHWND,(self._PosX,self._PosY,self._Width, self._Height ) )
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user