manager: Add string resource

This commit is contained in:
weishu
2024-03-16 11:03:43 +08:00
parent ca8a88f0cc
commit 972d347a14
3 changed files with 3 additions and 1 deletions

View File

@@ -159,7 +159,7 @@ fun InstallScreen(navigator: DestinationsNavigator) {
}
}
}) {
Text("Next", fontSize = MaterialTheme.typography.bodyMedium.fontSize)
Text(stringResource(id = R.string.install_next), fontSize = MaterialTheme.typography.bodyMedium.fontSize)
}
}
}

View File

@@ -112,4 +112,5 @@
<string name="select_file">选择一个文件</string>
<string name="install_inactive_slot">安装到未使用的槽位OTA 后)</string>
<string name="install_inactive_slot_warning">将在重启后强制切换到另一个槽位!\n注意只能在 OTA 更新完成后的重启之前使用。\n确认</string>
<string name="install_next">下一步</string>
</resources>

View File

@@ -114,4 +114,5 @@
<string name="select_file">Select a File</string>
<string name="install_inactive_slot">Install to Inactive Slot (After OTA)</string>
<string name="install_inactive_slot_warning">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="install_next">Next</string>
</resources>