[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#924696: debian-faq on debian website: chinese translation not updated to latest version



Holger Wansing wrote:
> Under https://www.debian.org/doc/user-manuals#faq
> most debian-faq translations are from 18. Nov 2018
> (like https://www.debian.org/doc/manuals/debian-faq/index.en.html
> or https://www.debian.org/doc/manuals/debian-faq/index.de.html,
> look of the bottom of the first page),
> 
> while the Chinese one is from 01. May 2015
> (see https://www.debian.org/doc/manuals/debian-faq/index.zh-cn.html)
> 
> However, the debian-faq package version 9.0 has correct Chinese version included
> in it (even though it has large untranslated parts).

I just noticed that debwww's cron script 7doc currently fails while processing 
Chinese debian-faq.
So we have an even worse situation as described ~1 year ago in this report.

I analyzed the situation and found how to adapt the 7doc script to work 
correctly again.
(Details: the path for the Chinese html files within the package has changed
from ../zh_CN to ../zh_cn, so the script needs a corresponding change.
Don't know what happened exactly in the past, but this way it works for the
actual situation.)


Patch attached.

Holger



-- 
Holger Wansing <hwansing@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076
diff --git a/parts/7doc b/parts/7doc
index 4f45e4e..9ebcbcc 100755
--- a/parts/7doc
+++ b/parts/7doc
@@ -462,8 +462,8 @@ mvhtml debian-faq usr/share/doc/debian/FAQ YES en
 langlist=`pkg2lang debian-faq-`
 for lang in $langlist ; do
 	unpack debian-faq-$lang
-	mvdocs debian-faq usr/share/doc/debian/FAQ YES `uplocal $lang`
-	mvhtml debian-faq usr/share/doc/debian/FAQ/`uplocal $lang` YES $lang
+	mvdocs debian-faq usr/share/doc/debian/FAQ YES $lang
+	mvhtml debian-faq usr/share/doc/debian/FAQ/$lang YES $lang
 done
 
 unpack maint-guide

Reply to: