~ubuntu-branches/ubuntu/vivid/gimp/vivid

« back to all changes in this revision

Viewing changes to app/dialogs/authors.xsl

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach
  • Date: 2012-05-08 18:50:03 UTC
  • mto: (1.1.26) (0.5.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 71.
  • Revision ID: package-import@ubuntu.com-20120508185003-tltkvbaysf8d2426
ImportĀ upstreamĀ versionĀ 2.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 
11
11
  <xsl:template name="recent-contributor">
12
12
    <xsl:param name="role" />
13
 
    <xsl:apply-templates select="dc:contributor[contains(@role, $role) and number(@last-active) >= 2.6]" />
 
13
    <xsl:apply-templates select="dc:contributor[contains(@role, $role) and number(@last-active) >= 2.8]" />
14
14
  </xsl:template>
15
15
 
16
16
  <xsl:template match="/dc:gimp-authors">
17
17
<xsl:text>
18
18
/* NOTE: This file is auto-generated from authors.xml, do not edit it. */
19
19
 
 
20
static const gchar * const creators[] =
 
21
{
 
22
</xsl:text>
 
23
  <xsl:apply-templates select="dc:creator" />
 
24
<xsl:text>  NULL
 
25
};
 
26
</xsl:text>
 
27
 
 
28
<xsl:text>
 
29
static const gchar * const maintainers[] =
 
30
{
 
31
</xsl:text>
 
32
  <xsl:apply-templates select="dc:maintainer" />
 
33
<xsl:text>  NULL
 
34
};
 
35
</xsl:text>
 
36
 
 
37
<xsl:text>
20
38
static const gchar * const authors[] =
21
39
{
22
40
</xsl:text>
23
41
  <xsl:apply-templates select="dc:creator" />
 
42
  <xsl:apply-templates select="dc:maintainer" />
24
43
  <xsl:call-template name="recent-contributor">
25
44
    <xsl:with-param name="role" select="'author'"/>
26
45
  </xsl:call-template>
53
72
 
54
73
  <xsl:template match="dc:creator">  "<xsl:apply-templates />",
55
74
</xsl:template>
 
75
  <xsl:template match="dc:maintainer">  "<xsl:apply-templates />",
 
76
</xsl:template>
56
77
  <xsl:template match="dc:contributor">  "<xsl:apply-templates />",
57
78
</xsl:template>
58
79