Fix translation of DocBook markup tag of the GParted Manual (!98)
As found by the GitLab Continuous Integration job on CentOS 7 with
itstool 2.0.2, building the GParted Manual breaks on the Russian
translation like this:
$ ./autogen.sh
$ make clean
$ cd help
$ make
...
if ! test -d "ru/"; then mkdir "ru/"; fi
if test -d "C"; then d="../"; else d="/home/mike/programming/c/gparted/help/"; fi; \
mo="ru/ru.mo"; \
if test -f "${mo}"; then mo="../${mo}"; else mo="/home/mike/programming/c/gparted/help/${mo}"; fi; \
(cd "ru/" && itstool -m "${mo}" ${d}/C/index.docbook) && \
touch "ru/ru.stamp"
Error: Could not merge translations:
'NoneType' object has no attribute 'node'
make: *** [ru/ru.stamp] Error 1
On Fedora 35 with itstool 2.0.6 building the GParted Manual merely
reports a warning, leaving one paragraph untranslated, but the build
completes successfully:
$ ./autogen.sh
$ make clean
$ cd help
$ make
...
if ! test -d "ru/"; then mkdir "ru/"; fi
if test -d "C"; then d="../"; else d="/home/fedora/programming/c/gparted/help/"; fi; \
mo="ru/ru.mo"; \
if test -f "${mo}"; then mo="../${mo}"; else mo="/home/fedora/programming/c/gparted/help/${mo}"; fi; \
(cd "ru/" && itstool -m "${mo}" ${d}/C/index.docbook) && \
touch "ru/ru.stamp"
Warning: Could not merge translation for msgid:
Set the <application>grub</application> root device by specifying the device returned by the <command>find</command> command. This should be the partition containing the boot directory. <_:screen-1/>
...
$ echo $?
0
Fix translation of DocBook markup tag in the Russian translation of the
GParted Manual by commit:
17f4c3176d
Update Russian translation
Closes !98 - Fix translation of DocBook markup tag of the GParted Manual
This commit is contained in:
parent
2cfca5b38a
commit
81c4788ae8
|
@ -3181,7 +3181,7 @@ msgid ""
|
||||||
"command. This should be the partition containing the boot directory. <_:screen-1/>"
|
"command. This should be the partition containing the boot directory. <_:screen-1/>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Задайте корневое устройство для <application>grub</application>, указав устройство на основе вывода команды <command>find</"
|
"Задайте корневое устройство для <application>grub</application>, указав устройство на основе вывода команды <command>find</"
|
||||||
"command>. Это должен быть раздел, содержащий загрузочный каталог. <_:экран-1/>"
|
"command>. Это должен быть раздел, содержащий загрузочный каталог. <_:screen-1/>"
|
||||||
|
|
||||||
#. (itstool) path: para/screen
|
#. (itstool) path: para/screen
|
||||||
#: C/index.docbook:2955
|
#: C/index.docbook:2955
|
||||||
|
|
Loading…
Reference in New Issue