[gnome-panel] Remove markup from translations
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] Remove markup from translations
- Date: Mon, 6 Aug 2012 12:23:11 +0000 (UTC)
commit e0d37bf88d2255d2e85769f0c8ed4d2e1a2f2ea5
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Aug 5 23:05:13 2012 -0400
Remove markup from translations
This commit uses explicit attributes instead of embedded markup.
https://bugzilla.gnome.org/show_bug.cgi?id=101596
applets/clock/clock.ui | 19 +++++++++++++------
gnome-panel/panel-properties-dialog.ui | 12 ++++++++----
2 files changed, 21 insertions(+), 10 deletions(-)
---
diff --git a/applets/clock/clock.ui b/applets/clock/clock.ui
index b364dae..95ed640 100644
--- a/applets/clock/clock.ui
+++ b/applets/clock/clock.ui
@@ -55,9 +55,12 @@
<object class="GtkLabel" id="label243">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes" comments="Languages that have a single word that translates as either "state" or "province" should use that instead of "region"."><small><i>Type a city, region, or country name and then select a match from the pop-up.</i></small></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes" comments="Languages that have a single word that translates as either 'state' or 'province' should use that instead of 'region'.">Type a city, region, or country name and then select a match from the pop-up.</property>
<property name="wrap">True</property>
+ <attributes>
+ <attribute name="style" value="italic"/>
+ <attribute name="scale" value="0.83"/>
+ </attributes>
</object>
<packing>
<property name="left_attach">1</property>
@@ -164,8 +167,10 @@
<object class="GtkLabel" id="label240">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes"><i>(optional)</i></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">(optional)</property>
+ <attributes>
+ <attribute name="style" value="italic"/>
+ </attributes>
</object>
<packing>
<property name="left_attach">3</property>
@@ -180,8 +185,10 @@
<object class="GtkLabel" id="label239">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes"><i>(optional)</i></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">(optional)</property>
+ <attributes>
+ <attribute name="style" value="italic"/>
+ </attributes>
</object>
<packing>
<property name="left_attach">3</property>
diff --git a/gnome-panel/panel-properties-dialog.ui b/gnome-panel/panel-properties-dialog.ui
index 8c4ffd6..1d665fb 100644
--- a/gnome-panel/panel-properties-dialog.ui
+++ b/gnome-panel/panel-properties-dialog.ui
@@ -402,8 +402,10 @@
<property name="visible">True</property>
<property name="xalign">1</property>
<property name="yalign">0</property>
- <property name="label" translatable="yes"><small>Transparent</small></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Transparent</property>
+ <attributes>
+ <attribute name="scale" value="0.83"/>
+ </attributes>
</object>
<packing>
<property name="expand">False</property>
@@ -416,8 +418,10 @@
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="yalign">0</property>
- <property name="label" translatable="yes"><small>Opaque</small></property>
- <property name="use_markup">True</property>
+ <property name="label" translatable="yes">Opaque</property>
+ <attributes>
+ <attribute name="scale" value="0.83"/>
+ </attributes>
</object>
<packing>
<property name="expand">False</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]