Change show poll history button text (patched from BwM)

This commit is contained in:
Arnfried Griesert
2023-08-21 14:03:09 +00:00
committed by Frank Rotermund
parent 7cbc48f553
commit d350335c7b
2 changed files with 4 additions and 2 deletions

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";

View File

@@ -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")