Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/setting/PhabricatorTitleGlyphsSetting.php
Show All 16 Lines | final class PhabricatorTitleGlyphsSetting | ||||
} | } | ||||
protected function getSettingOrder() { | protected function getSettingOrder() { | ||||
return 200; | return 200; | ||||
} | } | ||||
protected function getControlInstructions() { | protected function getControlInstructions() { | ||||
return pht( | return pht( | ||||
'Phabricator uses unicode glyphs in page titles to provide a compact '. | 'Some applications use unicode glyphs in page titles to provide a '. | ||||
'representation of the current application. You can substitute plain '. | 'compact representation of the current application. You can '. | ||||
'text instead if these glyphs do not display on your system.'); | 'substitute plain text instead if these glyphs do not display on '. | ||||
'your system.'); | |||||
} | } | ||||
public function getSettingDefaultValue() { | public function getSettingDefaultValue() { | ||||
return self::VALUE_TITLE_GLYPHS; | return self::VALUE_TITLE_GLYPHS; | ||||
} | } | ||||
protected function getSelectOptions() { | protected function getSelectOptions() { | ||||
return array( | return array( | ||||
self::VALUE_TITLE_GLYPHS => pht("Use Unicode Glyphs: \xE2\x9A\x99"), | self::VALUE_TITLE_GLYPHS => pht("Use Unicode Glyphs: \xE2\x9A\x99"), | ||||
self::VALUE_TITLE_TEXT => pht('Use Plain Text: [Differential]'), | self::VALUE_TITLE_TEXT => pht('Use Plain Text: [Differential]'), | ||||
); | ); | ||||
} | } | ||||
} | } |