bloatpad: replace single quotes with double quotes in menus.ui

Double quotes are more friendly to some l10n tools, and this sets
a good example for application authors to follow.
This commit is contained in:
Piotr Drąg
2016-09-24 18:17:34 +02:00
parent ebc852249a
commit 4a4ef04020

View File

@@ -1,91 +1,91 @@
<?xml version='1.0' encoding='UTF-8'?> <?xml version="1.0" encoding="UTF-8"?>
<interface> <interface>
<menu id='app-menu'> <menu id="app-menu">
<section> <section>
<item> <item>
<attribute name='label' translatable='yes'>_New Window</attribute> <attribute name="label" translatable="yes">_New Window</attribute>
<attribute name='action'>app.new</attribute> <attribute name="action">app.new</attribute>
</item> </item>
</section> </section>
<section> <section>
<item> <item>
<attribute name='label' translatable='yes'>_About Bloatpad</attribute> <attribute name="label" translatable="yes">_About Bloatpad</attribute>
<attribute name='hidden-when'>macos-menubar</attribute> <attribute name="hidden-when">macos-menubar</attribute>
<attribute name='action'>app.about</attribute> <attribute name="action">app.about</attribute>
</item> </item>
</section> </section>
<section> <section>
<item> <item>
<attribute name='label' translatable='yes'>_Quit</attribute> <attribute name="label" translatable="yes">_Quit</attribute>
<attribute name='hidden-when'>macos-menubar</attribute> <attribute name="hidden-when">macos-menubar</attribute>
<attribute name='action'>app.quit</attribute> <attribute name="action">app.quit</attribute>
</item> </item>
</section> </section>
</menu> </menu>
<menu id='menubar'> <menu id="menubar">
<submenu> <submenu>
<attribute name='label' translatable='yes'>_Edit</attribute> <attribute name="label" translatable="yes">_Edit</attribute>
<section> <section>
<item> <item>
<attribute name='label' translatable='yes'>_Copy</attribute> <attribute name="label" translatable="yes">_Copy</attribute>
<attribute name='action'>win.copy</attribute> <attribute name="action">win.copy</attribute>
</item> </item>
<item> <item>
<attribute name='label' translatable='yes'>_Paste</attribute> <attribute name="label" translatable="yes">_Paste</attribute>
<attribute name='action'>win.paste</attribute> <attribute name="action">win.paste</attribute>
</item> </item>
</section> </section>
<section> <section>
<item> <item>
<!-- action should never be missing (so always shown) --> <!-- action should never be missing (so always shown) -->
<attribute name='label'>Clear (always shown)</attribute> <attribute name="label">Clear (always shown)</attribute>
<attribute name='action'>win.clear</attribute> <attribute name="action">win.clear</attribute>
<attribute name='hidden-when'>action-missing</attribute> <attribute name="hidden-when">action-missing</attribute>
</item> </item>
<item> <item>
<attribute name='label'>Clear (hidden when no text)</attribute> <attribute name="label">Clear (hidden when no text)</attribute>
<attribute name='hidden-when'>action-disabled</attribute> <attribute name="hidden-when">action-disabled</attribute>
<attribute name='action'>win.clear</attribute> <attribute name="action">win.clear</attribute>
</item> </item>
<item> <item>
<attribute name='label'>Spell check (does nothing, hides)</attribute> <attribute name="label">Spell check (does nothing, hides)</attribute>
<attribute name='hidden-when'>action-missing</attribute> <attribute name="hidden-when">action-missing</attribute>
<attribute name='action'>win.spell-check</attribute> <attribute name="action">win.spell-check</attribute>
</item> </item>
</section> </section>
<section> <section>
<item> <item>
<attribute name='label' translatable='yes'>Accelerators...</attribute> <attribute name="label" translatable="yes">Accelerators...</attribute>
<attribute name='action'>app.edit-accels</attribute> <attribute name="action">app.edit-accels</attribute>
</item> </item>
</section> </section>
<section> <section>
<item> <item>
<attribute name='label' translatable='yes'>Shortcuts...</attribute> <attribute name="label" translatable="yes">Shortcuts...</attribute>
<attribute name='action'>win.show-help-overlay</attribute> <attribute name="action">win.show-help-overlay</attribute>
</item> </item>
</section> </section>
</submenu> </submenu>
<submenu> <submenu>
<attribute name='label' translatable='yes'>_View</attribute> <attribute name="label" translatable="yes">_View</attribute>
<section> <section>
<item> <item>
<attribute name='label' translatable='yes'>_Fullscreen</attribute> <attribute name="label" translatable="yes">_Fullscreen</attribute>
<attribute name='action'>win.fullscreen</attribute> <attribute name="action">win.fullscreen</attribute>
</item> </item>
<item> <item>
<attribute name='label' translatable='yes'>_Look Busy</attribute> <attribute name="label" translatable="yes">_Look Busy</attribute>
<attribute name='action'>win.busy</attribute> <attribute name="action">win.busy</attribute>
</item> </item>
</section> </section>
</submenu> </submenu>
<submenu id='icon-menu'> <submenu id="icon-menu">
<attribute name='label' translatable='yes'>_Icons</attribute> <attribute name="label" translatable="yes">_Icons</attribute>
</submenu> </submenu>
<submenu id='time-menu'> <submenu id="time-menu">
<attribute name='label' translatable='yes'>Time</attribute> <attribute name="label" translatable="yes">Time</attribute>
<attribute name='submenu-action'>app.time-active</attribute> <attribute name="submenu-action">app.time-active</attribute>
</submenu> </submenu>
</menu> </menu>
</interface> </interface>