mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-09-25 12:00:22 +00:00
The recipe carried a patch that commented out the i18n.merge_file() call for org.opensuse.cupspkhelper.mechanism.policy and installed the untranslated template in its place, so the polkit dialogs showed English strings only and the 43 translations shipped in po/ were discarded. The merge failed because meson hands the data_dirs argument to its msgfmthelper script, which replaces GETTEXTDATADIRS instead of extending it. That hides the ITS rules polkit installs into the target sysroot, which msgfmt needs to recognize the translatable elements of a policy file, and which gettext.bbclass already points at. cups-pk-helper ships no ITS rules of its own, so the argument has no purpose beyond breaking the merge. Replace the patch with one that drops data_dirs and keeps the merge enabled, and remove the manual install of the template. Tested by rebuilding for corei7-64: the installed policy file now carries description and message elements for all 43 languages. AI-Generated: Uses Claude Code (Claude Opus 5) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>