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(#32667): 🐛 Fixe a keystring misuse and refactor duplicates keystrings #32668

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

SimonPistache
Copy link
Contributor

@SimonPistache SimonPistache commented Nov 28, 2024

…s keystrings

- Fixe a translation keystring misuse where the string 'open milestones' is used in place of 'closed milestones'.
- De-duplicates the use of 'open milesones' and 'closed milestones' keystrings on the sidebar of an issue, reusing the ones on the issues filter and action bars.
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Nov 28, 2024
@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Nov 28, 2024
@github-actions github-actions bot added the modifies/templates This PR modifies the template files label Nov 28, 2024
@wxiaoguang
Copy link
Contributor

  • De-duplicates the use of 'open milesones' and 'closed milestones' keystrings on the sidebar of an issue, reusing the ones on the issues filter and action bars.

Could the unused keys like "issues.new.closed_milestone" and "issues.new.open_milestone" be deleted from locale_en-US.ini ? (only en-US is enough, other files will be managed automatically)

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Nov 29, 2024
@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 Nov 29, 2024
@lunny lunny added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Nov 29, 2024
@wxiaoguang wxiaoguang removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Nov 29, 2024
@wxiaoguang
Copy link
Contributor

Could the unused keys like "issues.new.closed_milestone" and "issues.new.open_milestone" be deleted from locale_en-US.ini ? (only en-US is enough, other files will be managed automatically)

Wait for this for a while, in case there would be new changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/templates This PR modifies the template files size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reuse the same translation keystrings for the same labels in milestone dropdown menus
5 participants