Finished rebranding core-only mode to safe mode

In compliance with #2131

Mentioned features are not contained within this commit
This commit is contained in:
Viktor De Pasquale 2019-12-06 15:00:55 +01:00
parent 2692234b8c
commit 37677f389c
3 changed files with 6 additions and 2 deletions

View File

@ -208,8 +208,8 @@ object Magisk : SettingsItem.Section() {
} }
object SafeMode : SettingsItem.Toggle() { object SafeMode : SettingsItem.Toggle() {
override val title = R.string.settings_core_only_title.asTransitive() override val title = R.string.settings_safe_mode_title.asTransitive()
override val description = R.string.settings_core_only_summary.asTransitive() override val description = R.string.settings_safe_mode_summary.asTransitive()
override var value by dataObservable(Config.coreOnly) { override var value by dataObservable(Config.coreOnly) {
if (Config.coreOnly == it) return@dataObservable if (Config.coreOnly == it) return@dataObservable
Config.coreOnly = it Config.coreOnly = it

View File

@ -139,7 +139,9 @@
<string name="settings_update_beta">Beta</string> <string name="settings_update_beta">Beta</string>
<string name="settings_update_custom">Custom Channel</string> <string name="settings_update_custom">Custom Channel</string>
<string name="settings_update_custom_msg">Insert a custom URL</string> <string name="settings_update_custom_msg">Insert a custom URL</string>
<!--deprecated-->
<string name="settings_core_only_title">Magisk Core Only Mode</string> <string name="settings_core_only_title">Magisk Core Only Mode</string>
<!--deprecated-->
<string name="settings_core_only_summary">Enable only core features. MagiskSU and MagiskHide will still be enabled, but no modules will be loaded</string> <string name="settings_core_only_summary">Enable only core features. MagiskSU and MagiskHide will still be enabled, but no modules will be loaded</string>
<string name="settings_magiskhide_summary">Hide Magisk from various forms of detection</string> <string name="settings_magiskhide_summary">Hide Magisk from various forms of detection</string>
<string name="settings_hosts_title">Systemless hosts</string> <string name="settings_hosts_title">Systemless hosts</string>

View File

@ -68,6 +68,8 @@
<string name="settings_dark_mode_light">Always Light</string> <string name="settings_dark_mode_light">Always Light</string>
<string name="settings_dark_mode_system">Follow System</string> <string name="settings_dark_mode_system">Follow System</string>
<string name="settings_dark_mode_dark">Always Dark</string> <string name="settings_dark_mode_dark">Always Dark</string>
<string name="settings_safe_mode_title">Safe Mode</string>
<string name="settings_safe_mode_summary">Disables everything but essential functionality within Magisk and Magisk Manager. Magisk Hide, as a separate subsystem, will stand unaffected.</string>
<string name="install_options_title">Options</string> <string name="install_options_title">Options</string>
<string name="install_method_title">Method</string> <string name="install_method_title">Method</string>