mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-13 18:28:50 +01:00
music play list ,translate bgpng
This commit is contained in:
parent
ea673759d9
commit
aac0bf1944
@ -16,6 +16,7 @@ from UI.multi_icon_item import MultiIconItem
|
||||
from UI.icon_pool import MyIconPool
|
||||
from UI.scroller import ListScroller
|
||||
from UI.skin_manager import MySkinManager
|
||||
from UI.lang_manager import MyLangManager
|
||||
|
||||
from list_item import ListItem
|
||||
|
||||
@ -184,7 +185,7 @@ class MusicLibListPage(Page):
|
||||
self._BGpng._ImgSurf = MyIconPool._Icons["empty"]
|
||||
self._BGpng._MyType = ICON_TYPES["STAT"]
|
||||
self._BGpng._Parent = self
|
||||
self._BGpng.AddLabel("Please upload data over Wi-Fi", fonts["varela22"])
|
||||
self._BGpng.AddLabel(MyLangManager.Tr("Please upload data over Wi-Fi"), MyLangManager.TrFont("varela22"))
|
||||
self._BGpng.SetLableColor(MySkinManager.GiveColor('Disabled'))
|
||||
self._BGpng.Adjust(0,0,self._BGwidth,self._BGheight,0)
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ from UI.util_funcs import midRect
|
||||
from UI.keys_def import CurKeys
|
||||
from UI.icon_pool import MyIconPool
|
||||
from UI.skin_manager import MySkinManager
|
||||
from UI.lang_manager import MyLangManager
|
||||
|
||||
from UI.scroller import ListScroller
|
||||
|
||||
@ -183,7 +184,7 @@ class PlayListPage(Page):
|
||||
self._BGpng._ImgSurf = MyIconPool._Icons["heart"]
|
||||
self._BGpng._MyType = ICON_TYPES["STAT"]
|
||||
self._BGpng._Parent = self
|
||||
self._BGpng.AddLabel("my favourites", fonts["varela18"])
|
||||
self._BGpng.AddLabel(MyLangManager.Tr("my favourites"), MyLangManager.TrFont("varela18"))
|
||||
self._BGpng.SetLableColor(MySkinManager.GiveColor('Disabled'))
|
||||
self._BGpng.Adjust(0,0,self._BGwidth,self._BGheight,0)
|
||||
|
||||
|
||||
@ -101,3 +101,4 @@ Performance=Performance
|
||||
Confirm Power OFF?=Confirm Power OFF?
|
||||
Reboot=Reboot
|
||||
Shutdown=Shutdown
|
||||
my favourites=my favourites
|
||||
|
||||
@ -102,3 +102,4 @@ Shutdown=关闭
|
||||
Play List=播放列表
|
||||
Music Library=乐库
|
||||
Play/Pause=播放/暂停
|
||||
my favourites=我的收藏夹
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user