MESSENGER-3861 better url management && use our poll german texts

This commit is contained in:
Frank Rotermund
2022-11-21 13:59:55 +01:00
parent f37c28021d
commit 226feb8cf1
13 changed files with 50 additions and 17 deletions
@@ -97,7 +97,7 @@ struct PollEditForm: View {
})
}
ToolbarItem(placement: .principal) {
Text(VectorL10n.pollEditFormCreatePoll)
Text(BWIL10n.pollEditFormCreatePoll)
.font(.headline)
.foregroundColor(theme.colors.primaryContent)
}
@@ -23,7 +23,7 @@ struct PollEditFormTypePicker: View {
var body: some View {
VStack(alignment: .leading, spacing: 16.0) {
Text(VectorL10n.pollEditFormPollType)
Text(BWIL10n.pollEditFormPollType)
.font(theme.fonts.title3SB)
.foregroundColor(theme.colors.primaryContent)
PollEditFormTypeButton(type: .disclosed, selectedType: $selectedType)
@@ -62,7 +62,7 @@ private struct PollEditFormTypeButton: View {
private var title: String {
switch type {
case .disclosed:
return VectorL10n.pollEditFormPollTypeOpen
return BWIL10n.pollEditFormPollTypeOpen
case .undisclosed:
return BWIL10n.pollEditFormPollTypeClosed
}