Add trailing period on "This reverts commit ..." line

When a commit is reverted with the Web UI, the generated commit
message includes the line "This reverts commit <sha1>" without a
trailing period.

However, if the same revert is done manually from the command line
with `git revert`, the generated commit message includes the line
"This reverts commit <sha1>." with a trailing period.

Update the message generated when reverting from the Web UI to
include the trailing period on the line.

Change-Id: Iacb09a25bce2335ea65ad46d2676828cb402eb1d
This commit is contained in:
David Pursehouse
2013-06-06 18:05:52 +09:00
parent fea56e31ee
commit ffe4ea0748
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
# Changes to this file should also be made in
# gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeMessages.properties
revertChangeDefaultMessage = Revert \"{0}\"\n\nThis reverts commit {1}
revertChangeDefaultMessage = Revert \"{0}\"\n\nThis reverts commit {1}.
reviewerNotFound = {0} does not identify a registered user or group
groupIsNotAllowed = The group {0} cannot be added as reviewer.