blueprint-compiler/tests/samples/scale_marks.ui
Matthijs Velsink e16e723a81 scale: Decompile non-translatable labels too
While working on the previous commit, I noticed Gtk.Scale specially
handles translator comments, but more importantly, that it does not put
non-translatable labels in its decompiled output.

This is wrong, as it's not unlikely that Gtk.Scale marks would use a
purely numeric string, which should not be lost upon decompilation.

Add a test for this case too.
2025-06-13 00:10:54 +02:00

17 lines
No EOL
533 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
DO NOT EDIT!
This file was @generated by blueprint-compiler. Instead, edit the
corresponding .blp file and regenerate this file with blueprint-compiler.
-->
<interface>
<requires lib="gtk" version="4.0"/>
<object class="GtkScale">
<marks>
<mark value="-1" position="bottom"></mark>
<mark value="0" position="top" translatable="yes">Hello, world!</mark>
<mark value="1" position="bottom">1</mark>
<mark value="2"></mark>
</marks>
</object>
</interface>