Missing translations and minor fixes

Translate missing texts, remove duplicated disconnect button in wifi info page and add translations for spanish language.
This commit is contained in:
Rubén Verdute Ávila 2019-02-13 22:24:59 +01:00
parent c1b06db2dc
commit 219e880f18
3 changed files with 33 additions and 17 deletions

View File

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

View File

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

View File

@ -1,10 +1,11 @@
[Langs]
Settings=Opciones
Retro Games=Juegos Retro
Indie Games=Juegos Indie
Music Player=Música
TinyCloud=TinyCloud
PowerOFF=Apagar
Reload UI=Recargar UI
Reload UI=Recargar IU
freeDM=freeDM
CaveStory=CaveStory
RetroArch=RetroArch
@ -16,14 +17,15 @@ Enter=Entrar
Remove=Borrar
Backspace=Borrar
Done=Hecho
Run=Lanzar
Run=Abrir
AddToPlayList=Añadir a lista
Add to Playlist=Añadir a lista
DownloadConfirm=Confirmar descarga
Download Confirm=Confirmar descarga
MyFavGames=mis juegos favoritos
Deleting=Borrando...
AddFav=Añadir favorito
ADdFavList=Añadir a favoritos
AddFav=Favorito
AddFavList=Añadido a favoritos
Del=Borrar
Please upload data over Wi-Fi=Carga datos por Wi-Fi
ConfirmDeleteQ=¿Confirmar borrado?
@ -34,7 +36,7 @@ ConfirmQ=¿Confirmar?
Disconnecting=Desconectando...
ConfirmUpdateToFQ=¿Confirmar actualización al %%s ?
UpdateToFQ=¿Actualizar al %%s ?
SetupGameEngineAutoQ=¿Instalar automat. este motor de juego?
SetupGameEngineAutoQ=¿Descargar emulador?
Downloading=Descargando...
BATOver5Pct=La batería debe ser superior al 5%%
DeleteConfirm=Confirmar borrado
@ -42,7 +44,7 @@ FavouriteGames=Juegos favoritos
ConfirmForgetQ=¿Confirmar olvidar?
ConfirmForget=Confirmar olvidar
Disconnect=Desconectar
ConfirmDisconnectQ=¿Confirmar desconectar ?
ConfirmDisconnectQ=¿Confirmar desconectar?
Confirm Disconnect=Confirmar desconectar
Forget=Olvidar
Forgeting=Olvidando...
@ -50,8 +52,8 @@ Info=Info
TryConnect=Intentar conectar
Bluetooth Info=Info Bluetooth
Connecting=Conectando
BluetoothScanning=Escaneando BT...
Scanning=Escaneando..
BluetoothScanning=Escaneando Bluetooth...
Scanning=Escaneando...
ShutDownConnecting=Terminando conectar...
Select=Seleccionar
Detail=Detalle
@ -75,12 +77,12 @@ minute=minuto
Never=Nunca
Power Options=Opciones de energía
Languages=Idiomas
Notify=Notificar
Notify=Notificaciones
Setting List=Lista de opciones
Wi-Fi=Wi-Fi
Bluetooth=Bluetooth
Sound Volume=Volumen de sonido
Sound Volume=Volumen de sonido
Sound volume=Volumen de sonido
Brightness=Brillo
BackLight Brightness=Brillo de pantalla
Storage=Almacenamiento
@ -99,9 +101,22 @@ Power OFF=Apagar
Power saving=Ahorro energía
Balanced=Equilibrado
Server=Servidor
Performance=Rendimiendo
Performance=Rendimiento
Confirm Power OFF?=¿Confirmar apagado?
Reboot=Reiniciar
Shutdown=Apagar
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