[haiku] Re: Internationalizing kits without mime-types

  • From: PulkoMandy <pulkomandy@xxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Sat, 17 Apr 2010 18:26:40 +0200

Le Sat, 17 Apr 2010 15:12:05 +0200, Travis D. Reed <tdreed@xxxxxxxxx> a écrit:


I've just noticed that the recently internationalized Locale Kit default
catalog has been uploaded to HTA with the mime-type "system." HTA
distinguishes "applications" (that includes kits, prefs and whatever) based
on their unique mime-types (as with BApplications). What mechanism
substitutes "system" for the absent mime-type signature of the kits and how
can it be made unique?

Actually, it's not really the locale kit catalog. It's a global, system-wide catalog that serves for all things that are not applications. This allows for example to translate BColorControl (the color picker in appearance preflet, terminal settings, and other places), and StringForSize (used in DriveSetup, and in Tracker copy/move dialog for displaying bytes, kilobytes, ...)

As it is a single, special-case catalog, it does not need to be made unique.

On another note : I saw a mail preflet catalog version with SSL disabled : this is not how to do it ! It will not work as the mimetype is the same and we can't have two different catalogs. Please remove it as people are working uselessly to translate it... I will fix the catalog generation of the mail preflet to include both the SSL and noSSL variants in the same catalog.

--
Adrien Destugues / PulkoMandy
http://pulkomandy.ath.cx

Other related posts: