[gimp-help/gimp-help-2-10] authors: separate author name from language(s)
- From: Jacob Boerema <jboerema src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-help/gimp-help-2-10] authors: separate author name from language(s)
- Date: Wed, 2 Mar 2022 03:46:26 +0000 (UTC)
commit 64b181757df3b8a224dd5a8e9a4ea4cad3657c80
Author: Jacob Boerema <jgboerema gmail com>
Date: Tue Mar 1 22:44:45 2022 -0500
authors: separate author name from language(s)
By separating the author name, it does not need to be translated
anymore, saving translators some unneeded copying.
stylesheets/authors_docbook.xsl | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/stylesheets/authors_docbook.xsl b/stylesheets/authors_docbook.xsl
index 4877e5cba..bab9d079c 100644
--- a/stylesheets/authors_docbook.xsl
+++ b/stylesheets/authors_docbook.xsl
@@ -152,10 +152,14 @@
<!-- ============================================================= -->
<xsl:param name="print.language">1</xsl:param>
<member>
+ <author>
+ <personname>
+ <xsl:apply-templates match="." />
+ </personname>
+ </author>
<phrase>
- <xsl:apply-templates match="." />
<xsl:if test="@lang != '' and $print.language != 0">
- <xsl:text> (</xsl:text>
+ <xsl:text>(</xsl:text>
<xsl:call-template name="lang.split">
<xsl:with-param name="lang" select="@lang" />
</xsl:call-template>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]