#30 Got "Language must be size 5." when I tried to change full name.

Open
opened 11 months ago by tklein23 · 4 comments

I went to https://codeberg.org/user/settings to change my full name. After setting the full name and hitting update I got the error message “Language must be size 5.”

I didn't have a “Language” set-up and I don't intend to. My system locale set to en_IE.UTF-8 and I'm using Firefox Quantum 60.3.0esr (64-bit) on Debian.

I went to https://codeberg.org/user/settings to change my full name. After setting the full name and hitting update I got the error message "Language must be size 5." I didn't have a "Language" set-up and I don't intend to. My system locale set to en_IE.UTF-8 and I'm using Firefox Quantum 60.3.0esr (64-bit) on Debian.

:+1: I ran into the same error and had to select “English” in the dropdown. This sounds like an UX issue most people will run into..

:+1: I ran into the same error and had to select "English" in the dropdown. This sounds like an UX issue most people will run into..
hw commented 11 months ago
Owner

It seems there is a default missing in the HTML template (either in default templates or the codeberg-specific ones). The repo in question is https://codeberg.org/Codeberg/build-deploy-gitea, PR welcome.

It seems there is a default missing in the HTML template (either in default templates or the codeberg-specific ones). The repo in question is https://codeberg.org/Codeberg/build-deploy-gitea, PR welcome.
dgw commented 2 months ago

There's an upstream patch to Gitea that should fix this with no changes required to the deployment: https://github.com/go-gitea/gitea/pull/3967/files

There's an upstream patch to Gitea that should fix this with no changes required to the deployment: https://github.com/go-gitea/gitea/pull/3967/files
hw commented 2 months ago
Owner

we will look into this!

we will look into this!
Sign in to join this conversation.
No Milestone
No Assignees
4 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.