Skip to content

Conversation

@HTRamsey
Copy link
Collaborator

run lupdate weekly

@HTRamsey
Copy link
Collaborator Author

@DonLakeFlyer is this what you had in mind for the automated lupdate?

@HTRamsey HTRamsey requested review from DonLakeFlyer and Copilot May 25, 2025 03:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Adds a new GitHub Actions workflow to automatically update Qt translation files on a weekly schedule and via manual dispatch.

  • Schedules a cron job (weekly) and manual trigger
  • Installs Qt, runs lupdate and a Python script to regenerate translation JSON
  • Commits changes and opens a pull request with updated .ts and .json files
Comments suppressed due to low confidence (1)

.github/workflows/lupdate.yml:28

  • The action sets the Qt install path in QT_ROOT (not QT_ROOT_DIR). Update this to ${{ env.QT_ROOT }}/bin/lupdate or verify the correct env var from the install-qt-action docs.
${{ env.QT_ROOT_DIR }}/bin/lupdate ../src -ts qgc.ts -no-obsolete

@@ -0,0 +1,50 @@
name: Update Translations

Copy link

Copilot AI May 30, 2025

Choose a reason for hiding this comment

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

[nitpick] Consider adding a concurrency policy at the workflow root to prevent overlapping runs from generating duplicate PRs, e.g.:

concurrency:
  group: 'lupdate'
  cancel-in-progress: true
Suggested change
concurrency:
group: 'lupdate'
cancel-in-progress: true

Copilot uses AI. Check for mistakes.
@HTRamsey HTRamsey force-pushed the dev-ci-lupdate branch 2 times, most recently from 543d825 to 8292605 Compare May 30, 2025 18:34
@HTRamsey HTRamsey marked this pull request as ready for review May 30, 2025 18:35
@HTRamsey HTRamsey merged commit 2ba305a into mavlink:master May 31, 2025
1 check passed
@HTRamsey HTRamsey deleted the dev-ci-lupdate branch May 31, 2025 06:13
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.

1 participant