diff --git a/src/lib/components/chat/Messages/RateComment.svelte b/src/lib/components/chat/Messages/RateComment.svelte index 7fd2426ab..5f689588c 100644 --- a/src/lib/components/chat/Messages/RateComment.svelte +++ b/src/lib/components/chat/Messages/RateComment.svelte @@ -2,7 +2,7 @@ import { toast } from 'svelte-sonner'; import { createEventDispatcher, onMount, getContext } from 'svelte'; - + const i18n = getContext('i18n'); const dispatch = createEventDispatcher(); @@ -15,22 +15,22 @@ function loadReasons() { LIKE_REASONS = [ - $i18n.t("Accurate information"), - $i18n.t("Followed instructions perfectly"), - $i18n.t("Showcased creativity"), - $i18n.t("Positive attitude"), - $i18n.t("Attention to detail"), - $i18n.t("Thorough explanation"), - $i18n.t("Other") + $i18n.t('Accurate information'), + $i18n.t('Followed instructions perfectly'), + $i18n.t('Showcased creativity'), + $i18n.t('Positive attitude'), + $i18n.t('Attention to detail'), + $i18n.t('Thorough explanation'), + $i18n.t('Other') ]; DISLIKE_REASONS = [ $i18n.t("Don't like the style"), - $i18n.t("Not factually correct"), + $i18n.t('Not factually correct'), $i18n.t("Didn't fully follow instructions"), $i18n.t("Refused when it shouldn't have"), - $i18n.t("Being lazy"), - $i18n.t("Other") + $i18n.t('Being lazy'), + $i18n.t('Other') ]; } @@ -107,7 +107,7 @@