Skip to content

Commit

Permalink
fix attendance calendar locale
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaomlove committed Apr 15, 2022
1 parent 6dc5086 commit bacfdd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lang/en/lang_attendance.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
(
'title' => "Attendance",
'success' => "Success",
'attend_info' => "You have already attended <b>%u</b> days. C <b>%u</b> day,this time you will get <b>%u</b> bonus.",
'attend_info' => "You have already attended <b>%u</b> days, Continuous <b>%u</b> days, this time you will get <b>%u</b> 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.",
Expand Down
2 changes: 1 addition & 1 deletion public/attendance.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit bacfdd0

Please sign in to comment.