Rename string resources
This commit is contained in:
parent
e4f5ec4625
commit
808a63813c
@ -3,7 +3,6 @@ package de.mm20.launcher2.ui.settings.colorscheme
|
||||
import androidx.compose.animation.AnimatedVisibility
|
||||
import androidx.compose.animation.expandVertically
|
||||
import androidx.compose.animation.shrinkVertically
|
||||
import androidx.compose.foundation.clickable
|
||||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.fillMaxWidth
|
||||
import androidx.compose.foundation.layout.padding
|
||||
@ -70,7 +69,7 @@ fun CorePaletteColorPreference(
|
||||
) {
|
||||
SwitchPreference(
|
||||
icon = Icons.Rounded.SettingsSuggest,
|
||||
title = stringResource(R.string.custom_color_scheme_system_default),
|
||||
title = stringResource(R.string.theme_color_scheme_system_default),
|
||||
value = currentValue == null,
|
||||
onValueChanged = {
|
||||
currentValue = if (it) null else defaultValue
|
||||
@ -126,7 +125,7 @@ fun CorePaletteColorPreference(
|
||||
.padding(ButtonDefaults.IconSpacing)
|
||||
.size(ButtonDefaults.IconSize)
|
||||
)
|
||||
Text(stringResource(R.string.custom_color_scheme_autogenerate))
|
||||
Text(stringResource(R.string.theme_color_scheme_autogenerate))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -3,7 +3,6 @@ package de.mm20.launcher2.ui.settings.colorscheme
|
||||
import androidx.compose.animation.AnimatedContent
|
||||
import androidx.compose.foundation.Canvas
|
||||
import androidx.compose.foundation.background
|
||||
import androidx.compose.foundation.clickable
|
||||
import androidx.compose.foundation.layout.Box
|
||||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.Row
|
||||
@ -121,7 +120,7 @@ fun ThemeColorPreference(
|
||||
},
|
||||
shape = SegmentedButtonDefaults.shape(position = 0, count = 2)
|
||||
) {
|
||||
Text(stringResource(R.string.custom_color_scheme_palette_color))
|
||||
Text(stringResource(R.string.theme_color_scheme_palette_color))
|
||||
}
|
||||
SegmentedButton(
|
||||
selected = actualValue is StaticColor,
|
||||
@ -142,7 +141,7 @@ fun ThemeColorPreference(
|
||||
},
|
||||
shape = SegmentedButtonDefaults.shape(position = 1, count = 2)
|
||||
) {
|
||||
Text(stringResource(R.string.custom_color_scheme_custom_color))
|
||||
Text(stringResource(R.string.theme_color_scheme_custom_color))
|
||||
}
|
||||
}
|
||||
AnimatedContent(
|
||||
|
||||
@ -831,9 +831,9 @@
|
||||
<string name="note_widget_file_write_error_description">The note could not be written to the linked file. Possibly, it has been moved or deleted. A copy has been saved to the launcher\'s internal storage.</string>
|
||||
<string name="confirmation_delete_color_scheme">Do you really want to delete the color scheme %1$s?</string>
|
||||
<string name="new_color_scheme_name">New color scheme</string>
|
||||
<string name="custom_color_scheme_system_default">Use system default</string>
|
||||
<string name="custom_color_scheme_autogenerate">From primary color</string>
|
||||
<string name="custom_color_scheme_palette_color">Palette</string>
|
||||
<string name="custom_color_scheme_custom_color">Custom</string>
|
||||
<string name="theme_color_scheme_system_default">Use system default</string>
|
||||
<string name="theme_color_scheme_autogenerate">From primary color</string>
|
||||
<string name="theme_color_scheme_palette_color">Palette</string>
|
||||
<string name="theme_color_scheme_custom_color">Custom</string>
|
||||
<string name="preference_restore_default">Restore default</string>
|
||||
</resources>
|
||||
Loading…
x
Reference in New Issue
Block a user