Re: Splitting gnome-utils for 3.4
- From: Stef Walter <stefw collabora co uk>
- To: Cosimo Cecchi <cosimoc gnome org>
- Cc: desktop-devel-list gnome org
- Subject: Re: Splitting gnome-utils for 3.4
- Date: Thu, 06 Oct 2011 12:59:13 +0200
On 2011-09-30 00:04, Cosimo Cecchi wrote:
> On Thu, 2011-09-29 at 23:33 +0200, Kenneth Nielsen wrote:
>
>> Speaking of size of po-files. As we have already established, bringing
>> translation over should be relatively easy, since by copying them over
>> and updateing, the relevant translations will be kept and the rest will
>> become obsoletes. But maybe this would be a good time to also strip all
>> the obsoletes after the update, since there will be many strings there
>> that we don't seriously hope to reuse, since they were from different
>> modules.
>
> Yeah agreed...if you have any ideas on how to do this (update + remove
> obsoletes) automatically, it would be nice to do it before pushing the
> separate repositories.
You probably already figured this out, but here's the commands that
seemed to work for me:
$ cd po/
$ for po in *.po; do intltool-update ${po%.po}; done
$ sed -i.bak '/#~/d' *.po
$ for po in *.po; do intltool-update ${po%.po}; done
Cheers,
Stef
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]