Remove product literal strings in "pht()", part 6
[phabricator.git] / src / applications / settings / setting / PhabricatorTitleGlyphsSetting.php
blob04efbcb0f01a884a15c037fde1eb659682c9fd52
1 <?php
3 final class PhabricatorTitleGlyphsSetting
4 extends PhabricatorSelectSetting {
6 const SETTINGKEY = 'titles';
8 const VALUE_TITLE_GLYPHS = 'glyph';
9 const VALUE_TITLE_TEXT = 'text';
11 public function getSettingName() {
12 return pht('Page Titles');
15 public function getSettingPanelKey() {
16 return PhabricatorDisplayPreferencesSettingsPanel::PANELKEY;
19 protected function getSettingOrder() {
20 return 200;
23 protected function getControlInstructions() {
24 return pht(
25 'Phabricator uses unicode glyphs in page titles to provide a compact '.
26 'representation of the current application. You can substitute plain '.
27 'text instead if these glyphs do not display on your system.');
30 public function getSettingDefaultValue() {
31 return self::VALUE_TITLE_GLYPHS;
34 protected function getSelectOptions() {
35 return array(
36 self::VALUE_TITLE_GLYPHS => pht("Use Unicode Glyphs: \xE2\x9A\x99"),
37 self::VALUE_TITLE_TEXT => pht('Use Plain Text: [Differential]'),