From d4f48dfc4a6a8a88fe5511df6a718f2e80f2ee47 Mon Sep 17 00:00:00 2001 From: 0ko <0ko@noreply.codeberg.org> Date: Sun, 24 Mar 2024 14:09:04 +0500 Subject: [PATCH 1/2] [I18N] Improve localization of repo summary Co-authored-by: Gusted --- options/locale/locale_en-US.ini | 8 ++++++++ templates/repo/sub_menu.tmpl | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 50871be86d..2a76c66f66 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1226,6 +1226,14 @@ commit = Commit release = Release releases = Releases tag = Tag + +n_commit_one=%s commit +n_commit_few=%s commits +n_branch_one=%s branch +n_branch_few=%s branches +n_tag_one=%s tag +n_tag_few=%s tags + released_this = released this file.title = %s at %s file_raw = Raw diff --git a/templates/repo/sub_menu.tmpl b/templates/repo/sub_menu.tmpl index 8edb0c1516..054bdd5b96 100644 --- a/templates/repo/sub_menu.tmpl +++ b/templates/repo/sub_menu.tmpl @@ -3,14 +3,14 @@