diff options
author | Amir E. Aharoni <amir.aharoni@mail.huji.ac.il> | 2021-12-26 13:56:22 +0200 |
---|---|---|
committer | Amir E. Aharoni <amir.aharoni@mail.huji.ac.il> | 2021-12-26 14:46:03 +0200 |
commit | ccd3d67546e7a3e0d8147d3ae2c50787710a3264 (patch) | |
tree | eb9fc9f6a22e1048fabcb59ca99f61b80a6863f7 | |
parent | 17fa9101a1a1afef2dd9f58fe98a458bde2eccc5 (diff) |
Delete (month)-date messages
They were added in
Idca1bfc9f4eff7dc561253424f15c15ea007ab6d
See also bug T49211.
However, it looks like they are not actually used anywhere
except one test.
Change-Id: Id409e799f172bb6a76e9ba248cd2f4921696398b
-rw-r--r-- | languages/i18n/en.json | 12 | ||||
-rw-r--r-- | languages/i18n/qqq.json | 12 | ||||
-rw-r--r-- | tests/phpunit/languages/LanguageIntegrationTest.php | 2 |
3 files changed, 1 insertions, 25 deletions
diff --git a/languages/i18n/en.json b/languages/i18n/en.json index 535d22630858..0b657c4bcbe0 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -104,18 +104,6 @@ "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", "period-am": "AM", "period-pm": "PM", "pagecategories": "{{PLURAL:$1|Category|Categories}}", diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json index 54cb2d9602db..630c8e434b53 100644 --- a/languages/i18n/qqq.json +++ b/languages/i18n/qqq.json @@ -335,18 +335,6 @@ "oct": "{{doc-months|10|short}}\n{{Identical|October}}", "nov": "{{doc-months|11|short}}\n{{Identical|November}}", "dec": "{{doc-months|12|short}}\n{{Identical|December}}", - "january-date": "A date in the Gregorian month of January. $1 is the numerical date, for example \"23\".\n{{Identical|January}}", - "february-date": "A date in the Gregorian month of February. $1 is the numerical date, for example \"23\".\n{{Identical|February}}", - "march-date": "A date in the Gregorian month of March. $1 is the numerical date, for example \"23\".\n{{Identical|March}}", - "april-date": "A date in the Gregorian month of April. $1 is the numerical date, for example \"23\".\n{{Identical|April}}", - "may-date": "A date in the Gregorian month of May. $1 is the numerical date, for example \"23\". The month name is not abbreviated.\n{{Identical|May}}", - "june-date": "A date in the Gregorian month of June. $1 is the numerical date, for example \"23\".\n{{Identical|June}}", - "july-date": "A date in the Gregorian month of July. $1 is the numerical date, for example \"23\".\n{{Identical|July}}", - "august-date": "A date in the Gregorian month of August. $1 is the numerical date, for example \"23\".\n{{Identical|August}}", - "september-date": "A date in the Gregorian month of September. $1 is the numerical date, for example \"23\".\n{{Identical|September}}", - "october-date": "A date in the Gregorian month of October. $1 is the numerical date, for example \"23\".\n{{Identical|October}}", - "november-date": "A date in the Gregorian month of November. $1 is the numerical date, for example \"23\".\n{{Identical|November}}", - "december-date": "A date in the Gregorian month of December. $1 is the numerical date, for example \"23\".\n{{Identical|December}}", "period-am": "Text indicating the first period of the day when using a 12-hour calendar.", "period-pm": "Text indicating the second period of the day when using a 12-hour calendar.", "pagecategories": "Used in the categories section of pages.\n\nFollowed by a colon and a list of categories.\n\nParameters:\n* $1 - number of categories\n{{Identical|Category}}", diff --git a/tests/phpunit/languages/LanguageIntegrationTest.php b/tests/phpunit/languages/LanguageIntegrationTest.php index dccf411c63cd..d8f7211fde3a 100644 --- a/tests/phpunit/languages/LanguageIntegrationTest.php +++ b/tests/phpunit/languages/LanguageIntegrationTest.php @@ -2222,7 +2222,7 @@ class LanguageIntegrationTest extends LanguageClassesTestCase { */ public function testMsg() { $lang = TestingAccessWrapper::newFromObject( $this->getLang() ); - $this->assertSame( 'December 1', $lang->msg( 'december-date', '1' )->text() ); + $this->assertSame( 'Line 1:', $lang->msg( 'lineno', '1' )->text() ); } } |