CHANGED: The COMMIT_COUNT placeholder in the UPDATE_INFO message of the UpdateNotification module does not contain the word "commit" or "commits" any more, so language files can independently localize them.

This commit is contained in:
György Balássy
2018-08-18 06:00:52 +02:00
parent f4c6bcfb8e
commit 35440822be
27 changed files with 28 additions and 27 deletions

View File

@@ -59,7 +59,7 @@ Module.register("updatenotification", {
message.appendChild(icon);
var subtextHtml = this.translate("UPDATE_INFO", {
COMMIT_COUNT: this.status.behind + " " + ((this.status.behind == 1) ? "commit" : "commits"),
COMMIT_COUNT: this.status.behind,
BRANCH_NAME: this.status.current
});