decompiler: Fix translator comments in properties

This commit is contained in:
James Westman 2024-08-24 12:40:04 -05:00
parent a12ac1b976
commit 25d9826aea
4 changed files with 23 additions and 4 deletions

View file

@ -0,0 +1,6 @@
using Gtk 4.0;
Label {
/* Translators: This is a test comment. */
label: C_("test", "Hello, world!");
}

View file

@ -0,0 +1,12 @@
<?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="GtkLabel">
<property name="label" translatable="yes" comments="This is a test comment." context="test">Hello, world!</property>
</object>
</interface>