chore: move message reporting copy to localizations file (#2303)

This commit is contained in:
ggurdin 2025-04-01 13:05:21 -04:00 committed by GitHub
parent d935f6a501
commit ea36ba4a17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View file

@ -4848,5 +4848,6 @@
"exploreMore": "Explore more",
"wordFocusListeningMultipleChoice": "Which audio matches the word?",
"createActivity": "Create activity",
"startChat": "Start a chat"
"startChat": "Start a chat",
"translationProblem": "Translation problem"
}

View file

@ -31,7 +31,7 @@ void reportEvent(
final score = await showModalActionPopup<int>(
context: context,
title: L10n.of(context).reportMessage,
message: "Why do you want to report this message?",
message: L10n.of(context).whyDoYouWantToReportThis,
cancelLabel: L10n.of(context).cancel,
actions: [
AdaptiveModalAction(
@ -40,11 +40,11 @@ void reportEvent(
),
AdaptiveModalAction(
value: 2,
label: "Translation problem",
label: L10n.of(context).translationProblem,
),
AdaptiveModalAction(
value: 3,
label: "Other",
label: L10n.of(context).other,
),
],
);