Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2681294
D25684.1734640064.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
D25684.1734640064.diff
View Options
diff --git a/src/internationalization/__tests__/PhutilPhtTestCase.php b/src/internationalization/__tests__/PhutilPhtTestCase.php
--- a/src/internationalization/__tests__/PhutilPhtTestCase.php
+++ b/src/internationalization/__tests__/PhutilPhtTestCase.php
@@ -29,73 +29,4 @@
$this->assertEqual('5 piv', pht('%d beer(s)', 5));
}
-
- public function getDateTranslations() {
- // The only purpose of this function is to provide a static list of
- // translations which can come from PhutilTranslator::translateDate() to
- // allow translation extractor getting them.
- return array(
- 'D' => array(
- pht('Sun'),
- pht('Mon'),
- pht('Tue'),
- pht('Wed'),
- pht('Thu'),
- pht('Fri'),
- pht('Sat'),
- ),
- 'l' => array(
- pht('Sunday'),
- pht('Monday'),
- pht('Tuesday'),
- pht('Wednesday'),
- pht('Thursday'),
- pht('Friday'),
- pht('Saturday'),
- ),
- 'S' => array(
- pht('st'),
- pht('nd'),
- pht('rd'),
- pht('th'),
- ),
- 'F' => array(
- pht('January'),
- pht('February'),
- pht('March'),
- pht('April'),
- pht('May'),
- pht('June'),
- pht('July'),
- pht('August'),
- pht('September'),
- pht('October'),
- pht('November'),
- pht('December'),
- ),
- 'M' => array(
- pht('Jan'),
- pht('Feb'),
- pht('Mar'),
- pht('Apr'),
- pht('May'),
- pht('Jun'),
- pht('Jul'),
- pht('Aug'),
- pht('Sep'),
- pht('Oct'),
- pht('Nov'),
- pht('Dec'),
- ),
- 'a' => array(
- pht('am'),
- pht('pm'),
- ),
- 'A' => array(
- pht('AM'),
- pht('PM'),
- ),
- );
- }
-
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 20:27 (10 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1015396
Default Alt Text
D25684.1734640064.diff (1 KB)
Attached To
Mode
D25684: Remove PhutilPhtTestCase::getDateTranslations()
Attached
Detach File
Event Timeline
Log In to Comment