-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[Discusion] Localize Commit Message for PullRequest Update #9823
Conversation
I personaly dont like to localice ... reason: Lunny has set the gitea language to: Chinese ... If we update a branch no one knows what is going on!!! think thats why github use englisch only for the update function too @guillep2k ⬆️ |
We solved this problem for other resources (like I agree that this is not a job for Crowdin. |
@guillep2k I'm for a repo setting if we like to locale |
A per repository setting maybe better. |
It can be app.ini setting as default and changeable by org/repo settings |
Let's vote:
More than one vote is valid. |
@guillep2k it can be both changeable in org settings and per-repo |
I would suggest .md files (or other text files) in the repository (like the PR template) It has to support replacable variables, like [target-branch] and similar (that should be true for any solution.) Localized to the current user is not a good idea imho. |
@davidsvantesson not current user but repo owner |
That would only work for user repos? Would you add a language for organizations as well? |
We seem to be keeping two different discussions here, and I'm not sure what are we talking about anymore 🤔. In my mind, this issue was about customizing the commit message for updating a PR, and that only. And by customizing I mean type in any text you want, not choosing a locale. It seems, however that others are thinking of using the locale data and customize which language will be used for each org/repo, which of course is a different matter. Anyone want to add/clarify about their position? 😬 We may need another vote. |
I think discusion was if commit-message shuld be localiced ... and the towards solution was: No but changable via settings (so it is manualy localicable via settings) |
@guillep2k You mean that when pressing |
Ha ha ha, no, that would be yet another possibility 🤣. I meant it to be a setting at the site level ( |
I think there are two main alternatives discussed here:
It seems not many are in favour of the first alterantive. For the settings alternatives, I don't see them as opposing each other. If it is first added as a app.ini setting, someone can then make a new PR with a repository setting (that would take precedence) and then even an organization setting (with in-between precedence). |
I really like that plan. 👍 |
I would sugesst to use placeholders for branch name so they could be added removed and orderd head or base branch first ... |
We could also manage a template for the merge commit in the same way. |
come up in #9784
question is Yes/No