Page MenuHomePhabricator

D14375.id34707.diff
No OneTemporary

D14375.id34707.diff

diff --git a/src/applications/differential/doorkeeper/DifferentialDoorkeeperRevisionFeedStoryPublisher.php b/src/applications/differential/doorkeeper/DifferentialDoorkeeperRevisionFeedStoryPublisher.php
--- a/src/applications/differential/doorkeeper/DifferentialDoorkeeperRevisionFeedStoryPublisher.php
+++ b/src/applications/differential/doorkeeper/DifferentialDoorkeeperRevisionFeedStoryPublisher.php
@@ -59,8 +59,9 @@
public function getObjectTitle($object) {
$prefix = $this->getTitlePrefix($object);
- $lines = new PhutilNumber($object->getLineCount());
- $lines = pht('[Request, %d lines]', $lines);
+ $lines = pht(
+ '[Request, %s line(s)]',
+ new PhutilNumber($object->getLineCount()));
$id = $object->getID();
diff --git a/src/infrastructure/internationalization/translation/PhabricatorUSEnglishTranslation.php b/src/infrastructure/internationalization/translation/PhabricatorUSEnglishTranslation.php
--- a/src/infrastructure/internationalization/translation/PhabricatorUSEnglishTranslation.php
+++ b/src/infrastructure/internationalization/translation/PhabricatorUSEnglishTranslation.php
@@ -1425,6 +1425,11 @@
'WARNING: There are unapproved authorizations!',
),
+ '[Request, %s line(s)]' => array(
+ '[Request, %s line]',
+ '[Request, %s lines]',
+ ),
+
);
}

File Metadata

Mime Type
text/plain
Expires
Tue, Oct 22, 3:42 PM (3 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6742205
Default Alt Text
D14375.id34707.diff (1 KB)

Event Timeline