@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix unacceptably light-hearted string in serious business mode

Summary: A serious business lost a bunch of serious business partners today because of this string, I assume.

Test Plan: Enabled serious mode, clicked button, was relieved to see no jokes.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D6799

+13 -2
+13 -2
src/applications/notification/controller/PhabricatorNotificationClearController.php
··· 24 24 $dialog = new AphrontDialogView(); 25 25 $dialog->setUser($user); 26 26 $dialog->setTitle('Really mark all notifications as read?'); 27 - $dialog->appendChild( 28 - "You can't ignore your problems forever, you know."); 27 + 28 + $is_serious = PhabricatorEnv::getEnvConfig('phabricator.serious-business'); 29 + if ($is_serious) { 30 + $dialog->appendChild( 31 + pht( 32 + "All unread notifications will be marked as read. You can not ". 33 + "undo this action.")); 34 + } else { 35 + $dialog->appendChild( 36 + pht( 37 + "You can't ignore your problems forever, you know.")); 38 + } 39 + 29 40 $dialog->addCancelButton('/notification/'); 30 41 $dialog->addSubmitButton('Mark All Read'); 31 42