Skip to content

Commit

Permalink
feat: rename translations
Browse files Browse the repository at this point in the history
  • Loading branch information
wielopolski committed Jan 15, 2025
1 parent c0d71e2 commit d28ae60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions apps/web/app/api/mutations/admin/changeLessonDisplayOrder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function useChangeLessonDisplayOrder() {
onSuccess: () => {
toast({
description: t(
"adminCourseView.curriculum.lessson.toast.lessonDisplayOrderUpdatedSuccessfully",
"adminCourseView.curriculum.lesson.toast.lessonDisplayOrderUpdatedSuccessfully",
),
});
},
Expand All @@ -32,12 +32,12 @@ export function useChangeLessonDisplayOrder() {
return toast({
description:
error.response?.data.message ||
t("adminCourseView.curriculum.lessson.toast.errorWhileUpdating"),
t("adminCourseView.curriculum.lesson.toast.errorWhileUpdating"),
variant: "destructive",
});
}
toast({
description: error.message || t("adminCourseView.curriculum.lessson.toast.unexpectedError"),
description: error.message || t("adminCourseView.curriculum.lesson.toast.unexpectedError"),
variant: "destructive",
});
},
Expand Down
2 changes: 1 addition & 1 deletion apps/web/app/locales/pl/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
"header": "Witaj ponownie,",
"other": {
"courseCompletionPercentage": "Procent ukończenia kursu",
"conversionsAfterFreemiumLessson": "Konwersje po lekcji freemium",
"conversionsAfterFreemiumLesson": "Konwersje po lekcji freemium",
"avgQuizScore": "Średni wynik quizu",
"purchasedCourse": "Kupiony kurs",
"remainedOnFreemium": "Pozostało na freemium",
Expand Down

0 comments on commit d28ae60

Please sign in to comment.