Skip to content

Commit

Permalink
更改描述
Browse files Browse the repository at this point in the history
  • Loading branch information
xiao_wine committed Dec 24, 2021
1 parent e8f81f2 commit b5707d4
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 84 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,10 @@ public void onSuccess(String filePath, Uri uri, Intent intent) {
new AlertDialog.Builder(activity)
.setTitle(getString(R.string.RestartUI))
.setMessage(getString(R.string.RestartUITips))
.setPositiveButton(getString(R.string.Ok), (dialog, which) -> ShellUtils.voidShell("pkill -f com.android.systemui", true))
.setPositiveButton(getString(R.string.Ok), (dialog, which) -> {
ShellUtils.voidShell("pkill -f com.android.systemui", true);
Analytics.trackEvent("重启SystemUI");
})
.setNegativeButton(getString(R.string.Cancel), null)
.create()
.show();
Expand Down
33 changes: 7 additions & 26 deletions app/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
<string name="HideNetWork">隐藏实时网速</string>
<string name="HideCarrierName">隐藏锁屏运营商名称</string>
<string name="AutoHideCarrierName">自动隐藏锁屏运营商名称</string>
<string name="FileLyric">文件传输歌词</string>
<string name="FileLyricTips">广播无法使用请打开此开关 (存储空间隔离请设置好相关权限)</string>
<string name="OtherSettings">其他设置</string>
<string name="CustomHook">* 自定义Hook点 (不懂勿动)</string>
<string name="DebugMode">Debug 模式</string>
Expand Down Expand Up @@ -60,17 +58,7 @@
<string name="Quit">退出</string>
<string name="TipsIDone">我已知晓</string>
<string name="AppTips">请认真阅读此一次性警告! \n\n
很抱歉花费您的时间。\n\n

模块在官方Rom完美使用,官改可能会出问题\n\n

模块不再支持除LSPosed的模块\n
若LSPosed找不到本模块,请升级LSPosed\n\n

若无法显示歌词\n
请重启系统界面,确保模块开关打开\n
网易云音乐(8.0.14+)/QQ音乐/椒盐/Aplayer:请确保音乐软件内状态栏歌词打开\n
网易云音乐/酷我音乐/酷狗音乐 :请确保音乐软件版本是否正确\n\n
很抱歉花费您的时间\n\n

本模块会收集以下信息, [ 程序的错误信息, 手机型号, 手机版本 ]\n\n

Expand All @@ -88,11 +76,10 @@
- 魅族音乐 未知 ~ 未知\n
- 酷狗音乐 未知 ~ 10.9.2\n
- 酷我音乐 未知 ~ 10.0.4.0\n\n

- 椒盐音乐 4.5 ~ 现今\n
- 魅族音乐 未知 ~ 未知\n
- Phonograph Plus第三方修改版本\n
https://github.com/kabouzeid/Phonograph\n
v0.0.2(不完美适配)/v0.0.3
</string>
<string name="AppName">状态栏歌词</string>
<string name="QuickTitle">状态栏歌词</string>
Expand Down Expand Up @@ -134,7 +121,7 @@
<string name="Reset">恢复默认</string>
<string name="ResetHookTips">已恢复默认Hook,请重启SystemUI</string>
<string name="Ok">确定</string>
<string name="HookSetTips">已设置Hook为:\n </string>
<string name="HookSetTips">已设置Hook为:\n</string>
<string name="RestartSystemUI">请重启SystemUI</string>
<string name="CustomHookTips">自定义Hook</string>
<string name="RestartUI">确定重启系统界面吗?</string>
Expand All @@ -157,23 +144,17 @@
<string name="lShowOnce">* 歌词只滚动一次</string>
<string name="WarnExplanation">模块注意事项</string>
<string name="WarnExp">模块注意事项\n\n
模块在官方Rom完美使用,官改可能会出问题\n\n

模块不再支持除Lsposed的模块\n
若lsp找不到本模块,请升级lsp\n\n
模块在官方Rom完美使用,官改可能会无法使用或出问题\n\n

若无法显示歌词\n
请重启系统界面,并确保模块开关打开\n
请确保音乐软件内设置 状态栏歌词 或 车载蓝牙歌词 打开\n\n

带 * 的功能改动需要重启系统界面\n\n

模块不生效请打开debug并重启SystemUI并附上日志,前往 Github/电报 进行反馈。\n\n

已知Bug:\n
音乐软件非正常退出,歌词不会自动消失
模块不生效请打开debug并重启SystemUI并附上日志,前往 Github/电报 进行反馈
</string>
<string name="NotSupport">不支持的Xposed版本,仅支持Lsposed\n或未激活本模块\n激活后强制停止本软件</string>
<string name="NotSupport">本模块未激活,请在Lsposed激活本模块\n本模块仅支持最新版Lsposed</string>
<string name="SPConfigMode">SP 配置文件</string>
<string name="UseApiTips">使用 API 的软件 (需要在LSPosed勾选开启的软件)</string>
<string name="UseApiList">扩展软件列表</string>
Expand All @@ -185,5 +166,5 @@
<string name="HookSureFail">Hook 系统界面失败\n此系统不支持,打包SystemUI发作者把</string>
<string name="LyricSettings">歌词设置</string>
<string name="IconSettings">图标设置</string>
<string name="LyricPos">* 歌词左右位置</string>
<string name="LyricPos">* 歌词左右位置(重启界面后1min后生效)</string>
</resources>
29 changes: 5 additions & 24 deletions app/src/main/res/values-zh-rTW/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
<string name="HideNetWork">隱藏實時網速</string>
<string name="HideCarrierName">隱藏鎖屏運營商名稱</string>
<string name="AutoHideCarrierName">自動隱藏鎖屏運營商名稱</string>
<string name="FileLyric">文件傳輸歌詞</string>
<string name="FileLyricTips">廣播無法使用請打開此開關 (存儲空間隔離請設置好相關權限)</string>
<string name="OtherSettings">其他設置</string>
<string name="CustomHook">* 自定義Hook點 (不懂勿動)</string>
<string name="DebugMode">Debug 模式</string>
Expand Down Expand Up @@ -62,16 +60,6 @@
<string name="AppTips">請認真閱讀此一次性警告! \n\n
很抱歉花費您的時間。 \n\n

模塊在官方Rom完美使用,官改可能會出問題\n\n

模塊不再支持除Lsposed的模塊\n
若lsp找不到本模塊,請升級lsp\n\n

若無法顯示歌詞\n
請重啟系統界面,確保模塊開關打開\n
網易云音樂(8.0.14+)/QQ音樂/椒鹽/Aplayer:請確保音樂軟件內狀態欄歌詞打開\n
網易云音樂/酷我音樂/酷狗音樂 :請確保音樂軟件版本是否正確\n\n

本模塊會收集以下資訊, [ 程式的錯誤資訊, 手機型號, 手機版本 ]\n\n

模塊不生效請打開debug並重啟SystemUI並附上日誌,前往 Github電報 進行反饋。
Expand All @@ -88,11 +76,10 @@
- 魅族音樂 未知 ~ 未知\n
- 酷狗音樂 未知 ~ 10.9.2\n
- 酷我音樂 未知 ~ 10.0.4.0\n\n

- 椒鹽音樂 4.5 ~ 現今\n
- 魅族音乐 未知 ~ 未知\n
- Phonograph Plus第三方修改版本\n
https://github.com/kabouzeid/Phonograph\n
v0.0.2(不完美適配)/v0.0.3
</string>
<string name="AppName">狀態欄歌詞</string>
<string name="QuickTitle">狀態欄歌詞</string>
Expand Down Expand Up @@ -157,23 +144,17 @@
<string name="lShowOnce">* 歌詞只滾動一次</string>
<string name="WarnExplanation">模塊注意事項</string>
<string name="WarnExp">模塊注意事項\n\n
模塊在官方Rom完美使用,官改可能會出問題\n\n

模塊不再支持除Lsposed的模塊\n
若lsp找不到本模塊,請升級lsp\n\n
模塊在官方Rom完美使用,官改可能會無法使用或出問題\n\n

若無法顯示歌詞\n
請重啟系統界面,並確保模塊開關打開\n
請確保音樂軟件內設置 狀態欄歌詞 或 車載藍牙歌詞 打開\n\n

帶 * 的功能改動需要重啟系統界面\n\n

模塊不生效請打開debug並重啟SystemUI並附上日誌,前往 Github電報 進行反饋。 \n\n

已知Bug:\n
音樂軟件非正常退出,歌詞不會自動消失
模塊不生效請打開debug並重啟SystemUI並附上日誌,前往 Github電報 進行反饋
</string>
<string name="NotSupport">不支持的Xposed版本,僅支持Lsposed\n或未激活本模塊\n激活後強制停止本軟件</string>
<string name="NotSupport">本模塊未激活,請在Lsposed激活本模塊\n本模塊僅支持最新版Lsposed</string>
<string name="SPConfigMode">SP 配置文件</string>
<string name="UseApiTips">使用 API 的軟件 (需要在LSPosed勾選開啟的軟件)</string>
<string name="UseApiList">擴展軟件列表</string>
Expand All @@ -185,5 +166,5 @@
<string name="HookSureFail">Hook 系统界面失败\n此系统不支持,打包SystemUI发作者把</string>
<string name="LyricSettings">歌詞設置</string>
<string name="IconSettings">圖標設置</string>
<string name="LyricPos">* 歌詞左右位置</string>
<string name="LyricPos">* 歌詞左右位置(重啟界面後1min後生效)</string>
</resources>
46 changes: 13 additions & 33 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<string name="AbScreen">* Anti-burn screen</string>
<string name="IconPath">Icon path</string>
<string name="IconPos">Icon up and down position</string>
<string name="LyricPos">Lyrics left and right position</string>
<string name="LyricPos">Lyrics left and right position(It will take effect 1 min after Restart SystemUI)</string>
<string name="Default">Default</string>
<string name="IconAutoColors">The icon auto inverted colors</string>
<string name="UnlockShow">Unlock display only</string>
Expand All @@ -30,10 +30,6 @@
<string name="HideNetWork">Hide network speed</string>
<string name="HideCarrierName">Hide lock screen carrier name</string>
<string name="AutoHideCarrierName">Auto hide lock screen carrier name</string>
<string name="FileLyric">File transfer lyrics</string>
<string name="FileLyricTips">Broadcasting cannot be used, please turn on this switch (Storage space isolation,
please set relevant permissions)
</string>
<string name="OtherSettings">Other settings</string>
<string name="CustomHook">* Custom Hook (do not move if you don\'t understand)</string>
<string name="DebugMode">Debug Mode</string>
Expand Down Expand Up @@ -66,18 +62,6 @@
<string name="AppTips">Please read this one-time warning carefully! \n\n
Sorry to take your time. \n\n

The module is perfectly used in the official Rom, the official change may cause problems\n\n

Modules no longer support modules other than Lsposed\n
If lsp cannot find this module, please upgrade lsp\n\n

If the lyrics cannot be displayed\n
Please restart the system interface and make sure the module switch is turned on\n
Netease Music(8.0.14+)/QQ Music/SaltPlayer/Aplayer: Please make sure that the lyrics in the status bar of the
music
software is turned on\n
Netease Music/Kuwo Music/Kugou Music: Please make sure that the music software version is correct\n\n

This xposed module will collect the following information, [ program error information, mobile phone model,
mobile phone version ]\n\n

Expand All @@ -96,8 +80,10 @@
- Meizu Music Unknown ~ Unknown\n
- Kugou Music Unknown ~ 10.9.2\n
- Kuwo Music Unknown ~ 10.0.4.0\n\n

- SaltPlayer 4.5 ~ now
- Meizu Music Unknown ~ Unknown\n
- Phonograph Plus third-party modified version\n
https://github.com/kabouzeid/Phonograph\n
</string>
<string name="AppName">StatusBar lyric</string>
<string name="QuickTitle">Status bar lyric</string>
Expand Down Expand Up @@ -138,7 +124,7 @@
<string name="DefaultPath">Default path</string>
<string name="RestoreDefaultPath">Restore default path</string>
<string name="NewPath">Choose a new path</string>
<string name="LyricPosTips">-100~100, currently:</string>
<string name="LyricPosTips">-900~900, currently:</string>
<string name="On">ON</string>
<string name="Reset">Reset defula</string>
<string name="ResetHookTips">The default hook has been restored, please restart SystemUI</string>
Expand Down Expand Up @@ -168,26 +154,19 @@
<string name="lShowOnce">* Lyrics only scroll once</string>
<string name="WarnExplanation">Module Considerations</string>
<string name="WarnExp">Module notes\n\n
The module is perfectly used in the official Rom, the official change may cause problems\n\n

Modules no longer support modules other than Lsposed\n
If lsp cannot find this module, please upgrade lsp\n\n
The module is perfectly used in the official Rom, the official change may be unusable or problematic\n\n

If the lyrics cannot be displayed\n
Please restart the system interface and make sure the module switch is turned on\n
Please make sure to set the lyrics in the StatusBar or Bluetooth lyrics in the car to turn on in the music software\n\n
Please make sure to set the lyrics in the StatusBar or Bluetooth lyrics in the car to turn on in the music
software\n\n

The function changes with * need to restart the system interface\n\n

If the module does not take effect, please open debug and restart SystemUI, attach the log, and go to Github
Telegram for feedback. \n\n

Known bug:\n
The music software exits abnormally, the lyrics will not disappear automatically
</string>
<string name="NotSupport">Xposed not supported,only supportsLsposed\n or the module is not activated\nforce stop the software after
activation
If the module does not take effect, please open debug and restart SystemUI, attach the log, and go to GitHub
Telegram for feedback
</string>
<string name="NotSupport">This module is not activated, please activate this module in Lsposed\nThis module only supports the latest version of Lsposed</string>
<string name="SPConfigMode">SP configuration file</string>
<string name="UseApiTips">Software using API (The software that needs to be checked in LSPosed)</string>
<string name="UseApiList">Extended software list</string>
Expand All @@ -196,7 +175,8 @@
<string name="UseSystemReverseColorTips">If the color reversal is abnormal, please close it</string>
<string name="HookSure">Hook SystemUI</string>
<string name="HookSureSuccess">Hook SystemUI Success</string>
<string name="HookSureFail">Hook SystemUI failed\nThis SystemUI does not support, the author of the packaged SystemUI
<string name="HookSureFail">Hook SystemUI failed\nThis SystemUI does not support, the author of the packaged
SystemUI
</string>
<string name="LyricSettings">Lyrics settings</string>
<string name="IconSettings">Icon settings</string>
Expand Down

0 comments on commit b5707d4

Please sign in to comment.