Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13988744
D14375.id34707.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
D14375.id34707.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D14375: Fix a translation
Attached
Detach File
Event Timeline
Log In to Comment