Skip to content

Fix translations in QGIS plugin#14

Merged
Joonalai merged 6 commits into
mainfrom
translations
Mar 19, 2026
Merged

Fix translations in QGIS plugin#14
Joonalai merged 6 commits into
mainfrom
translations

Conversation

@Joonalai

@Joonalai Joonalai commented Mar 18, 2026

Copy link
Copy Markdown
Collaborator

This PR fixes translations in QGIS plugin and adds a pre-commit hook to update translations automatically.

- uses: actions/checkout@v6
- uses: j178/prek-action@v1
with:
extra-args: --all-files --skip update-translations

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Should the transup be run with --check-changes in ci to check that translations are up to date while skipping the line number chnages?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Unfortunately we cannot run this hook in CI without having a image with qt binaries installed. After nlsfi/qgis-plugin-dev-tools#27 it should be possible, so maybe we could make another PR after that one is merged?

@Joonalai Joonalai changed the title WIP: Fix translations in QGIS plugin Fix translations in QGIS plugin Mar 19, 2026
@Joonalai Joonalai merged commit 50a77e7 into main Mar 19, 2026
2 checks passed
@Joonalai Joonalai deleted the translations branch March 19, 2026 08:51
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.

2 participants