From 48cc6e684a9750bff8c09bf8bf150178079a3adf Mon Sep 17 00:00:00 2001 From: 0ko <0ko@noreply.codeberg.org> Date: Mon, 14 Jul 2025 19:31:26 +0200 Subject: [PATCH] fix(ui): improve branch filter help (#8509) Followup to https://codeberg.org/forgejo/forgejo/pulls/7823. * move `documentation` into link content * fix software name Preview: https://codeberg.org/attachments/b17b9e90-4f82-495e-914a-b481c6f82adc -> https://codeberg.org/attachments/bb139365-966b-4b0f-83dd-7b95e34cff32 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8509 Reviewed-by: Earl Warren Reviewed-by: Gusted --- options/locale_next/locale_en-US.json | 2 +- templates/repo/settings/options.tmpl | 2 +- templates/repo/settings/push_mirror_sync_modal.tmpl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/options/locale_next/locale_en-US.json b/options/locale_next/locale_en-US.json index 1778a1fc6c..0a3e62e942 100644 --- a/options/locale_next/locale_en-US.json +++ b/options/locale_next/locale_en-US.json @@ -56,7 +56,7 @@ "repo.issue_indexer.title": "Issue Indexer", "search.milestone_kind": "Search milestones…", "repo.settings.push_mirror.branch_filter.label": "Branch filter (optional)", - "repo.settings.push_mirror.branch_filter.description": "Branches to be mirrored. Leave blank to mirror all branches. See %[2]s documentation for syntax. Examples: main, release/*", + "repo.settings.push_mirror.branch_filter.description": "Branches to be mirrored. Leave blank to mirror all branches. See %[2]s documentation for syntax. Examples: main, release/*", "incorrect_root_url": "This Forgejo instance is configured to be served on \"%s\". You are currently viewing Forgejo through a different URL, which may cause parts of the application to break. The canonical URL is controlled by Forgejo admins via the ROOT_URL setting in the app.ini.", "themes.names.forgejo-auto": "Forgejo (follow system theme)", "themes.names.forgejo-light": "Forgejo light", diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index c8061a75b0..0fd00ebff1 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -292,7 +292,7 @@
-

{{ctx.Locale.Tr "repo.settings.push_mirror.branch_filter.description" "https://forgejo.org/docs/latest/user/repo-mirror/#branch-filter" "forgejo"}}

+

{{ctx.Locale.Tr "repo.settings.push_mirror.branch_filter.description" "https://forgejo.org/docs/latest/user/repo-mirror/#branch-filter" "Forgejo"}}

diff --git a/templates/repo/settings/push_mirror_sync_modal.tmpl b/templates/repo/settings/push_mirror_sync_modal.tmpl index 32f0994f03..00b1b9dcd5 100644 --- a/templates/repo/settings/push_mirror_sync_modal.tmpl +++ b/templates/repo/settings/push_mirror_sync_modal.tmpl @@ -24,7 +24,7 @@
-

{{ctx.Locale.Tr "repo.settings.push_mirror.branch_filter.description" "https://forgejo.org/docs/latest/user/repo-mirror/#branch-filter" "forgejo"}}

+

{{ctx.Locale.Tr "repo.settings.push_mirror.branch_filter.description" "https://forgejo.org/docs/latest/user/repo-mirror/#branch-filter" "Forgejo"}}