[gnome-system-tools] Mark a few strings as translatable
- From: Milan Bouchet-Valat <milanbv src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-system-tools] Mark a few strings as translatable
- Date: Tue, 30 Jun 2009 12:08:26 +0000 (UTC)
commit 6149df18d533f46301d8d19aac6a289708f4ba58
Author: Sebastien Bacher <seb128 ubuntu com>
Date: Tue Jun 30 14:07:26 2009 +0200
Mark a few strings as translatable
In the "Add shared folder" dialog:
"Share Folder" (the window title)
"Share" (the button label)"
Bug #522276.
interfaces/shares.glade | 2 +-
interfaces/shares.ui | 2 +-
src/shares/share-settings.c | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/interfaces/shares.glade b/interfaces/shares.glade
index 1455ae8..d73c9a6 100644
--- a/interfaces/shares.glade
+++ b/interfaces/shares.glade
@@ -48,7 +48,7 @@
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
- <property name="label">Share</property>
+ <property name="label" translatable="yes">Share</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
diff --git a/interfaces/shares.ui b/interfaces/shares.ui
index 247c59f..d115a9d 100644
--- a/interfaces/shares.ui
+++ b/interfaces/shares.ui
@@ -47,7 +47,7 @@
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
- <property name="label">Share</property>
+ <property name="label" translatable="yes">Share</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
diff --git a/src/shares/share-settings.c b/src/shares/share-settings.c
index 7e9bebd..bcb8d32 100644
--- a/src/shares/share-settings.c
+++ b/src/shares/share-settings.c
@@ -459,14 +459,14 @@ share_settings_dialog_run_for_iter (const gchar *path,
share = table_get_share_at_iter (iter, &list_iter);
share_settings_set_share (share);
- title = g_strdup_printf ("Settings for folder '%s'",
+ title = g_strdup_printf (_("Settings for folder '%s'"),
oobs_share_get_path (share));
gtk_window_set_title (GTK_WINDOW (dialog), title);
g_free (title);
} else {
name_entry = gst_dialog_get_widget (tool->main_dialog, "share_smb_name");
g_object_set_data (G_OBJECT (name_entry), "modified", GINT_TO_POINTER (FALSE));
- gtk_window_set_title (GTK_WINDOW (dialog), "Share Folder");
+ gtk_window_set_title (GTK_WINDOW (dialog), _("Share Folder"));
if (!path) {
/* make sure the path entry gets filled in */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]