This commit is contained in:
Hillel Coren 2016-03-22 16:37:14 +02:00
parent beede39e85
commit 5c1e9900d3
2 changed files with 16 additions and 3 deletions

View File

@ -620,8 +620,8 @@ class Utils
private static function getMonth($offset) private static function getMonth($offset)
{ {
$months = [ "January", "February", "March", "April", "May", "June", $months = [ "january", "february", "march", "april", "may", "june",
"July", "August", "September", "October", "November", "December", ]; "july", "august", "september", "october", "november", "december", ];
$month = intval(date('n')) - 1; $month = intval(date('n')) - 1;
@ -632,7 +632,7 @@ class Utils
$month += 12; $month += 12;
} }
return $months[$month]; return trans('texts.' . $months[$month]);
} }
private static function getQuarter($offset) private static function getQuarter($offset)

View File

@ -1084,6 +1084,19 @@ $LANG = array(
'edit_all_help' => 'Allow user to modify records they didn\'t create', 'edit_all_help' => 'Allow user to modify records they didn\'t create',
'view_payment' => 'View Payment', 'view_payment' => 'View Payment',
'january' => 'January',
'february' => 'February',
'march' => 'March',
'april' => 'April',
'may' => 'May',
'june' => 'June',
'july' => 'July',
'august' => 'August',
'september' => 'September',
'october' => 'October',
'november' => 'November',
'december' => 'December',
); );
return $LANG; return $LANG;