From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: Re: How to merge two po files from different versions? Date: Tue, 7 May 2019 16:19:34 +0200 Message-ID: <20190507141934.2qk46pvltonazaiv@pelzflorian.localdomain> References: <1d7299f3587eff0aeabe29b41fc2f617@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([209.51.188.92]:45237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hO0wi-000574-FE for help-guix@gnu.org; Tue, 07 May 2019 10:19:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hO0wh-0007uC-Gt for help-guix@gnu.org; Tue, 07 May 2019 10:19:52 -0400 Received: from pelzflorian.de ([5.45.111.108]:59130 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hO0wh-0007t5-2G for help-guix@gnu.org; Tue, 07 May 2019 10:19:51 -0400 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: znavko@disroot.org Cc: help-guix On Tue, May 07, 2019 at 09:26:13AM +0000, znavko@disroot.org wrote: > > The simple 'msgcat *.po > new.po' is not correct, cause the line numbering breaks in a new file. > > Please, how to transfer translated strings from the guix-manual-1.0.0-pre3.ru_RU.po into > > guix-manual-1.0.0-pre3.ru not breaking the latter? > I do not understand what the issue is with line numbers. Does this work? msgcat --no-wrap *.po > new.po msgmerge -U --no-wrap --previous --lang=ru new.po guix-manual-1.0.0-pre3.ru.po Regards, Florian