diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2010-01-01 21:02:23 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-01-06 23:18:29 +0800 |
commit | e38cc7c99febaf760bc07e118c8ce3f2d1ffe615 (patch) | |
tree | f7045b37466cbe75e0ae4ac6dc8a3e6c25a4eb6d /libempathy-gtk/empathy-account-widget-sip.ui | |
parent | 909a8b53b6ef8ec6e4a9e5bed8bbb5226dc061f4 (diff) | |
download | gsoc2013-empathy-e38cc7c99febaf760bc07e118c8ce3f2d1ffe615.tar gsoc2013-empathy-e38cc7c99febaf760bc07e118c8ce3f2d1ffe615.tar.gz gsoc2013-empathy-e38cc7c99febaf760bc07e118c8ce3f2d1ffe615.tar.bz2 gsoc2013-empathy-e38cc7c99febaf760bc07e118c8ce3f2d1ffe615.tar.lz gsoc2013-empathy-e38cc7c99febaf760bc07e118c8ce3f2d1ffe615.tar.xz gsoc2013-empathy-e38cc7c99febaf760bc07e118c8ce3f2d1ffe615.tar.zst gsoc2013-empathy-e38cc7c99febaf760bc07e118c8ce3f2d1ffe615.zip |
Remove Pango markup from translatable strings where possible
Use GtkBuilder attributes on labels instead, and change one instance of code
to automatically add markup to the translated string.
Diffstat (limited to 'libempathy-gtk/empathy-account-widget-sip.ui')
-rw-r--r-- | libempathy-gtk/empathy-account-widget-sip.ui | 34 |
1 files changed, 24 insertions, 10 deletions
diff --git a/libempathy-gtk/empathy-account-widget-sip.ui b/libempathy-gtk/empathy-account-widget-sip.ui index 1f465e478..13cc2f959 100644 --- a/libempathy-gtk/empathy-account-widget-sip.ui +++ b/libempathy-gtk/empathy-account-widget-sip.ui @@ -102,8 +102,11 @@ <property name="visible">True</property> <property name="xalign">0</property> <property name="xpad">3</property> - <property name="label" translatable="yes"><span size="small"><b>Example:</b> user@my.sip.server</span></property> + <property name="label" translatable="yes"><b>Example:</b> user@my.sip.server</property> <property name="use_markup">True</property> + <attributes> + <attribute name="scale" value="0.8"/><!-- PANGO_SCALE_SMALL --> + </attributes> </object> <packing> <property name="left_attach">1</property> @@ -199,8 +202,10 @@ username.</property> <object class="GtkLabel" id="label_nat_traversal"> <property name="visible">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes"><b>NAT Traversal Options</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">NAT Traversal Options</property> + <attributes> + <attribute name="weight" value="PANGO_WEIGHT_BOLD"/> + </attributes> </object> <packing> <property name="right_attach">4</property> @@ -210,8 +215,10 @@ username.</property> <object class="GtkLabel" id="label_proxy"> <property name="visible">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes"><b>Proxy Options</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Proxy Options</property> + <attributes> + <attribute name="weight" value="PANGO_WEIGHT_BOLD"/> + </attributes> </object> <packing> <property name="right_attach">4</property> @@ -223,8 +230,10 @@ username.</property> <object class="GtkLabel" id="label_misc"> <property name="visible">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes"><b>Miscellaneous Options</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Miscellaneous Options</property> + <attributes> + <attribute name="weight" value="PANGO_WEIGHT_BOLD"/> + </attributes> </object> <packing> <property name="right_attach">4</property> @@ -318,8 +327,10 @@ username.</property> <object class="GtkLabel" id="label_keep_alive"> <property name="visible">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes"><b>Keep-Alive Options</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Keep-Alive Options</property> + <attributes> + <attribute name="weight" value="PANGO_WEIGHT_BOLD"/> + </attributes> </object> <packing> <property name="right_attach">4</property> @@ -555,8 +566,11 @@ username.</property> <object class="GtkLabel" id="label_example"> <property name="visible">True</property> <property name="xalign">0.10000000149011612</property> - <property name="label" translatable="yes"><span size="small"><b>Example:</b> user@my.sip.server</span></property> + <property name="label" translatable="yes"><b>Example:</b> user@my.sip.server</property> <property name="use_markup">True</property> + <attributes> + <attribute name="scale" value="0.8"/><!-- PANGO_SCALE_SMALL --> + </attributes> </object> <packing> <property name="position">1</property> |