Page MenuHomePhabricator

D8656.id20527.diff
No OneTemporary

D8656.id20527.diff

diff --git a/src/applications/differential/customfield/DifferentialJIRAIssuesField.php b/src/applications/differential/customfield/DifferentialJIRAIssuesField.php
--- a/src/applications/differential/customfield/DifferentialJIRAIssuesField.php
+++ b/src/applications/differential/customfield/DifferentialJIRAIssuesField.php
@@ -264,6 +264,13 @@
return preg_split('/[\s,]+/', $value, $limit = -1, PREG_SPLIT_NO_EMPTY);
}
+ public function readValueFromCommitMessage($value) {
+ $this->setValue($value);
+ return $this;
+ }
+
+
+
public function renderCommitMessageValue(array $handles) {
$value = $this->getValue();
if (!$value) {
@@ -276,4 +283,5 @@
return true;
}
+
}
diff --git a/src/infrastructure/internationalization/translation/PhabricatorBaseEnglishTranslation.php b/src/infrastructure/internationalization/translation/PhabricatorBaseEnglishTranslation.php
--- a/src/infrastructure/internationalization/translation/PhabricatorBaseEnglishTranslation.php
+++ b/src/infrastructure/internationalization/translation/PhabricatorBaseEnglishTranslation.php
@@ -863,10 +863,8 @@
'%s pushed %d commit(s) to %s.' => array(
array(
- array(
- '%s pushed a commit to %3$s.',
- '%s pushed %d commits to %s.',
- ),
+ '%s pushed a commit to %3$s.',
+ '%s pushed %d commits to %s.',
),
),
@@ -875,6 +873,23 @@
'%s commits',
),
+ '%s removed %d JIRA issue(s): %s.' => array(
+ array(
+ '%s removed a JIRA issue: %3$s.',
+ '%s removed JIRA issues: %3$s.',
+ ),
+ ),
+
+ '%s added %d JIRA issue(s): %s.' => array(
+ array(
+ '%s added a JIRA issue: %3$s.',
+ '%s added JIRA issues: %3$s.',
+ ),
+ ),
+
+ '%s updated JIRA issue(s): added %d %s; removed %d %s.' =>
+ '%s updated JIRA issues: added %3$s; removed %5$s.',
+
);
}

File Metadata

Mime Type
text/plain
Expires
Thu, Oct 24, 2:23 AM (3 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6721681
Default Alt Text
D8656.id20527.diff (1 KB)

Event Timeline