• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

external/koush/Superuser


コミットメタ情報

リビジョン35fee203412c240759750fdc5a42f627d5151802 (tree)
日時2014-09-02 19:32:05
作者Michael Bestas <mikeioannina@gmai...>
コミッターMichael Bestas

ログメッセージ

SU: Use different strings for notification summary & popup list

Change-Id: I46017bd0dec40b57c27e951a863662d1a6afb72e

変更サマリ

差分

--- a/Superuser/res/values/strings.xml
+++ b/Superuser/res/values/strings.xml
@@ -45,7 +45,12 @@
4545 <string name="request_timeout_summary">Superuser requests will time out and be denied after %s seconds</string>
4646 <string name="notifications">Notifications</string>
4747 <string name="none">None</string>
48+ <string name="toast">Toast</string>
49+ <string name="notification">Notification</string>
50+ <string name="toast_summary">toast</string>
51+ <string name="notification_summary">notification</string>
4852 <string name="notifications_summary">A %s will be shown when an app is granted or denied Superuser permissions</string>
53+ <string name="no_notification">No notification will be shown</string>
4954 <string name="enter_pin">Enter PIN</string>
5055 <string name="enter_new_pin">Enter New PIN</string>
5156 <string name="incorrect_pin">Incorrect PIN</string>
@@ -55,9 +60,6 @@
5560 <string name="number_seconds">%s seconds</string>
5661 <string name="superuser_granted">Superuser granted to %s</string>
5762 <string name="superuser_denied">Superuser denied to %s</string>
58- <string name="toast">Toast</string>
59- <string name="notification">Notification</string>
60- <string name="no_notification">No notification will be shown</string>
6163 <string name="developer_warning">Developer Warning:\nandroid.permission.ACCESS_SUPERUSER\nnot declared in manifest.</string>
6264 <string name="superuser_description">full permissions to all device features and storage</string>
6365 <string name="superuser_description_more">Superuser grants full access to all device features and storage, including the secure and sensitive hardware elements of your device. This permission is potentially dangerous.</string>
--- a/Superuser/src/com/koushikdutta/superuser/SettingsFragmentInternal.java
+++ b/Superuser/src/com/koushikdutta/superuser/SettingsFragmentInternal.java
@@ -351,10 +351,12 @@ public class SettingsFragmentInternal extends BetterListFragmentInternal {
351351 setSummary(getString(R.string.no_notification));
352352 break;
353353 case Settings.NOTIFICATION_TYPE_NOTIFICATION:
354- setSummary(getString(R.string.notifications_summary, getString(R.string.notification)));
354+ setSummary(getString(R.string.notifications_summary,
355+ getString(R.string.notification_summary)));
355356 break;
356357 case Settings.NOTIFICATION_TYPE_TOAST:
357- setSummary(getString(R.string.notifications_summary, getString(R.string.toast)));
358+ setSummary(getString(R.string.notifications_summary,
359+ getString(R.string.toast_summary)));
358360 break;
359361 }
360362 }