strings: Updates the string resources at the current execution location and modifies the associated text display
This commit is contained in:
@@ -1178,7 +1178,7 @@ private fun BasicSettingsContent(
|
||||
color = MaterialTheme.colorScheme.onSurfaceVariant
|
||||
)
|
||||
Text(
|
||||
text = "当前执行位置: ${if (SuSFSManager.getExecuteInPostFsData(context)) "Post-FS-Data" else "Service"}",
|
||||
text = stringResource(R.string.susfs_current_execution_location, if (SuSFSManager.getExecuteInPostFsData(context)) "Post-FS-Data" else "Service"),
|
||||
style = MaterialTheme.typography.bodyMedium,
|
||||
color = MaterialTheme.colorScheme.onSurfaceVariant
|
||||
)
|
||||
|
||||
@@ -524,6 +524,7 @@
|
||||
<string name="show_more_module_info">显示更多模块信息</string>
|
||||
<string name="show_more_module_info_summary">显示额外的模块信息,如更新配置URL等</string>
|
||||
<string name="susfs_execution_location_label">执行位置</string>
|
||||
<string name="susfs_current_execution_location">当前执行位置:%s</string>
|
||||
<string name="susfs_execution_location_service">Service</string>
|
||||
<string name="susfs_execution_location_post_fs_data">Post-FS-Data</string>
|
||||
<string name="susfs_execution_location_service_description">在系统服务启动后执行</string>
|
||||
|
||||
@@ -526,6 +526,7 @@
|
||||
<string name="show_more_module_info">Show More Module Info</string>
|
||||
<string name="show_more_module_info_summary">Display additional module information like update JSON URLs</string>
|
||||
<string name="susfs_execution_location_label">Execution Location</string>
|
||||
<string name="susfs_current_execution_location">Current execution location: %s</string>
|
||||
<string name="susfs_execution_location_service">Service</string>
|
||||
<string name="susfs_execution_location_post_fs_data">Post-FS-Data</string>
|
||||
<string name="susfs_execution_location_service_description">Execute after system services start</string>
|
||||
|
||||
Reference in New Issue
Block a user