Skip to content

Commit

Permalink
auto-generate the correct <date> translation
Browse files Browse the repository at this point in the history
  • Loading branch information
DonKult committed May 21, 2012
1 parent 372c2a2 commit 45fb8bf
Show file tree
Hide file tree
Showing 25 changed files with 1,566 additions and 1,619 deletions.
2 changes: 1 addition & 1 deletion doc/apt-cache.8.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
&apt-email;
&apt-product;
<!-- The last update date -->
<date>04 February 2011</date>
<date>2012-05-21T00:00:00Z</date>
</refentryinfo>

<refmeta>
Expand Down
2 changes: 1 addition & 1 deletion doc/apt-cdrom.8.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
&apt-author.team;
&apt-email;
&apt-product;
<date>14 February 2004</date>
<date>2004-02-14T00:00:00Z</date>
</refentryinfo>

<refmeta>
Expand Down
2 changes: 1 addition & 1 deletion doc/apt-config.8.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
&apt-email;
&apt-product;
<!-- The last update date -->
<date>29 February 2004</date>
<date>2012-05-11T00:00:00Z</date>
</refentryinfo>

<refmeta>
Expand Down
2 changes: 1 addition & 1 deletion doc/apt-extracttemplates.1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
&apt-email;
&apt-product;
<!-- The last update date -->
<date>29 February 2004</date>
<date>2004-02-29T00:00:00Z</date>
</refentryinfo>

<refmeta>
Expand Down
2 changes: 1 addition & 1 deletion doc/apt-ftparchive.1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
&apt-email;
&apt-product;
<!-- The last update date -->
<date>17 August 2009</date>
<date>2009-08-17T00:00:00Z</date>
</refentryinfo>

<refmeta>
Expand Down
2 changes: 1 addition & 1 deletion doc/apt-get.8.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
&apt-email;
&apt-product;
<!-- The last update date -->
<date>08 November 2008</date>
<date>2012-05-21T00:00:00Z</date>
</refentryinfo>

<refmeta>
Expand Down
11 changes: 9 additions & 2 deletions doc/apt-key.8.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,15 @@
]>

<refentry>
&apt-docinfo;

<refentryinfo>
&apt-author.jgunthorpe;
&apt-author.team;
&apt-email;
&apt-product;
<!-- The last update date -->
<date>2012-05-21T00:00:00Z</date>
</refentryinfo>

<refmeta>
<refentrytitle>apt-key</refentrytitle>
<manvolnum>8</manvolnum>
Expand Down
2 changes: 1 addition & 1 deletion doc/apt-mark.8.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
&apt-email;
&apt-product;
<!-- The last update date -->
<date>21 April 2011</date>
<date>2011-04-21T00:00:00Z</date>
</refentryinfo>

<refmeta>
Expand Down
11 changes: 9 additions & 2 deletions doc/apt-secure.8.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,15 @@
]>

<refentry>
&apt-docinfo;

<refentryinfo>
&apt-author.jgunthorpe;
&apt-author.team;
&apt-email;
&apt-product;
<!-- The last update date -->
<date>2012-05-21T00:00:00Z</date>
</refentryinfo>

<refmeta>
<refentrytitle>apt-secure</refentrytitle>
<manvolnum>8</manvolnum>
Expand Down
2 changes: 1 addition & 1 deletion doc/apt-sortpkgs.1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
&apt-email;
&apt-product;
<!-- The last update date -->
<date>29 February 2004</date>
<date>2004-02-29T00:00:00Z</date>
</refentryinfo>

<refmeta>
Expand Down
2 changes: 1 addition & 1 deletion doc/apt.conf.5.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
&apt-email;
&apt-product;
<!-- The last update date -->
<date>16 January 2010</date>
<date>2012-05-21T00:00:00Z</date>
</refentryinfo>

<refmeta>
Expand Down
14 changes: 0 additions & 14 deletions doc/apt.ent
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
<!-- Boiler plate docinfo section -->
<!ENTITY apt-docinfo "
<refentryinfo>
<address><email>apt@packages.debian.org</email></address>
<author>
<firstname>Jason</firstname> <surname>Gunthorpe</surname>
<contrib></contrib>
</author>
<copyright><year>1998-2001</year> <holder>Jason Gunthorpe</holder></copyright>
<date>28 October 2008</date>
<productname>Linux</productname>
</refentryinfo>
">

<!ENTITY apt-author.team "
<author>
<othername>APT team</othername>
Expand Down
2 changes: 1 addition & 1 deletion doc/apt_preferences.5.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
&apt-email;
&apt-product;
<!-- The last update date -->
<date>16 February 2010</date>
<date>2010-02-16T00:00:00Z</date>
</refentryinfo>

<refmeta>
Expand Down
7 changes: 7 additions & 0 deletions doc/manpage-style.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,11 @@

<xsl:template match="email">&lt;<xsl:apply-templates/>&gt;</xsl:template>

<xsl:template match="date">
<xsl:call-template name="datetime.format">
<xsl:with-param name="date" select="."/>
<xsl:with-param name="format" select="'d B Y'"/>
</xsl:call-template>
</xsl:template>

</xsl:stylesheet>
Loading

0 comments on commit 45fb8bf

Please sign in to comment.