[gnomemm-website] Fix Makefile.am and make it easier to add a new language
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnomemm-website] Fix Makefile.am and make it easier to add a new language
- Date: Fri, 11 Mar 2011 09:16:45 +0000 (UTC)
commit a5100332eed1bb4ade8617186420b0999bef6b87
Author: Tao Wang <dancefire gmail com>
Date: Fri Mar 11 12:31:57 2011 +1100
Fix Makefile.am and make it easier to add a new language
docs/C/gnomemm-website.xml: Add language 'es' and to the language list, and sort the list.
docs/Makefile.am: Fix the problem of generate html pages for 'es' and 'zh_CN'. And made the code more generic, so if someone want to add a new language to Makefile.am, the only thing need to do is add the language to DOC_LINGUAS.
docs/C/gnomemm-website.xml | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/docs/C/gnomemm-website.xml b/docs/C/gnomemm-website.xml
index b18a791..4a6a449 100644
--- a/docs/C/gnomemm-website.xml
+++ b/docs/C/gnomemm-website.xml
@@ -62,13 +62,16 @@
<title>Language</title>
<para><itemizedlist>
<listitem>
+ <para><ulink url="../de/index.html">Deutsch</ulink></para>
+ </listitem>
+ <listitem>
<para><ulink url="../en/index.html">English</ulink></para>
</listitem>
<listitem>
- <para><ulink url="../zh_CN/index.html">ä¸æ??</ulink></para>
+ <para><ulink url="../es/index.html">Español</ulink></para>
</listitem>
<listitem>
- <para><ulink url="../de/index.html">Deutsch</ulink></para>
+ <para><ulink url="../zh_CN/index.html">ä¸æ??</ulink></para>
</listitem>
</itemizedlist></para>
</formalpara>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]