Re: Translation of preferences contents
Michèle Garoche <[email protected]>
| Newsgroups | gmane.editors.conglomerate.devel |
|---|---|
| Message-ID | <[email protected]> |
Le 14 oct. 2004, à 23:23, David Malcolm a écrit : > On Thu, 2004-10-14 at 22:59 +0200, Michèle Garoche wrote: >> Le 14 oct. 2004, à 20:08, David Malcolm a écrit : >> >>> On Thu, 2004-10-14 at 11:14 +0200, Michèle Garoche wrote: >>>> Would it be possible to add to potfiles.in whichever file gets the >>>> contents of preferences panel (document types)? >>> >>> The list of document types is autogenerated based on the xds files >>> (in >>> particular, it uses the <metadata> element near the top of each one). >>> So if these are translated (with an xds.in), the panel should get >>> translated. >> There are xds.in files, though not for all xds files, they are listed >> also in the potfiles.in, but the related strings don't show up in the >> po files, hence no translation. > So arguably, every xds file should have a corresponding xds.in file. > Would this be excessive? I didn't want to create a huge translation > burden. No, that's not that huge. Or did you mean if not all xds file have a corresponding xds.in file the translation process does not occur? >> There must be something different in the treatment of the list of >> document types (first tab in the preferences window) and the list of >> plugins (second tab in the preferences window). > > The plugin names are in the source code, in the various src/plugin-*.c > files, which _are_ marked for translation. Yes, those are translated. What is not translated in the first part, the document types (i.e. metadata at the top of the files). And actually I did not see a c file where they appear, I may have missed something though. Here's a screenshot (Conglomerate Preferences) so that you'll understand what I mean (I speak about the list of names (Nom into French) and Description in first tab (Document types aka Types de document): The contents of the second tab Plugins not shown here is translated. Michèle <http://micmacfr.homeunix.org>
prefs-firsttab.png
(image/png, 19.1 KB) - not displayed
PGP.sig
(application/pgp-signature, 186 B) - not displayed