Re: Once again: Deprecation of gnome-mime-data translation



Today at 20:31, Vincent Untz wrote:

> Le mercredi 13 juillet 2005 Ã 21:40 +0200, Danilo Åegan a Ãcrit :
>> Today at 17:06, Vincent Untz wrote:
>> 
>> > I just asked Bastien and in theory, we shouldn't need gnome-mime-data
>> > any more. So translators can stop translating it.
>> 
>> Ok, I've removed it from translation status pages for Gnome 2.12 now.
>
> Mea culpa:
> http://bugzilla.gnome.org/show_bug.cgi?id=311595
> gnome-vfs still needs gnome-mime-data for some deprecated functions.

But do we need to translate it?  Can we have some of the gnome-vfs
maintainers chip in (I've CCed the new maintainerâhi Christian ;)? 

If it's deprecated, it means that it at least won't show up in Gnome
2.12, but where will strings from it show up?  In some applications
using deprecated gnome-vfs APIs?

Note that only translated file in gnome-mime-data is gnome-vfs.keys.in.  
And .keys files seem to be accessed from within
libgnomevfs/gnome-vfs-mime-info.h, and these functions are implemented as:

char *
gnome_vfs_mime_get_extensions_pretty_string (const char *mime_type)
{
	g_warning (_("Deprecated function.  User modifications to the MIME database are no longer supported."));
	return NULL;
}

char *
gnome_vfs_mime_get_extensions_string (const char *mime_type)
{
	g_warning (_("Deprecated function.  User modifications to the MIME database are no longer supported."));
	return NULL;
}
...


I.e. they don't really call into gnome-mime-data translated .keys file
AFAICS.  Thus, this would still mean that there is no need to
translate gnome-mime-data anymore, right?

This seems to be the case since

  http://cvs.gnome.org/viewcvs/gnome-vfs/libgnomevfs/gnome-vfs-mime-info.c?r1=1.77&r2=1.78

Anyone can confirm or deny this?  (We don't want to translate what
needs no translating :)

Cheers,
Danilo


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