Skip to content

Commit

Permalink
Shutdown protection, fix searching mItems
Browse files Browse the repository at this point in the history
- Successfully implemented shutdown protection
- Fix a long-standing error which prevent searching all existing items
in the power menu
- Add troubleshoot in settings
- Other small changes
- Updated Traditional Chinese translations
  • Loading branch information
kennethso168 committed Dec 7, 2013
1 parent 768d52a commit 7bf2470
Show file tree
Hide file tree
Showing 7 changed files with 156 additions and 207 deletions.
2 changes: 1 addition & 1 deletion AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="hk.kennethso168.xposed.advancedrebootmenu"
android:versionCode="11"
android:versionName="7.0a" >
android:versionName="7.0a_r2" >

<uses-sdk
android:minSdkVersion="14"
Expand Down
136 changes: 68 additions & 68 deletions res/values-ja/strings.xml
Original file line number Diff line number Diff line change
@@ -1,68 +1,68 @@
<resources>

<!--Basic Information -->
<!--Not necessary to translate as these are just descriptions. However if you like you can still translate these. -->
<string name="app_name">Advanced Power Menu</string>
<string name="launcher_name">Adv. Power Menu</string>
<string name="xposed_description">再起動やスクリーンショットオプションを電源メニューに追加します。\n開発者: kennethso168@xda</string>
<string name="credits_msg">開発者: kennethso168@xda</string>

<!-- Reboot Options -->
<string name="reboot_soft">ソフトリブート</string>
<string name="reboot_recovery">リカバリ</string>
<string name="reboot_bootloader">Bootloader</string>

<!-- Confirmation Dialogs -->
<string name="reboot_confirm">端末を再起動します。</string>
<string name="reboot_confirm_recovery">リカバリへ再起動します。</string>
<string name="reboot_confirm_bootloader">Bootloaderへ再起動します。</string>

<!-- Screenshot -->
<string name="take_screenshot">スクリーンショット</string>

<!-- Quick dial -->
<string name="quick_dial">クイック発信</string>

<!-- Toggle Mobile Data -->
<string name="mobile_data_on">モバイルデータを有効化</string>
<string name="mobile_data_off">モバイルデータを無効化</string>

<!-- Preference Screen -->
<string name="note_title">注意</string>
<string name="note_summ">変更を反映させるには再起動してください。</string>
<string name="sect_menu_options">メニューオプション</string>
<string name="enable_reboot_title">再起動オプション</string>
<string name="enable_reboot_summ">様々な再起動ができるオプションを電源メニューに追加します。</string>
<string name="enable_screenshot_title">スクリーンショット</string>
<string name="enable_screenshot_summ">電源メニューにスクリーンショットを撮影できる項目を追加します。</string>
<string name="confirm_dialog_title">確認ダイアログ</string>
<string name="quick_dial_number">クイック発信番号</string>
<string name="quick_dial_note">空のままにするとこの機能を無効にします。</string>
<string name="disabled">無効</string>
<string name="icon_color_title">アイコンのテーマ色</string>
<string name="reboot_methods_title">表示する再起動方法</string>
<string name="expand_statusbar_title">通知領域を開く</string>
<string name="expand_statusbar_summ">通知領域を開くオプションを追加します。</string>
<string name="data_toggle">モバイルデータトグル</string>
<string name="data_toggle_summ">モバイルデータ通信をオンオフするオプションを追加します。</string>
<string name="no_locked_off_title">シャットダウン保護</string>
<string name="no_locked_off_summ">ロック画面でロック解除されていないときに「電源を切る」と「再起動」を出来ないようにします。</string>
<string name="no_locked_off_dialog">シャットダウン保護が有効なためロック中は電源を切ったり再起動したり出来ません。ロックを解除してやり直してください。</string>

<string name="sect_debug">アプリオプション</string>
<string name="verbose_log_title">詳細なログを残す</string>
<string name="verbose_log_summ">チェックすると/data/xposed/debug.logに完全なログを残します。</string>
<string name="hide_ic_launcher_title">ホームアプリでアイコンを隠す</string>
<string name="hide_ic_launcher_dialog">変更を反映するにはホームアプリを再起動してください。\nホームアプリの再起動後に設定を開くにはXposedインストーラ > モジュール> Advanced Power Menuをタップ(チェックではなく)してください。</string>

<string name="sect_about">このアプリについて</string>
<string name="app_info_title">アプリ情報</string>
<string name="app_info_before">"Advaced Power Menu バージョン"</string>

<string name="license_title">オープンソースライセンス</string>
<string name="special_thanks_title">協力者</string>
<string name="xda_title">xda threadを開く</string>
<string name="email_title">開発者にメールを送信</string>
<string name="donate_title">寄付</string>

</resources>
<resources>

<!--Basic Information -->
<!--Not necessary to translate as these are just descriptions. However if you like you can still translate these. -->
<string name="app_name">Advanced Power Menu</string>
<string name="launcher_name">Adv. Power Menu</string>
<string name="xposed_description">再起動やスクリーンショットオプションを電源メニューに追加します。\n開発者: kennethso168@xda</string>
<string name="credits_msg">開発者: kennethso168@xda</string>

<!-- Reboot Options -->
<string name="reboot_soft">ソフトリブート</string>
<string name="reboot_recovery">リカバリ</string>
<string name="reboot_bootloader">Bootloader</string>

<!-- Confirmation Dialogs -->
<string name="reboot_confirm">端末を再起動します。</string>
<string name="reboot_confirm_recovery">リカバリへ再起動します。</string>
<string name="reboot_confirm_bootloader">Bootloaderへ再起動します。</string>

<!-- Screenshot -->
<string name="take_screenshot">スクリーンショット</string>

<!-- Quick dial -->
<string name="quick_dial">クイック発信</string>

<!-- Toggle Mobile Data -->
<string name="mobile_data_on">モバイルデータを有効化</string>
<string name="mobile_data_off">モバイルデータを無効化</string>

<!-- Preference Screen -->
<string name="note_title">注意</string>
<string name="note_summ">変更を反映させるには再起動してください。</string>
<string name="sect_menu_options">メニューオプション</string>
<string name="enable_reboot_title">再起動オプション</string>
<string name="enable_reboot_summ">様々な再起動ができるオプションを電源メニューに追加します。</string>
<string name="enable_screenshot_title">スクリーンショット</string>
<string name="enable_screenshot_summ">電源メニューにスクリーンショットを撮影できる項目を追加します。</string>
<string name="confirm_dialog_title">確認ダイアログ</string>
<string name="quick_dial_number">クイック発信番号</string>
<string name="quick_dial_note">空のままにするとこの機能を無効にします。</string>
<string name="disabled">無効</string>
<string name="icon_color_title">アイコンのテーマ色</string>
<string name="reboot_methods_title">表示する再起動方法</string>
<string name="expand_statusbar_title">通知領域を開く</string>
<string name="expand_statusbar_summ">通知領域を開くオプションを追加します。</string>
<string name="data_toggle">モバイルデータトグル</string>
<string name="data_toggle_summ">モバイルデータ通信をオンオフするオプションを追加します。</string>
<string name="no_locked_off_title">シャットダウン保護</string>
<string name="no_locked_off_summ">ロック画面でロック解除されていないときに「電源を切る」と「再起動」を出来ないようにします。</string>
<string name="no_locked_off_dialog">シャットダウン保護が有効なためロック中は電源を切ったり再起動したり出来ません。ロックを解除してやり直してください。</string>

<string name="sect_debug">アプリオプション</string>
<string name="verbose_log_title">詳細なログを残す</string>
<string name="verbose_log_summ">チェックすると/data/xposed/debug.logに完全なログを残します。</string>
<string name="hide_ic_launcher_title">ホームアプリでアイコンを隠す</string>
<string name="hide_ic_launcher_dialog">変更を反映するにはホームアプリを再起動してください。\nホームアプリの再起動後に設定を開くにはXposedインストーラ > モジュール> Advanced Power Menuをタップ(チェックではなく)してください。</string>

<string name="sect_about">このアプリについて</string>
<string name="app_info_title">アプリ情報</string>
<string name="app_info_before">"Advaced Power Menu バージョン"</string>

<string name="license_title">オープンソースライセンス</string>
<string name="special_thanks_title">協力者</string>
<string name="xda_title">xda threadを開く</string>
<string name="email_title">開発者にメールを送信</string>
<string name="donate_title">寄付</string>

</resources>
11 changes: 9 additions & 2 deletions res/values-zh-rHK/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,29 @@
<string name="disabled">已停用</string>
<string name="icon_color_title">圖示色調</string>
<string name="reboot_methods_title">顯示的重啟模式</string>
<string name="data_toggle">流動數據切換</string>
<string name="data_toggle_summ">增加「流動數據切換」選項</string>
<string name="no_locked_off_title">關機保護</string>
<string name="no_locked_off_summ">當裝置未解除鎖定時禁止關機和重啟</string>
<string name="no_locked_off_dialog">由於您啟動了關機保護,您不能在裝置未解除鎖定時關機。請解除鎖定並重試</string>

<string name="sect_debug">程式選項</string>
<string name="verbose_log_title">詳細除錯記錄</string>
<string name="verbose_log_summ">在 /data/xposed/debug.log 中作詳細的除錯記錄</string>
<string name="hide_ic_launcher_title">隱藏啟動器圖示</string>
<string name="hide_ic_launcher_dialog">要使變更生效,請等候或重新啟動您的啟動器。\n另外,你可在 Xposed外掛模組 > 應用模組 > 進階重啟目錄(Advanced Reboot Menu) 進入本程式 (按一下清單項目而非勾選框)。</string>
<string name="hide_ic_launcher_dialog">要使變更生效,請等候或重新啟動您的啟動器。\n另外,你可在 Xposed外掛模組 > 應用模組 > 進階重啟目錄(Advanced Reboot Menu) 進入本程式 按一下清單項目而非勾選框。</string>

<string name="sect_about">關於</string>
<string name="app_info_title">應用程式資訊</string>
<string name="app_info_before">"進階重啟目錄(Advanced Reboot Menu) 版本 "</string>
<string name="app_info_after">\n開發者︰kennethso168@xda</string>

<string name="readme_title">版權及免責聲明</string>
<string name="license_title">開源許可證</string>
<string name="special_thanks_title">鳴謝</string>
<string name="troubleshoot_title">疑難排解﹝只有英文版本﹞</string>
<string name="xda_title">瀏覽 xda 討論帖</string>
<string name="email_title">發送電郵給開發者</string>
<string name="email_note_content">請以[APM]作為郵件標題的起首,並提供足夠的資料﹝例如附上 /data/xposed/debug.log﹞。謝謝合作。</string>
<string name="donate_title">捐款</string>


Expand Down
11 changes: 9 additions & 2 deletions res/values-zh-rTW/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,29 @@
<string name="disabled">已停用</string>
<string name="icon_color_title">圖示色調</string>
<string name="reboot_methods_title">顯示的重啟模式</string>
<string name="data_toggle">流動數據切換</string>
<string name="data_toggle_summ">增加「流動數據切換」選項</string>
<string name="no_locked_off_title">關機保護</string>
<string name="no_locked_off_summ">當裝置未解除鎖定時禁止關機和重啟</string>
<string name="no_locked_off_dialog">由於您啟動了關機保護,您不能在裝置未解除鎖定時關機。請解除鎖定並重試</string>

<string name="sect_debug">程式選項</string>
<string name="verbose_log_title">詳細除錯記錄</string>
<string name="verbose_log_summ">在 /data/xposed/debug.log 中作詳細的除錯記錄</string>
<string name="hide_ic_launcher_title">隱藏啟動器圖示</string>
<string name="hide_ic_launcher_dialog">要使變更生效,請等候或重新啟動您的啟動器。\n另外,你可在 Xposed外掛模組 > 應用模組 > 進階重啟目錄(Advanced Reboot Menu) 進入本程式 (按一下清單項目而非勾選框)。</string>
<string name="hide_ic_launcher_dialog">要使變更生效,請等候或重新啟動您的啟動器。\n另外,你可在 Xposed外掛模組 > 應用模組 > 進階重啟目錄(Advanced Reboot Menu) 進入本程式 按一下清單項目而非勾選框。</string>

<string name="sect_about">關於</string>
<string name="app_info_title">應用程式資訊</string>
<string name="app_info_before">"進階重啟目錄(Advanced Reboot Menu) 版本 "</string>
<string name="app_info_after">\n開發者︰kennethso168@xda</string>

<string name="readme_title">版權及免責聲明</string>
<string name="license_title">開源許可證</string>
<string name="special_thanks_title">鳴謝</string>
<string name="troubleshoot_title">疑難排解﹝只有英文版本﹞</string>
<string name="xda_title">瀏覽 xda 討論帖</string>
<string name="email_title">發送電郵給開發者</string>
<string name="email_note_content">請以[APM]作為郵件標題的起首,並提供足夠的資料﹝例如附上 /data/xposed/debug.log﹞。謝謝合作。</string>
<string name="donate_title">捐款</string>


Expand Down
9 changes: 5 additions & 4 deletions res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@
<string name="expand_statusbar_title">Expand status bar</string>
<string name="expand_statusbar_summ">Add the option which expands the status bar</string>
<string name="data_toggle">Toggle mobile data</string>
<string name="data_toggle_summ">Add the option which toggles mobile data connection.</string>
<string name="data_toggle_summ">Add the option which toggles mobile data connection</string>
<!-- Do not translate or include the "default" strings in other languages -->
<string name="confirm_dialog_default">0</string>
<string name="icon_color_title_default">0</string>
<string name="no_locked_off_title">Shutdown Protection</string>
<string name="no_locked_off_summ">Disable shutdown and reboot functions while the device is still at the lockscreen and not yet unlocked.</string>
<string name="no_locked_off_summ">Disable shutdown and reboot functions while the device is still at the lockscreen and not yet unlocked</string>
<string name="no_locked_off_dialog">Because shutdown protection is on, you may not power off the phone while the device is locked. Unlock the device and try again.</string>

<string name="sect_debug">App Options</string>
Expand All @@ -64,11 +64,12 @@
<string name="app_info_after">\nby Kenneth So (kennethso168@xda)</string>
<string name="readme_title">Copyright and Disclaimer</string>
<!-- It's quite "impossible" to translate the string below. No need to translate it -->
<string name="readme_content">Copyright &#169; 2013 So Kei Hong. All rights reserved.\n\n
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</string>
<string name="readme_content">Copyright &#169; 2013 So Kei Hong. All rights reserved.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</string>

<string name="license_title">Open source license</string>
<string name="special_thanks_title">Special thanks</string>
<string name="troubleshoot_title">Troubleshoot</string>
<string name="troubleshoot_content">What can you do if the app doesn\'t work / if issue happens?\n\nStep 1: Try fixing it yourself\n1. Make sure that you have read the prerequisites and installation guide thoroughly/\n2. Reboot your phone TWICE (TWO TIMES)\nFor every single xposed mod, a reboot after installation is necessary. But that might not be enough as users have reported that the app doesn\'t work after a single reboot, but things get right when they reboot again. So rebooting TWICE is recommended\n3. Disable all other Xposed Mod\nXposed framework do take care of mods that hook the same method, but sometimes conflicts can still happen. Try disabling all mods except mine in the Xposed Installer. Then reboot and see if things get right.\n4. Clear app data/reinstalling my app\nThe settings may get messed up when my app updates, so try reinstalling and see if it helps.\n5. Use an older version of my app\nTry this and see if it helps. If so that means a new update breaks something old and please tell me about that!\nIf all the above doesn\'t work, you can then send me an issue report.\n\nStep 2: Tell me and see if I can fix it\n(Please don\'t do this before doing step 1)\nPlease send me an issue report including\n1) a description of the issue\n2) screenshots (if it helps explain the situation)\n3) The device, ROM, Android OS version, and the app version\n4) debug.log (Please enable verbose logging in my app first, then do something like long-pressing the power button)(you may obtain the log in xposed installer 2.4)\n5) Anything else you think it\'s important\nthrough one of the following means:\n1) xda forum thread/PM (preferred)\n2) e-mail (NOTE: please begin your subject with [APM] so I can better sort my emails. Thanks)\nPlease note that I can\'t solve the problem with insufficient information. I will also IGNORE any email with NO BODY TEXT (I use gmail)\n\nKeep in mind that even with all the information I still may not be able to fix your problem because I do not own your device and I\'m only a novice android developer. Sorry.</string>
<string name="xda_title">View xda thread</string>
<string name="email_title">Email the developer</string>
<string name="donate_title">Donate</string>
Expand Down

0 comments on commit 7bf2470

Please sign in to comment.