Skip to content

Commit

Permalink
一点项目的优化
Browse files Browse the repository at this point in the history
  • Loading branch information
lingqiqi5211 committed Dec 28, 2023
1 parent 747fe15 commit 970869b
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- ".idea/"
- "doc/*"
- "*.md"
- "app/src/assets/**"
- ".github/workflows/crowdin.yml"
- "crowdin.yml"
workflow_dispatch:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/android_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- ".idea/"
- "doc/*"
- "*.md"
- "app/src/assets/**"
- ".github/workflows/crowdin.yml"
- "crowdin.yml"
workflow_dispatch:
Expand Down Expand Up @@ -58,7 +59,7 @@ jobs:
COMMIT_MESSAGE: |+
**New PR to gitHub\!**
`${{ github.event_name }}`
`$(git log ${{ github.event.before }}..${{ github.event.after }} --pretty=format:'%h %s')`
by ${{ github.triggering_actor }}
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@ jobs:
upload_sources: true
upload_translations: true
download_translations: true
skip_untranslated_files: true

# Pull request settings
create_pull_request: true
localization_branch_name: crowdin_branch
pull_request_labels: 'enhancement, documentation'
pull_request_title: '[Translation] Update translation from Crowdin'

# Global settings
config: 'crowdin.yml'
Expand Down
9 changes: 5 additions & 4 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
-keep class com.sevtinge.hyperceiler.XposedInit
-keep class com.sevtinge.hyperceiler.module.app.SystemFrameworkForCorePatch
-keep class com.sevtinge.hyperceiler.ui.LauncherActivity
-keep class com.sevtinge.hyperceiler.utils.blur.*
-keep class com.sevtinge.hyperceiler.utils.Helpers { boolean isModuleActive; }
-keep class com.sevtinge.hyperceiler.utils.Helpers { int XposedVersion; }
-keep class com.sevtinge.hyperceiler.utils.XposedUtils
-keep class com.sevtinge.hyperceiler.ui.LauncherActivity
-keep class com.sevtinge.hyperceiler.utils.Helpers{boolean isModuleActive;}
-keep class com.sevtinge.hyperceiler.utils.Helpers{int XposedVersion;}
-keep class moralnorm.**{*;}
-keep class org.luckypray.dexkit.*
-keep class * extends com.sevtinge.hyperceiler.module.base.BaseHook
-keep class * extends com.sevtinge.hyperceiler.ui.fragment.base.*
-keep class * extends com.sevtinge.hyperceiler.module.base.*

-dontwarn android.app.ActivityTaskManager$RootTaskInfo
-dontwarn miui.app.MiuiFreeFormManager$MiuiFreeFormStackInfo
-dontwarn com.android.internal.view.menu.MenuBuilder
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/assets/tips/tips-zh_CN
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// 全角字符与半角字符间请保留一个半角空格,括号请尽量使用半角符号

叮咚~ 来了一条消息! 哦,是 Tip 啊,那没事了 (
您可以在 \"关于-支持\" 中捐赠以支持和维护我们的开发。
您可以在 关于-支持 中捐赠以支持和维护我们的开发。
想要联系开发者?Telegram@Sevtinge_PM_bot 或者 哔哩哔哩@绀漓丨Sevtinge。
想要加入群聊一起划水?Telegram@hyperceiler 或者在 QQ 搜索 247909573 加入群聊。
HyperCeiler = Hyper + Ceiler, Ceiler = Ceil + er.
Expand Down
4 changes: 1 addition & 3 deletions crowdin.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_API_TOKEN
pull_request_title: '[Translation] Update translation from Crowdin'
preserve_hierarchy: true

files:
- source: /app/src/main/assets/tips/tips
translation: /app/src/main/assets/tips/tips-%locale_with_underscore%
type: hyper_ceiler_tips
skip_untranslated_strings: true

- source: /app/src/main/res/values/strings.xml
translation: /app/src/main/res/values-%two_letters_code%/%original_file_name%
type: android
skip_untranslated_strings: true

0 comments on commit 970869b

Please sign in to comment.