chiark / gitweb /
provide proper l10n for SGML date entities; now we have &date-<LANG>
authoraph <aph@313b444b-1b9f-4f58-a734-7bb04f332e8d>
Thu, 21 Jun 2001 18:35:26 +0000 (18:35 +0000)
committeraph <aph@313b444b-1b9f-4f58-a734-7bb04f332e8d>
Thu, 21 Jun 2001 18:35:26 +0000 (18:35 +0000)
entities which should be used

git-svn-id: svn://anonscm.debian.org/ddp/manuals/trunk/developers-reference@1203 313b444b-1b9f-4f58-a734-7bb04f332e8d

debian/changelog
debian/rules
developers-reference.fr.sgml
developers-reference.ja.sgml
developers-reference.sgml

index 09a69e03a12294e483a356140c52fb21c4afdefe..f38021d075578f2124e666e1bf4d4bb6724dd666 100644 (file)
@@ -1,6 +1,6 @@
 developers-reference (2.8.7) unstable; urgency=low
 
-  * French version: updates
+  * French updates
   * fix a typo in a link
   * dpkg-buildpackage -m<addr> flag was changed for -e<addr> when NMU'ing;
     update documentation accordingly
@@ -8,8 +8,10 @@ developers-reference (2.8.7) unstable; urgency=low
   * Matt Zimmerman fixes up some wording in the section talking about
     forwarding bugs upstream
     closes: #98312
+  * provide proper l10n for SGML date entities; now we have &date-<LANG>
+    entities which should be used
 
- -- Adam Di Carlo <aph@debian.org>  Thu, 21 Jun 2001 13:09:58 -0400
+ -- Adam Di Carlo <aph@debian.org>  Thu, 21 Jun 2001 14:35:03 -0400
 
 developers-reference (2.8.6) unstable; urgency=low
 
index 58e453793f8e651e90a5ee2256c1d6422d68fd8f..3a8bd96ad89e46b6d71b68ef10efc35ac39f6caa 100755 (executable)
@@ -20,13 +20,18 @@ compress    := gzip -9f
 
 # version abstraction
 DEB_VERSION    := $(shell LC_ALL=C dpkg-parsechangelog | grep '^Version: ' | sed 's/^Version: *//')
-# pretty-print the date
-DATE           := $(shell LC_ALL=C date --date="`dpkg-parsechangelog | grep '^Date: ' | sed 's/^Date: *//'`" '+%d %B, %Y')
+DEB_DATE       := $(shell dpkg-parsechangelog | sed -n 's/^Date: *//p')
+# pretty-print the date; I wish this was dynamic like the top-level makefile but oh well
+DATE_EN                := $(shell LC_ALL=C     date --date="$(DEB_DATE)" '+%d %B, %Y')
+DATE_FR                := $(shell LC_ALL=fr_FR date --date="$(DEB_DATE)" '+%d %B %Y')
+DATE_JA                := $(shell LC_ALL=ja_JP date --date="$(DEB_DATE)" '+%x')
 
 version.ent:   debian/changelog
        :> version.ent
        echo "<!entity version \"$(DEB_VERSION)\">" >> version.ent
-       echo "<!entity date    \"$(DATE)\">"        >> version.ent
+       echo "<!entity date-en \"$(DATE_EN)\">"     >> version.ent
+       echo "<!entity date-fr \"$(DATE_FR)\">"     >> version.ent
+       echo "<!entity date-ja \"$(DATE_JA)\">"     >> version.ent
 
 build:
        $(checkdir)
index 68e9fdcfdedcb2d0e59249a3f27d905bbbef10c0..128d0cc0101afda8379696d2b19fbc67a7a39487 100644 (file)
@@ -5,7 +5,7 @@
   <!-- common, language independant entities -->
   <!entity % commondata  SYSTEM "common.ent" > %commondata;
   <!-- CVS revision of this document -->
-  <!entity cvs-rev "$Revision: 1.9 $">
+  <!entity cvs-rev "$Revision: 1.10 $">
 
   <!-- if you are translating this document, please notate the RCS
        revision of the developers reference here -->
@@ -36,7 +36,7 @@
 <author>avec la participation de Alain Meessen
 <author>et des membres de la liste
 <email>debian-l10n-french@lists.debian.org</email>
-<version>version &version;, 12 mai 2001
+<version>version &version;, &date-fr;
 
 <copyright>
 
index 85ece80acd39f09f44242dc89d84f0cb574c2a9b..9e5c013812956faed8fa1fd58ef033ecb124ff8e 100644 (file)
@@ -5,7 +5,7 @@
  <!-- common, language independant entities -->
  <!entity % commondata  SYSTEM "common.ent" > %commondata;
  <!-- CVS revision of this document -->
- <!entity cvs-rev "$Revision: 1.7 $">
+ <!entity cvs-rev "$Revision: 1.8 $">
 
  <!-- if you are translating this document, please notate the RCS
       revision of the developers reference here -->
@@ -30,7 +30,7 @@
       <author>Adam Di Carlo, current maintainer <email>aph@debian.org</email>
       <author>Christian Schwarz <email>schwarz@debian.org</email>
       <author>Ian Jackson <email>ijackson@gnu.ai.mit.edu</email>
-      <version>ver. &version;, &date;
+      <version>ver. &version;, &date-ja;
 
       <copyright>
        <copyrightsummary>
index d50321541c361f213156941c23ae71df3c1a2427..af1aca2b1911645413d314b5c6f7c33ae64bd6ad 100644 (file)
@@ -5,7 +5,7 @@
   <!-- common, language independant entities -->
   <!entity % commondata  SYSTEM "common.ent" > %commondata;
   <!-- CVS revision of this document -->
-  <!entity cvs-rev "$Revision: 1.57 $">
+  <!entity cvs-rev "$Revision: 1.58 $">
 
   <!-- if you are translating this document, please notate the RCS
        revision of the developers reference here -->
@@ -30,7 +30,7 @@
       <author>Adam Di Carlo, current maintainer <email>aph@debian.org</email>
       <author>Christian Schwarz <email>schwarz@debian.org</email>
       <author>Ian Jackson <email>ijackson@gnu.ai.mit.edu</email>
-      <version>ver. &version;, &date;
+      <version>ver. &version;, &date-en;
 
       <copyright>
        <copyrightsummary>