-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
cleanup repo details icons/labels (#27644) #27654
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
Fix go-gitea#27596 Change confusing behavior when showing information about a repo via labels and icons. Implement changes proposed by @lng2020 in go-gitea#27627 (review).
@@ -1026,10 +1026,8 @@ transfer.no_permission_to_reject = You do not have permission to reject this tra | |||
|
|||
desc.private = Private | |||
desc.public = Public | |||
desc.private_template = Private template | |||
desc.public_template = Template | |||
desc.template = Template |
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.
this will mess with backportin translations :/
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.
That's exactly the reason I'm backporting this PR - so that we can safely backport translations without breaking anything
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.
Otherwise backporting translations will result in nonexistent translation strings inside the template
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.
well if you will manually packport the upcomming translation ... I wont block
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.
Alternatively, we could also move desc.template
to desc.public_template
inside this PR, then the translation will be present in 1.21, and we can still merge this PR.
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.
as per code comment
@@ -1026,10 +1026,8 @@ transfer.no_permission_to_reject = You do not have permission to reject this tra | |||
|
|||
desc.private = Private | |||
desc.public = Public | |||
desc.private_template = Private template | |||
desc.public_template = Template | |||
desc.template = Template |
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.
Alternatively, we could also move desc.template
to desc.public_template
inside this PR, then the translation will be present in 1.21, and we can still merge this PR.
I don't really understand the issue.... currently we have |
The problem is that translations are only synced through Crowdin, and only for the |
Don't we always manually backport translations before the release? At least we did it for 1.20 and 1.19 if I remember correctly |
Yes, that's exactly what @6543 meant with #27654 (comment). |
We now can backport translations and we have done that many times. There is a tool |
Backport #27644 by @denyskon
Fix #27596
Change confusing behavior when showing information about a repo via labels and icons. Implement changes proposed by @lng2020 in #27627 (review).