Mailinglist Archive: opensuse-packaging (53 mails)

< Previous Next >
Re: [opensuse-packaging] About patching .po and .gmo files
  • From: Kyrill Detinov <lazy.kent@xxxxxxxxxxxx>
  • Date: Thu, 8 Jan 2015 03:53:13 +0300
  • Message-id: <20150108035313.4b7c4bda@lazy>

On Wed, 07 Jan 2015 23:15:55 +0100 jcsl wrote:

Anyway, patch the es.po. Then 'make update-gmo' in the locale
directory.

In the "po" directory there is a Makefile.in.in only, so I don't know
what to do. Would that make any difference given that I've already
created the .gmo file manually?

Just a quick tip:

%build
mv po/no.po po/nb.po
%configure
pushd po
make update-gmo
popd
%__make

I see:

[ 9s] configure complete, now type "make"
[ 9s] + pushd po
[ 9s] ~/rpmbuild/BUILD/obconf-2.0.4/po ~/rpmbuild/BUILD/obconf-2.0.4
[ 9s] + make update-gmo
[ 9s] rm -f es.gmo && /usr/bin/msgfmt -c --statistics -o es.gmo es.po
[ 9s] 154 translated messages, 2 untranslated messages.
[ 9s] rm -f nb.gmo && /usr/bin/msgfmt -c --statistics -o nb.gmo nb.po
[ 9s] nb.po:7: warning: header field 'Language' still has the initial
default value
[ 9s] 113 translated messages, 43 untranslated messages.
[ 9s] + popd

Does it help?

--
WBR
Kyrill
< Previous Next >
Follow Ups
References