[evolution-patches] A i18n fix for importer file type -- (gettext is missed)



Hi, guys,

Please help to review this little patch.

Steps to reproduce:
1) Select [File] -> [Import].
2) Click "Next".
3) Select "Import a single file" option and click next.
4) Expand the combobox "Filetype".

Result: combobox items "LDAP Data interchange format (.ldif)", "vCalendar files (.vcf)" and "iCalendar files (.icf)" are not localized.

Actually, these messages already translated in po files, but when shell builds up the menu, it misses the gettext () routine.

Regards,

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/shell/ChangeLog,v
retrieving revision 1.1505
diff -u -p -r1.1505 ChangeLog
--- ChangeLog	21 Mar 2005 21:40:25 -0000	1.1505
+++ ChangeLog	6 Apr 2005 04:30:00 -0000
@@ -1,3 +1,8 @@
+2005-04-06  Yong Sun <Yong Sun Sun COM>
+
+	* e-shell-importer.c: (get_name_from_component_info):
+	Return the localized name of the supported file type.
+
 2005-03-21  JP Rosevear  <jpr novell com>
 
 	Fixes #73066
Index: e-shell-importer.c
===================================================================
RCS file: /cvs/gnome/evolution/shell/e-shell-importer.c,v
retrieving revision 1.79
diff -u -p -r1.79 e-shell-importer.c
--- e-shell-importer.c	21 Jan 2005 06:18:54 -0000	1.79
+++ e-shell-importer.c	6 Apr 2005 04:30:21 -0000
@@ -327,7 +327,7 @@ get_name_from_component_info (const Bono
 
 	name = property->v._u.value_string;
 
-	return name;
+	return _(name);
 }
 
 static char *


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