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
[VideoVersion] Added VideoVersionPlay dialog #24132
Conversation
Hi, @xodidox
That's not going to work like you want. Weblate does not support a group comment for multiple strings (As far as I know). Translaters never look at the strings.po directly, they are using Weblate. The string you've added will be displayed in Weblate along with string
EDIT: nvm, overlooked that this is not a new dialog class. |
@@ -23918,7 +23918,7 @@ msgctxt "#40207" | |||
msgid "When enabled, video with multiple versions will be shown as folder in library, this folder can then be opened to display the individual video versions. When disabled, a video version dialog will be opened for the video." | |||
msgstr "" | |||
|
|||
# Video versions | |||
#. System defined video version (for example, "Director's Cut") list |
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 is not going to work. See my other 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.
I'll update this. The discussion for VideoVersionPlay
is from https://forum.kodi.tv/showthread.php?tid=337992&pid=3172621#pid3172621
in order for your PRs to be easer to review it would be good if you could split up the changes into logical commits. Like in this PR one commit for the dialog and a second commit for the label descriptions. Since this PR is rather small, it might be a good exercise on the workflow for this, in case you are not that familiar with GIT yet. |
Yes, that would indeed be helpful, to back what @da-anda said. |
I've done a functional test, and it does exactly what me and @HitcherUK asked for. Thanks @xodidox |
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.
Tested videoversion
and videoversionplay
windows and everything works as excepted.
I guess you can drop the label (id1) now as skins can use Window.IsActive(videoversion)
or Window.IsActive(videoversionplay)
for conditions.
Thanks.
Thanks for this tip. I'm not sure when and how, but I got the impression that each PR should only have one commit for Kodi repo. Maybe I was asked to squash commits? Don't remember. I'll adopt this in future PRs. |
For review it's easier for the changes to be in logical chunks. Once review is complete and PR is ready to be merged then it can be squashed down to one commit. |
The point is one commit per logical change , not one commit per PR. A PR can contain multiple logical changes, for example fix A and cleanup B. We want to have separate commits for those changes, one for the fix one for the cleanup. |
Possibly the confusion stems from the plugins and scripts addon repos having this requirement to squash first. If you've ever submitted an addon update then you would've been asked to squash I have a feeling this is a relic from before github introduced the "squash and merge" button. |
Description
Added VideoVersionPlay dialog to give more flexibility to skinner
Added description for string to help translator
Motivation and context
Based on feedback
How has this been tested?
Runtime tested on MacBook
What is the effect on users?
Screenshots (if appropriate):
Types of change
Checklist: