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:
@@ -286,7 +286,7 @@ fun AppShell(
|
||||
onDismissRequest = { showMenu = false }
|
||||
) {
|
||||
DropdownMenuItem(
|
||||
text = { Text("Exportieren") },
|
||||
text = { Text(stringResource(R.string.export)) },
|
||||
onClick = {
|
||||
showMenu = false
|
||||
shoppingListWithItems?.let {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user