Skip to content

Changes to support weblate workflow #2210

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

Merged
merged 53 commits into from
Dec 9, 2024
Merged

Changes to support weblate workflow #2210

merged 53 commits into from
Dec 9, 2024

Conversation

ikreymer
Copy link
Member

@ikreymer ikreymer commented Dec 4, 2024

This PR syncs the weblate branch back to main, and adds:

  • New GH action which reformats weblate commits with localize:extract, ensuring strings are not changed, and also runs localize:build to extract templates (as tested in PR: Translations update from Hosted Weblate #2207)
  • Reformats existing XLIFF files to match localize:extract, including adding self-closing tags.
  • Update on generated templates
  • Prettier: disable alpha sorting XML attributes to hopefully minimize conflcits
  • Strings: change some strings that use & to be wrapped in html`` to ensure proper unencoding, or just switch to 'and' where that's not possible.

ikreymer and others added 10 commits December 3, 2024 18:04
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for
[Browsertrix/Browsertrix](https://hosted.weblate.org/projects/browsertrix/browsertrix/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/browsertrix/browsertrix/horizontal-auto.svg)

---------

Co-authored-by: Webrecorder Dev <dev@webrecorder.org>
Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
Currently translated at 1.7% (22 of 1227 strings)

Translation: Browsertrix/Browsertrix
Translate-URL: https://hosted.weblate.org/projects/browsertrix/browsertrix/es/
@ikreymer ikreymer requested a review from SuaYoo December 4, 2024 04:51
Kamborio and others added 19 commits December 4, 2024 11:00
Currently translated at 7.4% (91 of 1227 strings)

Translation: Browsertrix/Browsertrix
Translate-URL: https://hosted.weblate.org/projects/browsertrix/browsertrix/es/
Currently translated at 28.4% (349 of 1227 strings)

Translation: Browsertrix/Browsertrix
Translate-URL: https://hosted.weblate.org/projects/browsertrix/browsertrix/es/
Currently translated at 50.2% (617 of 1227 strings)

Translation: Browsertrix/Browsertrix
Translate-URL: https://hosted.weblate.org/projects/browsertrix/browsertrix/es/
Currently translated at 52.1% (640 of 1227 strings)

Translation: Browsertrix/Browsertrix
Translate-URL: https://hosted.weblate.org/projects/browsertrix/browsertrix/es/
Currently translated at 52.1% (640 of 1227 strings)

Translation: Browsertrix/Browsertrix
Translate-URL: https://hosted.weblate.org/projects/browsertrix/browsertrix/es/
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for
[Browsertrix/Browsertrix](https://hosted.weblate.org/projects/browsertrix/browsertrix/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/browsertrix/browsertrix/horizontal-auto.svg)

---------

Co-authored-by: Webrecorder Dev <dev@webrecorder.org>
Co-authored-by: Kamborio <Kamborio15@users.noreply.hosted.weblate.org>
Co-authored-by: Clara Itzel <missclaraitzel@gmail.com>
Co-authored-by: weblate <weblate@users.noreply.github.com>
Currently translated at 52.1% (641 of 1229 strings)

Translation: Browsertrix/Browsertrix
Translate-URL: https://hosted.weblate.org/projects/browsertrix/browsertrix/es/
weblate and others added 13 commits December 5, 2024 01:42
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for
[Browsertrix/Browsertrix](https://hosted.weblate.org/projects/browsertrix/browsertrix/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/browsertrix/browsertrix/horizontal-auto.svg)

---------

Co-authored-by: Webrecorder Dev <dev@webrecorder.org>
Co-authored-by: weblate <weblate@users.noreply.github.com>
Currently translated at 52.2% (642 of 1229 strings)

Translation: Browsertrix/Browsertrix
Translate-URL: https://hosted.weblate.org/projects/browsertrix/browsertrix/es/
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for
[Browsertrix/Browsertrix](https://hosted.weblate.org/projects/browsertrix/browsertrix/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/browsertrix/browsertrix/horizontal-auto.svg)

---------

Co-authored-by: Webrecorder Dev <dev@webrecorder.org>
Co-authored-by: weblate <weblate@users.noreply.github.com>
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for
[Browsertrix/Browsertrix](https://hosted.weblate.org/projects/browsertrix/browsertrix/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/browsertrix/browsertrix/horizontal-auto.svg)

---------

Co-authored-by: Webrecorder Dev <dev@webrecorder.org>
Co-authored-by: weblate <weblate@users.noreply.github.com>
@ikreymer ikreymer requested a review from emma-sg December 5, 2024 22:46
Copy link
Member

@emma-sg emma-sg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this makes sense! Let's see if it works

@SuaYoo
Copy link
Member

SuaYoo commented Dec 9, 2024

Should we remove - name: Commit extracted strings from frontend-build-prepare now that there's a separate github workflow?

@SuaYoo SuaYoo self-requested a review December 9, 2024 21:14
@ikreymer ikreymer merged commit b041baf into main Dec 9, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants