Skip to content

Commit

Permalink
fix: update translation
Browse files Browse the repository at this point in the history
  • Loading branch information
milad-emami committed Oct 8, 2023
1 parent 4eab8dc commit 8ac08f9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,12 @@ const CourseDateInfo = ({ courseMetaData, intl }) => {
<span className="mr-1">
{courseEnd < currentDate ? (
<FormattedMessage
id="courseInfo.registrationStartingOn.text"
id="courseInfo.courseHasEnded.text"
defaultMessage="Course has ended on"
/>
) : (
<FormattedMessage
id="courseInfo.registrationStartingOn.text"
id="courseInfo.courseWillEnd.text"
defaultMessage="Course will end on"
/>
)}
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/messages/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,5 +199,7 @@
"courseInfo.registrationHasEnded.text": "انتهى التسجيل بتاريخ",
"courseInfo.registrationWillEnd.text": "سينتهي التسجيل في",
"courseInfo.courseHasStarted.text": "بدأت الدورة بتاريخ",
"courseInfo.courseWillStart.text": "ستبدأ الدورة يوم"
"courseInfo.courseWillStart.text": "ستبدأ الدورة يوم",
"courseInfo.courseHasEnded.text": "انتهت الدورة بتاريخ",
"courseInfo.courseWillEnd.text": "ستنتهي الدورة بتاريخ"
}
8 changes: 5 additions & 3 deletions src/i18n/messages/fa_IR.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"viewAllCourses.button": "مشاهده دوره‌ها",
"header.dropdown.subjects": "موضوع‌ها",
"header.nav.dashboard": "پیشخوان",
"header.nav.discover": "جستجو",
"header.nav.discover": "کاوش",
"header.nav.inProgress": "در حال پیشرفت",
"header.nav.overview": "نگاه‌کلی",
"header.search.placeholder": "مایل به دریافت چه آموزشی هستید؟",
Expand Down Expand Up @@ -77,7 +77,7 @@
"courses.text": "{courseCount, plural, one {دوره‌} other {دوره‌}}",
"learners.text": "{learnerCount, number} {learnerCount, plural, one {یادگیرنده} other {یادگیرنده}}",
"instructors.text": "مدرسان",
"breadcrumb.discover": "جستجو",
"breadcrumb.discover": "کاوش",
"breadcrumb.home": "خانه",
"courseInfo.tab.about.text": "درباره",
"courseInfo.tab.whatYouWillLearn.text": "آنچه یاد خواهید گرفت",
Expand Down Expand Up @@ -199,5 +199,7 @@
"courseInfo.registrationHasEnded.text": "پایان ثبت نام در تاریخ",
"courseInfo.courseHasStarted.text": "آغاز دوره در تاریخ",
"courseInfo.courseWillStart.text": "آغاز دوره در تاریخ",
"courseInfo.registrationWillEnd.text": "پایان ثبت نام در تاریخ"
"courseInfo.registrationWillEnd.text": "پایان ثبت نام در تاریخ",
"courseInfo.courseHasEnded.text": "پایان دوره در تاریخ",
"courseInfo.courseWillEnd.text": "پایان دوره در تاریخ"
}

0 comments on commit 8ac08f9

Please sign in to comment.