if( $expiry != $infinity ) {
$expiry_description = wfMsg(
- 'protect-expiring',
- $wgLang->timeanddate( $expiry ),
- $wgLang->date( $expiry ),
- $wgLang->time( $expiry )
+ 'protect-expiring-local',
+ $wgLang->timeanddate( $expiry, true ),
+ $wgLang->date( $expiry, true ),
+ $wgLang->time( $expiry, true )
);
$description_items[] = htmlspecialchars($expiry_description);
$expiry = strlen( $row->pt_expiry ) ? $wgLang->formatExpiry( $row->pt_expiry, TS_MW ) : $infinity;
if( $expiry != $infinity ) {
- $expiry_description = wfMsg( 'protect-expiring', $wgLang->timeanddate( $expiry ) , $wgLang->date( $expiry ) , $wgLang->time( $expiry ) );
+ $expiry_description = wfMsg(
+ 'protect-expiring-local',
+ $wgLang->timeanddate( $expiry, true ),
+ $wgLang->date( $expiry, true ),
+ $wgLang->time( $expiry, true )
+ );
$description_items[] = htmlspecialchars($expiry_description);
}
'protect-level-sysop' => 'Administrators only',
'protect-summary-cascade' => 'cascading',
'protect-expiring' => 'expires $1 (UTC)',
+'protect-expiring-local' => 'expires $1',
'protect-expiry-indefinite' => 'indefinite',
'protect-cascade' => 'Protect pages included in this page (cascading protection)',
'protect-cantedit' => 'You cannot change the protection levels of this page, because you do not have permission to edit it.',
'protect-level-sysop' => 'מפעילי מערכת בלבד',
'protect-summary-cascade' => 'מדורג',
'protect-expiring' => 'פוקעת $1 (UTC)',
-'protect-expiry-indefinite' => 'בלתי מוגבל בזמן',
+'protect-expiring-local' => 'פוקעת $1',
+'protect-expiry-indefinite' => 'בלתי מוגבלת בזמן',
'protect-cascade' => 'הגנה על כל הדפים המוכללים בדף זה (הגנה מדורגת)',
'protect-cantedit' => 'אינכם יכולים לשנות את רמת ההגנה על דף זה, כיוון שאין לכם הרשאה לערוך אותו.',
'protect-othertime' => 'זמן אחר:',
'protect-level-sysop',
'protect-summary-cascade',
'protect-expiring',
+ 'protect-expiring-local',
'protect-expiry-indefinite',
'protect-cascade',
'protect-cantedit',