-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Rename /forget_password url to /forgot_password #1219
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just remove the wrong line is ok
options/locale/locale_en-US.ini
Outdated
@@ -166,7 +166,7 @@ disable_register_prompt = Sorry, registration has been disabled. Please contact | |||
disable_register_mail = Sorry, Register Mail Confirmation has been disabled. | |||
remember_me = Remember Me | |||
forgot_password= Forgot Password | |||
forget_password = Forgot password? | |||
forgot_password = Forgot password? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duplicated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed (I don't think this is kind/docs
, btw)
Hold on a second, there are duplications in each and every translation :/ |
@strk every file has a duplicated line. |
ok, figured. The So the new commit (replacing the others) changes |
This needs a big disclaimer in the changelog 😛 |
@bkcsoft you seemed less concerned in #862 (comment) ? Or is this specifically for the translation keys ? |
@strk Well, people might depend on the link, so we need a changelog entry, as for the API it doesn't care 🙂 |
Did anyone setup that changelog/ support mechanism ?
I'd be glad to provide a changelog within this PR if that's the case
(and if so: where is it documented?)
|
Why we need two similar strings? |
One is the link text (usually ends with a question mark: "Forgot password?")
the other is the title of the HTML page where you click the confirmation
button (thus the "_title" suffix in the new key).
|
LGTM except @bkcsoft 's opinion |
@bkcsoft I'm ok with the changelog entry, should I add it to the current CHANGELOG, drafting the new line (and fixing conflicts as we go) ? Or we could use a |
Put it in the Changelog under "Unreleased" (make a section at the top) and someone will take take of it 😉 |
LGTM |
@@ -254,8 +254,8 @@ func runWeb(ctx *cli.Context) error { | |||
m.Any("/activate", user.Activate) | |||
m.Any("/activate_email", user.ActivateEmail) | |||
m.Get("/email2user", user.Email2User) | |||
m.Get("/forget_password", user.ForgotPasswd) | |||
m.Post("/forget_password", user.ForgotPasswdPost) | |||
m.Get("/forgot_password", user.ForgotPasswd) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just put a changelog somewhere (just so it can't be merged before that 😂 )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you @go-gitea/maintainers ok if we start dropping changelogs in files under a pending-changelogs/
directory, to be checked and cleaned up before final release ?
Please vote with thumbs up/down on this comment :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also renames `forgot_password` translation key to `forgot_password_title` and `forget_password` to `forgot_password` Includes entry in CHANGELOG about the breaking change (and some markdown fixes in there)
@bkcsoft section added, and squash rebased against master |
No description provided.