Commit 744de362 authored by Kai Willadsen's avatar Kai Willadsen

ui.statusbar: Add some missed translatable strings and disambiguate one

parent 6dd36bba
......@@ -2,19 +2,19 @@
<interface>
<menu id="statusbar-menu">
<item>
<attribute name="label">Show line numbers</attribute>
<attribute name="label" translatable="yes">Show line numbers</attribute>
<attribute name="action">show-line-numbers</attribute>
</item>
<item>
<attribute name="label">Show whitespace</attribute>
<attribute name="label" translatable="yes">Show whitespace</attribute>
<attribute name="action">draw-spaces-bool</attribute>
</item>
<item>
<attribute name="label">Highlight current line</attribute>
<attribute name="label" translatable="yes">Highlight current line</attribute>
<attribute name="action">highlight-current-line-local</attribute>
</item>
<item>
<attribute name="label">Text wrapping</attribute>
<attribute name="label" translatable="yes">Text wrapping</attribute>
<attribute name="action">wrap-mode-bool</attribute>
</item>
</menu>
......
......@@ -277,6 +277,8 @@ class MeldStatusBar(Gtk.Statusbar):
pop.set_position(Gtk.PositionType.TOP)
button = MeldStatusMenuButton()
# TRANSLATORS: This is the status bar label for a group of settings,
# such as text wrapping, show line numbers, whitespace, etc.
button.set_label(_('Display'))
button.set_popover(pop)
button.show()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment