Skip to content
Commits on Source (3)
......@@ -38,6 +38,14 @@ debian-edu-doc (2.10.13) UNRELEASED; urgency=medium
- audacity-manual.uk.po: Use 'uk' instead of 'ua' as lang attribute content.
- common/dblatex.xsl: Add support for lang=uk, set glyphs supporting font.
Thanks to tests.reproducible-builds.org reports.
* common/dblatex.xsl: Improve Chinese language related configuration.
- Fix support for Simplified Chinese (replace zh with zh-cn).
- Add support for Traditional Chinese (zh-tw).
The Traditional Chinese configuration is a copy of the Simplified Chinese
one, so the glyphs might not be correct and another font might be needed.
* Translation files *.zh.po and *zh_Hant.po:
The related PO files should have the lang attribute translated accordingly
as zh and zht are considered as unknown localization strings, done so.
-- Holger Levsen <holger@debian.org> Sun, 20 Jan 2019 15:34:37 +0100
......
......@@ -20,7 +20,7 @@ msgstr ""
#. type: Attribute 'lang' of: <article>
msgid "en"
msgstr "zh"
msgstr "zh-cn"
#. type: Content of: <article><articleinfo><title>
#, fuzzy
......
......@@ -20,7 +20,7 @@ msgstr ""
#. type: Attribute 'lang' of: <article>
msgid "en"
msgstr "zht"
msgstr "zh-tw"
#. type: Content of: <article><articleinfo><title>
msgid "Debian Edu / Skolelinux Audacity manual 2019-01-20"
......
......@@ -12,7 +12,14 @@
<xsl:text>\setCJKmonofont{IPAexGothic}&#10;</xsl:text>
<xsl:text>\setmainfont{Latin Modern Sans}&#10;</xsl:text>
</xsl:when>
<xsl:when test="contains(/article/@lang,'zh')">
<xsl:when test="contains(/article/@lang,'zh-cn')">
<xsl:text>\usepackage{xeCJK}&#10;</xsl:text>
<xsl:text>\setCJKmainfont{WenQuanYi Micro Hei}&#10;</xsl:text>
<xsl:text>\setCJKsansfont{WenQuanYi Micro Hei}&#10;</xsl:text>
<xsl:text>\setCJKmonofont{WenQuanYi Micro Hei Mono}&#10;</xsl:text>
<xsl:text>\setmainfont{Latin Modern Sans}&#10;</xsl:text>
</xsl:when>
<xsl:when test="contains(/article/@lang,'zh-tw')">
<xsl:text>\usepackage{xeCJK}&#10;</xsl:text>
<xsl:text>\setCJKmainfont{WenQuanYi Micro Hei}&#10;</xsl:text>
<xsl:text>\setCJKsansfont{WenQuanYi Micro Hei}&#10;</xsl:text>
......
......@@ -20,7 +20,7 @@ msgstr ""
#. type: Attribute 'lang' of: <article>
msgid "en"
msgstr "zh"
msgstr "zh-cn"
#. type: Content of: <article><articleinfo><title>
#, fuzzy
......
......@@ -20,7 +20,7 @@ msgstr ""
#. type: Attribute 'lang' of: <article>
msgid "en"
msgstr "zht"
msgstr "zh-tw"
#. type: Content of: <article><articleinfo><title>
msgid "Debian Edu / Skolelinux Buster 10+edu0 Manual 2019-01-20"
......
......@@ -20,7 +20,7 @@ msgstr ""
#. type: Attribute 'lang' of: <article>
msgid "en"
msgstr "zh"
msgstr "zh-cn"
#. type: Content of: <article><articleinfo><title>
#, fuzzy
......
......@@ -20,7 +20,7 @@ msgstr ""
#. type: Attribute 'lang' of: <article>
msgid "en"
msgstr "zht"
msgstr "zh-tw"
#. type: Content of: <article><articleinfo><title>
msgid "Debian Edu / Skolelinux ITIL Manual 2019-01-20"
......
......@@ -20,7 +20,7 @@ msgstr ""
#. type: Attribute 'lang' of: <article>
msgid "en"
msgstr "zh"
msgstr "zh-cn"
#. type: Content of: <article><articleinfo><title>
#, fuzzy
......
......@@ -20,7 +20,7 @@ msgstr ""
#. type: Attribute 'lang' of: <article>
msgid "en"
msgstr "zh"
msgstr "zh-cn"
#. type: Content of: <article><articleinfo><title>
msgid "Debian Edu / Skolelinux Rosegarden manual 2019-01-20"
......
......@@ -20,7 +20,7 @@ msgstr ""
#. type: Attribute 'lang' of: <article>
msgid "en"
msgstr "zht"
msgstr "zh-tw"
#. type: Content of: <article><articleinfo><title>
msgid "Debian Edu / Skolelinux Rosegarden manual 2019-01-20"
......