mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-06-22 23:19:25 -04:00
Merge branch 'wip/velsinki/formatting-improve-comments' into 'main'
Improve comment formatting and Gtk.Scale fix See merge request GNOME/blueprint-compiler!246
This commit is contained in:
commit
f8849d9084
6 changed files with 22 additions and 18 deletions
|
@ -46,7 +46,7 @@ menu menu {
|
|||
item ("test")
|
||||
|
||||
item {
|
||||
label: "test";
|
||||
label: "test"; /* Different inline comment style */
|
||||
}
|
||||
|
||||
item ("test")
|
||||
|
@ -59,7 +59,7 @@ Adw.MessageDialog {
|
|||
}
|
||||
|
||||
Adw.Breakpoint {
|
||||
condition ("width < 100")
|
||||
condition ("width < 100") // Another inline comment
|
||||
|
||||
setters {
|
||||
label2.label: _("Hello, world!");
|
||||
|
|
|
@ -4,6 +4,7 @@ Scale {
|
|||
marks [
|
||||
mark (-1, bottom),
|
||||
mark (0, top, _("Hello, world!")),
|
||||
mark (1, bottom, "1"),
|
||||
mark (2),
|
||||
]
|
||||
}
|
||||
|
|
|
@ -10,6 +10,7 @@ corresponding .blp file and regenerate this file with blueprint-compiler.
|
|||
<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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue