From 2c0147908a6bac25a59ff8f14c7562a1593ca57d Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 5 Feb 2024 02:55:54 +0100 Subject: [PATCH] More locale changes --- .../main/java/eu/steffo/twom/main/components/CreateRoomFAB.kt | 2 +- .../eu/steffo/twom/viewroom/components/RSVPUpdateButton.kt | 2 +- .../java/eu/steffo/twom/viewroom/components/RoomIconButton.kt | 4 ++-- app/src/main/res/values-it/strings.xml | 4 +++- app/src/main/res/values/strings.xml | 4 +++- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/eu/steffo/twom/main/components/CreateRoomFAB.kt b/app/src/main/java/eu/steffo/twom/main/components/CreateRoomFAB.kt index d5d0dd9..5762516 100644 --- a/app/src/main/java/eu/steffo/twom/main/components/CreateRoomFAB.kt +++ b/app/src/main/java/eu/steffo/twom/main/components/CreateRoomFAB.kt @@ -139,7 +139,7 @@ fun CreateRoomFAB( ) }, text = { - Text(stringResource(R.string.createroom_label)) + Text(stringResource(R.string.configure_submit_label_create)) } ) } \ No newline at end of file diff --git a/app/src/main/java/eu/steffo/twom/viewroom/components/RSVPUpdateButton.kt b/app/src/main/java/eu/steffo/twom/viewroom/components/RSVPUpdateButton.kt index 203b1e7..ee1218e 100644 --- a/app/src/main/java/eu/steffo/twom/viewroom/components/RSVPUpdateButton.kt +++ b/app/src/main/java/eu/steffo/twom/viewroom/components/RSVPUpdateButton.kt @@ -30,7 +30,7 @@ fun RSVPUpdateButton( ) ) { Text( - text = stringResource(R.string.room_update_label) + text = stringResource(R.string.room_rsvp_update_label) ) } } diff --git a/app/src/main/java/eu/steffo/twom/viewroom/components/RoomIconButton.kt b/app/src/main/java/eu/steffo/twom/viewroom/components/RoomIconButton.kt index 969b531..e8ac702 100644 --- a/app/src/main/java/eu/steffo/twom/viewroom/components/RoomIconButton.kt +++ b/app/src/main/java/eu/steffo/twom/viewroom/components/RoomIconButton.kt @@ -130,7 +130,7 @@ fun RoomIconButton( ) { AvatarURL( url = roomSummary.avatarUrl, - contentDescription = LocalContext.current.getString(R.string.room_options_label), + contentDescription = LocalContext.current.getString(R.string.roommenu_label), ) } DropdownMenu( @@ -140,7 +140,7 @@ fun RoomIconButton( if (canEdit) { DropdownMenuItem( text = { - Text(stringResource(R.string.room_options_edit_text)) + Text(stringResource(R.string.roommenu_edit_label)) }, onClick = { expanded = false diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 58a1296..1fcd71e 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -64,7 +64,7 @@ Qualcosa è andato storto durante il login: %1$s Qualcosa è andato storto durante l\'abbandono della festa: %1$s Chiudi - Modifica festa + Modifica festa È stato impossibile recuperare la lista dei partecipanti alla festa. Lascia un commento... Ha dato una risposta non supportata @@ -82,4 +82,6 @@ Qualcosa è andato storto durante l\'apertura dell\'invito: %1$s [nessun testo] Aggiorna + Aggiorna + Menu stanza \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index e90289c..57e50ec 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -67,7 +67,7 @@ Something went wrong while logging in: %1$s Something went wrong while leaving the party: %1$s Close - Edit party + Edit party Could not retrieve the list of party partecipants. Leave a comment... Has given an unsupported response @@ -86,4 +86,6 @@ \? [unlabeled] Update + Update + Room menu \ No newline at end of file