Update AGENTS.md

This commit is contained in:
luisangelsm
2026-03-30 18:32:27 +02:00
parent 8ddf1a8f90
commit a8c936ee6f

View File

@ -46,8 +46,8 @@ cmake --build build --config Release --target release_translations
``` ```
Important: Important:
- Do not run `lupdate` only on `qml.qrc` (or only on a subset of files), because that can mark unrelated translations as obsolete. - Do not run `lupdate` only on a hand-picked subset of QML files, because that can mark unrelated translations as obsolete.
- In `YACReaderLibrary`, `qt_add_translations(...)` is configured to scan full target sources and include QML from `qml.qrc`. - In `YACReaderLibrary`, `qt_add_translations(...)` is configured to scan full target sources and include the QML files directly.
- `update_translations` updates both locale TS files and `*_source.ts` template files for all apps. - `update_translations` updates both locale TS files and `*_source.ts` template files for all apps.
- `*_source.ts` files are translator base templates and must not be treated as shipped locales. - `*_source.ts` files are translator base templates and must not be treated as shipped locales.