Adding short date format i18n strings to Language message files
authorkaldari <kaldari@gmail.com>
Fri, 17 May 2013 21:24:50 +0000 (14:24 -0700)
committerkaldari <kaldari@gmail.com>
Tue, 21 May 2013 17:55:51 +0000 (10:55 -0700)
For the short date format 'Month XX', different languages are inconsistent about
whether they apply the genitive case. For example, in Czech using the genitive
form is correct. For German it's not. Because of this inconsistancy, we have to
have a separate set of i18n messages for this date format.

Bug: 47211
Change-Id: Idca1bfc9f4eff7dc561253424f15c15ea007ab6d

languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php
maintenance/language/messages.inc

index 3fb49ce..c14b700 100644 (file)
@@ -752,6 +752,18 @@ future releases. Also note that since each list value is wrapped in a unique
 'oct'           => 'Oct',
 'nov'           => 'Nov',
 'dec'           => 'Dec',
+'january-date'   => 'January $1',
+'february-date'  => 'February $1',
+'march-date'     => 'March $1',
+'april-date'     => 'April $1',
+'may-date'       => 'May $1',
+'june-date'      => 'June $1',
+'july-date'      => 'July $1',
+'august-date'    => 'August $1',
+'september-date' => 'September $1',
+'october-date'   => 'October $1',
+'november-date'  => 'November $1',
+'december-date'  => 'December $1',
 
 # Categories related messages
 'pagecategories'                 => '{{PLURAL:$1|Category|Categories}}',
index b8f1a12..5e27d88 100644 (file)
@@ -309,6 +309,18 @@ This option means "underline links as in your user skin or your browser", there
 'oct' => 'Abbreviation of October, the tenth month of the Gregorian calendar',
 'nov' => 'Abbreviation of November, the eleventh month of the Gregorian calendar',
 'dec' => 'Abbreviation of December, the twelfth month of the Gregorian calendar',
+'january-date' => 'A date in the Gregorian month of January. $1 is the numerical date, for example "23".',
+'february-date' => 'A date in the Gregorian month of February. $1 is the numerical date, for example "23".',
+'march-date' => 'A date in the Gregorian month of March. $1 is the numerical date, for example "23".',
+'april-date' => 'A date in the Gregorian month of April. $1 is the numerical date, for example "23".',
+'may-date' => 'A date in the Gregorian month of May. $1 is the numerical date, for example "23". The month name is not abbreviated.',
+'june-date' => 'A date in the Gregorian month of June. $1 is the numerical date, for example "23".',
+'july-date' => 'A date in the Gregorian month of July. $1 is the numerical date, for example "23".',
+'august-date' => 'A date in the Gregorian month of August. $1 is the numerical date, for example "23".',
+'september-date' => 'A date in the Gregorian month of September. $1 is the numerical date, for example "23".',
+'october-date' => 'A date in the Gregorian month of October. $1 is the numerical date, for example "23".',
+'november-date' => 'A date in the Gregorian month of November. $1 is the numerical date, for example "23".',
+'december-date' => 'A date in the Gregorian month of December. $1 is the numerical date, for example "23".',
 
 # Categories related messages
 'pagecategories' => 'Used in the categories section of pages. Is followed by a colon and a list of categories.',
index 876b03d..b002596 100644 (file)
@@ -135,6 +135,18 @@ $wgMessageStructure = array(
                'oct',
                'nov',
                'dec',
+               'january-date',
+               'february-date',
+               'march-date',
+               'april-date',
+               'may-date',
+               'june-date',
+               'july-date',
+               'august-date',
+               'september-date',
+               'october-date',
+               'november-date',
+               'december-date',
        ),
        'categorypages' => array(
                'pagecategories',