[kdoctools] tests/kdoctools_install-test/po: Fix test: use the documented structure for docbooks

Luigi Toscano null at kde.org
Sun Jan 1 21:04:31 UTC 2017


Git commit 1f0ce2d934a8e7bff8b91f6a8d0b4723b1974450 by Luigi Toscano.
Committed on 01/01/2017 at 21:01.
Pushed by ltoscano into branch 'master'.

Fix test: use the documented structure for docbooks

The recognized and tested structure is:
<translation_dir>/<lang>/docs/<program_name>/*.docbook

Being inside <program_name> is not important for the code which
handles manpages.

It could be possible to handle <translation_dir>/<lang>/docs/*.docbook
as (apparently) originally planned, but I think that it would introduce
a bit more of code without too much gain (the name of the program/module
needs to be extracted somehow anyway, SUBDIR is a mandatory parameter).

R  +0    -0    tests/kdoctools_install-test/po/es/docs/foobar/index.docbook [from: tests/kdoctools_install-test/po/es/docs/index.docbook - 100% similarity]
R  +0    -0    tests/kdoctools_install-test/po/fr/docs/foobar/index.docbook [from: tests/kdoctools_install-test/po/fr/docs/index.docbook - 100% similarity]

https://commits.kde.org/kdoctools/1f0ce2d934a8e7bff8b91f6a8d0b4723b1974450

diff --git a/tests/kdoctools_install-test/po/es/docs/index.docbook b/tests/kdoctools_install-test/po/es/docs/foobar/index.docbook
similarity index 100%
rename from tests/kdoctools_install-test/po/es/docs/index.docbook
rename to tests/kdoctools_install-test/po/es/docs/foobar/index.docbook
diff --git a/tests/kdoctools_install-test/po/fr/docs/index.docbook b/tests/kdoctools_install-test/po/fr/docs/foobar/index.docbook
similarity index 100%
rename from tests/kdoctools_install-test/po/fr/docs/index.docbook
rename to tests/kdoctools_install-test/po/fr/docs/foobar/index.docbook


More information about the kde-doc-english mailing list