From 5879cdc6fa8b9f366a17a7c08625f2f2e090eca1 Mon Sep 17 00:00:00 2001 From: floss4good Date: Mon, 26 Aug 2024 17:43:35 +0300 Subject: [PATCH] Update the translator contributing guide from user language settings. --- templates/user/settings/appearance.tmpl | 2 +- tests/integration/user_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/user/settings/appearance.tmpl b/templates/user/settings/appearance.tmpl index 3e60b5cbcd..2aaf24adca 100644 --- a/templates/user/settings/appearance.tmpl +++ b/templates/user/settings/appearance.tmpl @@ -64,7 +64,7 @@
- {{ctx.Locale.Tr "settings.language.localization_project" "https://forgejo.org/docs/latest/developer/localization/"}} + {{ctx.Locale.Tr "settings.language.localization_project" "https://forgejo.org/docs/next/contributor/localization/"}}
diff --git a/tests/integration/user_test.go b/tests/integration/user_test.go index 035d0956f5..73976b9a35 100644 --- a/tests/integration/user_test.go +++ b/tests/integration/user_test.go @@ -389,7 +389,7 @@ func TestUserHints(t *testing.T) { assert.Equal(t, enabled, hintChecked) link, _ := htmlDoc.Find("form[action='/user/settings/appearance/language'] a").Attr("href") - assert.EqualValues(t, "https://forgejo.org/docs/latest/developer/localization/", link) + assert.EqualValues(t, "https://forgejo.org/docs/next/contributor/localization/", link) } t.Run("view", func(t *testing.T) {