mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 17:48:25 +01:00
NEW: add common substitution __PREVIOUS_MONTH_TEXT__ (#34121)
This commit is contained in:
@@ -9933,6 +9933,9 @@ function getCommonSubstitutionArray($outputlangs, $onlykey = 0, $exclude = null,
|
||||
'__YEAR__' => (string) $tmp['year'],
|
||||
'__PREVIOUS_DAY__' => (string) $tmp2['day'],
|
||||
'__PREVIOUS_MONTH__' => (string) $tmp3['month'],
|
||||
'__PREVIOUS_MONTH_TEXT__' => $outputlangs->trans('Month'.sprintf("%02d", $tmp3['month'])),
|
||||
'__PREVIOUS_MONTH_TEXT_SHORT__' => $outputlangs->trans('MonthShort'.sprintf("%02d", $tmp3['month'])),
|
||||
'__PREVIOUS_MONTH_TEXT_MIN__' => $outputlangs->trans('MonthVeryShort'.sprintf("%02d", $tmp3['month'])),
|
||||
'__PREVIOUS_YEAR__' => (string) ($tmp['year'] - 1),
|
||||
'__NEXT_DAY__' => (string) $tmp4['day'],
|
||||
'__NEXT_MONTH__' => (string) $tmp5['month'],
|
||||
|
||||
Reference in New Issue
Block a user