Re: gtk+ translation domain split done
Abel Cheung <[email protected]> Mon, 19 Jan 2004 12:59:59 +0800
| Newsgroups | gmane.comp.gnome.lib.xml.internationalization |
|---|---|
| Message-ID | <[email protected]> |
--qjNfmADvan18RZcF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2004-01-19(Mon) 02:16:40 +0100, Matthias Clasen wrote: > Hmm, I've looked at the translator documentation and what intltool- > update does a bit more, and your patch won't help for GTK+'s=20 > po-properties. The problem is that we explicitly don't want to have > _() and N_() marked strings in po-properties, and we don't want to have > P_() marked strings in po. So if you make intltool collect P_() and > translators use intltool for both po and po-properties, we'll get the > same strings in both directories, which is wrong. Intltool would have to > be made clever enough to pick up the xgettext args from Makefile.in (and > it should also pick up the GETTEXT_PACKAGE from there...) >=20 > If intltool can't be made clever enough, then translators have to be > clever enough to use xgettext directly for po-properties (shouldn't be > too hard:=20 > xgettext --files-from=3Dpo-properties/POTFILES.in \ > --output=3Dpo-properties/gtk20-properties.pot > ) >=20 > Either way, making intltool collect P_() would be harmful, since it > would interfere with the desire to *not* include P_() marked strings in > po. As things stand, intltool has problems for po-properties, but works > for po. Making it collect P_() would make it useless for both. Ah, I see, then my proposed one-line patch isn't appropriate at all in such case. Perhaps we should move to #131885 to continue discussion. Abel >=20 > Matthias >=20 --=20 Abel Cheung Linux counter #256983 | http://counter.li.org GPG Key: (0xC67186FF) | http://deaddog.org/gpg.asc Key fingerprint: 671C C7AE EFB5 110C D6D1 41EE 4152 E1F1 C671 86FF --qjNfmADvan18RZcF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAC2RPQVLh8cZxhv8RArkdAJ9Vdm/9GYbGvigcL9PSSc1eLy1NgACg4XDi /IAhTaAmxyvF7sOEffuJbOA= =v/pN -----END PGP SIGNATURE----- --qjNfmADvan18RZcF--