diff options
-rw-r--r-- | data/translations/es.qm | bin | 0 -> 12207 bytes | |||
-rw-r--r-- | data/translations/es.ts | 496 | ||||
-rw-r--r-- | data/ts/en_US.ts | 116 | ||||
-rw-r--r-- | src/leap/app.py | 2 | ||||
-rw-r--r-- | src/leap/gui/mainwindow.py | 6 |
5 files changed, 558 insertions, 62 deletions
diff --git a/data/translations/es.qm b/data/translations/es.qm Binary files differnew file mode 100644 index 00000000..9b32cdcf --- /dev/null +++ b/data/translations/es.qm diff --git a/data/translations/es.ts b/data/translations/es.ts new file mode 100644 index 00000000..f6102bfa --- /dev/null +++ b/data/translations/es.ts @@ -0,0 +1,496 @@ +<?xml version="1.0" ?><!DOCTYPE TS><TS language="es" version="2.0"> +<context> + <name>MainWindow</name> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="592"/> + <source>Encryption is OFF</source> + <translation>Cifrado APAGADO</translation> + </message> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="155"/> + <source>Stop</source> + <translation>Detener</translation> + </message> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="257"/> + <source>Hide</source> + <translation>Ocultar</translation> + </message> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="259"/> + <source>Show</source> + <translation>Mostrar</translation> + </message> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="288"/> + <source>About LEAP</source> + <translation>Acerca de LEAP</translation> + </message> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="288"/> + <source>LEAP is a non-profit dedicated to giving all internet users access to secure communication. Our focus is on adapting encryption technology to make it easy to use and widely available. <a href="https://leap.se">More about LEAP</a></source> + <translation>LEAP es una empresa sin fines de lucro dedicada a proveer comunicaciones seguras a todos sus usuarios. Nuestro objetivo es la adatación de tecnologías de cifrado para que sean fáciles de utilizar, y estén ampliamente disponibles. <a href="https://leap.se">Más acerca de LEAP</a></translation> + </message> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="433"/> + <source>Could not load provider configuration</source> + <translation>No fue posible cargar la configuración del proveedor</translation> + </message> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="459"/> + <source>Please select a valid provider</source> + <translation>Por favor, selectione un proveedor válido</translation> + </message> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="463"/> + <source>Please provide a valid username</source> + <translation>Por favor, provea un nombre de usuario válido</translation> + </message> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="467"/> + <source>Please provide a valid Password</source> + <translation>Por favor, provea una contraseña válida</translation> + </message> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="470"/> + <source>Logging in...</source> + <translation>Ingresando...</translation> + </message> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="549"/> + <source>Stop EIP</source> + <translation>Detener EIP</translation> + </message> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="558"/> + <source>EIP has stopped</source> + <translation>EIP se ha detenido</translation> + </message> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="560"/> + <source>Start EIP</source> + <translation>Comenzar EIP</translation> + </message> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="573"/> + <source>Checking configuration, please wait...</source> + <translation>Corroborando la configuración, por favor espere...</translation> + </message> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="581"/> + <source>%s does not support EIP</source> + <translation>%s no soporta EIP</translation> + </message> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="596"/> + <source>Encryption is ON</source> + <translation>Cifrado ENCENDIDO</translation> + </message> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="614"/> + <source>VPN: Authenticating...</source> + <translation>VPN: Autorizando...</translation> + </message> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="616"/> + <source>VPN: Retrieving configuration...</source> + <translation>VPN: Obteniendo configuración...</translation> + </message> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="618"/> + <source>VPN: Connected!</source> + <translation>VPN: Conectado!</translation> + </message> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="672"/> + <source>Signing out...</source> + <translation>Saliendo...</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="14"/> + <source>LEAP</source> + <translation>LEAP</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="80"/> + <source>Remember</source> + <translation>Recordar</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="103"/> + <source>Login</source> + <translation>Acceder</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="123"/> + <source><b>Provider:</b></source> + <translation><b>Proveedor:</b></translation> + </message> + <message> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="133"/> + <source><b>Password:</b></source> + <translation><b>Contraseña:</b></translation> + </message> + <message> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="153"/> + <source><b>User:</b></source> + <translation><b>Usuario:</b></translation> + </message> + <message> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="219"/> + <source>0.0 Kb</source> + <translation>0.0 Kb</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="272"/> + <source>Disconnected</source> + <translation>Desconectado</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="332"/> + <source>&Session</source> + <translation>&Sesión</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="340"/> + <source>Help</source> + <translation>Ayuda</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="348"/> + <source>S&ettings</source> + <translation>C&onfiguración</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="359"/> + <source>&Sign out</source> + <translation>&Desconectarse</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="364"/> + <source>&Quit</source> + <translation>&Salir</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="369"/> + <source>About &LEAP</source> + <translation>Acerca de &LEAP</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="374"/> + <source>&Help</source> + <translation>&Ayuda</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="379"/> + <source>&Wizard</source> + <translation>&Asistente</translation> + </message> + <message> + <location filename="../src/leap/gui/mainwindow.py" line="620"/> + <source>VPN: Waiting to start...</source> + <translation>VPN: Esperando para comenzar...</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="176"/> + <source>Automatically login</source> + <translation>Ingresar automáticamente</translation> + </message> +</context> +<context> + <name>Wizard</name> + <message> + <location filename="../src/leap/gui/wizard.py" line="152"/> + <source>Passwords don't match</source> + <translation>Las contraseñas no son iguales</translation> + </message> + <message> + <location filename="../src/leap/gui/wizard.py" line="155"/> + <source>Password too short</source> + <translation>Contraseña muy corta</translation> + </message> + <message> + <location filename="../src/leap/gui/wizard.py" line="158"/> + <source>Password too easy</source> + <translation>Contraseña demsiado simple</translation> + </message> + <message> + <location filename="../src/leap/gui/wizard.py" line="161"/> + <source>Password equal to username</source> + <translation>Contraseña es igual al usuario</translation> + </message> + <message> + <location filename="../src/leap/gui/wizard.py" line="189"/> + <source>Starting registration...</source> + <translation>Comenzando el registro...</translation> + </message> + <message> + <location filename="../src/leap/gui/wizard.py" line="195"/> + <source><font color='green'><b>User registration OK</b></font></source> + <translation><font color='green'><b>Registro realizado con éxito!</b></font></translation> + </message> + <message> + <location filename="../src/leap/gui/wizard.py" line="202"/> + <source>Unknown error</source> + <translation>Error desconocido</translation> + </message> + <message> + <location filename="../src/leap/gui/wizard.py" line="303"/> + <source>Unable to load provider configuration</source> + <translation>No fue posible carga la configuración del proveedor</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="14"/> + <source>LEAP First run</source> + <translation>Primera ejecución de LEAP</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="31"/> + <source>Welcome</source> + <translation>Bienvenido</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="34"/> + <source>This is the LEAP Client first run wizard</source> + <translation>Este es el asistente de primera ejecución de LEAP</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="43"/> + <source>Log In with my credentials</source> + <translation>Acceder con mis credenciales</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="50"/> + <source><html><head/><body><p>Now we will guide you through some configuration that is needed before you can connect for the first time.</p><p>If you ever need to modify these options again, you can find the wizard in the <span style=" font-style:italic;">'Settings'</span> menu from the main window.</p><p>Do you want to <span style=" font-weight:600;">sign up</span> for a new account, or <span style=" font-weight:600;">log in</span> with an already existing username?</p></body></html></source> + <translation><html><head/><body><p>Ahora le guiaremos para configurar lo necesario para que ud. pueda ingresar por primera vez.</p><p>Si necesita alguna vez modificar estas opciones, podrá ejecutar este asistente desde el menú <span style=" font-style:italic;">'Configuración'</span> desde la ventana principal.</p><p>Desea <span style=" font-weight:600;">crear</span> una nueva cuenta, o <span style=" font-weight:600;">acceder</span> con un usuario existente?</p></body></html></translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="63"/> + <source>Sign up for a new account</source> + <translation>Crear una nueva cuenta</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="100"/> + <source>Provider selection</source> + <translation>Selección de proveedor</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="103"/> + <source>Please enter the domain of the provider you want to user for your connection</source> + <translation>Por favor, ingrese el dominio del proveedor que desea utilizar</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="128"/> + <source>https://</source> + <translation>https://</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="368"/> + <source>Checking provider</source> + <translation>Corroborando proveedor</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="147"/> + <source>Download provider information</source> + <translation>Descargando información del proveedor</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="154"/> + <source>HTTPS Connection</source> + <translation>Conexión HTTPS</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="209"/> + <source>Name resolution</source> + <translation>Resolución de nombre</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="232"/> + <source>Check</source> + <translation>Corroborar</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="253"/> + <source>Provider Information</source> + <translation>Información de proveedor</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="256"/> + <source>Services offered by this provider</source> + <translation>Servicios ofrecidos por este proveedor</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="278"/> + <source><b>Enrollment policy:</b></source> + <translation><b>Política de ingreso:</b></translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="285"/> + <source>URL</source> + <translation>URL</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="292"/> + <source>Name</source> + <translation>Nombre</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="325"/> + <source>policy</source> + <translation>política</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="332"/> + <source>Desc</source> + <translation>Desc</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="356"/> + <source>Provider setup</source> + <translation>Configuración de proveedor</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="359"/> + <source>Gathering configuration options for this provider</source> + <translation>Obteniendo opciones de configuración para este proveedor</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="406"/> + <source>Download CA Certificate</source> + <translation>Descargando certificado de autoridad</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="413"/> + <source>Check CA Certificate Fingerprint</source> + <translation>Corroborando el fingerprint del certificado</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="420"/> + <source>Check API Certificate</source> + <translation>Corroborando certificado de API</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="486"/> + <source>Register new user</source> + <translation>Registrar un nuevo usuario</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="489"/> + <source>Register a new user with provider</source> + <translation>Registrar un nuevo usuario con el proveedor</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="524"/> + <source><b>User:</b></source> + <translation><b>Usuario:</b></translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="534"/> + <source><b>Password:</b></source> + <translation><b>Contraseña:</b></translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="553"/> + <source><b>Re-enter password:</b></source> + <translation><b>Re-introduzca contraseña:</b></translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="563"/> + <source>Register</source> + <translation>Registrar</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="584"/> + <source>EIP Setup</source> + <translation>Configuración de EIP</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="587"/> + <source>Setting up Encrypted Internet</source> + <translation>Configurando Internet Cifrado</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="609"/> + <source>Checking EIP</source> + <translation>Corroborando EIP</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="615"/> + <source>Download EIP configuration</source> + <translation>Descargando configuración de EIP</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="622"/> + <source>Download client certificate</source> + <translation>Descargando certificado de cliente</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="691"/> + <source>Congratulations!</source> + <translation>Felicitaciones!</translation> + </message> + <message> + <location filename="../src/leap/gui/ui/wizard.ui" line="694"/> + <source>You have successfully configured the LEAP client.</source> + <translation>Ha configurado correctamente el cliente de LEAP</translation> + </message> +</context> +<context> + <name>__impl</name> + <message> + <location filename="../src/leap/crypto/srpauth.py" line="161"/> + <source>Unknown user</source> + <translation>Usuario desconocido</translation> + </message> + <message> + <location filename="../src/leap/crypto/srpauth.py" line="167"/> + <source>The server did not send the salt parameter</source> + <translation>El servidor no ha envíado el parámetro salt</translation> + </message> + <message> + <location filename="../src/leap/crypto/srpauth.py" line="171"/> + <source>The server did not send the B parameter</source> + <translation>El servidor no ha mandado el parámetro B</translation> + </message> + <message> + <location filename="../src/leap/crypto/srpauth.py" line="199"/> + <source>The data sent from the server had errors</source> + <translation>Los datos enviados por el servidor contanían errores</translation> + </message> + <message> + <location filename="../src/leap/crypto/srpauth.py" line="220"/> + <source>Could not connect to the server</source> + <translation>No se pudo conectar al servidor</translation> + </message> + <message> + <location filename="../src/leap/crypto/srpauth.py" line="228"/> + <source>Wrong password</source> + <translation>Password incorrecto</translation> + </message> + <message> + <location filename="../src/leap/crypto/srpauth.py" line="234"/> + <source>Unknown error (%s)</source> + <translation>Error desconocido (%s)</translation> + </message> + <message> + <location filename="../src/leap/crypto/srpauth.py" line="243"/> + <source>Problem getting data from server</source> + <translation>Problemas obteniendo datos desde el servidor</translation> + </message> + <message> + <location filename="../src/leap/crypto/srpauth.py" line="264"/> + <source>Bad data from server</source> + <translation>Datos incorrectos desde el servidor</translation> + </message> + <message> + <location filename="../src/leap/crypto/srpauth.py" line="270"/> + <source>Auth verification failed</source> + <translation>Verificación de autenticación falló</translation> + </message> + <message> + <location filename="../src/leap/crypto/srpauth.py" line="400"/> + <source>Succeeded</source> + <translation>Exitoso!</translation> + </message> +</context> +</TS>
\ No newline at end of file diff --git a/data/ts/en_US.ts b/data/ts/en_US.ts index 0c21d4f8..426acfbc 100644 --- a/data/ts/en_US.ts +++ b/data/ts/en_US.ts @@ -3,107 +3,107 @@ <context> <name>MainWindow</name> <message> - <location filename="../src/leap/gui/mainwindow.py" line="550"/> + <location filename="../src/leap/gui/mainwindow.py" line="592"/> <source>Encryption is OFF</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/mainwindow.py" line="148"/> + <location filename="../src/leap/gui/mainwindow.py" line="155"/> <source>Stop</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/mainwindow.py" line="231"/> + <location filename="../src/leap/gui/mainwindow.py" line="257"/> <source>Hide</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/mainwindow.py" line="233"/> + <location filename="../src/leap/gui/mainwindow.py" line="259"/> <source>Show</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/mainwindow.py" line="262"/> + <location filename="../src/leap/gui/mainwindow.py" line="288"/> <source>About LEAP</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/mainwindow.py" line="262"/> + <location filename="../src/leap/gui/mainwindow.py" line="288"/> <source>LEAP is a non-profit dedicated to giving all internet users access to secure communication. Our focus is on adapting encryption technology to make it easy to use and widely available. <a href="https://leap.se">More about LEAP</a></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/mainwindow.py" line="405"/> + <location filename="../src/leap/gui/mainwindow.py" line="433"/> <source>Could not load provider configuration</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/mainwindow.py" line="431"/> + <location filename="../src/leap/gui/mainwindow.py" line="459"/> <source>Please select a valid provider</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/mainwindow.py" line="435"/> + <location filename="../src/leap/gui/mainwindow.py" line="463"/> <source>Please provide a valid username</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/mainwindow.py" line="439"/> + <location filename="../src/leap/gui/mainwindow.py" line="467"/> <source>Please provide a valid Password</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/mainwindow.py" line="442"/> + <location filename="../src/leap/gui/mainwindow.py" line="470"/> <source>Logging in...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/mainwindow.py" line="507"/> + <location filename="../src/leap/gui/mainwindow.py" line="549"/> <source>Stop EIP</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/mainwindow.py" line="516"/> + <location filename="../src/leap/gui/mainwindow.py" line="558"/> <source>EIP has stopped</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/mainwindow.py" line="518"/> + <location filename="../src/leap/gui/mainwindow.py" line="560"/> <source>Start EIP</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/mainwindow.py" line="531"/> + <location filename="../src/leap/gui/mainwindow.py" line="573"/> <source>Checking configuration, please wait...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/mainwindow.py" line="539"/> + <location filename="../src/leap/gui/mainwindow.py" line="581"/> <source>%s does not support EIP</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/mainwindow.py" line="554"/> + <location filename="../src/leap/gui/mainwindow.py" line="596"/> <source>Encryption is ON</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/mainwindow.py" line="572"/> + <location filename="../src/leap/gui/mainwindow.py" line="614"/> <source>VPN: Authenticating...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/mainwindow.py" line="574"/> + <location filename="../src/leap/gui/mainwindow.py" line="616"/> <source>VPN: Retrieving configuration...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/mainwindow.py" line="576"/> + <location filename="../src/leap/gui/mainwindow.py" line="618"/> <source>VPN: Connected!</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/mainwindow.py" line="630"/> + <location filename="../src/leap/gui/mainwindow.py" line="672"/> <source>Signing out...</source> <translation type="unfinished"></translation> </message> @@ -113,12 +113,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/ui/mainwindow.ui" line="83"/> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="80"/> <source>Remember</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/ui/mainwindow.ui" line="90"/> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="103"/> <source>Login</source> <translation type="unfinished"></translation> </message> @@ -138,105 +138,105 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/ui/mainwindow.ui" line="209"/> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="219"/> <source>0.0 Kb</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/ui/mainwindow.ui" line="262"/> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="272"/> <source>Disconnected</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/ui/mainwindow.ui" line="322"/> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="332"/> <source>&Session</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/ui/mainwindow.ui" line="330"/> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="340"/> <source>Help</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/ui/mainwindow.ui" line="338"/> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="348"/> <source>S&ettings</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/ui/mainwindow.ui" line="349"/> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="359"/> <source>&Sign out</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/ui/mainwindow.ui" line="354"/> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="364"/> <source>&Quit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/ui/mainwindow.ui" line="359"/> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="369"/> <source>About &LEAP</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/ui/mainwindow.ui" line="364"/> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="374"/> <source>&Help</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/ui/mainwindow.ui" line="369"/> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="379"/> <source>&Wizard</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/mainwindow.py" line="578"/> + <location filename="../src/leap/gui/mainwindow.py" line="620"/> <source>VPN: Waiting to start...</source> <translation type="unfinished"></translation> </message> -</context> -<context> - <name>Wizard</name> <message> - <location filename="../src/leap/gui/wizard.py" line="155"/> - <source>Refrain from using non ASCII characters like á, ñ, æ</source> + <location filename="../src/leap/gui/ui/mainwindow.ui" line="176"/> + <source>Automatically login</source> <translation type="unfinished"></translation> </message> +</context> +<context> + <name>Wizard</name> <message> - <location filename="../src/leap/gui/wizard.py" line="159"/> + <location filename="../src/leap/gui/wizard.py" line="152"/> <source>Passwords don't match</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/wizard.py" line="162"/> + <location filename="../src/leap/gui/wizard.py" line="155"/> <source>Password too short</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/wizard.py" line="165"/> + <location filename="../src/leap/gui/wizard.py" line="158"/> <source>Password too easy</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/wizard.py" line="168"/> + <location filename="../src/leap/gui/wizard.py" line="161"/> <source>Password equal to username</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/wizard.py" line="194"/> + <location filename="../src/leap/gui/wizard.py" line="189"/> <source>Starting registration...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/wizard.py" line="200"/> + <location filename="../src/leap/gui/wizard.py" line="195"/> <source><font color='green'><b>User registration OK</b></font></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/wizard.py" line="207"/> + <location filename="../src/leap/gui/wizard.py" line="202"/> <source>Unknown error</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/gui/wizard.py" line="308"/> + <location filename="../src/leap/gui/wizard.py" line="303"/> <source>Unable to load provider configuration</source> <translation type="unfinished"></translation> </message> @@ -439,57 +439,57 @@ <context> <name>__impl</name> <message> - <location filename="../src/leap/crypto/srpauth.py" line="159"/> + <location filename="../src/leap/crypto/srpauth.py" line="161"/> <source>Unknown user</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/crypto/srpauth.py" line="165"/> + <location filename="../src/leap/crypto/srpauth.py" line="167"/> <source>The server did not send the salt parameter</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/crypto/srpauth.py" line="169"/> + <location filename="../src/leap/crypto/srpauth.py" line="171"/> <source>The server did not send the B parameter</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/crypto/srpauth.py" line="197"/> + <location filename="../src/leap/crypto/srpauth.py" line="199"/> <source>The data sent from the server had errors</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/crypto/srpauth.py" line="218"/> + <location filename="../src/leap/crypto/srpauth.py" line="220"/> <source>Could not connect to the server</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/crypto/srpauth.py" line="226"/> + <location filename="../src/leap/crypto/srpauth.py" line="228"/> <source>Wrong password</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/crypto/srpauth.py" line="232"/> + <location filename="../src/leap/crypto/srpauth.py" line="234"/> <source>Unknown error (%s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/crypto/srpauth.py" line="241"/> + <location filename="../src/leap/crypto/srpauth.py" line="243"/> <source>Problem getting data from server</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/crypto/srpauth.py" line="262"/> + <location filename="../src/leap/crypto/srpauth.py" line="264"/> <source>Bad data from server</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/crypto/srpauth.py" line="268"/> + <location filename="../src/leap/crypto/srpauth.py" line="270"/> <source>Auth verification failed</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../src/leap/crypto/srpauth.py" line="398"/> + <location filename="../src/leap/crypto/srpauth.py" line="400"/> <source>Succeeded</source> <translation type="unfinished"></translation> </message> diff --git a/src/leap/app.py b/src/leap/app.py index a790f81b..246f2d14 100644 --- a/src/leap/app.py +++ b/src/leap/app.py @@ -81,7 +81,7 @@ def main(): if qtTranslator.load("qt_%s" % locale, ":/translations"): app.installTranslator(qtTranslator) appTranslator = QtCore.QTranslator() - if appTranslator.load("leap_client_%s" % locale, ":/translations"): + if appTranslator.load("%s.qm" % locale[:2], ":/translations"): app.installTranslator(appTranslator) # Needed for initializing qsettings it will write diff --git a/src/leap/gui/mainwindow.py b/src/leap/gui/mainwindow.py index 399a7cb4..4e6bb5fe 100644 --- a/src/leap/gui/mainwindow.py +++ b/src/leap/gui/mainwindow.py @@ -205,7 +205,7 @@ class MainWindow(QtGui.QMainWindow): else: settings = QtCore.QSettings() saved_user = settings.value(self.USER_KEY, None) - auto_login = settings.value(self.AUTOLOGIN_KEY, None) + auto_login = settings.value(self.AUTOLOGIN_KEY, "false") != "false" if saved_user is not None: self.ui.lnUser.setText(saved_user) @@ -217,8 +217,8 @@ class MainWindow(QtGui.QMainWindow): self.ui.lnPassword.setText(saved_password.decode("utf8")) # Only automatically login if there is a saved user - if auto_login is not None: - self.ui.chkAutoLogin.setChecked(True) + self.ui.chkAutoLogin.setChecked(auto_login) + if auto_login: self._login() def _show_systray(self): |