Skip to content

Conversation

BrandonOdiwuor
Copy link
Contributor

Fixes bitcoin/bitcoin#32653 (first part)

Generate ts_files.cmake file which contains an explicit list of .ts files in src/qt/locale to be used by src/qt/CMakeList.txt

@hebasto
Copy link
Member

hebasto commented Jul 17, 2025

Thank you for the PR! Will review it shortly.

Copy link
Member

@hebasto hebasto left a comment

Choose a reason for hiding this comment

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

ACK 2c67395.

I actually prefer the alternative ts_files.cmake file location you noted in your comment:

# Generate ts_files.cmake with an explicit list of .ts files in src/qt/locale

It offers a few advantages, such as:

  • a more readable and cleaner ts_files.cmake;
  • a scoped ts_files variable;
  • improved code locality;
  • no need to adjust the location of *.qm files.

See a working branch here.

@hebasto
Copy link
Member

hebasto commented Jul 28, 2025

@laanwj

Thought you might be interested in taking a look at this PR.

@BrandonOdiwuor
Copy link
Contributor Author

@hebasto thanks for looking at the PR. I have updated the PR to include you suggestions i.e moved to ts_files.cmake to src/qt/locale

Copy link
Member

@hebasto hebasto left a comment

Choose a reason for hiding this comment

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

ACK ebad2b0, tested with this branch.

@laanwj
Copy link
Member

laanwj commented Aug 14, 2025

Post-merge ACK ebad2b0

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.

cmake: Replace file(GLOB ...) command with an explicit list of *.ts files
4 participants