[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[d-i manual] copyright declaration



Hi,

is there a reason why the year for copyright declaration should not be
converted into an entity?
Would ease the repeating changing.

Patch attached, works for both xml and po based translations.


Holger

-- 
============================================================
Created with Sylpheed 3.2.0 under
	D E B I A N   L I N U X   7 . 0   W H E E Z Y !

Registered Linux User #311290 - https://linuxcounter.net/
============================================================
Index: de/bookinfo.xml
===================================================================
--- de/bookinfo.xml	(Revision 69686)
+++ de/bookinfo.xml	(Arbeitskopie)
@@ -49,7 +49,7 @@
 </abstract>
 
 <copyright>
-<year>2004 &ndash; 2015</year>
+ <year>2004 &ndash; &current-year;</year>
  <holder>Das Debian-Installer-Team</holder>
 </copyright>
 
Index: eu/bookinfo.xml
===================================================================
--- eu/bookinfo.xml	(Revision 69686)
+++ eu/bookinfo.xml	(Arbeitskopie)
@@ -40,7 +40,7 @@
 </abstract>
 
 <copyright>
- <year>2004 &ndash; 2015
+ <year>2004 &ndash; &current-year;
  <trademark class="copyright">
  </trademark>
  </year>
Index: it/bookinfo.xml
===================================================================
--- it/bookinfo.xml	(Revision 69686)
+++ it/bookinfo.xml	(Arbeitskopie)
@@ -96,7 +96,7 @@
 </abstract>
 
 <copyright>
- <year>2004 &ndash; 2015</year>
+ <year>2004 &ndash; &current-year;</year>
  <holder>Debian Installer team</holder>
 </copyright>
 
Index: build/entities/common.ent
===================================================================
--- build/entities/common.ent	(Revision 69686)
+++ build/entities/common.ent	(Arbeitskopie)
@@ -2,6 +2,10 @@
 <!-- These entries should be language independent.  -->
 <!-- The *first* definition of an ENTITY wins.      -->
 
+<!-- current year (to be used for copyright declaration). -->
+<!-- When changing this, also change in "debian/copyright" file)! -->
+<!ENTITY current-year "2015">
+
 <!-- short name to use for Debian -->
 <!ENTITY debian "Debian">
 
Index: en/bookinfo.xml
===================================================================
--- en/bookinfo.xml	(Revision 69686)
+++ en/bookinfo.xml	(Arbeitskopie)
@@ -48,7 +48,7 @@
 </abstract>
 
 <copyright>
- <year>2004 &ndash; 2015</year>
+ <year>2004 &ndash; &current-year;</year>
  <holder>the Debian Installer team</holder>
 </copyright>
 
Index: ca/bookinfo.xml
===================================================================
--- ca/bookinfo.xml	(Revision 69686)
+++ ca/bookinfo.xml	(Arbeitskopie)
@@ -50,7 +50,7 @@
 </abstract>
 
 <copyright>
- <year>2004 &ndash; 2015</year>
+ <year>2004 &ndash; &current-year;</year>
  <holder>l'equip de l'instal·lador de Debian</holder>
 </copyright>
 
Index: cs/bookinfo.xml
===================================================================
--- cs/bookinfo.xml	(Revision 69686)
+++ cs/bookinfo.xml	(Arbeitskopie)
@@ -37,7 +37,7 @@
 </abstract>
 
 <copyright>
- <year>2004 &ndash; 2015</year>
+ <year>2004 &ndash; &current-year;</year>
  <holder>tým okolo instalaÄ?ního programu Debianu</holder>
 </copyright>
 
Index: pt_BR/bookinfo.xml
===================================================================
--- pt_BR/bookinfo.xml	(Revision 69686)
+++ pt_BR/bookinfo.xml	(Arbeitskopie)
@@ -57,7 +57,7 @@
 </abstract>
 
 <copyright>
- <year>2004 &ndash; 2015</year>
+ <year>2004 &ndash; &current-year;</year>
  <holder>o time do Instalador Debian (the Debian Installer team)</holder>
 </copyright>
 

Reply to: