menus, plug-ins: more tab menu translatability

This commit is contained in:
Anders Jonsson 2023-07-16 16:22:58 +02:00 committed by Jehan
parent 48845bdd6f
commit 091893ddf5
7 changed files with 16 additions and 12 deletions

View file

@ -8,7 +8,7 @@
<item><attribute name="action">app.channels-edit-attributes</attribute></item>
<submenu>
<attribute name="label">Color Tags</attribute>
<attribute name="label" translatable="yes">Color Tags</attribute>
<item><attribute name="action">app.channels-color-tag-none</attribute></item>
<item><attribute name="action">app.channels-color-tag-blue</attribute></item>
<item><attribute name="action">app.channels-color-tag-green</attribute></item>

View file

@ -9,7 +9,7 @@
<item><attribute name="action">error-console.error-console-save-selection</attribute></item>
</section>
<submenu>
<attribute name="label">_Highlight</attribute>
<attribute name="label" translatable="yes" context="error-console-action">_Highlight</attribute>
<item><attribute name="action">error-console.error-console-highlight-error</attribute></item>
<item><attribute name="action">error-console.error-console-highlight-warning</attribute></item>
<item><attribute name="action">error-console.error-console-highlight-info</attribute></item>

View file

@ -9,19 +9,19 @@
<item><attribute name="action">app.layers-edit-text</attribute></item>
<item><attribute name="action">app.layers-edit-attributes</attribute></item>
<submenu>
<attribute name="label">Blend Space</attribute>
<attribute name="label" translatable="yes" context="layers-action">Blend Space</attribute>
<item><attribute name="action">app.layers-blend-space-auto</attribute></item>
<item><attribute name="action">app.layers-blend-space-rgb-linear</attribute></item>
<item><attribute name="action">app.layers-blend-space-rgb-perceptual</attribute></item>
</submenu>
<submenu>
<attribute name="label">Composite Space</attribute>
<attribute name="label" translatable="yes" context="layers-action">Composite Space</attribute>
<item><attribute name="action">app.layers-composite-space-auto</attribute></item>
<item><attribute name="action">app.layers-composite-space-rgb-linear</attribute></item>
<item><attribute name="action">app.layers-composite-space-rgb-perceptual</attribute></item>
</submenu>
<submenu>
<attribute name="label">Composite Mode</attribute>
<attribute name="label" translatable="yes" context="layers-action">Composite Mode</attribute>
<item><attribute name="action">app.layers-composite-mode-auto</attribute></item>
<item><attribute name="action">app.layers-composite-mode-union</attribute></item>
<item><attribute name="action">app.layers-composite-mode-clip-to-backdrop</attribute></item>
@ -29,7 +29,7 @@
<item><attribute name="action">app.layers-composite-mode-intersection</attribute></item>
</submenu>
<submenu>
<attribute name="label">Color Tags</attribute>
<attribute name="label" translatable="yes">Color Tags</attribute>
<item><attribute name="action">app.layers-color-tag-none</attribute></item>
<item><attribute name="action">app.layers-color-tag-blue</attribute></item>
<item><attribute name="action">app.layers-color-tag-green</attribute></item>

View file

@ -20,5 +20,8 @@
<item><attribute name="action">palettes.palettes-refresh</attribute></item>
</section>
</submenu>
<submenu>
<attribute name="label" translatable="yes" context="palettes-action">Export as</attribute>
</submenu>
</menu>
</interface>

View file

@ -9,7 +9,7 @@
<item><attribute name="action">app.vectors-edit</attribute></item>
<item><attribute name="action">app.vectors-edit-attributes</attribute></item>
<submenu>
<attribute name="label">Color Tags</attribute>
<attribute name="label" translatable="yes">Color Tags</attribute>
<item><attribute name="action">app.vectors-color-tag-none</attribute></item>
<item><attribute name="action">app.vectors-color-tag-blue</attribute></item>
<item><attribute name="action">app.vectors-color-tag-green</attribute></item>

View file

@ -261,7 +261,7 @@
)
)
)
(register-palette-exporter "css" "_CSS stylesheet..." "css"
(register-palette-exporter "css" _"_CSS stylesheet..." "css"
(string-append _"Export the active palette as a CSS stylesheet with the color entry name as their class name, and the color itself as the color attribute")
"Barak Itkin <lightningismyname@gmail.com>"
"Barak Itkin" "May 15th, 2009")
@ -287,7 +287,7 @@
)
)
)
(register-palette-exporter "php" "P_HP dictionary..." "php"
(register-palette-exporter "php" _"P_HP dictionary..." "php"
_"Export the active palette as a PHP dictionary (name => color)"
"Barak Itkin <lightningismyname@gmail.com>"
"Barak Itkin" "May 15th, 2009")
@ -319,7 +319,7 @@
)
)
)
(register-palette-exporter "python" "_Python dictionary" "py"
(register-palette-exporter "python" _"_Python dictionary..." "py"
_"Export the active palette as a Python dictionary (name: color)"
"Barak Itkin <lightningismyname@gmail.com>"
"Barak Itkin" "May 15th, 2009")
@ -348,7 +348,7 @@
)
)
)
(register-palette-exporter "text" "_Text file..." "txt"
(register-palette-exporter "text" _"_Text file..." "txt"
_"Write all the colors in a palette to a text file, one hexadecimal value per line (no names)"
"Barak Itkin <lightningismyname@gmail.com>"
"Barak Itkin" "May 15th, 2009")
@ -395,7 +395,7 @@
)
)
(register-palette-exporter "java" "J_ava map..." "java"
(register-palette-exporter "java" _"J_ava map..." "java"
_"Export the active palette as a java.util.Hashtable&lt;String,Color&gt;"
"Barak Itkin <lightningismyname@gmail.com>"
"Barak Itkin" "May 15th, 2009")

View file

@ -662,6 +662,7 @@ menus/dashboard-menu.ui
menus/dockable-menu.ui.in.in
menus/dynamics-editor-menu.ui
menus/dynamics-menu.ui
menus/error-console-menu.ui
menus/gradient-editor-menu.ui
menus/gradients-menu.ui
menus/image-menu.ui.in.in