diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-10-25 14:46:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-10-25 15:32:09 +0100 |
commit | d3fb6d227c77198aa0b70d6f5260ff239f5d692c (patch) | |
tree | 160da1f4aa2bf1f0034969469b68b01b29b7f3d7 /cui | |
parent | 725eba738eae4eee6cd9b833d375db5463833119 (diff) |
remove .ui mark-up in favor of font attributes
so we can keep translations markup free, and it matches
better our existing font use in controls
Change-Id: Ib762030f8bf831f2b0afabdd643508e660ad9266
See: https://live.gnome.org/GnomeGoals/RemoveMarkupInMessages
Diffstat (limited to 'cui')
-rw-r--r-- | cui/uiconfig/ui/charnamepage.ui | 30 | ||||
-rw-r--r-- | cui/uiconfig/ui/effectspage.ui | 12 | ||||
-rw-r--r-- | cui/uiconfig/ui/insertoleobject.ui | 12 | ||||
-rw-r--r-- | cui/uiconfig/ui/insertplugin.ui | 12 | ||||
-rw-r--r-- | cui/uiconfig/ui/positionpage.ui | 30 | ||||
-rw-r--r-- | cui/uiconfig/ui/twolinespage.ui | 18 | ||||
-rw-r--r-- | cui/uiconfig/ui/zoomdialog.ui | 12 |
7 files changed, 84 insertions, 42 deletions
diff --git a/cui/uiconfig/ui/charnamepage.ui b/cui/uiconfig/ui/charnamepage.ui index 6f825251e20e..eab5b32ccec7 100644 --- a/cui/uiconfig/ui/charnamepage.ui +++ b/cui/uiconfig/ui/charnamepage.ui @@ -156,8 +156,10 @@ <object class="GtkLabel" id="label21"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Font</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Font</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -305,8 +307,10 @@ <object class="GtkLabel" id="label4"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Western text font</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Western text font</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -454,8 +458,10 @@ <object class="GtkLabel" id="label5"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Asian text font</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Asian text font</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -603,8 +609,10 @@ <object class="GtkLabel" id="label6"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>CTL font</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">CTL font</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -638,8 +646,10 @@ <object class="GtkLabel" id="label19"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Preview</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Preview</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> diff --git a/cui/uiconfig/ui/effectspage.ui b/cui/uiconfig/ui/effectspage.ui index 0fe4462cd5dc..6391f4dbd89f 100644 --- a/cui/uiconfig/ui/effectspage.ui +++ b/cui/uiconfig/ui/effectspage.ui @@ -617,8 +617,10 @@ <object class="GtkLabel" id="label42"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Options</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Options</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -652,8 +654,10 @@ <object class="GtkLabel" id="label50"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Preview</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Preview</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> diff --git a/cui/uiconfig/ui/insertoleobject.ui b/cui/uiconfig/ui/insertoleobject.ui index c41ea5b106f5..e823476067cf 100644 --- a/cui/uiconfig/ui/insertoleobject.ui +++ b/cui/uiconfig/ui/insertoleobject.ui @@ -90,8 +90,10 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Object type</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Object type</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -173,8 +175,10 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>File</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">File</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> diff --git a/cui/uiconfig/ui/insertplugin.ui b/cui/uiconfig/ui/insertplugin.ui index ef3ac40a3f6c..ae2c4f7b9d15 100644 --- a/cui/uiconfig/ui/insertplugin.ui +++ b/cui/uiconfig/ui/insertplugin.ui @@ -69,8 +69,10 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>File/URL</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">File/URL</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -117,8 +119,10 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Options</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Options</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> diff --git a/cui/uiconfig/ui/positionpage.ui b/cui/uiconfig/ui/positionpage.ui index 64bb40b0e9ed..d142bae0238c 100644 --- a/cui/uiconfig/ui/positionpage.ui +++ b/cui/uiconfig/ui/positionpage.ui @@ -210,8 +210,10 @@ <object class="GtkLabel" id="label20"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Position</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Position</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -370,8 +372,10 @@ <object class="GtkLabel" id="rotateandscale"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Rotation / Scaling</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Rotation / Scaling</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> <packing> <property name="expand">False</property> @@ -384,8 +388,10 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes"><b>Rotation</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Rotation</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> <packing> <property name="expand">False</property> @@ -482,8 +488,10 @@ <object class="GtkLabel" id="label22"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Spacing</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Spacing</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -517,8 +525,10 @@ <object class="GtkLabel" id="label51"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Preview</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Preview</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> diff --git a/cui/uiconfig/ui/twolinespage.ui b/cui/uiconfig/ui/twolinespage.ui index acf20924e365..661d0554fe6e 100644 --- a/cui/uiconfig/ui/twolinespage.ui +++ b/cui/uiconfig/ui/twolinespage.ui @@ -34,8 +34,10 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Double-lined</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Double-lined</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -130,8 +132,10 @@ <object class="GtkLabel" id="label28"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Enclosing character</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Enclosing character</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -165,8 +169,10 @@ <object class="GtkLabel" id="label52"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Preview</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Preview</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> diff --git a/cui/uiconfig/ui/zoomdialog.ui b/cui/uiconfig/ui/zoomdialog.ui index d79cad0a07ce..5a35580dcd07 100644 --- a/cui/uiconfig/ui/zoomdialog.ui +++ b/cui/uiconfig/ui/zoomdialog.ui @@ -224,8 +224,10 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Zoom factor</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Zoom factor</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -363,8 +365,10 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>View layout</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">View layout</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> |