diff --git a/Menu/GameShell/10_Settings/Bluetooth/agent.py b/Menu/GameShell/10_Settings/Bluetooth/agent.py index dd17e7b..53bcae5 100644 --- a/Menu/GameShell/10_Settings/Bluetooth/agent.py +++ b/Menu/GameShell/10_Settings/Bluetooth/agent.py @@ -134,6 +134,7 @@ class BleAgentPairPage(Page): _Pin = "" _Pass = "" _dev_obj = None + _FootMsg = ["Nav","","","Back",""] def Init(self): self._PosX = self._Index * self._Screen._Width @@ -144,7 +145,7 @@ class BleAgentPairPage(Page): self._CanvasHWND = self._Screen._CanvasHWND def ShowPinCode(self,device,pincode): - print("ShowPinCode %s %d" % (pincode)) + print("ShowPinCode %s %s" % (device,pincode)) if self._Screen.CurPage() != self: self._Screen.PushPage(self) self.ClearCanvas() @@ -152,6 +153,7 @@ class BleAgentPairPage(Page): self._Screen.SwapAndShow() self._Pin = "%s" % pincode + txt = self.Pin if len(self._Pin) > 0: txt = "Pin code: %s" % self._Pin self._Screen._MsgBox.SetText(txt) @@ -159,14 +161,14 @@ class BleAgentPairPage(Page): self._Screen.SwapAndShow() def ShowPassKey(self,device,passkey,entered): - print("ShowPassKey %s %d" % (passkey,entered)) + print("ShowPassKey %06u %u" % (passkey,entered)) if self._Screen.CurPage() != self: self._Screen.PushPage(self) self.ClearCanvas() self._Screen.Draw() self._Screen.SwapAndShow() - self._Pass = "%s" % passkey + self._Pass = "%06u" % passkey if len(self._Pass) > 0: txt = "Pair code: %s" % self._Pass self._Screen._MsgBox.SetText(txt) diff --git a/sys.py/UI/constants.py b/sys.py/UI/constants.py index fe17632..ebf0e40 100644 --- a/sys.py/UI/constants.py +++ b/sys.py/UI/constants.py @@ -2,14 +2,14 @@ import pygame from pygame.locals import * -from sys import exit -import os -import sys +#from sys import exit +#import os +#import sys -from datetime import datetime +#from datetime import datetime -import base64 -from beeprint import pp +#import base64 +#from beeprint import pp #UI lib from skin_manager import MySkinManager @@ -33,7 +33,6 @@ ALIGN = {"HLeft":0,"HCenter":1,"HRight":2,"VMiddle":3,"SLeft":4,"VCenter":5,"SCe DT = pygame.time.Clock().tick(30) # fps in ms,eg:50 - RUNSH = pygame.USEREVENT+1 #update_titlebar_event = pygame.event.Event(GMEVT, message="titlebar") RUNEVT = pygame.USEREVENT+2 diff --git a/sys.py/langs/05_Spanish.ini b/sys.py/langs/05_Spanish.ini new file mode 100644 index 0000000..9fd5c71 --- /dev/null +++ b/sys.py/langs/05_Spanish.ini @@ -0,0 +1,107 @@ +[Langs] +Settings=Opciones +Retro Games=Juegos Retro +Music Player=Música +TinyCloud=TinyCloud +PowerOFF=Apagar +Reload UI=Recargar UI +freeDM=freeDM +CaveStory=CaveStory +RetroArch=RetroArch +Launching=Cargando.... +Nav=Nav +Scan=Buscar +Back=Volver +Enter=Entrar +Remove=Borrar +Backspace=Borrar +Done=Hecho +Run=Lanzar +AddToPlayList=Añadir a lista +Add to Playlist=Añadir a lista +DownloadConfirm=Confirmar descarga +MyFavGames=mis juegos favoritos +Deleting=Borrando... +AddFav=Añadir favorito +ADdFavList=Añadir a favoritos +Del=Borrar +Please upload data over Wi-Fi=Carga datos por Wi-Fi +ConfirmDeleteQ=¿Confirmar borrado? +AlreadyExisted=Ya existía +Cancel=Cancelar +Yes=Sí +ConfirmQ=¿Confirmar? +Disconnecting=Desconectando... +ConfirmUpdateToFQ=¿Confirmar actualización al %%s ? +UpdateToFQ=¿Actualizar al %%s ? +SetupGameEngineAutoQ=¿Quieres configurar autom. este motor de juego? +Downloading=Descargando... +BATOver5Pct=La batería debe ser superior al 5%% +DeleteConfirm=Confirmar borrado +FavouriteGames=Juegos favoritos +ConfirmForgetQ=¿Confirmar olvidar? +ConfirmForget=Confirmar olvidar +Disconnect=Desconectar +ConfirmDisconnectQ=¿Confirmar desconectar ? +Confirm Disconnect=Confirmar desconectar +Forget=Olvidar +Forgeting=Olvidando... +Info=Info +TryConnect=Intentar conectar +Bluetooth Info=Info Bluetooth +Connecting=Conectando +BluetoothScanning=Escaneando BT... +Scanning=Escaneando.. +ShutDownConnecting=Terminando conectar... +Select=Seleccionar +Detail=Detalle +Applying=Aplicando... +DownloadFailed=Descarga fallida +LauncherIsUpToDate=Lanzador ya actualizado +CheckWifiConnection=Comprueba tu conexión Wi-Fi +TurningOn=Encendiendo +TurningOff=Apagando +Invalid=Inválido +CheckingUpdate=Comprobando actualizaciones... +CheckingUpdateFailed=Fallo al comprobar +Update=Actualizar +Toggle=Alternar +Rescue=Rescatar +Airplane Mode=Modo avión +minutes=minutos +seconds=segundos +second=segundo +minute=Nunca +Never=Never +Power Options=Opciones de energía +Languages=Idiomas +Notify=Notificar +Setting List=Lista de opciones +Wi-Fi=Wi-Fi +Bluetooth=Bluetooth +Sound Volume=Volumen de sonido +Sound Volume=Volumen de sonido +Brightness=Brillo +BackLight Brightness=Brillo de pantalla +Storage=Almacenamiento +Timezone=Zona horaria +Timezone Selection=Seleccionar zona horaria +Notification=Notificaciones +About=Acerca de +Power off=Apagar +Buttons Layout=Disposición de botones +UpdateRetroArch=Actualizar RetroArch +Wifi scanning=Buscando Wifi... +Power option detail=Detalle opciones energía +Screen dimming=Oscurecer pantalla +Screen OFF=Apagar pantalla +Power OFF=Apagar +Power saving=Ahorro energía +Balanced=Equilibrado +Server=Servidor +Performance=Rendimiendo +Confirm Power OFF?=¿Confirmar apagado? +Reboot=Reiniciar +Shutdown=Apagar +my favorite music=mi música favorita +Check Update=Comp. Actualizaciones