-
Notifications
You must be signed in to change notification settings - Fork 57
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
Not setting configured labels on PRs #251
Comments
@torokati44 thanks for reporting this! It's strange, I wonder how it worked before. I just made a change in the Could you please try it by referencing the branch instead of the version? uses: crowdin/github-action@fix-pulls |
Maybe it never worked...? 😐🫥 |
Could you please provide more details on this? If you need to make some changes to the translation files, you are probably looking for post-export processing on the Crowdin side instead of doing it after the translations download. |
Would you mind summarizing, @kjarosh? |
We want to localize the following files: Crowdin does not support them, so the plan is to:
Conversion tools include |
@kjarosh thanks for the details! I just did a quick test and it seems that the provided XML file imports well without any modifications or convertations. You can additionally specify XPath The So, you can add an extra step to your workflow where you rename all the |
I believe the problem is that both the metainfo and desktop files have specific semantics of how they are supposed to store the localized texts (all in a single file) - it's not as simple as with other files, where it's just multiple instances of the same basic file (one per language). |
Do you mean that these files are multilingual? |
@torokati44 is right, Crowdin indeed can translate those files, but we'll get an instance for each locale, which is not how metainfo and desktop files support localization. The desktop file uses If we have to merge those files anyway, it's just easier to convert them to
That's right, you can consult the documentation here: |
Thanks for the details! This sounds very reasonable to me now. Earlier we had a similar discussion to allow running some pre-commit scripts, but there is no obvious solution on how to do it right (#181) You can still synchronize the source files and translations with this action, but disable the automatic commit and PR creation. |
Yes, that's the plan. I think @torokati44 meant that we're moving away from this action regarding committing & creating PRs. |
Indeed, pardon my imprecision. |
Actually, it's entirely possible that the |
These lines should probably use a
/pulls/
URL, rather than/issues/
...github-action/entrypoint.sh
Line 161 in c953b17
github-action/entrypoint.sh
Line 178 in c953b17
See:
https://github.com/ruffle-rs/ruffle/actions/runs/11021911424/job/30610062421#step:4:11
https://github.com/ruffle-rs/ruffle/actions/runs/11021911424/job/30610062421#step:4:576
Docs:
https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#update-a-pull-request
The text was updated successfully, but these errors were encountered: