unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Syntax errors in latest guix-manual ru.po
@ 2020-04-06 10:00 Ludovic Courtès
  2020-04-06 11:55 ` Pavlo Marianov
  0 siblings, 1 reply; 13+ messages in thread
From: Ludovic Courtès @ 2020-04-06 10:00 UTC (permalink / raw)
  To: Pavlo Marianov; +Cc: guix-devel

Hello Pavlo,


Thanks for the update to the Russian translation of the Guix manual!  It
contains a couple of Texinfo syntax errors:

--8<---------------cut here---------------start------------->8---
  MAKEINFO doc/guix.ru.info
./doc/guix.ru.texi:11: warning: @documentencoding devus aperi nur je komenco de linio
./doc/guix.ru.texi:11: warning: @documentencoding ne devus aperi en @documentencoding
./doc/guix.ru.texi:11: misa argumento por '@documentencoding': UTF-8@documentencoding UTF-8
./doc/guix.ru.texi:937: warning: post akcentkomando '@,' ne devus sekvi blankspaco
doc/contributing.ru.texi:1198: nekonata komando 'Uref'
doc/contributing.ru.texi:1199: misloka {
doc/contributing.ru.texi:1199: misloka }
./doc/guix.ru.texi:28220: @pxref referenco al neekzistanta nodo «Build Systems)»
Wide character in warn at /home/ludo/.guix-profile/bin/makeinfo line 632.
doc/contributing.ru.texi:1238: @pxref referenco al neekzistanta nodo «Отслеживание ошибок и исправлений»
Wide character in warn at /home/ludo/.guix-profile/bin/makeinfo line 632.
doc/contributing.ru.texi:1274: @pxref referenco al neekzistanta nodo «Отправка исправлений»
make[2]: *** [Makefile:4233: doc/guix.ru.info] Error 1
--8<---------------cut here---------------end--------------->8---

Could you take a look and post an update on the Translation Project?

Let me know if you need help to address these.

Ludo’.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Syntax errors in latest guix-manual ru.po
  2020-04-06 10:00 Syntax errors in latest guix-manual ru.po Ludovic Courtès
@ 2020-04-06 11:55 ` Pavlo Marianov
  2020-04-07  9:44   ` Ludovic Courtès
  0 siblings, 1 reply; 13+ messages in thread
From: Pavlo Marianov @ 2020-04-06 11:55 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1692 bytes --]

Hello.
I uploaded a new PO-file.
Hope it fixes that error.

пн, 6 квіт. 2020 о 13:00 Ludovic Courtès <ludo@gnu.org> пише:

> Hello Pavlo,
>
>
> Thanks for the update to the Russian translation of the Guix manual!  It
> contains a couple of Texinfo syntax errors:
>
> --8<---------------cut here---------------start------------->8---
>   MAKEINFO doc/guix.ru.info
> ./doc/guix.ru.texi:11: warning: @documentencoding devus aperi nur je
> komenco de linio
> ./doc/guix.ru.texi:11: warning: @documentencoding ne devus aperi en
> @documentencoding
> ./doc/guix.ru.texi:11: misa argumento por '@documentencoding':
> UTF-8@documentencoding UTF-8
> ./doc/guix.ru.texi:937: warning: post akcentkomando '@,' ne devus sekvi
> blankspaco
> doc/contributing.ru.texi:1198: nekonata komando 'Uref'
> doc/contributing.ru.texi:1199: misloka {
> doc/contributing.ru.texi:1199: misloka }
> ./doc/guix.ru.texi:28220: @pxref referenco al neekzistanta nodo «Build
> Systems)»
> Wide character in warn at /home/ludo/.guix-profile/bin/makeinfo line 632.
> doc/contributing.ru.texi:1238: @pxref referenco al neekzistanta nodo
> «Отслеживание ошибок и исправлений»
> Wide character in warn at /home/ludo/.guix-profile/bin/makeinfo line 632.
> doc/contributing.ru.texi:1274: @pxref referenco al neekzistanta nodo
> «Отправка исправлений»
> make[2]: *** [Makefile:4233: doc/guix.ru.info] Error 1
> --8<---------------cut here---------------end--------------->8---
>
> Could you take a look and post an update on the Translation Project?
>
> Let me know if you need help to address these.
>
> Ludo’.
>

[-- Attachment #2: Type: text/html, Size: 2397 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Syntax errors in latest guix-manual ru.po
  2020-04-06 11:55 ` Pavlo Marianov
@ 2020-04-07  9:44   ` Ludovic Courtès
  2020-04-07 10:03     ` Pavlo Marianov
  0 siblings, 1 reply; 13+ messages in thread
From: Ludovic Courtès @ 2020-04-07  9:44 UTC (permalink / raw)
  To: Pavlo Marianov; +Cc: guix-devel

Hi Pavlo,

Pavlo Marianov <acid@jack.kiev.ua> skribis:

> I uploaded a new PO-file.
> Hope it fixes that error.

Thanks for the quick reply!  There’s a few issues left:

--8<---------------cut here---------------start------------->8---
./doc/guix.ru.texi:946: warning: accent command `@,' must not be followed by whitespace
doc/contributing.ru.texi:365: @url missing closing brace
Wide character in warn at /home/ludo/.guix-profile/bin/makeinfo line 632.
./doc/guix.ru.texi:28262: @pxref reference to nonexistent node `Системы сборки)'
Wide character in warn at /home/ludo/.guix-profile/bin/makeinfo line 632.
doc/contributing.ru.texi:105: @xref reference to nonexistent node `Запуск guix environment'
Wide character in warn at /home/ludo/.guix-profile/bin/makeinfo line 632.
doc/contributing.ru.texi:915: @pxref reference to nonexistent node `Отправка набора патчей'
make[2]: *** [Makefile:4236: doc/guix.ru.info] Error 1
--8<---------------cut here---------------end--------------->8---

Does that make sense to you?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Syntax errors in latest guix-manual ru.po
  2020-04-07  9:44   ` Ludovic Courtès
@ 2020-04-07 10:03     ` Pavlo Marianov
  2020-04-07 12:34       ` Julien Lepiller
  2020-04-07 20:17       ` Ludovic Courtès
  0 siblings, 2 replies; 13+ messages in thread
From: Pavlo Marianov @ 2020-04-07 10:03 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1560 bytes --]

Looks like errors like 'reference to nonexistent node' will remain
until all text will be translated.

Other errors I could not find in the source PO-file. Maybe coordinates are
wrong. For example reference 'guix.texi:946' is missing in the
https://translationproject.org/PO-files/ru/guix-manual-1.1.0-pre1.ru.po

вт, 7 квіт. 2020 о 12:44 Ludovic Courtès <ludo@gnu.org> пише:

> Hi Pavlo,
>
> Pavlo Marianov <acid@jack.kiev.ua> skribis:
>
> > I uploaded a new PO-file.
> > Hope it fixes that error.
>
> Thanks for the quick reply!  There’s a few issues left:
>
> --8<---------------cut here---------------start------------->8---
> ./doc/guix.ru.texi:946: warning: accent command `@,' must not be followed
> by whitespace
> doc/contributing.ru.texi:365: @url missing closing brace
> Wide character in warn at /home/ludo/.guix-profile/bin/makeinfo line 632.
> ./doc/guix.ru.texi:28262: @pxref reference to nonexistent node `Системы
> сборки)'
> Wide character in warn at /home/ludo/.guix-profile/bin/makeinfo line 632.
> doc/contributing.ru.texi:105: @xref reference to nonexistent node `Запуск
> guix environment'
> Wide character in warn at /home/ludo/.guix-profile/bin/makeinfo line 632.
> doc/contributing.ru.texi:915: @pxref reference to nonexistent node
> `Отправка набора патчей'
> make[2]: *** [Makefile:4236: doc/guix.ru.info] Error 1
> --8<---------------cut here---------------end--------------->8---
>
> Does that make sense to you?
>
> Thanks,
> Ludo’.
>

[-- Attachment #2: Type: text/html, Size: 2484 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Syntax errors in latest guix-manual ru.po
  2020-04-07 10:03     ` Pavlo Marianov
@ 2020-04-07 12:34       ` Julien Lepiller
  2020-04-07 20:17       ` Ludovic Courtès
  1 sibling, 0 replies; 13+ messages in thread
From: Julien Lepiller @ 2020-04-07 12:34 UTC (permalink / raw)
  To: Pavlo Marianov, Ludovic Courtès; +Cc: guix-devel

Le 7 avril 2020 06:03:18 GMT-04:00, Pavlo Marianov <acid@jack.kiev.ua> a écrit :
>Looks like errors like 'reference to nonexistent node' will remain
>until all text will be translated.
>
>Other errors I could not find in the source PO-file. Maybe coordinates
>are
>wrong. For example reference 'guix.texi:946' is missing in the
>https://translationproject.org/PO-files/ru/guix-manual-1.1.0-pre1.ru.po
>
>вт, 7 квіт. 2020 о 12:44 Ludovic Courtès <ludo@gnu.org> пише:
>
>> Hi Pavlo,
>>
>> Pavlo Marianov <acid@jack.kiev.ua> skribis:
>>
>> > I uploaded a new PO-file.
>> > Hope it fixes that error.
>>
>> Thanks for the quick reply!  There’s a few issues left:
>>
>> --8<---------------cut here---------------start------------->8---
>> ./doc/guix.ru.texi:946: warning: accent command `@,' must not be
>followed
>> by whitespace
>> doc/contributing.ru.texi:365: @url missing closing brace
>> Wide character in warn at /home/ludo/.guix-profile/bin/makeinfo line
>632.
>> ./doc/guix.ru.texi:28262: @pxref reference to nonexistent node
>`Системы
>> сборки)'
>> Wide character in warn at /home/ludo/.guix-profile/bin/makeinfo line
>632.
>> doc/contributing.ru.texi:105: @xref reference to nonexistent node
>`Запуск
>> guix environment'
>> Wide character in warn at /home/ludo/.guix-profile/bin/makeinfo line
>632.
>> doc/contributing.ru.texi:915: @pxref reference to nonexistent node
>> `Отправка набора патчей'
>> make[2]: *** [Makefile:4236: doc/guix.ru.info] Error 1
>> --8<---------------cut here---------------end--------------->8---
>>
>> Does that make sense to you?
>>
>> Thanks,
>> Ludo’.
>>

During my translation I also found it was difficult to keep nodes in sync. That's why I added some code to the Makefile so that it will automatically translate node names in the file. Translate nodes, but keep references to them in English. The makefile will find your translation and automatically replace @ref etc.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Syntax errors in latest guix-manual ru.po
  2020-04-07 10:03     ` Pavlo Marianov
  2020-04-07 12:34       ` Julien Lepiller
@ 2020-04-07 20:17       ` Ludovic Courtès
  2020-04-07 23:39         ` Julien Lepiller
  1 sibling, 1 reply; 13+ messages in thread
From: Ludovic Courtès @ 2020-04-07 20:17 UTC (permalink / raw)
  To: Pavlo Marianov; +Cc: guix-devel

Hi,

Pavlo Marianov <acid@jack.kiev.ua> skribis:

>> doc/contributing.ru.texi:365: @url missing closing brace

This one is:

  CI-системой @url{@value{SUBSTITUTE-SERVER}.
                                           ^
Julien, do we need to do anything for the non-existent node names or is
there “something” that’ll take care of it?  (Somehow I can never
remember how that works.)

Ludo’.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Syntax errors in latest guix-manual ru.po
  2020-04-07 20:17       ` Ludovic Courtès
@ 2020-04-07 23:39         ` Julien Lepiller
  2020-04-08  7:38           ` Pavlo Marianov
  0 siblings, 1 reply; 13+ messages in thread
From: Julien Lepiller @ 2020-04-07 23:39 UTC (permalink / raw)
  To: Ludovic Courtès, Pavlo Marianov; +Cc: guix-devel

Le 7 avril 2020 16:17:49 GMT-04:00, "Ludovic Courtès" <ludo@gnu.org> a écrit :
>Hi,
>
>Pavlo Marianov <acid@jack.kiev.ua> skribis:
>
>>> doc/contributing.ru.texi:365: @url missing closing brace
>
>This one is:
>
>  CI-системой @url{@value{SUBSTITUTE-SERVER}.
>                                           ^
>Julien, do we need to do anything for the non-existent node names or is
>there “something” that’ll take care of it?  (Somehow I can never
>remember how that works.)
>
>Ludo’.

You translate the menu and @node. You don't need to translate references like @ref, @xref or @pxref. The xref_command takes care of that (guix self) uses its own parser too. For references outside the guix manual, I use the English name too because they were not translated. It's ok to translate URLs to point to translated resources.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Syntax errors in latest guix-manual ru.po
  2020-04-07 23:39         ` Julien Lepiller
@ 2020-04-08  7:38           ` Pavlo Marianov
  2020-04-08 10:35             ` Ludovic Courtès
  0 siblings, 1 reply; 13+ messages in thread
From: Pavlo Marianov @ 2020-04-08  7:38 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1097 bytes --]

I understood about @ref, @xref, etc.
So I fixed all those wrongly translated strings and uploaded to TP.

ср, 8 квіт. 2020 о 02:40 Julien Lepiller <julien@lepiller.eu> пише:

> Le 7 avril 2020 16:17:49 GMT-04:00, "Ludovic Courtès" <ludo@gnu.org> a
> écrit :
> >Hi,
> >
> >Pavlo Marianov <acid@jack.kiev.ua> skribis:
> >
> >>> doc/contributing.ru.texi:365: @url missing closing brace
> >
> >This one is:
> >
> >  CI-системой @url{@value{SUBSTITUTE-SERVER}.
> >                                           ^
> >Julien, do we need to do anything for the non-existent node names or is
> >there “something” that’ll take care of it?  (Somehow I can never
> >remember how that works.)
> >
> >Ludo’.
>
> You translate the menu and @node. You don't need to translate references
> like @ref, @xref or @pxref. The xref_command takes care of that (guix self)
> uses its own parser too. For references outside the guix manual, I use the
> English name too because they were not translated. It's ok to translate
> URLs to point to translated resources.
>

[-- Attachment #2: Type: text/html, Size: 1755 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Syntax errors in latest guix-manual ru.po
  2020-04-08  7:38           ` Pavlo Marianov
@ 2020-04-08 10:35             ` Ludovic Courtès
  2020-04-08 10:50               ` Pavlo Marianov
  0 siblings, 1 reply; 13+ messages in thread
From: Ludovic Courtès @ 2020-04-08 10:35 UTC (permalink / raw)
  To: Pavlo Marianov; +Cc: guix-devel

Hi,

Pavlo Marianov <acid@jack.kiev.ua> skribis:

> So I fixed all those wrongly translated strings and uploaded to TP.

The problem is still there:

--8<---------------cut here---------------start------------->8---
$ wget -qO - https://translationproject.org/latest/guix-manual/ru.po |grep '^msgstr.*@url{@value'
msgstr "Если ваш пакет собирается без ошибок, пришлите нам свой патч (@pxref{Submitting Patches}). Если вам нужна помощь, мы будем рады помочь вам со своей стороны. После фиксации патча в репозитории Guix новый пакет будет автоматически собран для всех поддерживаемых платформ нашей CI-системой @url{@value{SUBSTITUTE-SERVER}."
--8<---------------cut here---------------end--------------->8---

Or maybe there’s some delay somewhere?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Syntax errors in latest guix-manual ru.po
  2020-04-08 10:35             ` Ludovic Courtès
@ 2020-04-08 10:50               ` Pavlo Marianov
  2020-04-09  9:37                 ` Ludovic Courtès
  0 siblings, 1 reply; 13+ messages in thread
From: Pavlo Marianov @ 2020-04-08 10:50 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1161 bytes --]

Ah, saw that problem. One '}' was missed.

ср, 8 квіт. 2020 о 13:35 Ludovic Courtès <ludo@gnu.org> пише:

> Hi,
>
> Pavlo Marianov <acid@jack.kiev.ua> skribis:
>
> > So I fixed all those wrongly translated strings and uploaded to TP.
>
> The problem is still there:
>
> --8<---------------cut here---------------start------------->8---
> $ wget -qO - https://translationproject.org/latest/guix-manual/ru.po
> |grep '^msgstr.*@url{@value'
> msgstr "Если ваш пакет собирается без ошибок, пришлите нам свой патч
> (@pxref{Submitting Patches}). Если вам нужна помощь, мы будем рады помочь
> вам со своей стороны. После фиксации патча в репозитории Guix новый пакет
> будет автоматически собран для всех поддерживаемых платформ нашей
> CI-системой @url{@value{SUBSTITUTE-SERVER}."
> --8<---------------cut here---------------end--------------->8---
>
> Or maybe there’s some delay somewhere?
>
> Thanks,
> Ludo’.
>

[-- Attachment #2: Type: text/html, Size: 1733 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Syntax errors in latest guix-manual ru.po
  2020-04-08 10:50               ` Pavlo Marianov
@ 2020-04-09  9:37                 ` Ludovic Courtès
  2020-04-09  9:57                   ` Pavlo Marianov
  2020-04-09 11:53                   ` Julien Lepiller
  0 siblings, 2 replies; 13+ messages in thread
From: Ludovic Courtès @ 2020-04-09  9:37 UTC (permalink / raw)
  To: Pavlo Marianov; +Cc: guix-devel

Hi,

I’m really sorry but there’s still one error:

--8<---------------cut here---------------start------------->8---
  MAKEINFO doc/guix.ru.info
./doc/guix.ru.texi:946: warning: accent command `@,' must not be followed by whitespace
./doc/guix.ru.texi:28289: @pxref reference to nonexistent node `Build Systems)'
make[2]: *** [Makefile:4239: doc/guix.ru.info] Error 1
--8<---------------cut here---------------end--------------->8---

There’s an extra closing paren here.

Julien, do you have ideas on how we could improve this workflow?
Perhaps have an automated system that applies the latest PO files and
sends a report to translators?

Ludo’.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Syntax errors in latest guix-manual ru.po
  2020-04-09  9:37                 ` Ludovic Courtès
@ 2020-04-09  9:57                   ` Pavlo Marianov
  2020-04-09 11:53                   ` Julien Lepiller
  1 sibling, 0 replies; 13+ messages in thread
From: Pavlo Marianov @ 2020-04-09  9:57 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 896 bytes --]

'Build Systems)' fixed.
But I still can't find odd whitespace in guix.ru.texi:946. I need a context.

чт, 9 квіт. 2020 о 12:37 Ludovic Courtès <ludo@gnu.org> пише:

> Hi,
>
> I’m really sorry but there’s still one error:
>
> --8<---------------cut here---------------start------------->8---
>   MAKEINFO doc/guix.ru.info
> ./doc/guix.ru.texi:946: warning: accent command `@,' must not be followed
> by whitespace
> ./doc/guix.ru.texi:28289: @pxref reference to nonexistent node `Build
> Systems)'
> make[2]: *** [Makefile:4239: doc/guix.ru.info] Error 1
> --8<---------------cut here---------------end--------------->8---
>
> There’s an extra closing paren here.
>
> Julien, do you have ideas on how we could improve this workflow?
> Perhaps have an automated system that applies the latest PO files and
> sends a report to translators?
>
> Ludo’.
>

[-- Attachment #2: Type: text/html, Size: 1517 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Syntax errors in latest guix-manual ru.po
  2020-04-09  9:37                 ` Ludovic Courtès
  2020-04-09  9:57                   ` Pavlo Marianov
@ 2020-04-09 11:53                   ` Julien Lepiller
  1 sibling, 0 replies; 13+ messages in thread
From: Julien Lepiller @ 2020-04-09 11:53 UTC (permalink / raw)
  To: Ludovic Courtès, Pavlo Marianov; +Cc: guix-devel

Le 9 avril 2020 05:37:54 GMT-04:00, "Ludovic Courtès" <ludo@gnu.org> a écrit :
>Hi,
>
>I’m really sorry but there’s still one error:
>
>--8<---------------cut here---------------start------------->8---
>  MAKEINFO doc/guix.ru.info
>./doc/guix.ru.texi:946: warning: accent command `@,' must not be
>followed by whitespace
>./doc/guix.ru.texi:28289: @pxref reference to nonexistent node `Build
>Systems)'
>make[2]: *** [Makefile:4239: doc/guix.ru.info] Error 1
>--8<---------------cut here---------------end--------------->8---
>
>There’s an extra closing paren here.
>
>Julien, do you have ideas on how we could improve this workflow?
>Perhaps have an automated system that applies the latest PO files and
>sends a report to translators?
>
>Ludo’.

I don't know what it would look like

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-04-09 11:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-06 10:00 Syntax errors in latest guix-manual ru.po Ludovic Courtès
2020-04-06 11:55 ` Pavlo Marianov
2020-04-07  9:44   ` Ludovic Courtès
2020-04-07 10:03     ` Pavlo Marianov
2020-04-07 12:34       ` Julien Lepiller
2020-04-07 20:17       ` Ludovic Courtès
2020-04-07 23:39         ` Julien Lepiller
2020-04-08  7:38           ` Pavlo Marianov
2020-04-08 10:35             ` Ludovic Courtès
2020-04-08 10:50               ` Pavlo Marianov
2020-04-09  9:37                 ` Ludovic Courtès
2020-04-09  9:57                   ` Pavlo Marianov
2020-04-09 11:53                   ` Julien Lepiller

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).