diff --git a/app/src/main/java/io/github/lsposed/manager/ui/activity/LogsActivity.java b/app/src/main/java/io/github/lsposed/manager/ui/activity/LogsActivity.java index 64a1830a..1752179d 100644 --- a/app/src/main/java/io/github/lsposed/manager/ui/activity/LogsActivity.java +++ b/app/src/main/java/io/github/lsposed/manager/ui/activity/LogsActivity.java @@ -127,7 +127,6 @@ public class LogsActivity extends BaseActivity { if (!preferences.getBoolean("hide_logcat_warning", false)) { DialogInstallWarningBinding binding = DialogInstallWarningBinding.inflate(getLayoutInflater()); new AlertDialog.Builder(this) - .setTitle(R.string.install_warning_title) .setMessage(R.string.not_logcat) .setView(binding.getRoot()) .setPositiveButton(android.R.string.ok, (dialog, which) -> { diff --git a/app/src/main/java/io/github/lsposed/manager/ui/activity/MainActivity.java b/app/src/main/java/io/github/lsposed/manager/ui/activity/MainActivity.java index 5dc927a1..673daa9f 100644 --- a/app/src/main/java/io/github/lsposed/manager/ui/activity/MainActivity.java +++ b/app/src/main/java/io/github/lsposed/manager/ui/activity/MainActivity.java @@ -142,7 +142,8 @@ public class MainActivity extends BaseActivity { @Override protected void onResume() { super.onResume(); - binding.modulesSummary.setText(String.format(getString(R.string.ModulesDetail), ModuleUtil.getInstance().getEnabledModules().size())); + int moduleCount = ModuleUtil.getInstance().getEnabledModules().size(); + binding.modulesSummary.setText(getResources().getQuantityString(R.plurals.modules_enabled_count, moduleCount, moduleCount)); HolidayHelper.onResume(); } diff --git a/app/src/main/java/io/github/lsposed/manager/ui/activity/base/BaseActivity.java b/app/src/main/java/io/github/lsposed/manager/ui/activity/base/BaseActivity.java index ff7f4dbd..362d6c75 100644 --- a/app/src/main/java/io/github/lsposed/manager/ui/activity/base/BaseActivity.java +++ b/app/src/main/java/io/github/lsposed/manager/ui/activity/base/BaseActivity.java @@ -63,7 +63,7 @@ public class BaseActivity extends MaterialActivity { if (!BuildConfig.VERSION_NAME.equals(coreVersionStr)) { new AlertDialog.Builder(this) .setMessage(R.string.outdated_manager) - .setPositiveButton(R.string.ok, (dialog, id) -> { + .setPositiveButton(android.R.string.ok, (dialog, id) -> { NavUtil.startURL(this, getString(R.string.about_source)); finish(); }) diff --git a/app/src/main/java/io/github/lsposed/manager/util/NotificationUtil.java b/app/src/main/java/io/github/lsposed/manager/util/NotificationUtil.java index 7e67d766..442df4b8 100644 --- a/app/src/main/java/io/github/lsposed/manager/util/NotificationUtil.java +++ b/app/src/main/java/io/github/lsposed/manager/util/NotificationUtil.java @@ -45,7 +45,7 @@ public final class NotificationUtil { NotificationChannelCompat.Builder channel = new NotificationChannelCompat.Builder(NOTIFICATION_MODULES_CHANNEL, NotificationManager.IMPORTANCE_HIGH) - .setName(context.getString(R.string.nav_item_modules)) + .setName(context.getString(R.string.Modules)) .setSound(null, null) .setVibrationPattern(null); notificationManager.createNotificationChannel(channel.build()); diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index c0eef02e..164b0409 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -197,7 +197,6 @@ android:layout_below="@id/modules_title" android:layout_alignStart="@id/modules_title" android:layout_marginTop="2dp" - android:text="@string/ModulesDetail" android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textColor="@android:color/darker_gray" /> diff --git a/app/src/main/res/values-ko/strings.xml b/app/src/main/res/values-ko/strings.xml index 851506e8..e9b2d0a4 100644 --- a/app/src/main/res/values-ko/strings.xml +++ b/app/src/main/res/values-ko/strings.xml @@ -31,17 +31,14 @@ 전송 저장 - OK - 모듈 상세 로그 모듈 로그 - 조심하세요! 다시 표시 안 함 @@ -73,7 +70,6 @@ 저장하지 못했습니다.: 지금 로그 지우기 로그를 성공적으로 지웠습니다. - 로그를 지울 수 없습니다.: 로그가 비어 있습니다. diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index 8ac7c737..05de64f6 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -32,17 +32,14 @@ versturen Opslaan - Ok - Modules Uitgebreide logboeken Modules Logboeken - Doe voorzichtig! Laat dit niet meer zien @@ -74,7 +71,6 @@ Opslaan mislukt: Log nu wissen Log succesvol gewist. - Kan het logboek niet wissen: Log is leeg. diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 300d5150..c17aa01c 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -1,5 +1,4 @@ - - Отправить Сохранить - ОК - Модули Детальные логи Логи модулей - Осторожно! Больше не показывать @@ -173,5 +169,4 @@ Показать старые версии Больше нет выпуска Цвет темы - Не удалось очистить логи: diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml index b44871af..4b08056d 100644 --- a/app/src/main/res/values-uk/strings.xml +++ b/app/src/main/res/values-uk/strings.xml @@ -41,11 +41,9 @@ Увімкнути модуль Не вдалося зберегти список областей Інформація - Обережно! Завантаження… Звіт порожній. "Не вдається прочитати звіт: " - Не вдалося очистити звіт: Звіт успішно очищено. Не вдалося зберегти: LSPosed наразі не встановлений або не активний. @@ -71,7 +69,6 @@ Переглянути в Play Store Детальні звіти Звіти модулів - Модулі Цей модуль не визначає потрібну йому версію LSP. Ви не вибрали жодної програми. Продовжити? Ви не вибрали жодної програми. Вибрати рекомендовані програми? diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index fa730df8..633a7b4e 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -25,7 +25,9 @@ 安装 点按安装 LSPosed 模块 - %d 模块已启用 + + %s 模块已启用 + 日志 设置 关于 @@ -33,17 +35,14 @@ 发送 保存 - 确定 - 模块 详细日志 模块日志 - 请小心! 不再提示 @@ -109,7 +108,8 @@ 优化失败或返回值为空 优化失败: 未安装 - 使用纯黑深色主题 + 黑色主题 + 当深色主题启用时使用纯黑色主题 应用名称 应用名称(降序) 包体名称 diff --git a/app/src/main/res/values-zh-rHK/strings.xml b/app/src/main/res/values-zh-rHK/strings.xml index 11e603e4..ef9d88ae 100644 --- a/app/src/main/res/values-zh-rHK/strings.xml +++ b/app/src/main/res/values-zh-rHK/strings.xml @@ -31,17 +31,14 @@ 發送 保存 - 確定 - 模組 詳細日誌 模組日誌 - 請小心! 不再提示 @@ -71,7 +68,6 @@ 保存失敗: 立即清理日誌 日誌清理成功 - 無法清理日誌: 日誌為空 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 50c31a81..6b3ae795 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -1,4 +1,4 @@ - + 已啟用 安裝 點選安裝 LSPosed @@ -11,17 +11,14 @@ 傳送 儲存 - 確定 - 模組 詳細日誌 模組日誌 - 請小心! 不再提醒 @@ -53,7 +50,6 @@ 儲存失敗: 立即清理日誌 日誌清理成功 - 無法清理日誌: 日誌為空 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 276cac51..bab0566f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -20,95 +20,72 @@ LSPosed + + + Info Activated Install Tap to install LSPosed Modules - %d modules enabled + + %d module enabled + %d modules enabled + Logs Settings About + Repository + Module repository (Alpha) + Join our %s channel]]> - + Not installed + <b>WARNING:<\/b> SELinux is not enforcing! the malicious program that attacks this can completely control your device and may cause your property damage and legal liability. + SELinux is not enforcing! + Android %2$s (%1$s, API %3$d) + Android %1$s Preview + + Send Save - OK - - - - - Modules Verbose Logs Modules Logs - - - Be careful! Don\'t show this again + Failed to save: + Clear log now + Log successfully cleared. + Log is empty. + Scroll to top + Loading… + Scroll to bottom + This is the LSPosed Framework and modules log\nif you need a Android logcat, you can try our Log Catcher Magisk module + Cannot read log: \n + Reload + Failed to clear the log - - - + LSPosed module is not activated yet %s has been installed, but is not activated yet + %s has been updated + + (no description provided) This module does not provide a user interface LSPosed module updated This module requires a newer LSPosed version (%d) and thus cannot be activated This module does not specify the LSPosed version it needs. This module was created for LSPosed version %1$d, but due to incompatible changes in version %2$d, it has been disabled - View in App Store - App info - Uninstall - - - Reload - - - Framework - Enable resource hooks - WARNING: Resource hooks are deprecated - - - - - Failed to save: - Clear log now - Log successfully cleared. - Log is empty. - - - - - - - - - This module cannot be loaded because it\'s installed on the SD card, please move it to internal storage + Uninstall + Module settings + View in Repo - Info - - Scroll to top - Loading… - Scroll to bottom - - Android %2$s (%1$s, API %3$d) - Android %1$s Preview - This is the LSPosed Framework and modules log\nif you need a Android logcat, you can try our Log Catcher Magisk module - - + + Re-optimize Optimizing… Optimization complete. - - https://github.com/LSPosed/LSPosed/ - - Disable verbose logs - Cannot read log: \n Launch it Optimization failed or return value is empty. Optimization failed: - Not installed - Use the pure black dark theme Sort by application name Sort by application name (reverse) Sort by package name @@ -117,8 +94,6 @@ Sort by install time (reverse) Sort by update time Sort by update time (reverse) - Theme - Variant System apps Sorting… Enable module @@ -126,7 +101,6 @@ Games Modules Failed save scope list - Module settings %s\nVersion %s Recommended You did not select any app. Select recommended apps? @@ -134,12 +108,28 @@ Recommended Module %s has been disabled since no app selected. System Framework - This application has been destroyed, please make sure you download it from the official source. - Re-optimize - <b>WARNING:<\/b> SELinux is not enforcing! the malicious program that attacks this can completely control your device and may cause your property damage and legal liability. - SELinux is not enforcing! - Version of LSPosed Manager and LSPosed Core are not consistent. Please re-install the corresponding version. - LSPosed is not currently installed or active. + Backup… + Backup + Restore + Force stop + Force stop? + If you force stop an app, it may misbehave. + Reboot is required for this change to apply + Reboot + + + View in App Store + App info + + + Framework + Enable resource hooks + WARNING: Resource hooks are deprecated + Disable verbose logs + Black dark theme + Use the pure black theme if dark theme is enabled + Theme + Variant Backup and restore Backup or restore module list and scope lists. Backup @@ -150,12 +140,12 @@ Restoring… Restore finished! Failed to restore - Backup… - Backup - Restore - %s has been updated - Repository - Module repository (Alpha) + Network + DNS over HTTPS + Workaround DNS poisoning in some nations + Theme color + + Readme Releases Info @@ -165,18 +155,13 @@ Assets Open in browser Refresh - Network - DNS over HTTPS - Workaround DNS poisoning in some nations - Join our %s channel]]> Show older versions No more release - Theme color - Failed to clear the log - View in Repo - Force stop - Force stop? - If you force stop an app, it may misbehave. - Reboot is required for this change to apply - Reboot + + + https://github.com/LSPosed/LSPosed/ + + This application has been destroyed, please make sure you download it from the official source. + Version of LSPosed Manager and LSPosed Core are not consistent. Please re-install the corresponding version. + LSPosed is not currently installed or active. diff --git a/app/src/main/res/xml/prefs.xml b/app/src/main/res/xml/prefs.xml index ce9e9579..752570be 100644 --- a/app/src/main/res/xml/prefs.xml +++ b/app/src/main/res/xml/prefs.xml @@ -53,6 +53,7 @@