Make string localizable

This commit is contained in:
MM20 2024-02-04 01:26:35 +01:00
parent 7fedb154bf
commit ec5908f9de
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389
2 changed files with 2 additions and 1 deletions

View File

@ -187,7 +187,7 @@ fun PluginSettingsScreen(pluginId: String) {
.padding(4.dp) .padding(4.dp)
) { ) {
Text( Text(
"Official", stringResource(R.string.plugin_badge_official),
modifier = Modifier.padding(horizontal = 4.dp), modifier = Modifier.padding(horizontal = 4.dp),
style = MaterialTheme.typography.labelMedium, style = MaterialTheme.typography.labelMedium,
color = MaterialTheme.colorScheme.onSecondary, color = MaterialTheme.colorScheme.onSecondary,

View File

@ -857,6 +857,7 @@
<string name="plugin_action_setup">Set up</string> <string name="plugin_action_setup">Set up</string>
<string name="plugin_type_filesearch">File search</string> <string name="plugin_type_filesearch">File search</string>
<string name="plugin_type_weather">Weather provider</string> <string name="plugin_type_weather">Weather provider</string>
<string name="plugin_badge_official">Official</string>
<string name="plugin_weather_provider_enable">Set as weather provider</string> <string name="plugin_weather_provider_enable">Set as weather provider</string>
<string name="plugin_weather_provider_enabled">Currently set as weather provider</string> <string name="plugin_weather_provider_enabled">Currently set as weather provider</string>
</resources> </resources>