From 373a5b710b6fa2a435db97fd40b7ca1d2abf0dd4 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Thu, 5 Jul 2012 10:40:33 +0200 Subject: add translations fixes for zh, es (closes issue #44, closes #45) make a few left out strings translatable (closes issue #44) --- res/values-es/strings.xml | 9 +++++---- res/values-zh/arrays.xml | 28 ++++++++++++++++++++++++++++ res/values-zh/strings.xml | 8 ++++---- res/values/strings.xml | 10 ++++++++-- res/xml/vpn_headers.xml | 10 +++++----- 5 files changed, 50 insertions(+), 15 deletions(-) create mode 100644 res/values-zh/arrays.xml diff --git a/res/values-es/strings.xml b/res/values-es/strings.xml index 712b9744..7d72c70b 100644 --- a/res/values-es/strings.xml +++ b/res/values-es/strings.xml @@ -175,19 +175,20 @@ "Configuración generada" "Ajustes generales" "Corregir la propiedad de /dev/tun" +Intentar definir la propriedad de /dev/tun como system. Algunos firmwares CM9 lo necesita para que la API VPNService funcione. Necesita root. "Muestra el archivo de configuración de OpenVPN generado" - "Editar \" %s \"" + "Editar \"%s\"" "Generando configuración…" "Habilitar esta opción obliga la reconexión si el estado de la red se cambia (Wi-Fi a móvil, y al revés)" "Reconectar si la red se cambia" "Tiene certificado de '%s' del llavero" "Estado de red: %s" "Seleccionar" - "Muestra la ventana de registro cuando se establece la conexión. La ventana de registro se puede acceder de la barra de notificaciones." + "Mostrar la ventana de registro cuando se establece la conexión. La ventana de registro se puede acceder de la barra de notificaciones." "Mostrar ventana de registro" - "Mantenga la notificación mostrada después de que la conexión se establece para mostrar las estadísticas de tráfico." + "Mantener la notificación mostrada después de que la conexión se establece, para mostrar las estadísticas de tráfico." "Mostrar estadísticas de tráfico" "Correr en %1$s (%2$s) %3$s, Android API %4$d" Traducción español por Gerard Bonner -<gbonner689@gmail.com + <59539051+ovpntrans.es@mail.dcu.ie> \ No newline at end of file diff --git a/res/values-zh/arrays.xml b/res/values-zh/arrays.xml new file mode 100644 index 00000000..1a78cb8e --- /dev/null +++ b/res/values-zh/arrays.xml @@ -0,0 +1,28 @@ + + + + "证书" + "PKCS12 文件" + "Android 证书" + "用户名/密码" + "静态密钥" + "用户名/密码 + 证书" + "用户名/密码 + PKCS12 " + "用户名/密码 + Android" + + + + "0" + "1" + "未指定" + + + "0 - 无记录" + "1 - 默认详细级别" + "2 - 多详细" + "3" + "4" + "5 - 调试记录" + + + \ No newline at end of file diff --git a/res/values-zh/strings.xml b/res/values-zh/strings.xml index 03577617..3f93f78e 100644 --- a/res/values-zh/strings.xml +++ b/res/values-zh/strings.xml @@ -14,7 +14,7 @@ limitations under the License. --> - "OpenVPN为Android" + "OpenVPN 为 Android" "服务器地址:" "服务器端口:" "地点" @@ -76,7 +76,7 @@ "DNS" "覆盖服务器 DNS 设定" "使用自定义 DNS 服务器" - "sea​​rchDomain" + "searchDomain" "要使用的 DNS 服务器。" "DNS 服务器" "如果无法达到主 DNS 服务器,要使用辅助 DNS 服务器。" @@ -156,7 +156,7 @@ "显示记录窗口" "显示流量统计" "运行 %1$s ( %2$s ) %3$s ,Android API %4$d" - 中文翻译: 白达卫 (Gerard Bonner) -<gbonner689@gmail.com + 中文翻译: 白达卫 +<59539051+ovpntrans.zh@mail.dcu.ie> \ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index e764b4e8..6cdfcc7e 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -222,10 +222,16 @@ Reading from Android Keystore does not work in Jelly Beans (Google change the way private keys are returned) The VPN connection warning telling you that this app can intercept all traffic is imposed by the system to prevent abuse of the VPNService API.\nThe VPN connection notification (The key symbol) is also imposed by the Android system to signal an ongoing VPN connection. On some images this notification plays a sound.\nAndroid introduced these system dialog are for your own safety and made sure that they cannot be circumenvented. (On some images this unfortunely includes a notifciation sound) Connection warning and notification sound - + + When translating use a string like this: English translation by Arne Schwabe<arne@rfc2549.org> + --> + IP and DNS + Basic + Routing + Obscure OpenVPN Settings. Normally not needed. + Advanced \ No newline at end of file diff --git a/res/xml/vpn_headers.xml b/res/xml/vpn_headers.xml index 9d051a4d..495c2c72 100644 --- a/res/xml/vpn_headers.xml +++ b/res/xml/vpn_headers.xml @@ -4,15 +4,15 @@
+ android:title="@string/basic" />
+ android:title="@string/ipdns" />
+ android:title="@string/routing" />
@@ -20,8 +20,8 @@
+ android:summary="@string/obscure" + android:title="@string/advanced" >