From a740b9262ec57d43d6a4ddcf56ed8abf60c75457 Mon Sep 17 00:00:00 2001 From: Sebastian Wilzbach Date: Fri, 20 Jul 2018 12:11:09 +0200 Subject: [PATCH] Fix typos in the changed summary text --- changed.d | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/changed.d b/changed.d index 79762e6..81a9aa7 100755 --- a/changed.d +++ b/changed.d @@ -506,13 +506,13 @@ Please supply a bugzilla version with(changelogStats) { auto changelog = changelogEntries > 0 ? "%d major change%s and".format(changelogEntries, changelogEntries > 1 ? "s" : "") : ""; - w.put("$(VER) comes with {changelogEntries} {bugzillaIssues} fixed Bugzilla issue{bugzillaIssuesPluaral}. - A huge thanks goes to the {nrContributors} contributor{nrControbutorsPlural} who made $(VER) possible." + w.put("$(VER) comes with {changelogEntries} {bugzillaIssues} fixed Bugzilla issue{bugzillaIssuesPlural}. + A huge thanks goes to the {nrContributors} contributor{nrContributorsPlural} who made $(VER) possible." .replace("{bugzillaIssues}", bugzillaIssues.text) - .replace("{bugzillaIssuesPlural}", bugzillaIssues > 1 ? "s" : "") + .replace("{bugzillaIssuesPlural}", bugzillaIssues != 1 ? "s" : "") .replace("{changelogEntries}", changelog) .replace("{nrContributors}", contributors.text) - .replace("{nrContributorsPlural}", contributors > 1 ? "s" : "") + .replace("{nrContributorsPlural}", contributors != 1 ? "s" : "") ); } }