[releaseme] [Bug 444795] Using KDE_L10N_SYNC_TRANSLATIONS option does not lead to compiling translations

Andrew Shark bugzilla_noreply at kde.org
Fri Nov 5 12:32:50 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=444795

--- Comment #1 from Andrew Shark <ashark at linuxcomp.ru> ---
I tried to edit fetchpo.rb, lib/releaseme/l10n.rb and
lib/releaseme/cmakeeditor.rb to enable cmake_edit thing. And now I realized
that I am trying to edit a CMakeLists.txt that is currently executing (cmake
called the fetchpo.rb script). This is not what I want. The cmake source dir
should not be modified; po dir is created in cmake build dir, and that
instruction to compile translations should be added to generated files in cmake
build dir.
I think that KDECMakeSettings.cmake (or other extra cmake module?) should be
modified to do that.

For reference, these are the lines that tarme.rb adds to main CMakeLists.txt:
```
find_package(KF5I18n CONFIG REQUIRED)
ki18n_install(po)
```
but in its case, the po dir is packed in source dir (unlike in fetchpo.rb
case).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list