aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2009-11-17 23:47:49 +0800
committerClaude Paroz <claude@2xlibre.net>2009-11-17 23:47:49 +0800
commit4eb800f5fad1a749e8ff11d7b342ff66e1d8e3a2 (patch)
treea5a9aa1d1c81f0b73d2a6b137c6e9e94981b4f6c /addressbook/gui
parentf06fda60d98a7fba844a89429af34a65b700d0c7 (diff)
downloadgsoc2013-evolution-4eb800f5fad1a749e8ff11d7b342ff66e1d8e3a2.tar.gz
gsoc2013-evolution-4eb800f5fad1a749e8ff11d7b342ff66e1d8e3a2.tar.zst
gsoc2013-evolution-4eb800f5fad1a749e8ff11d7b342ff66e1d8e3a2.zip
Remove markup from translatable strings in ui files
GTKBuilder format allows to separate markup from translatable content. Whenever possible, this should be preferred so as there is less content to translate and less error opportunities.
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/contact-editor/contact-editor.ui60
-rw-r--r--addressbook/gui/contact-list-editor/contact-list-editor.ui6
2 files changed, 44 insertions, 22 deletions
diff --git a/addressbook/gui/contact-editor/contact-editor.ui b/addressbook/gui/contact-editor/contact-editor.ui
index e8104cb60d..964ce434c2 100644
--- a/addressbook/gui/contact-editor/contact-editor.ui
+++ b/addressbook/gui/contact-editor/contact-editor.ui
@@ -622,9 +622,8 @@
<child type="label">
<object class="GtkLabel" id="label400">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Email&lt;/b&gt;</property>
+ <property name="label" translatable="yes">Email</property>
<property name="use_underline">False</property>
- <property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
@@ -636,6 +635,9 @@
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
</object>
@@ -973,9 +975,8 @@
<child>
<object class="GtkLabel" id="label399">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Telephone&lt;/b&gt;</property>
+ <property name="label" translatable="yes">Telephone</property>
<property name="use_underline">False</property>
- <property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
@@ -987,6 +988,9 @@
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
<packing>
<property name="padding">0</property>
@@ -1197,9 +1201,8 @@
<child type="label">
<object class="GtkLabel" id="label404">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Instant Messaging&lt;/b&gt;</property>
+ <property name="label" translatable="yes">Instant Messaging</property>
<property name="use_underline">False</property>
- <property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
@@ -1211,6 +1214,9 @@
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
</object>
@@ -1504,9 +1510,8 @@
<child type="label">
<object class="GtkLabel" id="label410">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Web Addresses&lt;/b&gt;</property>
+ <property name="label" translatable="yes">Web Addresses</property>
<property name="use_underline">False</property>
- <property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
@@ -1518,6 +1523,9 @@
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
</object>
@@ -1847,9 +1855,8 @@
<child type="label">
<object class="GtkLabel" id="label417">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Job&lt;/b&gt;</property>
+ <property name="label" translatable="yes">Job</property>
<property name="use_underline">False</property>
- <property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
@@ -1861,6 +1868,9 @@
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
</object>
@@ -2090,9 +2100,8 @@
<child type="label">
<object class="GtkLabel" id="label421">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Miscellaneous&lt;/b&gt;</property>
+ <property name="label" translatable="yes">Miscellaneous</property>
<property name="use_underline">False</property>
- <property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
@@ -2104,6 +2113,9 @@
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
</object>
@@ -2495,9 +2507,8 @@
<child type="label">
<object class="GtkLabel" id="frame73">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Home&lt;/b&gt;</property>
+ <property name="label" translatable="yes">Home</property>
<property name="use_underline">False</property>
- <property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
@@ -2509,6 +2520,9 @@
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
</object>
@@ -2870,9 +2884,8 @@
<child type="label">
<object class="GtkLabel" id="label460">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Work&lt;/b&gt;</property>
+ <property name="label" translatable="yes">Work</property>
<property name="use_underline">False</property>
- <property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
@@ -2884,6 +2897,9 @@
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
</object>
@@ -3245,9 +3261,8 @@
<child type="label">
<object class="GtkLabel" id="label467">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Other&lt;/b&gt;</property>
+ <property name="label" translatable="yes">Other</property>
<property name="use_underline">False</property>
- <property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
@@ -3259,6 +3274,9 @@
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
</object>
@@ -3364,9 +3382,8 @@
<child type="label">
<object class="GtkLabel" id="label475">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Notes&lt;/b&gt;</property>
+ <property name="label" translatable="yes">Notes</property>
<property name="use_underline">False</property>
- <property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
@@ -3378,6 +3395,9 @@
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
</object>
diff --git a/addressbook/gui/contact-list-editor/contact-list-editor.ui b/addressbook/gui/contact-list-editor/contact-list-editor.ui
index 37d0d94746..0c1e21cf68 100644
--- a/addressbook/gui/contact-list-editor/contact-list-editor.ui
+++ b/addressbook/gui/contact-list-editor/contact-list-editor.ui
@@ -108,8 +108,10 @@
<object class="GtkLabel" id="members-label">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property context="yes" name="label" translatable="yes">&lt;b&gt;Members&lt;/b&gt;</property>
- <property name="use_markup">True</property>
+ <property context="yes" name="label" translatable="yes">Members</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
<packing>
<property name="expand">False</property>