Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15665759
D12508.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D12508.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D12508: Add documentation for customizing fonts
Attached
Detach File
Event Timeline
Log In to Comment