Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
com.ccwangluo.accelerator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sheteng
com.ccwangluo.accelerator
Commits
f97a956e
Commit
f97a956e
authored
Mar 14, 2019
by
Mygod
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Python 3 script for importing translations
parent
3e639841
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
283 additions
and
7 deletions
+283
-7
build.gradle
build.gradle
+1
-0
core/src/main/res/values-es/strings.xml
core/src/main/res/values-es/strings.xml
+140
-0
core/src/main/res/values-fa/strings.xml
core/src/main/res/values-fa/strings.xml
+8
-0
core/src/main/res/values-fr/strings.xml
core/src/main/res/values-fr/strings.xml
+6
-0
core/src/main/res/values-ja/strings.xml
core/src/main/res/values-ja/strings.xml
+8
-0
core/src/main/res/values-ko/strings.xml
core/src/main/res/values-ko/strings.xml
+6
-0
core/src/main/res/values-ru/strings.xml
core/src/main/res/values-ru/strings.xml
+9
-2
core/src/main/res/values-tr/strings.xml
core/src/main/res/values-tr/strings.xml
+8
-0
core/src/main/res/values-zh-rCN/strings.xml
core/src/main/res/values-zh-rCN/strings.xml
+10
-3
core/src/main/res/values-zh-rTW/strings.xml
core/src/main/res/values-zh-rTW/strings.xml
+8
-0
mobile/build.gradle
mobile/build.gradle
+1
-1
plugin/src/main/res/values-es/strings.xml
plugin/src/main/res/values-es/strings.xml
+7
-0
translate.py
translate.py
+70
-0
tv/build.gradle
tv/build.gradle
+1
-1
No files found.
build.gradle
View file @
f97a956e
...
@@ -15,6 +15,7 @@ buildscript {
...
@@ -15,6 +15,7 @@ buildscript {
androidEspressoVersion
=
'3.1.1'
androidEspressoVersion
=
'3.1.1'
versionCode
=
4070350
versionCode
=
4070350
versionName
=
'4.7.3-nightly'
versionName
=
'4.7.3-nightly'
resConfigs
=
[
'es'
,
'fa'
,
'fr'
,
'ja'
,
'ko'
,
'ru'
,
'tr'
,
'zh-rCN'
,
'zh-rTW'
]
}
}
repositories
{
repositories
{
...
...
core/src/main/res/values-es/strings.xml
0 → 100644
View file @
f97a956e
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string
name=
"quick_toggle"
>
"Alternar"
</string>
<string
name=
"remote_dns"
>
"DNS Remoto"
</string>
<string
name=
"stat_summary"
>
"Enviado: \t\t\t\t\t%3$s\t↑\t%1$s
Recibido: \t%4$s\t↓\t%2$s"
</string>
<string
name=
"connection_test_testing"
>
"Probando..."
</string>
<string
name=
"connection_test_available"
>
"Éxito: El establecimiento de la comunicación HTTPS tomó %dms"
</string>
<string
name=
"connection_test_error"
>
"Fallo al detectar conexión a Internet: %s"
</string>
<string
name=
"connection_test_fail"
>
"Internet no disponible"
</string>
<string
name=
"connection_test_error_status_code"
>
"Código de error: #%d"
</string>
<!-- proxy category -->
<string
name=
"profile_name"
>
"Nombre de Perfil"
</string>
<string
name=
"proxy"
>
"Servidor"
</string>
<string
name=
"remote_port"
>
"Puerto Remoto"
</string>
<string
name=
"sitekey"
>
"Contraseña"
</string>
<string
name=
"enc_method"
>
"Método de Cifrado"
</string>
<!-- feature category -->
<string
name=
"ipv6"
>
"Ruta IPv6"
</string>
<string
name=
"ipv6_summary"
>
"Redireccionar tráfico IPv6 a ruta"
</string>
<string
name=
"route_list"
>
"Ruta"
</string>
<string
name=
"route_entry_gfwlist"
>
"Lista GFW"
</string>
<string
name=
"proxied_apps"
>
"Apps en modo VPN"
</string>
<string
name=
"proxied_apps_summary"
>
"Configurar modo VPN para las apps seleccionadas"
</string>
<string
name=
"on"
>
"Encendido"
</string>
<!-- Fuzzy -->
<string
name=
"bypass_apps"
>
"Modo Bypass"
</string>
<string
name=
"auto_connect"
>
"Conexión Automática"
</string>
<string
name=
"auto_connect_summary"
>
"Activar Shadowsocks al iniciar"
</string>
<string
name=
"tcp_fastopen_summary_unsupported"
>
"Versión del Núcleo sin soporte: %s
<
3.7.1"
</string>
<string
name=
"udp_dns"
>
"Enviar DNS sobre UDP"
</string>
<!-- notification category -->
<string
name=
"forward_success"
>
"Shadowsocks inició."
</string>
<string
name=
"invalid_server"
>
"Nombre de servidor inválido"
</string>
<string
name=
"service_failed"
>
"Fallo al conectar al servidor remoto"
</string>
<string
name=
"stop"
>
"Detener"
</string>
<string
name=
"stopping"
>
"Apagando..."
</string>
<string
name=
"reboot_required"
>
"Fallo al iniciar servicio VPN. Puede que tengas que reiniciar tu dispositivo."
</string>
<string
name=
"profile_invalid_input"
>
"No se ha encontrado datos de perfil válidos."
</string>
<!-- alert category -->
<string
name=
"profile_empty"
>
"Por favor selecciona un perfil"
</string>
<string
name=
"proxy_empty"
>
"Proxy/Contraseña no deberían estar vacíos"
</string>
<string
name=
"connect"
>
"Conectar"
</string>
<!-- menu category -->
<string
name=
"profiles"
>
"Perfiles"
</string>
<string
name=
"settings"
>
"Preferencias"
</string>
<string
name=
"faq"
>
"FAQ"
</string>
<string
name=
"about"
>
"Acerca de"
</string>
<string
name=
"edit"
>
"Editar"
</string>
<string
name=
"share"
>
"Compartir"
</string>
<string
name=
"add_profile"
>
"Agregar Perfil"
</string>
<string
name=
"action_apply_all"
>
"Aplicar preferencias a todos los Perfiles"
</string>
<string
name=
"action_export"
>
"Exportar a portapapeles"
</string>
<string
name=
"action_import"
>
"Importar desde portapapeles"
</string>
<string
name=
"action_export_msg"
>
"¡Exportado satisfactoriamente!"
</string>
<string
name=
"action_export_err"
>
"Fallo al exportar."
</string>
<string
name=
"action_import_msg"
>
"¡Importado satisfactoriamente!"
</string>
<string
name=
"action_import_err"
>
"Fallo al importar."
</string>
<!-- profile -->
<string
name=
"profile_config"
>
"Configuración de Perfil"
</string>
<string
name=
"delete"
>
"Remover"
</string>
<string
name=
"delete_confirm_prompt"
>
"¿Estás seguro de querer remover este perfil?"
</string>
<string
name=
"share_qr_nfc"
>
"Código QR/NFC"
</string>
<string
name=
"add_profile_dialog"
>
"Agregar este Perfil Shadowsocks?"
</string>
<string
name=
"add_profile_methods_scan_qr_code"
>
"Escanear código QR"
</string>
<plurals
name=
"removed"
>
<item
quantity=
"one"
>
"Removido"
</item>
<item
quantity=
"other"
>
"%d elementos removidos"
</item>
</plurals>
<string
name=
"undo"
>
"Deshacer"
</string>
<!-- tasker -->
<string
name=
"toggle_service_state"
>
"Iniciar el servicio"
</string>
<string
name=
"start_service_default"
>
"Conectar al servidor actual"
</string>
<string
name=
"start_service"
>
"Conectar a %s"
</string>
<string
name=
"stop_service"
>
"Cambiar a %s"
</string>
<string
name=
"profile_default"
>
"Usar el perfil actual"
</string>
<!-- status -->
<string
name=
"sent"
>
"Enviado:"
</string>
<string
name=
"received"
>
"Recibido:"
</string>
<!-- status -->
<string
name=
"connecting"
>
"Conectando..."
</string>
<string
name=
"vpn_connected"
>
"Conectado, presiona para verificar la conexión"
</string>
<string
name=
"not_connected"
>
"No conectado"
</string>
<!-- acl -->
<string
name=
"custom_rules"
>
"Reglas personalizadas"
</string>
<string
name=
"action_add_rule"
>
"Agregar regla(s)..."
</string>
<string
name=
"edit_rule"
>
"Editar regla"
</string>
<string
name=
"route_entry_all"
>
"Todo"
</string>
<!-- plugin -->
<string
name=
"plugin"
>
"Complemento"
</string>
<string
name=
"plugin_configure"
>
"Configurar..."
</string>
<string
name=
"plugin_disabled"
>
"Deshabilitado"
</string>
<string
name=
"plugin_unknown"
>
"Complemento desconocido %s"
</string>
<string
name=
"plugin_untrusted"
>
"Precaución: Este complemento no parece venir de una fuente confiable."
</string>
<string
name=
"profile_plugin"
>
"Complemento: %s"
</string>
<string
name=
"add_profile_scanner_permission_required"
>
"Se requiere permiso de cámara para escanear códigos QR."
</string>
<!-- notification category -->
<string
name=
"service_vpn"
>
"Servicio VPN"
</string>
<string
name=
"add_profile_methods_manual_settings"
>
"Configuración manual"
</string>
<!-- misc -->
<string
name=
"advanced"
>
"Avanzado"
</string>
<!-- misc -->
<string
name=
"service_mode"
>
"Modo de servicio"
</string>
<string
name=
"service_mode_proxy"
>
"Sólo Proxy"
</string>
<string
name=
"service_mode_vpn"
>
"VPN"
</string>
<string
name=
"port_proxy"
>
"Puerto proxy SOCKS5"
</string>
<string
name=
"port_local_dns"
>
"Puerto DNS local"
</string>
<string
name=
"service_proxy"
>
"Servicio Proxy"
</string>
<string
name=
"service_transproxy"
>
"Servicio Transproxy"
</string>
<string
name=
"vpn_permission_denied"
>
"Permiso denegado al crear servicio VPN"
</string>
<string
name=
"direct_boot_aware_summary"
>
"La información del perfil seleccionado será menos protegida"
</string>
<string
name=
"action_import_file"
>
"Importar desde archivo..."
</string>
<string
name=
"night_mode"
>
"Modo nocturno"
</string>
<string
name=
"night_mode_system"
>
"Seguir sistema"
</string>
<string
name=
"night_mode_auto"
>
"Auto"
</string>
<string
name=
"night_mode_on"
>
"Encendido"
</string>
<string
name=
"night_mode_off"
>
"Apagado"
</string>
<string
name=
"send_email"
>
"Enviar email"
</string>
<string
name=
"action_export_more"
>
"Exportar..."
</string>
<string
name=
"action_export_file"
>
"Exportar a archivo..."
</string>
<string
name=
"share_over_lan"
>
"Compartir por LAN"
</string>
<string
name=
"connection_test_pending"
>
"Verificar conectividad"
</string>
<string
name=
"file_manager_missing"
>
"Por favor, instala un explorador de archivos como MiXplorer"
</string>
<string
name=
"action_replace_file"
>
"Reemplazar desde archivo..."
</string>
</resources>
\ No newline at end of file
core/src/main/res/values-fa/strings.xml
View file @
f97a956e
...
@@ -20,11 +20,17 @@
...
@@ -20,11 +20,17 @@
<string
name=
"proxied_apps"
>
"حالت "
</string>
<string
name=
"proxied_apps"
>
"حالت "
</string>
<string
name=
"proxied_apps_summary"
>
"تنظیم حالت ویپیان برای اپلیکیشنهای انتخاب شده"
</string>
<string
name=
"proxied_apps_summary"
>
"تنظیم حالت ویپیان برای اپلیکیشنهای انتخاب شده"
</string>
<string
name=
"on"
>
"روشن"
</string>
<string
name=
"on"
>
"روشن"
</string>
<!-- Fuzzy -->
<string
name=
"bypass_apps"
>
"حالت صرفنظر"
</string>
<string
name=
"bypass_apps"
>
"حالت صرفنظر"
</string>
<string
name=
"bypass_apps_summary"
>
"این اپلیکیشنها از ویپیان استفاده نکنند"
</string>
<string
name=
"bypass_apps_summary"
>
"این اپلیکیشنها از ویپیان استفاده نکنند"
</string>
<string
name=
"auto_connect"
>
"وصلشدن اتوماتیک"
</string>
<string
name=
"auto_connect"
>
"وصلشدن اتوماتیک"
</string>
<string
name=
"auto_connect_summary"
>
"فعالشدن شدوساکس لحظه روشنشدن گوشی"
</string>
<string
name=
"auto_connect_summary"
>
"فعالشدن شدوساکس لحظه روشنشدن گوشی"
</string>
<!-- Fuzzy -->
<string
name=
"udp_dns"
>
"ارسال دیاناس"
</string>
<string
name=
"udp_dns"
>
"ارسال دیاناس"
</string>
<!-- Fuzzy -->
<string
name=
"udp_dns_summary"
>
"ارسال کلیه درخواستهای دیاناس به سرور "
</string>
<string
name=
"udp_dns_summary"
>
"ارسال کلیه درخواستهای دیاناس به سرور "
</string>
<!-- notification category -->
<!-- notification category -->
...
@@ -100,6 +106,8 @@
...
@@ -100,6 +106,8 @@
<!-- misc -->
<!-- misc -->
<string
name=
"advanced"
>
"پیشرفته"
</string>
<string
name=
"advanced"
>
"پیشرفته"
</string>
<!-- misc -->
<string
name=
"service_mode"
>
"وضعیت سرویس"
</string>
<string
name=
"service_mode"
>
"وضعیت سرویس"
</string>
<string
name=
"service_mode_proxy"
>
"فقط پروکسی"
</string>
<string
name=
"service_mode_proxy"
>
"فقط پروکسی"
</string>
<string
name=
"service_mode_vpn"
>
"ویپیان"
</string>
<string
name=
"service_mode_vpn"
>
"ویپیان"
</string>
...
...
core/src/main/res/values-fr/strings.xml
View file @
f97a956e
...
@@ -25,6 +25,8 @@ Reçu : \t\t\t%4$s\t↓\t%2$s"</string>
...
@@ -25,6 +25,8 @@ Reçu : \t\t\t%4$s\t↓\t%2$s"</string>
<string
name=
"proxied_apps"
>
"Mode VPN Apps"
</string>
<string
name=
"proxied_apps"
>
"Mode VPN Apps"
</string>
<string
name=
"proxied_apps_summary"
>
"Configurer le mode VPN pour les applications sélectionnées"
</string>
<string
name=
"proxied_apps_summary"
>
"Configurer le mode VPN pour les applications sélectionnées"
</string>
<string
name=
"on"
>
"Activé"
</string>
<string
name=
"on"
>
"Activé"
</string>
<!-- Fuzzy -->
<string
name=
"bypass_apps"
>
"Mode exclusion"
</string>
<string
name=
"bypass_apps"
>
"Mode exclusion"
</string>
<string
name=
"bypass_apps_summary"
>
"Activer cette option pour exclure les applications sélectionnées"
</string>
<string
name=
"bypass_apps_summary"
>
"Activer cette option pour exclure les applications sélectionnées"
</string>
<string
name=
"auto_connect"
>
"Connection auto"
</string>
<string
name=
"auto_connect"
>
"Connection auto"
</string>
...
@@ -33,6 +35,8 @@ Reçu : \t\t\t%4$s\t↓\t%2$s"</string>
...
@@ -33,6 +35,8 @@ Reçu : \t\t\t%4$s\t↓\t%2$s"</string>
<!-- Fuzzy -->
<!-- Fuzzy -->
<string
name=
"tcp_fastopen_summary"
>
"Activer nécessite la permission ROOT"
</string>
<string
name=
"tcp_fastopen_summary"
>
"Activer nécessite la permission ROOT"
</string>
<string
name=
"tcp_fastopen_summary_unsupported"
>
"Version du noyau non supportée : %s
<
3.7.1"
</string>
<string
name=
"tcp_fastopen_summary_unsupported"
>
"Version du noyau non supportée : %s
<
3.7.1"
</string>
<!-- Fuzzy -->
<string
name=
"udp_dns_summary"
>
"Faire suivre toutes les requêtes DNS au serveur distant"
</string>
<string
name=
"udp_dns_summary"
>
"Faire suivre toutes les requêtes DNS au serveur distant"
</string>
<!-- notification category -->
<!-- notification category -->
...
@@ -116,6 +120,8 @@ Reçu : \t\t\t%4$s\t↓\t%2$s"</string>
...
@@ -116,6 +120,8 @@ Reçu : \t\t\t%4$s\t↓\t%2$s"</string>
<!-- misc -->
<!-- misc -->
<string
name=
"advanced"
>
"Avancé"
</string>
<string
name=
"advanced"
>
"Avancé"
</string>
<!-- misc -->
<string
name=
"service_mode"
>
"Mode Service"
</string>
<string
name=
"service_mode"
>
"Mode Service"
</string>
<string
name=
"service_mode_proxy"
>
"Proxy seul"
</string>
<string
name=
"service_mode_proxy"
>
"Proxy seul"
</string>
<string
name=
"port_proxy"
>
"Port proxy SOCKS5"
</string>
<string
name=
"port_proxy"
>
"Port proxy SOCKS5"
</string>
...
...
core/src/main/res/values-ja/strings.xml
View file @
f97a956e
...
@@ -24,6 +24,8 @@
...
@@ -24,6 +24,8 @@
<string
name=
"proxied_apps"
>
"アプリ別のVPNモードを使用"
</string>
<string
name=
"proxied_apps"
>
"アプリ別のVPNモードを使用"
</string>
<string
name=
"proxied_apps_summary"
>
"アプリ別のVPNモードを設定"
</string>
<string
name=
"proxied_apps_summary"
>
"アプリ別のVPNモードを設定"
</string>
<string
name=
"on"
>
"ON"
</string>
<string
name=
"on"
>
"ON"
</string>
<!-- Fuzzy -->
<string
name=
"bypass_apps"
>
"バイパスモード(迂回モード)"
</string>
<string
name=
"bypass_apps"
>
"バイパスモード(迂回モード)"
</string>
<string
name=
"bypass_apps_summary"
>
"このモードを選択した場合、指定したアプリのパケットはプロキシを経由しない"
</string>
<string
name=
"bypass_apps_summary"
>
"このモードを選択した場合、指定したアプリのパケットはプロキシを経由しない"
</string>
<string
name=
"auto_connect"
>
"自動接続"
</string>
<string
name=
"auto_connect"
>
"自動接続"
</string>
...
@@ -32,7 +34,11 @@
...
@@ -32,7 +34,11 @@
<!-- Fuzzy -->
<!-- Fuzzy -->
<string
name=
"tcp_fastopen_summary"
>
"使用するには ROOT 権限が必要"
</string>
<string
name=
"tcp_fastopen_summary"
>
"使用するには ROOT 権限が必要"
</string>
<string
name=
"tcp_fastopen_summary_unsupported"
>
"ご利用のカーネルバージョンはサポートしておりません:%s
<
3.7.1"
</string>
<string
name=
"tcp_fastopen_summary_unsupported"
>
"ご利用のカーネルバージョンはサポートしておりません:%s
<
3.7.1"
</string>
<!-- Fuzzy -->
<string
name=
"udp_dns"
>
"DNS 転送"
</string>
<string
name=
"udp_dns"
>
"DNS 転送"
</string>
<!-- Fuzzy -->
<string
name=
"udp_dns_summary"
>
"DNS プロトコルでリモードサーバーにパケットを転送"
</string>
<string
name=
"udp_dns_summary"
>
"DNS プロトコルでリモードサーバーにパケットを転送"
</string>
<!-- notification category -->
<!-- notification category -->
...
@@ -122,6 +128,8 @@
...
@@ -122,6 +128,8 @@
<!-- misc -->
<!-- misc -->
<string
name=
"advanced"
>
"アドバンス"
</string>
<string
name=
"advanced"
>
"アドバンス"
</string>
<!-- misc -->
<string
name=
"service_mode"
>
"サービスモード"
</string>
<string
name=
"service_mode"
>
"サービスモード"
</string>
<string
name=
"service_mode_proxy"
>
"プロキシのみ"
</string>
<string
name=
"service_mode_proxy"
>
"プロキシのみ"
</string>
<string
name=
"service_mode_transproxy"
>
"トランスプロキシ"
</string>
<string
name=
"service_mode_transproxy"
>
"トランスプロキシ"
</string>
...
...
core/src/main/res/values-ko/strings.xml
View file @
f97a956e
...
@@ -26,6 +26,8 @@
...
@@ -26,6 +26,8 @@
<string
name=
"proxied_apps"
>
"원하는 앱만 프락시 적용하기"
</string>
<string
name=
"proxied_apps"
>
"원하는 앱만 프락시 적용하기"
</string>
<string
name=
"proxied_apps_summary"
>
"선택한 앱에만 프락시를 적용합니다"
</string>
<string
name=
"proxied_apps_summary"
>
"선택한 앱에만 프락시를 적용합니다"
</string>
<string
name=
"on"
>
"활성화"
</string>
<string
name=
"on"
>
"활성화"
</string>
<!-- Fuzzy -->
<string
name=
"bypass_apps"
>
"선택된 앱들만 프록시 적용 제외하기"
</string>
<string
name=
"bypass_apps"
>
"선택된 앱들만 프록시 적용 제외하기"
</string>
<string
name=
"bypass_apps_summary"
>
"이 옵션을 활성화하면 선택된 앱들은 프락시를 사용하지 않습니다"
</string>
<string
name=
"bypass_apps_summary"
>
"이 옵션을 활성화하면 선택된 앱들은 프락시를 사용하지 않습니다"
</string>
<string
name=
"auto_connect"
>
"자동 접속"
</string>
<string
name=
"auto_connect"
>
"자동 접속"
</string>
...
@@ -34,7 +36,11 @@
...
@@ -34,7 +36,11 @@
<!-- Fuzzy -->
<!-- Fuzzy -->
<string
name=
"tcp_fastopen_summary"
>
"루트 권한이 필요합니다"
</string>
<string
name=
"tcp_fastopen_summary"
>
"루트 권한이 필요합니다"
</string>
<string
name=
"tcp_fastopen_summary_unsupported"
>
"지원하지 않는 버전의 커널입니다: %s
<
3.7.1"
</string>
<string
name=
"tcp_fastopen_summary_unsupported"
>
"지원하지 않는 버전의 커널입니다: %s
<
3.7.1"
</string>
<!-- Fuzzy -->
<string
name=
"udp_dns"
>
"DNS 포워딩"
</string>
<string
name=
"udp_dns"
>
"DNS 포워딩"
</string>
<!-- Fuzzy -->
<string
name=
"udp_dns_summary"
>
"모든 DNS 요청을 외부로 포워딩 합니다"
</string>
<string
name=
"udp_dns_summary"
>
"모든 DNS 요청을 외부로 포워딩 합니다"
</string>
<!-- notification category -->
<!-- notification category -->
...
...
core/src/main/res/values-ru/strings.xml
View file @
f97a956e
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
<string
name=
"stat_summary"
>
"Отправлено: \t%3$s\t↑\t%1$s
<string
name=
"stat_summary"
>
"Отправлено: \t%3$s\t↑\t%1$s
Получено: \t\t\t%4$s\t↓\t%2$s"
</string>
Получено: \t\t\t%4$s\t↓\t%2$s"
</string>
<string
name=
"connection_test_testing"
>
"Проверка…"
</string>
<string
name=
"connection_test_testing"
>
"Проверка…"
</string>
<string
name=
"connection_test_available"
>
"Успешно: рукопожатие HTTPS заняло %dмс"
</string>
<string
name=
"connection_test_error"
>
"Сбой проверки интернет-соединения: %s"
</string>
<string
name=
"connection_test_error"
>
"Сбой проверки интернет-соединения: %s"
</string>
<string
name=
"connection_test_fail"
>
"Интернет недоступен"
</string>
<string
name=
"connection_test_fail"
>
"Интернет недоступен"
</string>
<string
name=
"connection_test_error_status_code"
>
"Код ошибки: #%d"
</string>
<string
name=
"connection_test_error_status_code"
>
"Код ошибки: #%d"
</string>
...
@@ -24,15 +25,19 @@
...
@@ -24,15 +25,19 @@
<string
name=
"proxied_apps"
>
"Режим VPN для выбранных приложений"
</string>
<string
name=
"proxied_apps"
>
"Режим VPN для выбранных приложений"
</string>
<string
name=
"proxied_apps_summary"
>
"Выбрать приложения, для которых нужно использовать режим VPN"
</string>
<string
name=
"proxied_apps_summary"
>
"Выбрать приложения, для которых нужно использовать режим VPN"
</string>
<string
name=
"on"
>
"Вкл"
</string>
<string
name=
"on"
>
"Вкл"
</string>
<!-- Fuzzy -->
<string
name=
"bypass_apps"
>
"В обход прокси"
</string>
<string
name=
"bypass_apps"
>
"В обход прокси"
</string>
<string
name=
"bypass_apps_summary"
>
"Включите эту опцию для работы выбранных приложений в обход прокси"
</string>
<string
name=
"bypass_apps_summary"
>
"Включите эту опцию для работы выбранных приложений в обход прокси"
</string>
<string
name=
"auto_connect"
>
"Авто-подключение"
</string>
<string
name=
"auto_connect"
>
"Авто-подключение"
</string>
<string
name=
"auto_connect_summary"
>
"Запускать Shadowsocks при включении"
</string>
<string
name=
"auto_connect_summary"
>
"Запускать Shadowsocks при включении"
</string>
<string
name=
"tcp_fastopen_summary"
>
"Переключение может запрашивать ROOT права"
</string>
<string
name=
"tcp_fastopen_summary_unsupported"
>
"Неподдерживаемая версия ядра: %s
<
3.7.1"
</string>
<!-- Fuzzy -->
<!-- Fuzzy -->
<string
name=
"tcp_fastopen_summary"
>
"Переключение требует наличия ROOT прав"
</string>
<string
name=
"tcp_fastopen_summary_unsupported"
>
"Неподдерживаемая версия ядра: %s
<
3.7.1"
</string>
<string
name=
"udp_dns"
>
"Перенаправление DNS"
</string>
<string
name=
"udp_dns"
>
"Перенаправление DNS"
</string>
<!-- Fuzzy -->
<string
name=
"udp_dns_summary"
>
"Перенаправлять все DNS-запросы на удалённый сервер"
</string>
<string
name=
"udp_dns_summary"
>
"Перенаправлять все DNS-запросы на удалённый сервер"
</string>
<!-- notification category -->
<!-- notification category -->
...
@@ -125,6 +130,8 @@
...
@@ -125,6 +130,8 @@
<!-- misc -->
<!-- misc -->
<string
name=
"advanced"
>
"Дополнительно"
</string>
<string
name=
"advanced"
>
"Дополнительно"
</string>
<!-- misc -->
<string
name=
"service_mode"
>
"Режим"
</string>
<string
name=
"service_mode"
>
"Режим"
</string>
<string
name=
"service_mode_proxy"
>
"Только прокси"
</string>
<string
name=
"service_mode_proxy"
>
"Только прокси"
</string>
<string
name=
"service_mode_transproxy"
>
"Прозрачный прокси"
</string>
<string
name=
"service_mode_transproxy"
>
"Прозрачный прокси"
</string>
...
...
core/src/main/res/values-tr/strings.xml
View file @
f97a956e
...
@@ -21,6 +21,8 @@
...
@@ -21,6 +21,8 @@
<string
name=
"proxied_apps"
>
"Uygulamalar VPN modu"
</string>
<string
name=
"proxied_apps"
>
"Uygulamalar VPN modu"
</string>
<string
name=
"proxied_apps_summary"
>
"Seçili uygulamalar için VPN'i yapılandır"
</string>
<string
name=
"proxied_apps_summary"
>
"Seçili uygulamalar için VPN'i yapılandır"
</string>
<string
name=
"on"
>
"Açık"
</string>
<string
name=
"on"
>
"Açık"
</string>
<!-- Fuzzy -->
<string
name=
"bypass_apps"
>
"Bypass Modu"
</string>
<string
name=
"bypass_apps"
>
"Bypass Modu"
</string>
<string
name=
"bypass_apps_summary"
>
"Seçili uygulamaları bypass etmek için bu seçeneği açın"
</string>
<string
name=
"bypass_apps_summary"
>
"Seçili uygulamaları bypass etmek için bu seçeneği açın"
</string>
<string
name=
"auto_connect"
>
"Otomatik Bağlan"
</string>
<string
name=
"auto_connect"
>
"Otomatik Bağlan"
</string>
...
@@ -29,7 +31,11 @@
...
@@ -29,7 +31,11 @@
<!-- Fuzzy -->
<!-- Fuzzy -->
<string
name=
"tcp_fastopen_summary"
>
"Açıp kapamak için ROOT yetkisi gerekiyor"
</string>
<string
name=
"tcp_fastopen_summary"
>
"Açıp kapamak için ROOT yetkisi gerekiyor"
</string>
<string
name=
"tcp_fastopen_summary_unsupported"
>
"Desteklenmeyen kernel sürümü: %s
<
3.7.1"
</string>
<string
name=
"tcp_fastopen_summary_unsupported"
>
"Desteklenmeyen kernel sürümü: %s
<
3.7.1"
</string>
<!-- Fuzzy -->
<string
name=
"udp_dns"
>
"DNS yönlendirme"
</string>
<string
name=
"udp_dns"
>
"DNS yönlendirme"
</string>
<!-- Fuzzy -->
<string
name=
"udp_dns_summary"
>
"Tüm DNS isteklerini remote'a yönlendir"
</string>
<string
name=
"udp_dns_summary"
>
"Tüm DNS isteklerini remote'a yönlendir"
</string>
<!-- notification category -->
<!-- notification category -->
...
@@ -118,6 +124,8 @@
...
@@ -118,6 +124,8 @@
<!-- misc -->
<!-- misc -->
<string
name=
"advanced"
>
"Gelişmiş"
</string>
<string
name=
"advanced"
>
"Gelişmiş"
</string>
<!-- misc -->
<string
name=
"service_mode"
>
"Servis modu"
</string>
<string
name=
"service_mode"
>
"Servis modu"
</string>
<string
name=
"service_mode_proxy"
>
"Sadece proxy"
</string>
<string
name=
"service_mode_proxy"
>
"Sadece proxy"
</string>
<string
name=
"port_proxy"
>
"SOCKS5 proxy portu"
</string>
<string
name=
"port_proxy"
>
"SOCKS5 proxy portu"
</string>
...
...
core/src/main/res/values-zh-rCN/strings.xml
View file @
f97a956e
...
@@ -25,14 +25,14 @@
...
@@ -25,14 +25,14 @@
<string
name=
"proxied_apps"
>
"分应用 VPN"
</string>
<string
name=
"proxied_apps"
>
"分应用 VPN"
</string>
<string
name=
"proxied_apps_summary"
>
"允许部分应用绕过 VPN"
</string>
<string
name=
"proxied_apps_summary"
>
"允许部分应用绕过 VPN"
</string>
<string
name=
"on"
>
"启用"
</string>
<string
name=
"on"
>
"启用"
</string>
<string
name=
"bypass_apps"
>
"绕行
模式
"
</string>
<string
name=
"bypass_apps"
>
"绕行"
</string>
<string
name=
"bypass_apps_summary"
>
"绕过选择的应用"
</string>
<string
name=
"bypass_apps_summary"
>
"绕过选择的应用"
</string>
<string
name=
"auto_connect"
>
"自动连接"
</string>
<string
name=
"auto_connect"
>
"自动连接"
</string>
<string
name=
"auto_connect_summary"
>
"允许 Shadowsocks 随系统启动"
</string>
<string
name=
"auto_connect_summary"
>
"允许 Shadowsocks 随系统启动"
</string>
<string
name=
"tcp_fastopen_summary"
>
"切换可能需要 ROOT 权限"
</string>
<string
name=
"tcp_fastopen_summary"
>
"切换可能需要 ROOT 权限"
</string>
<string
name=
"tcp_fastopen_summary_unsupported"
>
"不支持的内核版本: %s
<
3.7.1"
</string>
<string
name=
"tcp_fastopen_summary_unsupported"
>
"不支持的内核版本: %s
<
3.7.1"
</string>
<string
name=
"udp_dns"
>
"
DNS 转发
"
</string>
<string
name=
"udp_dns"
>
"
使用 UDP DNS
"
</string>
<string
name=
"udp_dns_summary"
>
"
转发所有 DNS 请求到远程服务器
"
</string>
<string
name=
"udp_dns_summary"
>
"
需要远程服务器支持 UDP 转发
"
</string>
<!-- notification category -->
<!-- notification category -->
<string
name=
"forward_success"
>
"后台服务已开始运行。"
</string>
<string
name=
"forward_success"
>
"后台服务已开始运行。"
</string>
...
@@ -121,6 +121,8 @@
...
@@ -121,6 +121,8 @@
<!-- misc -->
<!-- misc -->
<string
name=
"advanced"
>
"高级选项"
</string>
<string
name=
"advanced"
>
"高级选项"
</string>
<!-- misc -->
<string
name=
"service_mode"
>
"服务模式"
</string>
<string
name=
"service_mode"
>
"服务模式"
</string>
<string
name=
"service_mode_proxy"
>
"仅代理"
</string>
<string
name=
"service_mode_proxy"
>
"仅代理"
</string>
<string
name=
"service_mode_transproxy"
>
"透明代理"
</string>
<string
name=
"service_mode_transproxy"
>
"透明代理"
</string>
...
@@ -147,4 +149,9 @@
...
@@ -147,4 +149,9 @@
<string
name=
"share_over_lan"
>
"通过局域网分享"
</string>
<string
name=
"share_over_lan"
>
"通过局域网分享"
</string>
<string
name=
"connection_test_pending"
>
"检查连接"
</string>
<string
name=
"connection_test_pending"
>
"检查连接"
</string>
<string
name=
"file_manager_missing"
>
"请安装文件管理器,如 MiXplorer"
</string>
<string
name=
"file_manager_missing"
>
"请安装文件管理器,如 MiXplorer"
</string>
<string
name=
"tcp_fastopen_failure"
>
"切换失败"
</string>
<string
name=
"udp_fallback"
>
"UDP 配置"
</string>
<string
name=
"action_replace_file"
>
"从文件替换…"
</string>
<string
name=
"off"
>
"关"
</string>
<string
name=
"proxied_apps_mode"
>
"模式"
</string>
</resources>
</resources>
\ No newline at end of file
core/src/main/res/values-zh-rTW/strings.xml
View file @
f97a956e
...
@@ -26,6 +26,8 @@
...
@@ -26,6 +26,8 @@
<string
name=
"proxied_apps"
>
"個別應用程式的 VPN"
</string>
<string
name=
"proxied_apps"
>
"個別應用程式的 VPN"
</string>
<string
name=
"proxied_apps_summary"
>
"為已選擇的應用程式設定 VPN"
</string>
<string
name=
"proxied_apps_summary"
>
"為已選擇的應用程式設定 VPN"
</string>
<string
name=
"on"
>
"開"
</string>
<string
name=
"on"
>
"開"
</string>
<!-- Fuzzy -->
<string
name=
"bypass_apps"
>
"略過模式"
</string>
<string
name=
"bypass_apps"
>
"略過模式"
</string>
<string
name=
"bypass_apps_summary"
>
"啟用此選項,會略過已選擇的應用程式"
</string>
<string
name=
"bypass_apps_summary"
>
"啟用此選項,會略過已選擇的應用程式"
</string>
<string
name=
"auto_connect"
>
"自動連線"
</string>
<string
name=
"auto_connect"
>
"自動連線"
</string>
...
@@ -34,7 +36,11 @@
...
@@ -34,7 +36,11 @@
<!-- Fuzzy -->
<!-- Fuzzy -->
<string
name=
"tcp_fastopen_summary"
>
"切換需要 ROOT 權限"
</string>
<string
name=
"tcp_fastopen_summary"
>
"切換需要 ROOT 權限"
</string>
<string
name=
"tcp_fastopen_summary_unsupported"
>
"不支援的核心版本:%s
<
3.7.1"
</string>
<string
name=
"tcp_fastopen_summary_unsupported"
>
"不支援的核心版本:%s
<
3.7.1"
</string>
<!-- Fuzzy -->
<string
name=
"udp_dns"
>
"DNS 轉送"
</string>
<string
name=
"udp_dns"
>
"DNS 轉送"
</string>
<!-- Fuzzy -->
<string
name=
"udp_dns_summary"
>
"使用 UDP 向遠端轉送 DNS 封包"
</string>
<string
name=
"udp_dns_summary"
>
"使用 UDP 向遠端轉送 DNS 封包"
</string>
<!-- notification category -->
<!-- notification category -->
...
@@ -123,6 +129,8 @@
...
@@ -123,6 +129,8 @@
<!-- misc -->
<!-- misc -->
<string
name=
"advanced"
>
"高級"
</string>
<string
name=
"advanced"
>
"高級"
</string>
<!-- misc -->
<string
name=
"service_mode"
>
"服務模式"
</string>
<string
name=
"service_mode"
>
"服務模式"
</string>
<string
name=
"service_mode_proxy"
>
"仅代理"
</string>
<string
name=
"service_mode_proxy"
>
"仅代理"
</string>
<string
name=
"service_mode_transproxy"
>
"透明代理"
</string>
<string
name=
"service_mode_transproxy"
>
"透明代理"
</string>
...
...
mobile/build.gradle
View file @
f97a956e
...
@@ -26,7 +26,7 @@ android {
...
@@ -26,7 +26,7 @@ android {
versionCode
rootProject
.
versionCode
versionCode
rootProject
.
versionCode
versionName
rootProject
.
versionName
versionName
rootProject
.
versionName
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
resConfigs
"fa"
,
"fr"
,
"ja"
,
"ko"
,
"ru"
,
"tr"
,
"zh-rCN"
,
"zh-rTW"
resConfigs
rootProject
.
resConfigs
}
}
buildTypes
{
buildTypes
{
debug
{
debug
{
...
...
plugin/src/main/res/values-es/strings.xml
0 → 100644
View file @
f97a956e
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string
name=
"proxy_cat"
>
"Propiedades del Servidor"
</string>
<string
name=
"yes"
>
"Sí"
</string>
<string
name=
"no"
>
"No"
</string>
<string
name=
"apply"
>
"Aplicar"
</string>
</resources>
\ No newline at end of file
translate.py
0 → 100755
View file @
f97a956e
#!/usr/bin/env python3
"""
Usage: ./translate.py <API token>
Prerequisite: pip install poeditor
See also: https://poeditor.com/docs/languages
"""
import
itertools
import
multiprocessing
import
os
import
sys
import
threading
from
multiprocessing.pool
import
ThreadPool
from
poeditor
import
POEditorAPI
def
main
(
api_token
,
project_id
,
languages
,
tags
,
file_path
):
client
=
POEditorAPI
(
api_token
)
# See also: https://github.com/sporteasy/python-poeditor/pull/15
client
.
FILTER_BY
+=
'proofread'
done
=
0
lock
=
threading
.
Lock
()
def
export_worker
(
params
):
((
language_code
,
language_id
),
(
tag
,
module
))
=
params
output
=
file_path
.
format
(
language_id
,
module
)
try
:
os
.
makedirs
(
os
.
path
.
dirname
(
output
))
except
FileExistsError
:
pass
client
.
export
(
project_id
,
language_code
,
'android_strings'
,
'proofread'
,
tag
,
output
)
with
lock
:
nonlocal
done
done
+=
1
print
(
"{}/{}: {}"
.
format
(
done
,
len
(
languages
)
*
len
(
tags
),
output
))
pool
=
ThreadPool
(
max
(
64
,
multiprocessing
.
cpu_count
()))
pool
.
map
(
export_worker
,
itertools
.
product
(
languages
.
items
(),
tags
.
items
()))
if
__name__
==
"__main__"
:
sys
.
exit
(
main
(
api_token
=
sys
.
argv
[
1
],
project_id
=
'89595'
,
languages
=
{
# Chinese (simplified)
'zh-CN'
:
'zh-rCN'
,
# Chinese (traditional)
'zh-TW'
:
'zh-rTW'
,
# French
'fr'
:
'fr'
,
# Japanese
'ja'
:
'ja'
,
# Korean
'ko'
:
'ko'
,
# Persian
'fa'
:
'fa'
,
# Russian
'ru'
:
'ru'
,
# Spanish
'es'
:
'es'
,
# Turkish
'tr'
:
'tr'
,
},
tags
=
{
'mobile'
:
'core'
,
'plugin'
:
'plugin'
,
},
file_path
=
'{1}/src/main/res/values-{0}/strings.xml'
,
))
tv/build.gradle
View file @
f97a956e
...
@@ -25,7 +25,7 @@ android {
...
@@ -25,7 +25,7 @@ android {
targetSdkVersion
rootProject
.
sdkVersion
targetSdkVersion
rootProject
.
sdkVersion
versionCode
rootProject
.
versionCode
versionCode
rootProject
.
versionCode
versionName
rootProject
.
versionName
versionName
rootProject
.
versionName
resConfigs
"fa"
,
"fr"
,
"ja"
,
"ko"
,
"ru"
,
"tr"
,
"zh-rCN"
,
"zh-rTW"
resConfigs
rootProject
.
resConfigs
}
}
buildTypes
{
buildTypes
{
debug
{
debug
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment