Skip to content

Commit

Permalink
made sure to use a I18nT instead of manual concatination for locali…
Browse files Browse the repository at this point in the history
…sing the success message
  • Loading branch information
CommanderStorm committed Jun 24, 2024
1 parent 9300b91 commit 33ad095
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions webclient/components/FeedbackModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,11 @@ const feedback = useFeedback();
</template>
<template #success="{ successUrl }">
<p>{{ t("success.thank_you") }}</p>
<p>
{{ t("success.response_at") }}
<Btn variant="linkButton" :href="successUrl">{{ t("success.this_issue") }}</Btn>
</p>
<I18nT tag="p" keypath="success.response_at">
<template #this_issue>
<Btn variant="link" :href="successUrl">{{ t("success.this_issue") }}</Btn>
</template>
</I18nT>
</template>
</TokenBasedModal>
</template>
Expand All @@ -83,7 +84,7 @@ de:
message: Nachricht
subject: Betreff
success:
response_at: Antwort auf dein Feedback findest du auf
response_at: Antwort auf dein Feedback findest du auf {this_issue}
thank_you: Vielen Dank für dein Feedback! Wir werden es schnellstmöglich bearbeiten.
this_issue: diesem GitHub Issue
type:
Expand All @@ -105,7 +106,7 @@ en:
message: Message
subject: Subject
success:
response_at: You can see our response at
response_at: You can see our response at {this_issue}
thank_you: Thank you for giving your feedback. We will work on this as soon as possible.
this_issue: this GitHub issue
type:
Expand Down

0 comments on commit 33ad095

Please sign in to comment.