[Setup-tool-hackers] i18n patch...



Well, here you have a patch to make all the ETableSpecification labels
get marked to be translated.


Could I commit it?


Thanks.

P.S.: The patch is a "cvs diff" from the ximian-setup-tools/src
directory.

Bye

-- 
Carlos Perelló Marín
mailto:carlos@gnome-db.org
mailto:carlos@hispalinux.es
http://www.gnome-db.org
http://www.Hispalinux.es
Valencia - Spain
Index: boot/ChangeLog
===================================================================
RCS file: /cvs/gnome/ximian-setup-tools/src/boot/ChangeLog,v
retrieving revision 1.23
diff -u -w -r1.23 ChangeLog
--- boot/ChangeLog	2001/05/18 23:24:43	1.23
+++ boot/ChangeLog	2001/05/21 22:10:35
@@ -1,3 +1,7 @@
+2001-05-21  Carlos Perelló Marín <carlos@gnome-db.org>
+
+	* e-table.c: Marked to translate the ETableSpecification labels and other strings.
+
 2001-05-18  Hans Petter Jansson  <hpj@ximian.com>
 
 	* *.pam: Modified PAM configuration so that invoking as root works.
Index: boot/e-table.c
===================================================================
RCS file: /cvs/gnome/ximian-setup-tools/src/boot/e-table.c,v
retrieving revision 1.18
diff -u -w -r1.18 e-table.c
--- boot/e-table.c	2001/05/13 22:28:13	1.18
+++ boot/e-table.c	2001/05/21 22:10:35
@@ -34,6 +34,16 @@
 #include "e-table.h"
 #include "callbacks.h"
 
+#ifdef JUST_FOR_TRANSLATORS
+static char *list [] = {
+	N_("Default"),
+	N_("Name"),
+	N_("Type"),
+	N_("Kernel Image"),
+	N_("Device"),
+};
+#endif
+
 extern XstTool *tool;
 
 GtkWidget *boot_table;
@@ -334,7 +344,7 @@
 
 	if (def && !strcmp (def, label))
 	{
-		buf = g_strdup_printf ("%s (default)", buf);
+		buf = g_strdup_printf (_("%s (default)"), buf);
 		g_free (def);
 		g_free (label);
 	}
Index: print/ChangeLog
===================================================================
RCS file: /cvs/gnome/ximian-setup-tools/src/print/ChangeLog,v
retrieving revision 1.6
diff -u -w -r1.6 ChangeLog
--- print/ChangeLog	2001/05/18 23:24:45	1.6
+++ print/ChangeLog	2001/05/21 22:10:36
@@ -1,3 +1,7 @@
+2001-05-21  Carlos Perelló Marín <carlos@gnome-db.org>
+
+	* e-table.c: Marked to translate the ETableSpecification labels.
+
 2001-05-18  Hans Petter Jansson  <hpj@ximian.com>
 
 	* *.pam: Modified PAM configuration so that invoking as root works.
Index: print/e-table.c
===================================================================
RCS file: /cvs/gnome/ximian-setup-tools/src/print/e-table.c,v
retrieving revision 1.4
diff -u -w -r1.4 e-table.c
--- print/e-table.c	2001/05/13 22:28:20	1.4
+++ print/e-table.c	2001/05/21 22:10:36
@@ -36,6 +36,17 @@
 #include "e-table.h"
 #include "callbacks.h"
 
+#ifdef JUST_FOR_TRANSLATORS
+static char *list [] = {
+	N_("Spool"),
+	N_("Type"),
+	N_("Device"),
+	N_("Paper"),
+	N_("Resolution"),
+	N_("Share"),
+};
+#endif
+
 extern XstTool *tool;
 
 GtkWidget *print_table = NULL;
Index: shares/ChangeLog
===================================================================
RCS file: /cvs/gnome/ximian-setup-tools/src/shares/ChangeLog,v
retrieving revision 1.65
diff -u -w -r1.65 ChangeLog
--- shares/ChangeLog	2001/05/18 23:24:45	1.65
+++ shares/ChangeLog	2001/05/21 22:10:38
@@ -1,3 +1,7 @@
+2001-05-21  Carlos Perelló Marín <carlos@gnome-db.org>
+
+	* tables.c: Marked to translate the ETableSpecification labels.
+	
 2001-05-18  Hans Petter Jansson  <hpj@ximian.com>
 
 	* *.pam: Modified PAM configuration so that invoking as root works.
Index: shares/tables.c
===================================================================
RCS file: /cvs/gnome/ximian-setup-tools/src/shares/tables.c,v
retrieving revision 1.28
diff -u -w -r1.28 tables.c
--- shares/tables.c	2001/05/13 22:28:20	1.28
+++ shares/tables.c	2001/05/21 22:10:39
@@ -67,6 +67,21 @@
 static void mount_button_from_import_node (xmlNodePtr node);
 static void export_set_writable           (gboolean writable);
 
+#ifdef JUST_FOR_TRANSLATORS
+static char *list [] = {
+	N_("Host"),
+	N_("Path"),
+	N_("Mount Point"),
+	N_("Mounted"),
+	N_("Name"),
+	N_("Path"),
+	N_("Clients"),
+	N_("Writable"),
+	N_("Pattern"),
+	N_("Write"),
+};
+#endif
+
 extern XstTool *tool;
 
 GtkWidget *imports_table_scrolled;
Index: users/ChangeLog
===================================================================
RCS file: /cvs/gnome/ximian-setup-tools/src/users/ChangeLog,v
retrieving revision 1.92
diff -u -w -r1.92 ChangeLog
--- users/ChangeLog	2001/05/21 13:54:02	1.92
+++ users/ChangeLog	2001/05/21 22:10:41
@@ -1,3 +1,7 @@
+2001-05-21  Carlos Perelló Marín <carlos@gnome-db.org>
+
+	* e-table.c, profile.c: Marked to translate the ETableSpecification labels.
+	
 2001-05-21  Tambet Ingo  <tambet@ximian.com>
 
 	* user_settings.c (user_account_gui_setup): Removed set_primary (group) button cause it was unused.
Index: users/e-table.c
===================================================================
RCS file: /cvs/gnome/ximian-setup-tools/src/users/e-table.c,v
retrieving revision 1.70
diff -u -w -r1.70 e-table.c
--- users/e-table.c	2001/05/21 13:54:02	1.70
+++ users/e-table.c	2001/05/21 22:10:43
@@ -38,6 +38,19 @@
 #include "callbacks.h"
 #include "user-group-xml.h"
 
+#ifdef JUST_FOR_TRANSLATORS
+static char *list [] = {
+	N_("Users"),
+	N_("UID"),
+	N_("Home"),
+	N_("Shell"),
+	N_("Comment"),
+	N_("Group"),
+	N_("GID"),
+	N_("Groups"),
+};
+#endif
+
 extern XstTool *tool;
 
 GtkWidget *user_table;
Index: users/profile.c
===================================================================
RCS file: /cvs/gnome/ximian-setup-tools/src/users/profile.c,v
retrieving revision 1.20
diff -u -w -r1.20 profile.c
--- users/profile.c	2001/05/21 13:54:02	1.20
+++ users/profile.c	2001/05/21 22:10:45
@@ -57,6 +57,13 @@
 	GtkWidget       *file_add;
 } ProfileTab;
 
+#ifdef JUST_FOR_TRANSLATORS
+static char *list [] = {
+	N_("Profile"),
+	N_("Comment"),
+};
+#endif
+
 extern XstTool *tool;
 ProfileTable *profile_table;
 GtkWidget *table;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]