The context menu items in the data- / audio composition window are not fully translatable. Only if the label value is used somewhere else in the code by chance, it appears in the translation files. The UI strings should be exported as separate XML files which can then be added to "POTFILES.in". Another option would be to create the interfaces in code. See also: - https://git.xfce.org/apps/xfburn/tree/xfburn/xfburn-data-composition.c#n276 - https://git.xfce.org/apps/xfburn/tree/xfburn/xfburn-audio-composition.c#n295
Created attachment 9318 patch implementing the context menu the attached patch is the consolidation of the 3 stages 1. extracting the menus as a UI file and adding it to the build and translations 2. updating audio composition code to use the new context ui 3. the same update for data composition
the change as a merge request on my gitlab: https://gitlab.com/Katana-Steel/xfburn/merge_requests/2/diffs
Thanks for the proposed fix, your patch works fine. But I would still add the XML declaration (<?xml version="1.0" encoding="utf-8"?>), like in xfburn.ui.
Rene Kjellerup referenced this bugreport in commit 3ede662d30006530325a7e77d915e24e4e2df6b3 Adding a popup UI file for context menus (1/3) https://git.xfce.org/apps/xfburn/commit?id=3ede662d30006530325a7e77d915e24e4e2df6b3
Rene Kjellerup referenced this bugreport in commit 1043053506babc42c6da2101b48df2fb1eda9d0f Updated Audio Composition to define context menu from file (2/3) https://git.xfce.org/apps/xfburn/commit?id=1043053506babc42c6da2101b48df2fb1eda9d0f
Rene Kjellerup referenced this bugreport in commit 8d4073704bae166e7598f05ab4333ed36c20324b Updated Data Composition to define the context menu from file (3/3) https://git.xfce.org/apps/xfburn/commit?id=8d4073704bae166e7598f05ab4333ed36c20324b
Added the XML header for good measure too :) Thank you for checking/testing it. Fix pushed to master