From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: Re: Emacs pomode: spellcheck only inside msgstr with both languages Date: Sun, 21 Apr 2019 19:04:51 +0200 Message-ID: <20190421170451.eo6eymbc2hwzldpp@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([209.51.188.92]:33236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIFtf-0006VY-33 for help-guix@gnu.org; Sun, 21 Apr 2019 13:04:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIFtd-0001oK-JJ for help-guix@gnu.org; Sun, 21 Apr 2019 13:04:54 -0400 Received: from pelzflorian.de ([5.45.111.108]:57786 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 1hIFtd-0001ns-3m for help-guix@gnu.org; Sun, 21 Apr 2019 13:04:53 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 4090D36003D for ; Sun, 21 Apr 2019 19:04:51 +0200 (CEST) Content-Disposition: inline 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: help-guix@gnu.org I am forwarding this to the help-guix@gnu.org mailing list. ----- Forwarded message from "pelzflorian (Florian Pelz)" ----- Date: Sun, 21 Apr 2019 19:02:58 +0200 From: "pelzflorian (Florian Pelz)" To: znavko@disroot.org Subject: Re: Emacs pomode: spellcheck only inside msgstr with both languages User-Agent: NeoMutt/20180716 OBOn Sun, Apr 21, 2019 at 04:32:53PM +0000, znavko@disroot.org wrote: > Thank you Florian! po4a-translate said there's not the same ending '\n' in msgid and msgstr. I've pushed edited into repo https://gitgud.io/znavko/guix-manual-ru > :) > Your command-line code works this way: > > $ po4a-translate -f texinfo -m doc/guix.texi -p po/doc/guix-manual.ru.po \ > > > -M UTF-8 -k 0 -l doc/guix.ru.texi > > Your input po file po/doc/guix-manual.ru.po seems outdated (The amount of entries differ between > files: 7921 is not 7714 > ). Please consider running po4a-updatepo to refresh it. > me@antelope ~/git/guix/guix [env]$ po4a-updatepo > Usage: > po4a-updatepo -f fmt (-m master.doc)+ (-p XX.po)+ > > (XX.po are the outputs, all others are inputs) > > me@antelope ~/git/guix/guix [env]$ po4a-translate -f texinfo -m doc/contributing.texi -p > po/doc/guix-manual.ru.po \ > > -M UTF-8 -k 0 -l doc/contributing.ru.texi > > Your input po file po/doc/guix-manual.ru.po seems outdated (The amount of entries differ between > files: 7921 is not 227 > ). Please consider running po4a-updatepo to refresh it. > > This is all expected. > [env]$ ./bootstrap > ... > configure.ac:11: installing 'build-aux/install-sh' > configure.ac:11: installing 'build-aux/missing' > Makefile.am: installing './INSTALL' > Makefile.am:590: warning: AM_GNU_GETTEXT used but 'po' not in SUBDIRS > Makefile.am: installing 'build-aux/depcomp' > doc/local.mk:24: installing 'build-aux/mdate-sh' > Makefile.am:593: 'doc/local.mk' included from here > Makefile.am: error: 'version.texi', included in 'doc/guix.ru.texi', also included in 'doc/guix.ru.texi' > Makefile.am: error: 'version.texi', included in 'doc/guix.texi', also included in 'doc/guix.ru.texi' This is the issue. You need to translate: #. type: include #: doc/guix.texi:10 #, no-wrap msgid "version.texi" msgstr "version-ru.texi" Then rerun po4a-translate as above and continue. There are further make errors for me. You could try comparing guix-manual.fr.po Regards, Florian ----- End forwarded message -----