diff options
-rw-r--r-- | packaging/omf.xsl | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/packaging/omf.xsl b/packaging/omf.xsl index b827841..289471a 100644 --- a/packaging/omf.xsl +++ b/packaging/omf.xsl @@ -27,7 +27,7 @@ /> <subject category="General|Linux|Distributions|Other"/> <description> - <xsl:call-template name="get-title"/> + <xsl:call-template name="get-desc"/> </description> <type> <xsl:call-template name="get-title"/> @@ -51,14 +51,6 @@ </omf> </xsl:template> - <xsl:template name="get-title"> - <xsl:for-each select="/rpm-info/titles/translation"> - <xsl:choose> - <xsl:when test="@lang = $lang"> - <xsl:value-of select="title"/> - </xsl:when> - </xsl:choose> - </xsl:for-each> - </xsl:template> + <xsl:include href="templates.xsl"/> </xsl:stylesheet> |