edit feedback

This commit is contained in:
cheykrym 2025-10-26 03:25:44 +03:00
parent 7a10ba5b33
commit f22bce0e74
2 changed files with 7 additions and 3 deletions

View File

@ -1823,6 +1823,7 @@
}, },
"Получить ответ от команды" : { "Получить ответ от команды" : {
"comment" : "feedback: contact toggle", "comment" : "feedback: contact toggle",
"extractionState" : "stale",
"localizations" : { "localizations" : {
"en" : { "en" : {
"stringUnit" : { "stringUnit" : {
@ -1832,6 +1833,9 @@
} }
} }
}, },
"Получить ответ от команды дополнительно по email" : {
"comment" : "feedback: contact toggle"
},
"Пользователь \"%1$@\" будет удалён из списка заблокированных." : { "Пользователь \"%1$@\" будет удалён из списка заблокированных." : {
"comment" : "Unblock confirmation message" "comment" : "Unblock confirmation message"
}, },

View File

@ -56,7 +56,7 @@ struct FeedbackView: View {
.padding(.horizontal, 20) .padding(.horizontal, 20)
} }
.background(Color(.systemGroupedBackground).ignoresSafeArea()) .background(Color(.systemGroupedBackground).ignoresSafeArea())
.navigationTitle(NSLocalizedString("Обратная связь (не работает)", comment: "feedback: navigation title")) .navigationTitle(NSLocalizedString("Обратная связь", comment: "feedback: navigation title"))
.navigationBarTitleDisplayMode(.inline) .navigationBarTitleDisplayMode(.inline)
.simultaneousGesture( .simultaneousGesture(
TapGesture().onEnded { TapGesture().onEnded {
@ -177,9 +177,9 @@ struct FeedbackView: View {
private var contactSection: some View { private var contactSection: some View {
VStack(alignment: .leading, spacing: 12) { VStack(alignment: .leading, spacing: 12) {
sectionTitle(NSLocalizedString("Нужно ли вам ответить?", comment: "feedback: contact title")) // sectionTitle(NSLocalizedString("Нужно ли вам ответить?", comment: "feedback: contact title"))
Toggle(NSLocalizedString("Получить ответ от команды", comment: "feedback: contact toggle"), isOn: $wantsResponse) Toggle(NSLocalizedString("Получить ответ от команды дополнительно по email", comment: "feedback: contact toggle"), isOn: $wantsResponse)
.toggleStyle(SwitchToggleStyle(tint: .accentColor)) .toggleStyle(SwitchToggleStyle(tint: .accentColor))
if wantsResponse { if wantsResponse {