mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-01 21:54:04 +01:00
Update the translator contributing guide from user language settings.
This commit is contained in:
parent
018aefe29f
commit
5879cdc6fa
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue