1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-28 09:21:13 -05:00

Update the translator contributing guide from user language settings.

This commit is contained in:
floss4good 2024-08-26 17:43:35 +03:00
parent 018aefe29f
commit 5879cdc6fa
No known key found for this signature in database
GPG key ID: 5B948B4F4DAF819D
2 changed files with 2 additions and 2 deletions

View file

@ -64,7 +64,7 @@
</div> </div>
</div> </div>
<div class="tw-mb-4"> <div class="tw-mb-4">
{{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/"}}
</div> </div>
<div class="field"> <div class="field">
<button class="ui primary button">{{ctx.Locale.Tr "settings.update_language"}}</button> <button class="ui primary button">{{ctx.Locale.Tr "settings.update_language"}}</button>

View file

@ -389,7 +389,7 @@ func TestUserHints(t *testing.T) {
assert.Equal(t, enabled, hintChecked) assert.Equal(t, enabled, hintChecked)
link, _ := htmlDoc.Find("form[action='/user/settings/appearance/language'] a").Attr("href") 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) { t.Run("view", func(t *testing.T) {