example-tutorial Makefile,1.29,1.30 rpm-info.xml,1.17,1.18

Tommy Reynolds (jtr) fedora-docs-commits at redhat.com
Mon Feb 13 16:15:19 UTC 2006


Author: jtr

Update of /cvs/docs/example-tutorial
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11369

Modified Files:
	Makefile rpm-info.xml 
Log Message:
Adding proper i18n support (.POT and .PO files)  for the "de" translation.



Index: Makefile
===================================================================
RCS file: /cvs/docs/example-tutorial/Makefile,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- Makefile	3 Feb 2006 17:22:24 -0000	1.29
+++ Makefile	13 Feb 2006 16:15:10 -0000	1.30
@@ -1,24 +1,35 @@
-###############################################################################
-# Makefile for RHLP docs project
-# Created by: Tammy Fox <tfox at redhat.com>
-# Last edited by: Tommy Reynolds <Tommy.Reynolds at MegaCoder.com>
-# WARNING: need passivetex 1.24 for pdf generation to work
-# License: GPL
-# Copyright 2003 Tammy Fox, Red Hat, Inc.
-# Copyright 2005 Tommy Reynolds, MegaCoder.com
-###############################################################################
-# There is actually no "de" translation.  All the '*-de*" files are just
+########################################################################
+#                                NOTICE
+#-----------------------------------------------------------------------
+# There is actually no "de" translation.  All the '*de*" files are just
 # fodder to check the internationalization (i18n) workings for the FTP.
 # No discourtesy to any German speaker is intended.  -- Tommy Reynolds
-###############################################################################
+# Actual translations welcome.
+########################################################################
+
+########################################################################
+# Fedora Documentation Project Per-document Makefile
+# License: GPL
+# Copyright 2005,2006 Tommy Reynolds, MegaCoder.com
+########################################################################
 #
 # Document-specific definitions.
 #
-LANGUAGES      	= en de
 DOCBASE        	= example-tutorial
-XMLEXTRAFILES-en= en/para-en.xml
-XMLEXTRAFILES-de= de/para-de.xml
+PRI_LANG      	= en
+OTHERS		= de
+########################################################################
+# List each XML file of your document in the template below.  Append the 
+# path to each file to the "XMLFILES-${1}" string.  Use a backslash if you
+# need additional lines.  Here, we have one extra file "en/para.xml"; that
+# gets written as "${1}/para.xml" because later, make(1) will need to compute
+# the necesssary filenames.  Oh, do NOT include "fdp-info.xml" because that's
+# a generated file and we already know about that one...
+
+define	XMLFILES_template
+XMLFILES-${1}=${1}/${DOCBASE}.xml ${1}/para.xml
+endef
 #
-######################################################
+########################################################################
 include ../docs-common/Makefile.common
-######################################################
+########################################################################


Index: rpm-info.xml
===================================================================
RCS file: /cvs/docs/example-tutorial/rpm-info.xml,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- rpm-info.xml	12 Feb 2006 17:49:34 -0000	1.17
+++ rpm-info.xml	13 Feb 2006 16:15:10 -0000	1.18
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 
-<!DOCTYPE rpm-info SYSTEM "../../docs-common/packaging/rpm-info.dtd">
+<!DOCTYPE rpm-info SYSTEM "../docs-common/packaging/rpm-info.dtd">
 
 <rpm-info>
   <colophon>




More information about the Fedora-docs-commits mailing list