Page MenuHomePhabricator

D12508.diff
No OneTemporary

D12508.diff

diff --git a/src/applications/settings/panel/PhabricatorDisplayPreferencesSettingsPanel.php b/src/applications/settings/panel/PhabricatorDisplayPreferencesSettingsPanel.php
--- a/src/applications/settings/panel/PhabricatorDisplayPreferencesSettingsPanel.php
+++ b/src/applications/settings/panel/PhabricatorDisplayPreferencesSettingsPanel.php
@@ -100,6 +100,10 @@
'callsign, %%%% by literal %%. For documentation, see: %s',
$editor_doc_link);
+ $font_instructions = pht('Overrides default fonts in tools like '.
+ 'Differential. Input should be valid CSS "font" declaration, such as '.
+ '"13px Consolas"');
+
$form = id(new AphrontFormView())
->setUser($user)
->appendChild(
@@ -136,8 +140,7 @@
id(new AphrontFormTextControl())
->setLabel(pht('Monospaced Font'))
->setName($pref_monospaced)
- ->setCaption(
- pht('Overrides default fonts in tools like Differential.'))
+ ->setCaption($font_instructions)
->setValue($preferences->getPreference($pref_monospaced)))
->appendChild(
id(new AphrontFormMarkupControl())

File Metadata

Mime Type
text/plain
Expires
Mon, May 26, 6:28 AM (19 h, 16 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8026723
Default Alt Text
D12508.diff (1 KB)

Event Timeline