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() {
23 protected function getControlInstructions() {
25 'Some applications use unicode glyphs in page titles to provide a '.
26 'compact representation of the current application. You can '.
27 'substitute plain text instead if these glyphs do not display on '.
31 public function getSettingDefaultValue() {
32 return self
::VALUE_TITLE_GLYPHS
;
35 protected function getSelectOptions() {
37 self
::VALUE_TITLE_GLYPHS
=> pht("Use Unicode Glyphs: \xE2\x9A\x99"),
38 self
::VALUE_TITLE_TEXT
=> pht('Use Plain Text: [Differential]'),