Merge pull request #172 from ruverav/master

Missing translations and minor fixes
This commit is contained in:
GNU 2019-02-14 18:30:11 +08:00 committed by GitHub
commit 8cd87b5276
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 17 deletions

View File

@ -60,7 +60,7 @@ class WifiDisconnectConfirmPage(ConfirmPage):
self.Reset() self.Reset()
class WifiInfoPage(Page): class WifiInfoPage(Page):
_FootMsg = ["Nav","","Disconnect","Back",""] _FootMsg = ["Nav","","","Back",""]
_MyList = [] _MyList = []
_ListFontObj = MyLangManager.TrFont("varela15") _ListFontObj = MyLangManager.TrFont("varela15")
@ -159,9 +159,9 @@ class WifiInfoPage(Page):
def OnLoadCb(self): def OnLoadCb(self):
if self._Wireless.GetCurrentNetworkID(self._Wireless.GetIwconfig()) == self._NetworkId \ if self._Wireless.GetCurrentNetworkID(self._Wireless.GetIwconfig()) == self._NetworkId \
and self._Wireless.GetWirelessIP('') is not None: and self._Wireless.GetWirelessIP('') is not None:
self._FootMsg[1] = "Disconnect" self._FootMsg[2] = "Disconnect"
else: else:
self._FootMsg[1] = "" self._FootMsg[2] = ""
self.GenList() self.GenList()
@ -705,7 +705,7 @@ class WifiList(Page):
self._InfoPage = WifiInfoPage() self._InfoPage = WifiInfoPage()
self._InfoPage._Screen = self._Screen self._InfoPage._Screen = self._Screen
self._InfoPage._Name = "Wifi info" self._InfoPage._Name = MyLangManager.Tr("Wifi info")
self._InfoPage.Init() self._InfoPage.Init()
def Draw(self): def Draw(self):

View File

@ -6,12 +6,13 @@ import pygame
from UI.constants import RUNSYS from UI.constants import RUNSYS
from UI.keys_def import CurKeys, IsKeyStartOrA, IsKeyMenuOrB from UI.keys_def import CurKeys, IsKeyStartOrA, IsKeyMenuOrB
from UI.confirm_page import ConfirmPage from UI.confirm_page import ConfirmPage
from UI.lang_manager import MyLangManager
import config import config
class PowerOffConfirmPage(ConfirmPage): class PowerOffConfirmPage(ConfirmPage):
_ConfirmText = "Awaiting Input" _ConfirmText = MyLangManager.Tr("Awaiting Input")
_FootMsg = ["Nav","","Reboot","Cancel","Shutdown"] _FootMsg = ["Nav","","Reboot","Cancel","Shutdown"]
def CheckBattery(self): def CheckBattery(self):

View File

@ -1,10 +1,11 @@
[Langs] [Langs]
Settings=Opciones Settings=Opciones
Retro Games=Juegos Retro Retro Games=Juegos Retro
Indie Games=Juegos Indie
Music Player=Música Music Player=Música
TinyCloud=TinyCloud TinyCloud=TinyCloud
PowerOFF=Apagar PowerOFF=Apagar
Reload UI=Recargar UI Reload UI=Recargar IU
freeDM=freeDM freeDM=freeDM
CaveStory=CaveStory CaveStory=CaveStory
RetroArch=RetroArch RetroArch=RetroArch
@ -16,14 +17,15 @@ Enter=Entrar
Remove=Borrar Remove=Borrar
Backspace=Borrar Backspace=Borrar
Done=Hecho Done=Hecho
Run=Lanzar Run=Abrir
AddToPlayList=Añadir a lista AddToPlayList=Añadir a lista
Add to Playlist=Añadir a lista Add to Playlist=Añadir a lista
DownloadConfirm=Confirmar descarga DownloadConfirm=Confirmar descarga
Download Confirm=Confirmar descarga
MyFavGames=mis juegos favoritos MyFavGames=mis juegos favoritos
Deleting=Borrando... Deleting=Borrando...
AddFav=Añadir favorito AddFav=Favorito
ADdFavList=Añadir a favoritos AddFavList=Añadido a favoritos
Del=Borrar Del=Borrar
Please upload data over Wi-Fi=Carga datos por Wi-Fi Please upload data over Wi-Fi=Carga datos por Wi-Fi
ConfirmDeleteQ=¿Confirmar borrado? ConfirmDeleteQ=¿Confirmar borrado?
@ -34,7 +36,7 @@ ConfirmQ=¿Confirmar?
Disconnecting=Desconectando... Disconnecting=Desconectando...
ConfirmUpdateToFQ=¿Confirmar actualización al %%s ? ConfirmUpdateToFQ=¿Confirmar actualización al %%s ?
UpdateToFQ=¿Actualizar al %%s ? UpdateToFQ=¿Actualizar al %%s ?
SetupGameEngineAutoQ=¿Instalar automat. este motor de juego? SetupGameEngineAutoQ=¿Descargar emulador?
Downloading=Descargando... Downloading=Descargando...
BATOver5Pct=La batería debe ser superior al 5%% BATOver5Pct=La batería debe ser superior al 5%%
DeleteConfirm=Confirmar borrado DeleteConfirm=Confirmar borrado
@ -42,7 +44,7 @@ FavouriteGames=Juegos favoritos
ConfirmForgetQ=¿Confirmar olvidar? ConfirmForgetQ=¿Confirmar olvidar?
ConfirmForget=Confirmar olvidar ConfirmForget=Confirmar olvidar
Disconnect=Desconectar Disconnect=Desconectar
ConfirmDisconnectQ=¿Confirmar desconectar ? ConfirmDisconnectQ=¿Confirmar desconectar?
Confirm Disconnect=Confirmar desconectar Confirm Disconnect=Confirmar desconectar
Forget=Olvidar Forget=Olvidar
Forgeting=Olvidando... Forgeting=Olvidando...
@ -50,8 +52,8 @@ Info=Info
TryConnect=Intentar conectar TryConnect=Intentar conectar
Bluetooth Info=Info Bluetooth Bluetooth Info=Info Bluetooth
Connecting=Conectando Connecting=Conectando
BluetoothScanning=Escaneando BT... BluetoothScanning=Escaneando Bluetooth...
Scanning=Escaneando.. Scanning=Escaneando...
ShutDownConnecting=Terminando conectar... ShutDownConnecting=Terminando conectar...
Select=Seleccionar Select=Seleccionar
Detail=Detalle Detail=Detalle
@ -75,12 +77,12 @@ minute=minuto
Never=Nunca Never=Nunca
Power Options=Opciones de energía Power Options=Opciones de energía
Languages=Idiomas Languages=Idiomas
Notify=Notificar Notify=Notificaciones
Setting List=Lista de opciones Setting List=Lista de opciones
Wi-Fi=Wi-Fi Wi-Fi=Wi-Fi
Bluetooth=Bluetooth Bluetooth=Bluetooth
Sound Volume=Volumen de sonido Sound Volume=Volumen de sonido
Sound Volume=Volumen de sonido Sound volume=Volumen de sonido
Brightness=Brillo Brightness=Brillo
BackLight Brightness=Brillo de pantalla BackLight Brightness=Brillo de pantalla
Storage=Almacenamiento Storage=Almacenamiento
@ -99,9 +101,22 @@ Power OFF=Apagar
Power saving=Ahorro energía Power saving=Ahorro energía
Balanced=Equilibrado Balanced=Equilibrado
Server=Servidor Server=Servidor
Performance=Rendimiendo Performance=Rendimiento
Confirm Power OFF?=¿Confirmar apagado? Confirm Power OFF?=¿Confirmar apagado?
Reboot=Reiniciar Reboot=Reiniciar
Shutdown=Apagar Shutdown=Apagar
my favorite music=mi música favorita my favorite music=mi música favorita
Check Update=Comp. Actualizaciones Check Update=Buscar actualizaciones
Switch to LauncherGo=Cambiar a LauncherGo
GPU driver switch=Cambiar controlador gráfico
Network gateway switch=Cambiar pasarela de red
Gateway switch=Cambiar pasarela
Clear All=Limpiar todo
Cleaning up=Limpiando
Overwrite RA conf=Restaurar conf RA
Music Library=Biblioteca musical
Play List=Lista de reproducción
Play/Pause=Repr/Pausa
Awaiting Input=Escoge una opción
Scan wifi=Escanear Wifi
Wifi info=Información Wifi