Commit 017aaf9a authored by Sanjay D'Souza's avatar Sanjay D'Souza
Browse files

Bug 1647856: Fix submission release lang strings

behatnotneeded

Change-Id: I460917ee97d715b4b7e2c3f1771b87b105fdbae1
parent 8cf44c01
......@@ -158,10 +158,10 @@ $string['remove'] = 'Remove';
$string['updatemembership'] = 'Update membership';
$string['memberchangefailed'] = 'Failed to update some membership information';
$string['memberchangesuccess'] = 'Membership status changed successfully';
$string['viewreleasedsubject'] = 'Your page "%s" has been released from %s by %s';
$string['viewreleasedmessage'] = 'Your page "%s" has been released from %s by %s.';
$string['collectionreleasedsubject'] = 'Your collection "%s" has been released from %s by %s';
$string['collectionreleasedmessage'] = 'Your collection "%s" has been released from %s by %s.';
$string['viewreleasedsubject1'] = 'Your page "%s" has been released from the group "%s" by %s';
$string['viewreleasedmessage1'] = 'Your page "%s" has been released from the group "%s" by %s.';
$string['collectionreleasedsubject1'] = 'Your collection "%s" has been released from the group "%s" by %s';
$string['collectionreleasedmessage1'] = 'Your collection "%s" has been released from the group "%s" by %s.';
$string['viewreleasedsuccess'] = 'Page was released successfully';
$string['viewreleasedpending'] = 'Page will be released after archiving';
$string['collectionreleasedsuccess'] = 'Collection was released successfully';
......
......@@ -1092,12 +1092,12 @@ class Collection {
'users' => array($this->get('owner')),
'strings' => (object) array(
'subject' => (object) array(
'key' => 'collectionreleasedsubject',
'key' => 'collectionreleasedsubject1',
'section' => 'group',
'args' => array($this->name, $submitinfo->name, $releaseuserdisplay),
),
'message' => (object) array(
'key' => 'collectionreleasedmessage',
'key' => 'collectionreleasedmessage1',
'section' => 'group',
'args' => array($this->name, $submitinfo->name, $releaseuserdisplay),
),
......
......@@ -1577,9 +1577,9 @@ class View {
activity_occurred('maharamessage',
array(
'users' => array($this->get('owner')),
'subject' => get_string_from_language($ownerlang, 'viewreleasedsubject', 'group', $this->get('title'),
'subject' => get_string_from_language($ownerlang, 'viewreleasedsubject1', 'group', $this->get('title'),
$submitinfo['name'], display_name($releaseuser, $this->get_owner_object())),
'message' => get_string_from_language($ownerlang, 'viewreleasedmessage', 'group', $this->get('title'),
'message' => get_string_from_language($ownerlang, 'viewreleasedmessage1', 'group', $this->get('title'),
$submitinfo['name'], display_name($releaseuser, $this->get_owner_object())),
'url' => $url,
'urltext' => $this->get('title'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment