Last modified: 2011-01-25 01:14:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T16452, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14452 - Add translation for "UTC" in signatures for Arabic Wikipedia
Add translation for "UTC" in signatures for Arabic Wikipedia
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Ahmad Sherif
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-06 21:44 UTC by Mohamed Magdy
Modified: 2011-01-25 01:14 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
a patch for the problem (502 bytes, patch)
2008-06-22 21:29 UTC, Ahmad Sherif
Details
another patch for global customization (471 bytes, patch)
2008-06-23 20:16 UTC, Ahmad Sherif
Details

Description Mohamed Magdy 2008-06-06 21:44:29 UTC
Hello

Please add the translation for "UTC" in signatures for Arabic Wikipedia. 

The translation: "ت‌ع‌م". 

Thanks
user:alnokta
Comment 1 Brion Vibber 2008-06-20 18:55:33 UTC
This comes from the system, not from inside MediaWiki.
Comment 2 Ahmad Sherif 2008-06-22 21:29:22 UTC
Created attachment 5013 [details]
a patch for the problem

This patch can solve the problem. Simply editing [[Mediawiki:Timezone]] changes 'UTC' into whatever edited.
Comment 3 Mohamed Magdy 2008-06-23 14:57:57 UTC
The patch is working. I will be committing it if there are no objections.
Comment 4 Ahmad Sherif 2008-06-23 20:16:26 UTC
Created attachment 5014 [details]
another patch for global customization

This is another patch for global customization of Timezone.
Comment 5 Ahmad Sherif 2008-06-23 20:26:47 UTC
Comment on attachment 5014 [details]
another patch for global customization

>Index: Parser.php
>===================================================================
>--- Parser.php	(revision 36581)
>+++ Parser.php	(working copy)
>@@ -3706,6 +3706,11 @@
> 			$tz = date( 'T', $unixts );  # might vary on DST changeover!
> 			putenv( 'TZ='.$oldtz );
> 		}
>+		
>+		$ctz = wfMsgForContent('timezone');
>+		if (!wfEmptyMsg('timezone', $ctz)) {
>+			$tz = $ctz;
>+		}				
> 		$d = $wgContLang->timeanddate( $ts, false, false ) . " ($tz)";
> 
> 		# Variable replacement
Comment 6 Brion Vibber 2008-06-30 20:24:21 UTC
The attached patch was applied in r36587; r36633 replaced this method with a slightly different one, where the hardcoded "UTC" was replaced with a "timezone-utc" message which can be customized per language.

In cases where $wgLocaltimezone is set, the system's timezone string will still be used. (This sometimes causes problems when the system returns non-ASCII code not in UTF-8, as on Windows in Japanese locale.)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links