[gnome-initial-setup/gnome-3-8] summary: Don't require translations for "Start using GNOME 3"
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup/gnome-3-8] summary: Don't require translations for "Start using GNOME 3"
- Date: Tue, 5 Nov 2013 16:04:57 +0000 (UTC)
commit 0e42cb3fd1dfada15d558e0733723a264842d4cb
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Oct 31 16:52:31 2013 -0400
summary: Don't require translations for "Start using GNOME 3"
Just use "GNOME 3" as the default distro name
.../pages/summary/gis-summary-page.c | 16 ++++++++--------
.../pages/summary/gis-summary-page.ui | 1 -
2 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/gnome-initial-setup/pages/summary/gis-summary-page.c
b/gnome-initial-setup/pages/summary/gis-summary-page.c
index cc88811..294cae7 100644
--- a/gnome-initial-setup/pages/summary/gis-summary-page.c
+++ b/gnome-initial-setup/pages/summary/gis-summary-page.c
@@ -336,6 +336,7 @@ update_distro_name (GisSummaryPage *page)
{
char *buffer;
char *name;
+ char *label;
name = NULL;
@@ -345,14 +346,13 @@ update_distro_name (GisSummaryPage *page)
g_free (buffer);
}
- if (name)
- {
- gchar *label;
- label = g_strdup_printf (_("_Start using %s"), name);
- gtk_label_set_label (GTK_LABEL (WID ("summary-start-button-label")), label);
- g_free (label);
- g_free (name);
- }
+ if (!name)
+ name = g_strdup ("GNOME 3");
+
+ label = g_strdup_printf (_("_Start using %s"), name);
+ gtk_label_set_label (GTK_LABEL (WID ("summary-start-button-label")), label);
+ g_free (label);
+ g_free (name);
}
static void
diff --git a/gnome-initial-setup/pages/summary/gis-summary-page.ui
b/gnome-initial-setup/pages/summary/gis-summary-page.ui
index 609ad87..ffb6044 100644
--- a/gnome-initial-setup/pages/summary/gis-summary-page.ui
+++ b/gnome-initial-setup/pages/summary/gis-summary-page.ui
@@ -57,7 +57,6 @@
<property name="can_focus">False</property>
<property name="xpad">4</property>
<property name="ypad">4</property>
- <property name="label" translatable="yes">_Start using GNOME 3</property>
<property name="use_underline">True</property>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]