mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-01 17:38:33 +00:00
fix(ui): use "organization name" in coldown messages for orgs (#6882)
Followup to https://codeberg.org/forgejo/forgejo/pulls/6422, resolving issue reported by @SomeTr on Weblate. When reviewing that PR I assumed that org settings UI also references the name as "Username", but now I checked it and it's actually "Organization name". Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6882 Reviewed-by: Otto <otto@codeberg.org> Co-authored-by: 0ko <0ko@noreply.codeberg.org> Co-committed-by: 0ko <0ko@noreply.codeberg.org>
This commit is contained in:
parent
bb07f30b4f
commit
ed292505b6
2 changed files with 3 additions and 3 deletions
|
@ -167,7 +167,7 @@ func TestUserRedirect(t *testing.T) {
|
|||
defer test.MockVariableValue(&setting.Service.UsernameCooldownPeriod, 8)()
|
||||
defer tests.PrintCurrentTest(t)()
|
||||
|
||||
assert.Contains(t, getPrompt(t), "The old username will be available to everyone after a cooldown period of 8 days, you can still reclaim the old username during the cooldown period.")
|
||||
assert.Contains(t, getPrompt(t), "The old organization name will be available to everyone after a cooldown period of 8 days, you can still reclaim the old name during the cooldown period.")
|
||||
})
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue