DeleteVote.soy: Make wording consistent with DeleteVoteHtml.soy

Change-Id: I9bf12cdc2347a1607d783889f710cc836cf77a20
This commit is contained in:
David Pursehouse
2019-06-22 09:37:21 +09:00
parent f7741fabd7
commit 31fbf567d3
3 changed files with 3 additions and 3 deletions

View File

@@ -2281,7 +2281,7 @@ public class ChangeIT extends AbstractDaemonTest {
assertThat(messages).hasSize(1);
Message msg = messages.get(0);
assertThat(msg.rcpt()).containsExactly(user.emailAddress);
assertThat(msg.body()).contains(admin.fullName + " has removed a vote on this change.");
assertThat(msg.body()).contains(admin.fullName + " has removed a vote from this change.");
assertThat(msg.body())
.contains("Removed Code-Review+1 by " + user.fullName + " <" + user.email + ">\n");

View File

@@ -70,7 +70,7 @@ public class DeleteVoteIT extends AbstractDaemonTest {
assertThat(messages).hasSize(1);
FakeEmailSender.Message msg = messages.get(0);
assertThat(msg.rcpt()).containsExactly(user.emailAddress);
assertThat(msg.body()).contains(admin.fullName + " has removed a vote on this change.");
assertThat(msg.body()).contains(admin.fullName + " has removed a vote from this change.");
assertThat(msg.body())
.contains("Removed Code-Review+1 by " + user.fullName + " <" + user.email + ">\n");

View File

@@ -25,7 +25,7 @@
* @param fromName
*/
{template .DeleteVote kind="text"}
{$fromName} has removed a vote on this change.{if $email.changeUrl} ( {$email.changeUrl} ){/if}{\n}{\n}
{$fromName} has removed a vote from this change.{if $email.changeUrl} ( {$email.changeUrl} ){/if}{\n}{\n}
{\n}
Change subject: {$change.subject}{\n}
......................................................................{\n}