| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<interface domain="drawing"> |
| 3 |
<menu id="options-menu"> |
| 4 |
<section> |
| 5 |
<!-- Context: title for the list of the possible painting algorithms. --> |
| 6 |
<attribute name="label" translatable="yes">Behavior</attribute> |
| 7 |
<item> |
| 8 |
<!-- Context: this is one of the possible painting algorithms. It --> |
| 9 |
<!-- tries to draw a shape around the area to paint, and fill it --> |
| 10 |
<!-- with the new color. The shape is approximative so it's not the --> |
| 11 |
<!-- default behavior of the tool. --> |
| 12 |
<attribute name="label" translatable="yes">Encircle and fill</attribute> |
| 13 |
<attribute name="action">win.paint_algo</attribute> |
| 14 |
<attribute name="target">fill</attribute> |
| 15 |
</item> |
| 16 |
<item> |
| 17 |
<!-- Context: this is one of the possible painting algorithms. It --> |
| 18 |
<!-- erases the color the user clicked, and then replace transparent --> |
| 19 |
<!-- pixels with the new color. --> |
| 20 |
<attribute name="label" translatable="yes">Erase and replace</attribute> |
| 21 |
<attribute name="action">win.paint_algo</attribute> |
| 22 |
<attribute name="target">replace</attribute> |
| 23 |
</item> |
| 24 |
</section> |
| 25 |
<section> |
| 26 |
<item> |
| 27 |
<!-- Context: this is one of the possible painting algorithms. It --> |
| 28 |
<!-- paints over the entire image, instead of following the shapes --> |
| 29 |
<!-- already drawn. --> |
| 30 |
<attribute name="label" translatable="yes">Entire image</attribute> |
| 31 |
<attribute name="action">win.paint_algo</attribute> |
| 32 |
<attribute name="target">whole</attribute> |
| 33 |
</item> |
| 34 |
</section> |
| 35 |
<section> |
| 36 |
<item> |
| 37 |
<!-- Context: this is one of the possible painting algorithms. It --> |
| 38 |
<!-- doesn't really paint, instead it erases the color the user --> |
| 39 |
<!-- clicked. For example to cut out an object from its white --> |
| 40 |
<!-- background. --> |
| 41 |
<attribute name="label" translatable="yes">Remove color</attribute> |
| 42 |
<attribute name="action">win.paint_algo</attribute> |
| 43 |
<attribute name="target">clipping</attribute> |
| 44 |
</item> |
| 45 |
</section> |
| 46 |
</menu> |
| 47 |
</interface> |
| 48 |
|