diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 534520d2d2..f2e58b95b8 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1660,7 +1660,8 @@ release.draft = Draft release.prerelease = Pre-Release release.stable = Stable release.edit = edit -release.ahead = %d commits to %s since this release +release.ahead.commits = %d commits +release.ahead.target = to %s since this release release.source_code = Source Code release.new_subheader = Releases organize project versions. release.edit_subheader = Releases organize project versions. diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index d0b160a1c0..baef2c1cee 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -64,8 +64,8 @@ Ghost {{end}} - {{if .CreatedUnix}}{{TimeSinceUnix .CreatedUnix $.Lang}}{{end}} - {{$.i18n.Tr "repo.release.ahead" .NumCommitsBehind .Target | Str2html}} + {{if .CreatedUnix}}{{TimeSinceUnix .CreatedUnix $.Lang}} | {{end}} + {{$.i18n.Tr "repo.release.ahead.commits" .NumCommitsBehind | Str2html}} {{$.i18n.Tr "repo.release.ahead.target" .Target}}