Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13979668
D8656.id.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
D8656.id.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Oct 20 2024, 5:47 AM (4 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6721681
Default Alt Text
D8656.id.diff (1 KB)
Attached To
Mode
D8656: Fix JIRA integration from "arc" commit messages
Attached
Detach File
Event Timeline
Log In to Comment