diff --git a/lang/en/lang_attendance.php b/lang/en/lang_attendance.php index c3d773a1d..c5faadde7 100644 --- a/lang/en/lang_attendance.php +++ b/lang/en/lang_attendance.php @@ -4,7 +4,7 @@ ( 'title' => "Attendance", 'success' => "Success", - 'attend_info' => "You have already attended %u days. C %u day,this time you will get %u bonus.", + 'attend_info' => "You have already attended %u days, Continuous %u days, this time you will get %u bonus.", 'initial' => "First attendance get %u bonus.", 'steps' => "Every continuous attendance get %u bonus,unless reach maximum %u", 'continuous' => "Attend %u day continuous, will get %u bouns additional.", diff --git a/public/attendance.php b/public/attendance.php index d70861569..fd853d7c6 100644 --- a/public/attendance.php +++ b/public/attendance.php @@ -80,7 +80,7 @@ var calendarEl = document.getElementById('calendar'); var calendar = new FullCalendar.Calendar(calendarEl, { initialView: 'dayGridMonth', - locale: 'zh-cn', + locale: '$localeJs', events: events, validRange: validRange, eventClick: function(info) {