diff options
author | Claude Paroz <claude@2xlibre.net> | 2009-11-17 23:47:49 +0800 |
---|---|---|
committer | Claude Paroz <claude@2xlibre.net> | 2009-11-17 23:47:49 +0800 |
commit | 4eb800f5fad1a749e8ff11d7b342ff66e1d8e3a2 (patch) | |
tree | a5a9aa1d1c81f0b73d2a6b137c6e9e94981b4f6c /addressbook | |
parent | f06fda60d98a7fba844a89429af34a65b700d0c7 (diff) | |
download | gsoc2013-evolution-4eb800f5fad1a749e8ff11d7b342ff66e1d8e3a2.tar gsoc2013-evolution-4eb800f5fad1a749e8ff11d7b342ff66e1d8e3a2.tar.gz gsoc2013-evolution-4eb800f5fad1a749e8ff11d7b342ff66e1d8e3a2.tar.bz2 gsoc2013-evolution-4eb800f5fad1a749e8ff11d7b342ff66e1d8e3a2.tar.lz gsoc2013-evolution-4eb800f5fad1a749e8ff11d7b342ff66e1d8e3a2.tar.xz 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')
-rw-r--r-- | addressbook/gui/contact-editor/contact-editor.ui | 60 | ||||
-rw-r--r-- | addressbook/gui/contact-list-editor/contact-list-editor.ui | 6 |
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"><b>Email</b></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"><b>Telephone</b></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"><b>Instant Messaging</b></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"><b>Web Addresses</b></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"><b>Job</b></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"><b>Miscellaneous</b></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"><b>Home</b></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"><b>Work</b></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"><b>Other</b></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"><b>Notes</b></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"><b>Members</b></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> |