Re: [evolution-patches] A i18n fix for importer file type -- (gettext is missed)
- From: Not Zed <notzed ximian com>
- To: Yong Sun <Yong Sun Sun COM>
- Cc: evolution-patches lists ximian com
- Subject: Re: [evolution-patches] A i18n fix for importer file type -- (gettext is missed)
- Date: Wed, 06 Apr 2005 13:28:59 +0800
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]