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 /sw | |
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 'sw')
-rw-r--r-- | sw/uiconfig/sw/ui/20872.ui | 12 | ||||
-rw-r--r-- | sw/uiconfig/sw/ui/20876.ui | 12 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/autoformattable.ui | 12 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/bibliographyentry.ui | 6 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/charurlpage.ui | 12 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/columnwidth.ui | 6 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/converttexttable.ui | 12 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/horizontalrule.ui | 6 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/indexentry.ui | 6 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/insertbreak.ui | 6 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/inserttable.ui | 18 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/linenumbering.ui | 30 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/printeroptions.ui | 18 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/sortdialog.ui | 30 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/splittable.ui | 6 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/stringinput.ui | 6 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/titlepage.ui | 18 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/wordcount.ui | 12 |
18 files changed, 150 insertions, 78 deletions
diff --git a/sw/uiconfig/sw/ui/20872.ui b/sw/uiconfig/sw/ui/20872.ui index ceee7d5a5c48..3e2d5efb3fbd 100644 --- a/sw/uiconfig/sw/ui/20872.ui +++ b/sw/uiconfig/sw/ui/20872.ui @@ -79,8 +79,10 @@ <object class="GtkLabel" id="1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Level</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Level</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -430,8 +432,10 @@ <object class="GtkLabel" id="3"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Position and spacing</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Position and spacing</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> diff --git a/sw/uiconfig/sw/ui/20876.ui b/sw/uiconfig/sw/ui/20876.ui index 82c1e9e169d8..ca09c2b93b1e 100644 --- a/sw/uiconfig/sw/ui/20876.ui +++ b/sw/uiconfig/sw/ui/20876.ui @@ -34,8 +34,10 @@ <object class="GtkLabel" id="130"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Level</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Level</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -326,8 +328,10 @@ <object class="GtkLabel" id="30"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Numbering</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Numbering</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> diff --git a/sw/uiconfig/swriter/ui/autoformattable.ui b/sw/uiconfig/swriter/ui/autoformattable.ui index f51c56d8c938..bf3d8cc64287 100644 --- a/sw/uiconfig/swriter/ui/autoformattable.ui +++ b/sw/uiconfig/swriter/ui/autoformattable.ui @@ -184,8 +184,10 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Format</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Format</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -313,8 +315,10 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Formatting</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Formatting</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> diff --git a/sw/uiconfig/swriter/ui/bibliographyentry.ui b/sw/uiconfig/swriter/ui/bibliographyentry.ui index 4f0e1844dcdb..e6bb977e166f 100644 --- a/sw/uiconfig/swriter/ui/bibliographyentry.ui +++ b/sw/uiconfig/swriter/ui/bibliographyentry.ui @@ -279,8 +279,10 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Entry</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Entry</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> diff --git a/sw/uiconfig/swriter/ui/charurlpage.ui b/sw/uiconfig/swriter/ui/charurlpage.ui index 4fdeb6540917..a12265fc07c1 100644 --- a/sw/uiconfig/swriter/ui/charurlpage.ui +++ b/sw/uiconfig/swriter/ui/charurlpage.ui @@ -197,8 +197,10 @@ <object class="GtkLabel" id="label32"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Hyperlink</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Hyperlink</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -284,8 +286,10 @@ <object class="GtkLabel" id="label33"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Character styles</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Character styles</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> diff --git a/sw/uiconfig/swriter/ui/columnwidth.ui b/sw/uiconfig/swriter/ui/columnwidth.ui index e506ddf8166c..d14a81b5045a 100644 --- a/sw/uiconfig/swriter/ui/columnwidth.ui +++ b/sw/uiconfig/swriter/ui/columnwidth.ui @@ -162,8 +162,10 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Width</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Width</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> diff --git a/sw/uiconfig/swriter/ui/converttexttable.ui b/sw/uiconfig/swriter/ui/converttexttable.ui index 247379a2eaa3..1b3e6b151e8f 100644 --- a/sw/uiconfig/swriter/ui/converttexttable.ui +++ b/sw/uiconfig/swriter/ui/converttexttable.ui @@ -231,8 +231,10 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Separate text at</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Separate text at</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -415,8 +417,10 @@ <object class="GtkLabel" id="2"> <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/sw/uiconfig/swriter/ui/horizontalrule.ui b/sw/uiconfig/swriter/ui/horizontalrule.ui index a88511482c0d..43c9eb7d6275 100644 --- a/sw/uiconfig/swriter/ui/horizontalrule.ui +++ b/sw/uiconfig/swriter/ui/horizontalrule.ui @@ -98,8 +98,10 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Selection</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Selection</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> diff --git a/sw/uiconfig/swriter/ui/indexentry.ui b/sw/uiconfig/swriter/ui/indexentry.ui index b20a6a33b395..7dc618418675 100644 --- a/sw/uiconfig/swriter/ui/indexentry.ui +++ b/sw/uiconfig/swriter/ui/indexentry.ui @@ -625,8 +625,10 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Selection</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Selection</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> diff --git a/sw/uiconfig/swriter/ui/insertbreak.ui b/sw/uiconfig/swriter/ui/insertbreak.ui index 4a49ca53d41e..99a290debd2a 100644 --- a/sw/uiconfig/swriter/ui/insertbreak.ui +++ b/sw/uiconfig/swriter/ui/insertbreak.ui @@ -239,8 +239,10 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Type</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Type</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> diff --git a/sw/uiconfig/swriter/ui/inserttable.ui b/sw/uiconfig/swriter/ui/inserttable.ui index 21fdda99af77..d354318e04d2 100644 --- a/sw/uiconfig/swriter/ui/inserttable.ui +++ b/sw/uiconfig/swriter/ui/inserttable.ui @@ -115,8 +115,10 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Name</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Name</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -221,8 +223,10 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Size</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Size</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -390,8 +394,10 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0.47999998927116394</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/sw/uiconfig/swriter/ui/linenumbering.ui b/sw/uiconfig/swriter/ui/linenumbering.ui index 181935ab9319..b7559e4b1c3d 100644 --- a/sw/uiconfig/swriter/ui/linenumbering.ui +++ b/sw/uiconfig/swriter/ui/linenumbering.ui @@ -301,8 +301,10 @@ <object class="GtkLabel" id="view"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>View</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">View</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -412,8 +414,10 @@ <object class="GtkLabel" id="separator"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Separator</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Separator</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -501,8 +505,10 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="ypad">1</property> - <property name="label" translatable="yes"><b>Count</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Count</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -548,6 +554,12 @@ <property name="step_increment">1</property> <property name="page_increment">10</property> </object> + <object class="GtkAdjustment" id="lineadjustment"> + <property name="upper">1000</property> + <property name="value">3</property> + <property name="step_increment">1</property> + <property name="page_increment">10</property> + </object> <object class="GtkListStore" id="positionstore"> <columns> <!-- column-name positions --> @@ -568,12 +580,6 @@ </row> </data> </object> - <object class="GtkAdjustment" id="lineadjustment"> - <property name="upper">1000</property> - <property name="value">3</property> - <property name="step_increment">1</property> - <property name="page_increment">10</property> - </object> <object class="GtkAdjustment" id="spacingadjustment"> <property name="upper">9999</property> <property name="value">0.5</property> diff --git a/sw/uiconfig/swriter/ui/printeroptions.ui b/sw/uiconfig/swriter/ui/printeroptions.ui index ea221ccff352..63d14eec9d28 100644 --- a/sw/uiconfig/swriter/ui/printeroptions.ui +++ b/sw/uiconfig/swriter/ui/printeroptions.ui @@ -116,8 +116,10 @@ <object class="GtkLabel" id="label4"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Contents</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Contents</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -156,8 +158,10 @@ <object class="GtkLabel" id="label5"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Color</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Color</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -196,8 +200,10 @@ <object class="GtkLabel" id="label6"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Pages</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Pages</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> diff --git a/sw/uiconfig/swriter/ui/sortdialog.ui b/sw/uiconfig/swriter/ui/sortdialog.ui index 58bcae3ef225..20b07d795912 100644 --- a/sw/uiconfig/swriter/ui/sortdialog.ui +++ b/sw/uiconfig/swriter/ui/sortdialog.ui @@ -457,8 +457,10 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0.56000000238418579</property> - <property name="label" translatable="yes"><b>Sort criteria</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Sort criteria</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -538,8 +540,10 @@ <object class="GtkLabel" id="label3"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Direction</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Direction</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -660,8 +664,10 @@ <object class="GtkLabel" id="label4"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Separator</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Separator</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -708,8 +714,10 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Language</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Language</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -749,8 +757,10 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Setting</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Setting</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> diff --git a/sw/uiconfig/swriter/ui/splittable.ui b/sw/uiconfig/swriter/ui/splittable.ui index 2cb23b88b276..22b468c30891 100644 --- a/sw/uiconfig/swriter/ui/splittable.ui +++ b/sw/uiconfig/swriter/ui/splittable.ui @@ -176,8 +176,10 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Mode</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Mode</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> diff --git a/sw/uiconfig/swriter/ui/stringinput.ui b/sw/uiconfig/swriter/ui/stringinput.ui index d2212ddcc1dc..4138a88c53a8 100644 --- a/sw/uiconfig/swriter/ui/stringinput.ui +++ b/sw/uiconfig/swriter/ui/stringinput.ui @@ -71,8 +71,10 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes"><b>Name</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Name</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> <packing> <property name="left_attach">0</property> diff --git a/sw/uiconfig/swriter/ui/titlepage.ui b/sw/uiconfig/swriter/ui/titlepage.ui index 43180a1a9b4f..70dcbb117d2f 100644 --- a/sw/uiconfig/swriter/ui/titlepage.ui +++ b/sw/uiconfig/swriter/ui/titlepage.ui @@ -268,8 +268,10 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Make Title Pages</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Make Title Pages</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -414,8 +416,10 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Page Numbering</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Page Numbering</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -474,8 +478,10 @@ <object class="GtkLabel" id="label3"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Edit Page Properties</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Edit Page Properties</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> diff --git a/sw/uiconfig/swriter/ui/wordcount.ui b/sw/uiconfig/swriter/ui/wordcount.ui index 04b9efae749e..81e43b366b93 100644 --- a/sw/uiconfig/swriter/ui/wordcount.ui +++ b/sw/uiconfig/swriter/ui/wordcount.ui @@ -187,8 +187,10 @@ <object class="GtkLabel" id="label4"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Current selection</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Current selection</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -322,8 +324,10 @@ <object class="GtkLabel" id="label8"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Whole document</b></property> - <property name="use_markup">True</property> + <property name="label" translatable="yes">Whole document</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> |