r50808 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50807‎ | r50808 | r50809 >
Date:03:29, 20 May 2009
Author:shinjiman
Status:ok
Tags:
Comment:
* (bug 18849) follow up r50778 and r50804, additional date format for Taiwan Chinese language and Korean language.
Modified paths:
  • /trunk/phase3/languages/messages/MessagesKo.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesZh_tw.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/messages/MessagesKo.php
@@ -250,17 +250,22 @@
251251 $datePreferences = array(
252252 'default',
253253 'juche',
 254+ 'juche bracket',
254255 'ISO 8601',
255256 );
256257 $defaultDateFormat = 'ko';
257258 $dateFormats = array(
258 - 'ko time' => 'H:i',
259 - 'ko date' => 'Y년 M월 j일 (D)',
260 - 'ko both' => 'Y년 M월 j일 (D) H:i',
 259+ 'ko time' => 'H:i',
 260+ 'ko date' => 'Y년 M월 j일 (D)',
 261+ 'ko both' => 'Y년 M월 j일 (D) H:i',
261262
262 - 'juche time' => 'H:i',
263 - 'juche date' => 'xoY년 M월 j일 (D)',
264 - 'juche both' => 'xoY년 M월 j일 (D) H:i',
 263+ 'juche time' => 'H:i',
 264+ 'juche date' => 'xoY년 M월 j일 (D)',
 265+ 'juche both' => 'xoY년 M월 j일 (D) H:i',
 266+
 267+ 'juche bracket time' => 'H:i',
 268+ 'juche bracket date' => '주체xoY년 (Y년) M월 j일 (D)',
 269+ 'juche bracket both' => '주체xoY년 (Y년) M월 j일 (D) H:i',
265270 );
266271
267272 $messages = array(
Index: trunk/phase3/languages/messages/MessagesZh_tw.php
@@ -41,6 +41,7 @@
4242 $datePreferences = array(
4343 'default',
4444 'minguo',
 45+ 'minguo shorttext',
4546 'minguo text',
4647 'minguo fulltext',
4748 'CNS 7648',
@@ -59,6 +60,10 @@
6061 'minguo date' => 'xoY年n月j日 (l)',
6162 'minguo both' => 'xoY年n月j日 (D) H:i',
6263
 64+ 'minguo shorttext time' => 'H:i',
 65+ 'minguo shorttext date' => '民xoY年n月j日 (l)',
 66+ 'minguo shorttext both' => '民xoY年n月j日 (D) H:i',
 67+
6368 'minguo text time' => 'H:i',
6469 'minguo text date' => '民國xoY年n月j日 (l)',
6570 'minguo text both' => '民國xoY年n月j日 (D) H:i',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r50778added Minguo calendar support for the Taiwan Chinese languageshinjiman16:38, 19 May 2009
r50804* (bug 18849) Added Japanese and North Korean calendars supportshinjiman01:53, 20 May 2009

Status & tagging log