[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs pomode: spellcheck only inside msgstr with both languages
From: |
pelzflorian (Florian Pelz) |
Subject: |
Re: Emacs pomode: spellcheck only inside msgstr with both languages |
Date: |
Sun, 21 Apr 2019 19:04:51 +0200 |
User-agent: |
NeoMutt/20180716 |
I am forwarding this to the address@hidden mailing list.
----- Forwarded message from "pelzflorian (Florian Pelz)" <address@hidden> -----
Date: Sun, 21 Apr 2019 19:02:58 +0200
From: "pelzflorian (Florian Pelz)" <address@hidden>
To: address@hidden
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, address@hidden 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.
> address@hidden ~/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)
>
> address@hidden ~/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 -----