ubuntu-x-swat team mailing list archive
-
ubuntu-x-swat team
-
Mailing list archive
-
Message #36202
Re: [Bug 335678] Re: Failsafe X troubleshooting dialogs not translatable
У уто, 24. 11 2009. у 22:29 +0000, David Planella пише:
>
> * I do not know of any standard approach to gettextizing shell files
> (intltool does not support them, so I had to use xgettext directly),
> so I've used a POTFILES.in file in a similar way to intltool-based
> packages. There might be more elegant approaches, but this should give
> you an idea of what is needed.
intltool should support whatever format gettext does as well. You
should be able to use standard intltool makefiles as well, though I am
not sure how one would integrate them into packaging info: intltool
approach is usually applied on the bare version-controlled tree, not
against a tarball with pre-built makefiles and such.
To get intltool to extract messages from shell files, if they have no
extension, you might need to prefix entries in POTFILES.in with
[gettext/shell], i.e.
[gettext/shell] debian/local/Failsafe/failsafeXinit
--
Failsafe X troubleshooting dialogs not translatable
https://bugs.launchpad.net/bugs/335678
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in ubuntu.
References