strings: Updates the string resources at the current execution location and modifies the associated text display

This commit is contained in:
ShirkNeko
2025-06-17 23:58:42 +08:00
parent f65f62360a
commit edf7685e9a
3 changed files with 3 additions and 1 deletions

View File

@@ -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
)

View File

@@ -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>

View File

@@ -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>