Skip to content

Commit 4e2118c

Browse files
Frontend/requests: Avoid Weblate plural autodetection (#9279)
1 parent 78fa996 commit 4e2118c

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

app/web/features/messages/locales/en.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@
2727
"quality_okay": "Okay",
2828
"quality_low": "Low quality",
2929
"decline_reason_label": "Why did you decline?",
30-
"reason_didnt_read_profile": "Didn't read my profile",
31-
"reason_dont_want_to_host": "I don't want to host this person",
32-
"reason_not_available": "I'm not available to host then",
33-
"reason_other": "Other",
30+
"decline_reason_options": {
31+
"didnt_read_profile": "Didn't read my profile",
32+
"dont_want_to_host": "I don't want to host this person",
33+
"not_available": "I'm not available to host then",
34+
"other": "Other"
35+
},
3436
"reason_other_placeholder": "Please tell us more...",
3537
"privacy_notice": "Your responses are private and will not be shared with the user. We may use them in an aggregated and anonymous form—combined with many others—to improve feedback for all users.",
3638
"skip_button": "Skip",

app/web/features/messages/requests/HostRequestFeedbackCard.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,9 @@ export default function HostRequestFeedbackCard({
195195
onChange={() => toggleReason(reason)}
196196
/>
197197
}
198-
label={t(`private_feedback_card.reason_${reason}`)}
198+
label={t(
199+
`private_feedback_card.decline_reason_options.${reason}`,
200+
)}
199201
/>
200202
))}
201203
</FormGroup>

0 commit comments

Comments
 (0)