[gnome-builder] Remove markup from strings in UI files
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] Remove markup from strings in UI files
- Date: Wed, 25 Mar 2015 18:47:10 +0000 (UTC)
commit a8cca5a03aaa5ca2dc643decb8d2fa4e07b4814c
Author: Piotr Drąg <piotrdrag gmail com>
Date: Wed Mar 25 19:45:50 2015 +0100
Remove markup from strings in UI files
https://wiki.gnome.org/Initiatives/GnomeGoals/RemoveMarkupInMessages
data/ui/gb-preferences-page-editor.ui | 60 ++++++++++++++++++---------
data/ui/gb-preferences-page-experimental.ui | 6 ++-
data/ui/gb-preferences-page-keybindings.ui | 18 +++++---
3 files changed, 56 insertions(+), 28 deletions(-)
---
diff --git a/data/ui/gb-preferences-page-editor.ui b/data/ui/gb-preferences-page-editor.ui
index 74ff67f..bc3324e 100644
--- a/data/ui/gb-preferences-page-editor.ui
+++ b/data/ui/gb-preferences-page-editor.ui
@@ -136,9 +136,11 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes"><b>Restore Cursor
Position</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Restore Cursor Position</property>
<property name="xalign">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
<packing>
<property name="expand">False</property>
@@ -180,9 +182,11 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes"><b>Suggest Word
Completion</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Suggest Word Completion</property>
<property name="xalign">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
<packing>
<property name="expand">False</property>
@@ -224,9 +228,11 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes"><b>Display Document
Changes</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Display Document Changes</property>
<property name="xalign">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
<packing>
<property name="expand">False</property>
@@ -268,9 +274,11 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes"><b>Show Line Numbers</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Show Line Numbers</property>
<property name="xalign">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
<packing>
<property name="expand">False</property>
@@ -312,9 +320,11 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes"><b>Highlight Current
Line</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Highlight Current Line</property>
<property name="xalign">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
<packing>
<property name="expand">False</property>
@@ -356,9 +366,11 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes"><b>Highlight Matching
Brackets</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Highlight Matching Brackets</property>
<property name="xalign">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
<packing>
<property name="expand">False</property>
@@ -400,9 +412,11 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes"><b>Smart Home End</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Smart Home End</property>
<property name="xalign">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
<packing>
<property name="expand">False</property>
@@ -444,9 +458,11 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes"><b>Smart Backspace</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Smart Backspace</property>
<property name="xalign">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
<packing>
<property name="expand">False</property>
@@ -488,9 +504,11 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes"><b>Show Grid Lines</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Show Grid Lines</property>
<property name="xalign">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
<packing>
<property name="expand">False</property>
@@ -532,9 +550,11 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="label" translatable="yes"><b>Scroll Offset</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Scroll Offset</property>
<property name="xalign">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
<packing>
<property name="expand">False</property>
diff --git a/data/ui/gb-preferences-page-experimental.ui b/data/ui/gb-preferences-page-experimental.ui
index 4c2a4ec..a21b5be 100644
--- a/data/ui/gb-preferences-page-experimental.ui
+++ b/data/ui/gb-preferences-page-experimental.ui
@@ -33,10 +33,12 @@
<object class="GtkLabel">
<property name="visible">true</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes"><b>Clang
Auto-Completion</b></property>
- <property name="use-markup">true</property>
+ <property name="label" translatable="yes">Clang Auto-Completion</property>
<property name="margin-start">6</property>
<property name="margin-top">6</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
<child>
diff --git a/data/ui/gb-preferences-page-keybindings.ui b/data/ui/gb-preferences-page-keybindings.ui
index f17f152..c9ce822 100644
--- a/data/ui/gb-preferences-page-keybindings.ui
+++ b/data/ui/gb-preferences-page-keybindings.ui
@@ -34,10 +34,12 @@
<object class="GtkLabel" id="label1">
<property name="visible">true</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes"><b>Builder</b></property>
- <property name="use-markup">true</property>
+ <property name="label" translatable="yes">Builder</property>
<property name="margin-start">6</property>
<property name="margin-top">6</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
<child>
@@ -80,10 +82,12 @@
<object class="GtkLabel">
<property name="visible">true</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes"><b>Emacs
Emulation</b></property>
- <property name="use-markup">true</property>
+ <property name="label" translatable="yes">Emacs Emulation</property>
<property name="margin-start">6</property>
<property name="margin-top">6</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
<child>
@@ -126,10 +130,12 @@
<object class="GtkLabel">
<property name="visible">true</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes"><b>Vim Emulation</b></property>
- <property name="use-markup">true</property>
+ <property name="label" translatable="yes">Vim Emulation</property>
<property name="margin-start">6</property>
<property name="margin-top">6</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]