remove markup in strings marked for translation
Use attributes instead to make translation easier. The markup
tags should not be in the translation strings.
Change-Id: I2c22925b79f67675dcfc9e650adf6f59a1a2ba45
Reviewed-by: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
diff --git a/ui/accountadvancedtab.ui b/ui/accountadvancedtab.ui
index 577e227..0dec5ff 100644
--- a/ui/accountadvancedtab.ui
+++ b/ui/accountadvancedtab.ui
@@ -146,8 +146,10 @@
<object class="GtkLabel" id="label_registration">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes"><b>Registration</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Registration</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
</object>
@@ -220,8 +222,10 @@
<object class="GtkLabel" id="label_network_interface">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes"><b>Network Interface</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Network Interface</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
</object>
@@ -501,8 +505,10 @@
<object class="GtkLabel" id="label_published">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes"><b>Published Address</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Published Address</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
</object>
@@ -602,8 +608,10 @@
<object class="GtkLabel" id="label_audio_rtp_range">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes"><b>Audio RTP Port Range</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Audio RTP Port Range</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
</object>
@@ -676,8 +684,10 @@
<object class="GtkLabel" id="label_video_rtp_range">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes"><b>Video RTP Port Range</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Video RTP Port Range</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
</object>
@@ -692,8 +702,10 @@
<object class="GtkLabel" id="label_ice_fallback">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes"><b>SDP Session Negotiation (ICE Fallback)</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">SDP Session Negotiation (ICE Fallback)</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
</object>
diff --git a/ui/accountaudiotab.ui b/ui/accountaudiotab.ui
index 08fc350..2099946 100644
--- a/ui/accountaudiotab.ui
+++ b/ui/accountaudiotab.ui
@@ -74,8 +74,10 @@
<object class="GtkLabel" id="label_codecs">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes"><b>Codecs</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Codecs</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
</object>
diff --git a/ui/accountgeneraltab.ui b/ui/accountgeneraltab.ui
index 9466022..755fd73 100644
--- a/ui/accountgeneraltab.ui
+++ b/ui/accountgeneraltab.ui
@@ -39,8 +39,10 @@
<object class="GtkLabel" id="label_account">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes"><b>Account</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Account</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
</object>
@@ -77,8 +79,10 @@
<object class="GtkLabel" id="label_parameters">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes"><b>Parameters</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Parameters</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
</object>
diff --git a/ui/accountsecuritytab.ui b/ui/accountsecuritytab.ui
index a5d533c..5040cd1 100644
--- a/ui/accountsecuritytab.ui
+++ b/ui/accountsecuritytab.ui
@@ -91,8 +91,10 @@
<object class="GtkLabel" id="label_srtp">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes"><b>Media Stream Encryption</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Media Stream Encryption</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
</object>
@@ -488,8 +490,10 @@
<object class="GtkLabel" id="label_tls_settings">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes"><b>Negotiation Encryption</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Negotiation Encryption</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
</object>
diff --git a/ui/accountvideotab.ui b/ui/accountvideotab.ui
index eca2278..86168e6 100644
--- a/ui/accountvideotab.ui
+++ b/ui/accountvideotab.ui
@@ -74,8 +74,10 @@
<object class="GtkLabel" id="label_codecs">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes"><b>Codecs</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Codecs</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
</object>
diff --git a/ui/generalsettingsview.ui b/ui/generalsettingsview.ui
index 0878292..adcbfe1 100644
--- a/ui/generalsettingsview.ui
+++ b/ui/generalsettingsview.ui
@@ -31,8 +31,10 @@
<child type="label">
<object class="GtkLabel" id="label_profile_settings">
<property name="visible">True</property>
- <property name="label" translatable="yes"><b>Profile Settings</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Profile Settings</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
<!-- end frame label -->
@@ -73,8 +75,10 @@
<child type="label">
<object class="GtkLabel" id="label_ring_settings">
<property name="visible">True</property>
- <property name="label" translatable="yes"><b>Ring Settings</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Ring Settings</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
<!-- end frame label -->
@@ -151,8 +155,10 @@
<object class="GtkLabel" id="label_history_settings">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes"><b>History Settings</b></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">History Settings</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
</child>
<!-- end frame label -->