[gtk+] bloatpad: replace single quotes with double quotes in menus.ui
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] bloatpad: replace single quotes with double quotes in menus.ui
- Date: Sat, 24 Sep 2016 16:18:51 +0000 (UTC)
commit 4a4ef04020f0774d2198d5d52ab40b9270b6e874
Author: Piotr Drąg <piotrdrag gmail com>
Date: Sat Sep 24 18:17:34 2016 +0200
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.
examples/bp/gtk/menus.ui | 78 +++++++++++++++++++++++-----------------------
1 files changed, 39 insertions(+), 39 deletions(-)
---
diff --git a/examples/bp/gtk/menus.ui b/examples/bp/gtk/menus.ui
index d3adad8..e81f0a4 100644
--- a/examples/bp/gtk/menus.ui
+++ b/examples/bp/gtk/menus.ui
@@ -1,91 +1,91 @@
-<?xml version='1.0' encoding='UTF-8'?>
+<?xml version="1.0" encoding="UTF-8"?>
<interface>
- <menu id='app-menu'>
+ <menu id="app-menu">
<section>
<item>
- <attribute name='label' translatable='yes'>_New Window</attribute>
- <attribute name='action'>app.new</attribute>
+ <attribute name="label" translatable="yes">_New Window</attribute>
+ <attribute name="action">app.new</attribute>
</item>
</section>
<section>
<item>
- <attribute name='label' translatable='yes'>_About Bloatpad</attribute>
- <attribute name='hidden-when'>macos-menubar</attribute>
- <attribute name='action'>app.about</attribute>
+ <attribute name="label" translatable="yes">_About Bloatpad</attribute>
+ <attribute name="hidden-when">macos-menubar</attribute>
+ <attribute name="action">app.about</attribute>
</item>
</section>
<section>
<item>
- <attribute name='label' translatable='yes'>_Quit</attribute>
- <attribute name='hidden-when'>macos-menubar</attribute>
- <attribute name='action'>app.quit</attribute>
+ <attribute name="label" translatable="yes">_Quit</attribute>
+ <attribute name="hidden-when">macos-menubar</attribute>
+ <attribute name="action">app.quit</attribute>
</item>
</section>
</menu>
- <menu id='menubar'>
+ <menu id="menubar">
<submenu>
- <attribute name='label' translatable='yes'>_Edit</attribute>
+ <attribute name="label" translatable="yes">_Edit</attribute>
<section>
<item>
- <attribute name='label' translatable='yes'>_Copy</attribute>
- <attribute name='action'>win.copy</attribute>
+ <attribute name="label" translatable="yes">_Copy</attribute>
+ <attribute name="action">win.copy</attribute>
</item>
<item>
- <attribute name='label' translatable='yes'>_Paste</attribute>
- <attribute name='action'>win.paste</attribute>
+ <attribute name="label" translatable="yes">_Paste</attribute>
+ <attribute name="action">win.paste</attribute>
</item>
</section>
<section>
<item>
<!-- action should never be missing (so always shown) -->
- <attribute name='label'>Clear (always shown)</attribute>
- <attribute name='action'>win.clear</attribute>
- <attribute name='hidden-when'>action-missing</attribute>
+ <attribute name="label">Clear (always shown)</attribute>
+ <attribute name="action">win.clear</attribute>
+ <attribute name="hidden-when">action-missing</attribute>
</item>
<item>
- <attribute name='label'>Clear (hidden when no text)</attribute>
- <attribute name='hidden-when'>action-disabled</attribute>
- <attribute name='action'>win.clear</attribute>
+ <attribute name="label">Clear (hidden when no text)</attribute>
+ <attribute name="hidden-when">action-disabled</attribute>
+ <attribute name="action">win.clear</attribute>
</item>
<item>
- <attribute name='label'>Spell check (does nothing, hides)</attribute>
- <attribute name='hidden-when'>action-missing</attribute>
- <attribute name='action'>win.spell-check</attribute>
+ <attribute name="label">Spell check (does nothing, hides)</attribute>
+ <attribute name="hidden-when">action-missing</attribute>
+ <attribute name="action">win.spell-check</attribute>
</item>
</section>
<section>
<item>
- <attribute name='label' translatable='yes'>Accelerators...</attribute>
- <attribute name='action'>app.edit-accels</attribute>
+ <attribute name="label" translatable="yes">Accelerators...</attribute>
+ <attribute name="action">app.edit-accels</attribute>
</item>
</section>
<section>
<item>
- <attribute name='label' translatable='yes'>Shortcuts...</attribute>
- <attribute name='action'>win.show-help-overlay</attribute>
+ <attribute name="label" translatable="yes">Shortcuts...</attribute>
+ <attribute name="action">win.show-help-overlay</attribute>
</item>
</section>
</submenu>
<submenu>
- <attribute name='label' translatable='yes'>_View</attribute>
+ <attribute name="label" translatable="yes">_View</attribute>
<section>
<item>
- <attribute name='label' translatable='yes'>_Fullscreen</attribute>
- <attribute name='action'>win.fullscreen</attribute>
+ <attribute name="label" translatable="yes">_Fullscreen</attribute>
+ <attribute name="action">win.fullscreen</attribute>
</item>
<item>
- <attribute name='label' translatable='yes'>_Look Busy</attribute>
- <attribute name='action'>win.busy</attribute>
+ <attribute name="label" translatable="yes">_Look Busy</attribute>
+ <attribute name="action">win.busy</attribute>
</item>
</section>
</submenu>
- <submenu id='icon-menu'>
- <attribute name='label' translatable='yes'>_Icons</attribute>
+ <submenu id="icon-menu">
+ <attribute name="label" translatable="yes">_Icons</attribute>
</submenu>
- <submenu id='time-menu'>
- <attribute name='label' translatable='yes'>Time</attribute>
- <attribute name='submenu-action'>app.time-active</attribute>
+ <submenu id="time-menu">
+ <attribute name="label" translatable="yes">Time</attribute>
+ <attribute name="submenu-action">app.time-active</attribute>
</submenu>
</menu>
</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]