Remove product literal strings in "pht()", part 6
[phabricator.git] / src / applications / settings / setting / PhabricatorEmailFormatSetting.php
blob333d85c6f45fb5bafe17ced1fe6b21e34505c8f6
1 <?php
3 final class PhabricatorEmailFormatSetting
4 extends PhabricatorSelectSetting {
6 const SETTINGKEY = 'html-emails';
8 const VALUE_HTML_EMAIL = 'html';
9 const VALUE_TEXT_EMAIL = 'text';
11 public function getSettingName() {
12 return pht('HTML Email');
15 public function getSettingPanelKey() {
16 return PhabricatorEmailFormatSettingsPanel::PANELKEY;
19 protected function getSettingOrder() {
20 return 100;
23 protected function getControlInstructions() {
24 return pht(
25 'You can opt to receive plain text email from Phabricator instead '.
26 'of HTML email. Plain text email works better with some clients.');
29 public function getSettingDefaultValue() {
30 return self::VALUE_HTML_EMAIL;
33 protected function getSelectOptions() {
34 return array(
35 self::VALUE_HTML_EMAIL => pht('Send HTML Email'),
36 self::VALUE_TEXT_EMAIL => pht('Send Plain Text Email'),