Merge branch 'feature/change_show_poll_history_button_text' into 'develop'

Change show poll history button text (patched from BwM)

See merge request bwmessenger/bundesmessenger/bundesmessenger-ios!182
This commit is contained in:
Frank Rotermund
2023-08-21 14:03:09 +00:00
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -544,7 +544,7 @@
"poll_edit_form_poll_type_closed" = "Versteckte Umfrage";
"poll_edit_form_poll_type_open" = "Offene Umfrage";
"poll_edit_form_participant_toggle" = "Anzeigen, wer für welche Option gestimmt hat.";
"poll_timeline_show_participants_button" = "Stimmen anzeigen";
"poll_timeline_show_participants_button" = "Stimmen ansehen";
"poll_participant_details_show_more" = "Alle ansehen (%lu weitere)";
"poll_participant_details_title" = "Umfragedetails";
@@ -61,6 +61,7 @@ struct PollHistoryDetail: View {
.font(theme.fonts.caption1)
.padding([.top])
.accessibilityIdentifier("PollHistoryDetail.date")
if BWIBuildSettings.shared.bwiPollParticipantsInHistory {
AnyView(contentPoll)
} else {
@@ -71,7 +72,7 @@ struct PollHistoryDetail: View {
.navigationBarItems(leading: backButton, trailing: doneButton)
}
viewInTimeline
}
}
@@ -104,6 +105,7 @@ struct PollHistoryDetail: View {
viewModel.send(viewAction: .viewInTimeline)
} label: {
Text(VectorL10n.pollHistoryDetailViewInTimeline)
.bold()
}
.accentColor(theme.colors.accent)
.accessibilityIdentifier("PollHistoryDetail.viewInTimeLineButton")