Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linked account translation #21331

Merged
merged 1 commit into from Oct 4, 2022
Merged

Conversation

jolheiser
Copy link
Member

Fixes #21318

Going back, I couldn't find a previous value that matches this, my guess is it was simply overlooked. Our previous i18n code would have set this to the final key, which is active

Lo and behold,
image

The above is from codeberg, but I can confirm on my own instance as well.


Now, I've gone and used repo.settings.active, which is arguably for webhooks.

settings.active = Active
settings.active_helper = Information about triggered events will be sent to this webhook URL.

Given it's a single word, I think it's fine to re-use, but I'm open to making a new key if that's preferred.

Signed-off-by: jolheiser <john.olheiser@gmail.com>
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Oct 4, 2022
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Oct 4, 2022
@jolheiser jolheiser merged commit 2d2cf58 into go-gitea:main Oct 4, 2022
@jolheiser jolheiser deleted the settings-active branch October 4, 2022 12:51
jolheiser added a commit to jolheiser/gitea that referenced this pull request Oct 4, 2022
fix key used for translation

Signed-off-by: jolheiser <john.olheiser@gmail.com>
@jolheiser jolheiser added the backport/done All backports for this PR have been created label Oct 4, 2022
tyroneyeh added a commit to tyroneyeh/gitea that referenced this pull request Oct 24, 2022
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/translation type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing label on linked accounts
4 participants