refactor: Localize "Export" string and update "Standard" to "Default"

Localized the "Export" string and updated the English translation of "standard_list_name".
This commit is contained in:
2025-10-13 19:45:39 +02:00
parent 2b38853ad2
commit 5bedc0f91d
4 changed files with 4 additions and 4 deletions

View File

@@ -286,7 +286,7 @@ fun AppShell(
onDismissRequest = { showMenu = false }
) {
DropdownMenuItem(
text = { Text("Exportieren") },
text = { Text(stringResource(R.string.export)) },
onClick = {
showMenu = false
shoppingListWithItems?.let {

View File

@@ -34,10 +34,8 @@ import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.animation.core.animateDpAsState
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.ui.graphics.graphicsLayer
import androidx.compose.ui.draw.shadow
import androidx.compose.ui.input.pointer.pointerInput
import androidx.compose.foundation.gestures.detectTapGestures
import androidx.compose.ui.res.stringResource

View File

@@ -63,6 +63,7 @@
<string name="search">Suche</string>
<string name="reorder">Neu anordnen</string>
<string name="standard_list_name">Standard</string>
<string name="export">Exportieren</string>
<string-array name="standard_list_items">
<item>Brötchen</item>
<item>Red Bull</item>

View File

@@ -62,7 +62,8 @@
<string name="load_standard_list">Load standard list</string>
<string name="search">Search</string>
<string name="reorder">Reorder</string>
<string name="standard_list_name">Standard</string>
<string name="standard_list_name">Default</string>
<string name="export">Export</string>
<string-array name="standard_list_items">
<item>Bread rolls</item>
<item>Red Bull</item>