clean strings

This commit is contained in:
vvb2060
2026-07-28 20:10:20 -07:00
committed by John Wu
parent 7082518c53
commit 71d29f36c6
5 changed files with 13 additions and 29 deletions
@@ -115,7 +115,6 @@ fun InstallBottomSheet(
SettingsArrow(
title = stringResource(CoreR.string.select_patch_file),
summary = stringResource(CoreR.string.select_patch_file_summary),
onClick = {
show.value = false
installVm.selectMethod(InstallViewModel.Method.PATCH)
@@ -133,7 +132,6 @@ fun InstallBottomSheet(
if (installVm.isRooted) {
SettingsArrow(
title = stringResource(CoreR.string.direct_install),
summary = stringResource(CoreR.string.direct_install_summary),
onClick = {
show.value = false
installVm.selectMethod(InstallViewModel.Method.DIRECT)
@@ -145,7 +143,6 @@ fun InstallBottomSheet(
if (!installVm.noSecondSlot) {
SettingsArrow(
title = stringResource(CoreR.string.install_inactive_slot),
summary = stringResource(CoreR.string.install_inactive_slot_summary),
onClick = {
show.value = false
installVm.selectMethod(InstallViewModel.Method.INACTIVE_SLOT)
@@ -84,7 +84,7 @@ fun LogScreen(viewModel: LogViewModel) {
IconButton(onClick = { viewModel.saveMagiskLog() }) {
Icon(
imageVector = Icons.Default.Download,
contentDescription = stringResource(CoreR.string.save_log),
contentDescription = stringResource(CoreR.string.menuSaveLog),
)
}
}
@@ -97,7 +97,7 @@ fun LogScreen(viewModel: LogViewModel) {
) {
Icon(
imageVector = Icons.Default.Delete,
contentDescription = stringResource(CoreR.string.clear_log),
contentDescription = stringResource(CoreR.string.menuClearLog),
)
}
},
@@ -65,7 +65,7 @@ fun SuperuserDetailScreen(
Scaffold(
topBar = {
TopAppBar(
title = { Text(stringResource(CoreR.string.superuser_setting)) },
title = { Text(stringResource(CoreR.string.settings)) },
navigationIcon = {
IconButton(
modifier = Modifier.padding(start = 16.dp),
@@ -125,7 +125,7 @@ fun SuRequestScreen(viewModel: SuRequestViewModel) {
Spacer(Modifier.height(16.dp))
Text(
text = stringResource(CoreR.string.su_request_title),
text = stringResource(CoreR.string.su_warning),
style = MaterialTheme.typography.bodyMedium,
color = MaterialTheme.colorScheme.primary,
fontWeight = FontWeight.Bold,
+9 -22
View File
@@ -17,24 +17,17 @@
<string name="update">Update</string>
<string name="not_available">N/A</string>
<string name="hide">Hide</string>
<string name="restore">Restore</string>
<string name="home_package">Package</string>
<string name="home_app_title">App</string>
<string name="home_core_title">Core</string>
<string name="reinstall">Reinstall</string>
<string name="home_notice_content">Download Magisk ONLY from the official GitHub page. Files from unknown sources can be malicious!</string>
<string name="home_support_title">Support Us</string>
<string name="home_follow_title">Follow Us</string>
<string name="home_item_source">Source</string>
<string name="home_support_content">Magisk is, and always will be, free, and open source. However, you can show us that you care by making a donation.</string>
<string name="donate">Donate</string>
<string name="documents">Documents</string>
<string name="report_bugs">Report Bugs</string>
<string name="home_status_title">Status</string>
<string name="home_installed_version">Installed</string>
<string name="home_latest_version">Latest</string>
<string name="invalid_update_channel">Invalid update channel</string>
<string name="uninstall">Uninstall</string>
<string name="uninstall_magisk_title">Uninstall Magisk</string>
<string name="uninstall_magisk_msg">All modules will be disabled/removed!\nRoot will be removed!\nAny internal storage unencrypted through the use of Magisk will be re-encrypted!</string>
@@ -48,10 +41,7 @@
<string name="install_start">Let\'s go</string>
<string name="manager_download_install">Press to download and install</string>
<string name="direct_install">Direct install (Recommended)</string>
<string name="direct_install_summary">Directly install Magisk to the boot partition</string>
<string name="install_inactive_slot">Install to inactive slot (After OTA)</string>
<string name="install_inactive_slot_summary">Install to the inactive slot after an OTA update</string>
<string name="select_patch_file_summary">Patch a raw image, ODIN tar, or payload.bin file</string>
<string name="install_inactive_slot_msg">Your device will be FORCED to boot to the current inactive slot after a reboot!\nOnly use this option after OTA is done.\nContinue?</string>
<string name="setup_title">Additional setup</string>
<string name="select_patch_file">Select and patch a file</string>
@@ -63,7 +53,7 @@
<string name="flash_screen_title">Installation</string>
<!--Superuser-->
<string name="su_request_title">This app is requesting root permission. Grants full access to your device. Deny if you\'re not sure!</string>
<string name="su_request_title">Superuser request</string>
<string name="touch_filtered_warning">Because an app is obscuring a Superuser request, Magisk can\'t verify your response.</string>
<string name="deny">Deny</string>
<string name="prompt">Prompt</string>
@@ -89,9 +79,7 @@
<string name="toast">Toast</string>
<string name="notification">Notification</string>
<string name="none">None</string>
<string name="su_notification_channel">Superuser Notifications</string>
<string name="su_notification_granted_title">Superuser Granted</string>
<string name="su_notification_denied_title">Superuser Denied</string>
<string name="back">Back</string>
<string name="superuser_toggle_notification">Notifications</string>
<string name="superuser_toggle_revoke">Revoke</string>
<string name="superuser_policy_none">No apps have asked for Superuser permission yet.</string>
@@ -100,14 +88,8 @@
<string name="log_data_none">You\'re log-free. Try using your root apps more.</string>
<string name="log_data_magisk_none">Magisk logs are empty, that\'s weird.</string>
<string name="menuSaveLog">Save log</string>
<string name="menuClearLog">Clear log now</string>
<string name="menuClearLog">Clear log</string>
<string name="logs_cleared">Log successfully cleared</string>
<string name="save_log">Save log</string>
<string name="clear_log">Clear log</string>
<string name="back">Back</string>
<string name="superuser_setting">Superuser Setting</string>
<string name="enabled">Enabled</string>
<string name="disabled">Disabled</string>
<string name="pid">PID: %1$d</string>
<string name="target_uid">Target UID: %1$d</string>
<string name="target_pid">Target PID: %s</string>
@@ -118,7 +100,7 @@
<!--MagiskHide-->
<string name="show_system_app">Show system apps</string>
<string name="show_os_app">Show OS apps</string>
<string name="show_os_app">Show core apps</string>
<string name="hide_filter_hint">Filter by name</string>
<string name="sort_by_name">Sort by name</string>
<string name="sort_by_package_name">Sort by package name</string>
@@ -237,15 +219,20 @@
<string name="update_channel">Magisk updates</string>
<string name="progress_channel">Progress notifications</string>
<string name="updated_channel">Update complete</string>
<string name="su_notification_channel">Superuser Notifications</string>
<string name="download_complete">Download complete</string>
<string name="download_file_error">Error downloading file</string>
<string name="magisk_update_title">Magisk update available!</string>
<string name="updated_title">Magisk updated</string>
<string name="updated_text">Tap to open app</string>
<string name="su_notification_granted_title">Superuser Granted</string>
<string name="su_notification_denied_title">Superuser Denied</string>
<!--Toasts, Dialogs-->
<string name="yes">Yes</string>
<string name="no">No</string>
<string name="enabled">Enabled</string>
<string name="disabled">Disabled</string>
<string name="repo_install_title">Install %1$s %2$s(%3$d)</string>
<string name="download">Download</string>
<string name="reboot">Reboot</string>