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




Hi,

bonobo server files are translated 'internally', their strings are not placed in the mo files, so this isn't a reliable way to get the translated version.  You should be using bonobo_server_info_prop_lookup() to get the value.

See e-shell-settings-dialog.c:load_pages for examples of its usage.

Michael

On Wed, 2005-04-06 at 12:42 +0800, Yong Sun wrote:
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,



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