ChainsDD/Superuser — Issue #41: App name format issue in Traditional Chinese resource
Author: pentie
Created: 2012-01-08 09:24:02+00:00
State: open

When set to Traditional Chinese, the notification text show when an app asked for root permission, it shows "％s 已被授予超級用戶權限", the "％s" is not formatted into the actual app name because the unicode character "％" won't be recognized to be a string format.

I reviewed the resource file : res/values-zh-rTW/strings.xml , there are 3 in"％" existed, i suggested this patch:

```diff
--- strings.orig.xml	2012-01-08 17:17:03.355563806 +0800
+++ strings.xml	2012-01-08 17:19:31.021993707 +0800
@@ -38,7 +38,7 @@
已切換
在清單中沒有應用程式
沒有記錄資訊
- 顯示％d個項目
+ 顯示%d個項目
包封
應用程序的UID
請求的 UID
@@ -151,8 +151,8 @@
su 二進位目前安裝於 /sbin 中。此更新程式無法對其進行更新。請尋找適用於您裝置的新的 ROM。
This updater is incapable of updating your su binary since it is installed in /sbin. This is not an error in the updater, it is an error on the behalf of your ROM or kernel developer. You can continue to use Superuser with your outdated binary.
This updater cannot update the su binary on phones that have some kind of write protection on the system partition like S-ON. You can continue to use Superuser with your outdated binary, or update su with ROM Manager.
- ％s 已被授予超級用戶權限
- ％s 已被拒絕超級用戶權限
+ %s 已被授予超級用戶權限
+ %s 已被拒絕超級用戶權限
你的su二進制文件已過時
su二進制文件過時
點擊以更新su二進制文件

```