[gnome-control-center] info: cleanup labels to match HIG and be translators friendly
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] info: cleanup labels to match HIG and be translators friendly
- Date: Fri, 21 Jan 2011 11:42:32 +0000 (UTC)
commit 0d618405d0ab835fe6ee99443693488a02de76d0
Author: Luca Ferretti <lferrett gnome org>
Date: Fri Jan 21 00:50:13 2011 +0100
info: cleanup labels to match HIG and be translators friendly
https://bugzilla.gnome.org/show_bug.cgi?id=640127
panels/info/cc-info-panel.c | 2 +-
panels/info/info.ui | 30 +++++++++++++++---------------
2 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
index d9847d4..da1a8aa 100644
--- a/panels/info/cc-info-panel.c
+++ b/panels/info/cc-info-panel.c
@@ -463,7 +463,7 @@ cc_info_panel_init (CcInfoPanel *self)
if (res)
{
widget = WID (self->priv->builder, "version_label");
- text = g_strdup_printf ("Version %s", self->priv->gnome_version);
+ text = g_strdup_printf (_("Version %s"), self->priv->gnome_version);
gtk_label_set_text (GTK_LABEL (widget), text);
g_free (text);
}
diff --git a/panels/info/info.ui b/panels/info/info.ui
index fb16445..284887e 100644
--- a/panels/info/info.ui
+++ b/panels/info/info.ui
@@ -32,7 +32,7 @@
<child>
<object class="GtkLabel" id="version_label">
<property name="visible">True</property>
- <property name="label" translatable="yes">Version 3.0</property>
+ <property name="label" translatable="no">Version 3.0</property>
<attributes>
<attribute name="scale" value="1.250000"/>
</attributes>
@@ -54,14 +54,14 @@
<object class="GtkLabel" id="label1">
<property name="no_show_all">True</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Device Name</property>
+ <property name="label" translatable="yes">Device name:</property>
</object>
</child>
<child>
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Memory</property>
+ <property name="label" translatable="yes">Memory:</property>
</object>
<packing>
<property name="top_attach">1</property>
@@ -72,7 +72,7 @@
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Processor</property>
+ <property name="label" translatable="yes">Processor:</property>
</object>
<packing>
<property name="top_attach">2</property>
@@ -83,7 +83,7 @@
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">OS Type</property>
+ <property name="label" translatable="yes">OS type:</property>
</object>
<packing>
<property name="top_attach">3</property>
@@ -94,7 +94,7 @@
<object class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Disk</property>
+ <property name="label" translatable="yes">Disk:</property>
</object>
<packing>
<property name="top_attach">4</property>
@@ -118,7 +118,7 @@
<object class="GtkLabel" id="memory_label">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">2 GB</property>
+ <property name="label" translatable="no">2 GB</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -131,7 +131,7 @@
<object class="GtkLabel" id="processor_label">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">AmTel Duo Core 2.2 GHz</property>
+ <property name="label" translatable="no">AmTel Duo Core 2.2 GHz</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -144,7 +144,7 @@
<object class="GtkLabel" id="os_type_label">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">32-bit</property>
+ <property name="label" translatable="no">32-bit</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -157,7 +157,7 @@
<object class="GtkLabel" id="disk_label">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">80 GB (4 GB free)</property>
+ <property name="label" translatable="no">80 GB (4 GB free)</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -169,7 +169,7 @@
<child>
<object class="GtkLabel" id="label6">
<property name="visible">True</property>
- <property name="label" translatable="yes"> </property>
+ <property name="label" translatable="no"> </property>
</object>
<packing>
<property name="left_attach">2</property>
@@ -180,7 +180,7 @@
<child>
<object class="GtkLabel" id="label7">
<property name="visible">True</property>
- <property name="label" translatable="yes"> </property>
+ <property name="label" translatable="no"> </property>
</object>
<packing>
<property name="left_attach">2</property>
@@ -193,7 +193,7 @@
<child>
<object class="GtkLabel" id="label8">
<property name="visible">True</property>
- <property name="label" translatable="yes"> </property>
+ <property name="label" translatable="no"> </property>
</object>
<packing>
<property name="left_attach">2</property>
@@ -206,7 +206,7 @@
<child>
<object class="GtkLabel" id="label9">
<property name="visible">True</property>
- <property name="label" translatable="yes"> </property>
+ <property name="label" translatable="no"> </property>
</object>
<packing>
<property name="left_attach">2</property>
@@ -219,7 +219,7 @@
<child>
<object class="GtkLabel" id="label10">
<property name="visible">True</property>
- <property name="label" translatable="yes"> </property>
+ <property name="label" translatable="no"> </property>
</object>
<packing>
<property name="left_attach">2</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]