Explorar el Código

add guide.sgml and offline.sgml to the "translatable with po4a"-group

Fix also the buildsystem for building the coresponding docs from these
two files if they are exist for this language so we don't need to change
the makefiles for ja and fr - and can also use the same simple makefiles
for it and pl which ship these files as not-yet-with-po4a-translated
(and currently no man page translation.)
David Kalnischkies hace 17 años
padre
commit
7652e03e99
Se han modificado 8 ficheros con 3377 adiciones y 333 borrados
  1. 6 1
      buildlib/po4a_manpage.mak
  2. 4 4
      doc/it/makefile
  3. 2 2
      doc/makefile
  4. 4 4
      doc/pl/makefile
  5. 1072 12
      doc/po/apt-doc.pot
  6. 1141 109
      doc/po/fr.po
  7. 1143 197
      doc/po/ja.po
  8. 5 4
      doc/po4a.conf

+ 6 - 1
buildlib/po4a_manpage.mak

@@ -40,7 +40,7 @@ HAVE_PO4A=yes
 endif
 
 # take care of the rest
-SOURCE := $(SOURCE) apt.$(LC).8
+SOURCE := $(SOURCE) $(wildcard apt.$(LC).8)
 INCLUDES :=
 
 ifndef HAVE_PO4A
@@ -52,3 +52,8 @@ endif
 ifneq ($(words $(SOURCE)),0)
 include $(MANPAGE_H)
 endif
+
+# Debian Doc SGML Documents
+SOURCE := $(wildcard *.$(LC).sgml)
+DEBIANDOC_HTML_OPTIONS=-l $(LC)
+include $(DEBIANDOC_H)

+ 4 - 4
doc/it/makefile

@@ -5,7 +5,7 @@ SUBDIR=doc/it
 # Bring in the default rules
 include ../../buildlib/defaults.mak
 
-# Debian Doc SGML Documents
-SOURCE = guide.it.sgml
-DEBIANDOC_HTML_OPTIONS=-l it
-include $(DEBIANDOC_H)
+# Language Code of this translation
+LC=it
+
+include $(PO4A_MANPAGE_H)

+ 2 - 2
doc/makefile

@@ -7,8 +7,8 @@ SUBDIRS= $(dir $(wildcard */makefile))
 include ../buildlib/defaults.mak
 
 # Debian Doc SGML Documents
-SOURCE = dpkg-tech.sgml design.sgml files.sgml guide.sgml \
-         cache.sgml method.sgml offline.sgml
+SOURCE = $(wildcard *.sgml)
+DEBIANDOC_HTML_OPTIONS=-l en
 include $(DEBIANDOC_H)
 
 # XML man pages

+ 4 - 4
doc/pl/makefile

@@ -5,7 +5,7 @@ SUBDIR=doc/pl
 # Bring in the default rules
 include ../../buildlib/defaults.mak
 
-# Debian Doc SGML Documents
-SOURCE = offline.pl.sgml
-DEBIANDOC_HTML_OPTIONS=-l pl
-include $(DEBIANDOC_H)
+# Language Code of this translation
+LC=pl
+
+include $(PO4A_MANPAGE_H)

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1072 - 12
doc/po/apt-doc.pot


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1141 - 109
doc/po/fr.po


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1143 - 197
doc/po/ja.po


+ 5 - 4
doc/po4a.conf

@@ -33,6 +33,11 @@
                 add_$lang:$lang/addendum/xml_$lang.add
 [type: docbook] sources.list.5.xml $lang:$lang/sources.list.$lang.5.xml \
                 add_$lang:$lang/addendum/xml_$lang.add
+
+[type: sgml]    guide.sgml $lang:$lang/guide.$lang.sgml \
+                add_$lang::$lang/addendum/debiandoc_$lang.add
+[type: sgml]    offline.sgml $lang:$lang/offline.$lang.sgml \
+                add_$lang::$lang/addendum/debiandoc_$lang.add
 #[type: sgml]    cache.sgml $lang:$lang/cache.$lang.sgml \
 #                add_$lang::$lang/addendum/debiandoc_$lang.add
 #[type: sgml]    design.sgml $lang:$lang/design.$lang.sgml\
@@ -41,10 +46,6 @@
 #                add_$lang::$lang/addendum/debiandoc_$lang.add
 #[type: sgml]    files.sgml $lang:$lang/files.$lang.sgml\
 #                add_$lang::$lang/addendum/debiandoc_$lang.add
-#[type: sgml]    guide.sgml $lang:$lang/guide.$lang.sgml\
-#                add_$lang::$lang/addendum/debiandoc_$lang.add
 #[type: sgml]    method.sgml $lang:$lang/method.$lang.sgml\
 #                add_$lang::$lang/addendum/debiandoc_$lang.add
-#[type: sgml]    offline.sgml $lang:$lang/offline.$lang.sgml\
-#                add_$lang::$lang/addendum/debiandoc_$lang.add