mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 16:52:41 +01:00
Adds ALL CAPS language.
Summary: Adds an ALL CAPs language, requires changes from libphutil as well. Test Plan: Turn on AC, get caps back. Turn it back to English, stuff went away. Reviewers: epriestley, btrahan, vrana Reviewed By: vrana CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4627
This commit is contained in:
parent
3a3ab08aba
commit
3f544ba3f5
2 changed files with 20 additions and 0 deletions
|
@ -592,6 +592,7 @@ phutil_register_library_map(array(
|
||||||
'PhabricatorActionListExample' => 'applications/uiexample/examples/PhabricatorActionListExample.php',
|
'PhabricatorActionListExample' => 'applications/uiexample/examples/PhabricatorActionListExample.php',
|
||||||
'PhabricatorActionListView' => 'view/layout/PhabricatorActionListView.php',
|
'PhabricatorActionListView' => 'view/layout/PhabricatorActionListView.php',
|
||||||
'PhabricatorActionView' => 'view/layout/PhabricatorActionView.php',
|
'PhabricatorActionView' => 'view/layout/PhabricatorActionView.php',
|
||||||
|
'PhabricatorAllCapsTranslation' => 'infrastructure/internationalization/PhabricatorAllCapsTranslation.php',
|
||||||
'PhabricatorAnchorView' => 'view/layout/PhabricatorAnchorView.php',
|
'PhabricatorAnchorView' => 'view/layout/PhabricatorAnchorView.php',
|
||||||
'PhabricatorApplication' => 'applications/base/PhabricatorApplication.php',
|
'PhabricatorApplication' => 'applications/base/PhabricatorApplication.php',
|
||||||
'PhabricatorApplicationApplications' => 'applications/meta/application/PhabricatorApplicationApplications.php',
|
'PhabricatorApplicationApplications' => 'applications/meta/application/PhabricatorApplicationApplications.php',
|
||||||
|
@ -1988,6 +1989,7 @@ phutil_register_library_map(array(
|
||||||
'PhabricatorActionListExample' => 'PhabricatorUIExample',
|
'PhabricatorActionListExample' => 'PhabricatorUIExample',
|
||||||
'PhabricatorActionListView' => 'AphrontView',
|
'PhabricatorActionListView' => 'AphrontView',
|
||||||
'PhabricatorActionView' => 'AphrontView',
|
'PhabricatorActionView' => 'AphrontView',
|
||||||
|
'PhabricatorAllCapsTranslation' => 'PhabricatorTranslation',
|
||||||
'PhabricatorAnchorView' => 'AphrontView',
|
'PhabricatorAnchorView' => 'AphrontView',
|
||||||
'PhabricatorApplicationApplications' => 'PhabricatorApplication',
|
'PhabricatorApplicationApplications' => 'PhabricatorApplication',
|
||||||
'PhabricatorApplicationAudit' => 'PhabricatorApplication',
|
'PhabricatorApplicationAudit' => 'PhabricatorApplication',
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
final class PhabricatorAllCapsTranslation
|
||||||
|
extends PhabricatorTranslation {
|
||||||
|
|
||||||
|
final public function getLanguage() {
|
||||||
|
return 'en-ac';
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getName() {
|
||||||
|
return 'All Caps';
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getTranslations() {
|
||||||
|
return array();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue