Skip to content

Create GitHub workflow for refreshing individual files #1205

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

Closed
mgeisler opened this issue Sep 12, 2023 · 3 comments
Closed

Create GitHub workflow for refreshing individual files #1205

mgeisler opened this issue Sep 12, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@mgeisler
Copy link
Collaborator

It should be possible to create a GitHub workflow which runs

MDBOOK_OUTPUT='{"xgettext": {"pot-file": "messages.pot"}}' mdbook build -d po
msgmerge --update po/XX.po po/messages.pot

for a language. I believe it's also possible to trigger workflows directly in the Actions tab. The workflow could then do the msgmerge, open a PR and perhaps even close the PR automatically.

@mgeisler mgeisler added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Sep 12, 2023
@dtee1
Copy link

dtee1 commented Sep 13, 2023

Could this be assigned to me?

@mgeisler
Copy link
Collaborator Author

Hi @dtee1, sure! Please let us know if you run into any problems with this!

@mgeisler
Copy link
Collaborator Author

I don't think this is super important, and with the idea of using a translation platform (#1305), we won't need this going forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants