Skip to content

Commit

Permalink
weblate english language
Browse files Browse the repository at this point in the history
  • Loading branch information
iamr0s committed May 24, 2023
1 parent 4fe6a5e commit 6ae22e2
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class DhizukuProvider : ContentProvider(), KoinComponent {
putBinder(DhizukuVariables.PARAM_DHIZUKU_BINDER, IDhizukuImpl(client).asBinder())
}

else -> null;
else -> null
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import kotlinx.coroutines.flow.first
import kotlinx.coroutines.launch
import kotlinx.coroutines.selects.select
import rikka.shizuku.Shizuku
import rikka.sui.Sui

object DhizukuUserServiceConnections {
private fun onServiceConnected(args: DhizukuUserServiceArgs, service: UserService) {
Expand Down
46 changes: 46 additions & 0 deletions app/src/main/res/values-en/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="home">Home</string>
<string name="config">Configuration</string>
<string name="preferred">Settings</string>
<string name="device_owner_granted">Activated</string>
<string name="device_admin_denied">Waiting for activation</string>
<string name="device_admin_granted">Device admin activated, but need device owner</string>
<string name="active_func_dsp">DeviceOwner has higher permission than DeviceAdmin. Permissions will not be lost unless you deactivate them.
\n
\nAuthorize other applications with caution. Device owner can modify system Settings using codes, such as disable software and hardware functions and monitor user behaviors.</string>
<string name="active">Activate</string>
<string name="cancel">Cancel</string>
<string name="confirm">OK</string>
<string name="finish">Finish</string>
<string name="active_by_adb">Activation by computer</string>
<string name="active_by_shizuku">Activation by Shizuku</string>
<string name="execution_end">OK, check the activation status.</string>
<string name="deactivate_success">Successful deactivation</string>
<string name="deactivate_failed">Deactivation failure</string>
<string name="force_stop_dsp">After the device owner successfully activates, the system does not have permission to forcibly stop the device owner application running, but updating the application requires stopping the application first, so you need to forcibly stop Dhizuku before updating Dhizuku.</string>
<string name="dhizuku_permission_group_label">Dhizuku permission</string>
<string name="copy">Copy</string>
<string name="donate">Donate</string>
<string name="alipay">Alipay</string>
<string name="copy_success">Copy successfully</string>
<string name="wechat">Wechat</string>
<string name="binance">Binance</string>
<string name="request_permission_title">Dhizuku Request</string>
<string name="request_permission_text">Agree to the Dhizuku request of <b>%1$s</b>\?</string>
<string name="agree">Grant</string>
<string name="refuse">Deny</string>
<string name="basic">Normal</string>
<string name="deactivate_dsp">Are you sure you want to deactivate\?</string>
<string name="force_stop">Force stop</string>
<string name="dhizuku_permission_api_dsp">Allow other application use Dhizuku permission.</string>
<string name="toast_when_using_dhizuku">Permission prompt</string>
<string name="toast_when_using_dhizuku_dsp">When a program calls Dhizuku, a pop-up message prompts</string>
<string name="toast_when_using_dhizuku_content">The Dhizuku is being used by %1$s</string>
<string name="empty_config_dsp">There is no application to request for Dhizuku</string>
<string name="service_channel_name">Background service</string>
<string name="service_running">Dhizuku is running</string>
<string name="active_by_adb_dsp">%1$s&lt;br&gt;&lt;br&gt;* Activation by adb (connect computer),go to &lt;a href=https://source.android.google.cn/docs/setup/build/adb\?hl=zh-cn&gt;Android Debug Bridge&lt;/a&gt;or more adb related information.</string>
<string name="shizuku_binder_not_received">Check whether Shizuku is installed and activated, and allow the Dhizuku to obtain Shizuku permission.</string>
<string name="deactivate">Deactivate</string>
</resources>
6 changes: 3 additions & 3 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<resources>
<string name="app_name">Dhizuku</string>
<string name="app_name" translatable="false">Dhizuku</string>
<string name="home">主页</string>
<string name="config">配置</string>
<string name="preferred">设置</string>
Expand Down Expand Up @@ -31,11 +31,11 @@
<string name="force_stop">强行停止</string>
<string name="force_stop_dsp">当设备所有者激活成功后,系统没有权限强行停止设备所有者应用运行,但是更新应用需要先将应用停止,所以你需要先将 Dhizuku 强行停止,再更新 Dhizuku。</string>

<string name="dhizuku_permission_group_dsp">@string/dhizuku_permission_group_label</string>
<string name="dhizuku_permission_group_label">Dhizuku 权限</string>
<string name="dhizuku_permission_group_dsp" translatable="false">@string/dhizuku_permission_group_label</string>
<string name="dhizuku_permission_api_label" translatable="false">@string/dhizuku_permission_group_label</string>

<string name="dhizuku_permission_api_dsp">允许应用使用 Dhizuku。</string>
<string name="dhizuku_permission_api_label">@string/dhizuku_permission_group_label</string>

<string name="copy">复制</string>
<string name="copy_success">复制成功</string>
Expand Down

0 comments on commit 6ae22e2

Please sign in to comment.