Kaynağa Gözat

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 17 yıl önce
ebeveyn
işleme
7652e03e99
8 değiştirilmiş dosya ile 3377 ekleme ve 333 silme
  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
 endif
 
 
 # take care of the rest
 # take care of the rest
-SOURCE := $(SOURCE) apt.$(LC).8
+SOURCE := $(SOURCE) $(wildcard apt.$(LC).8)
 INCLUDES :=
 INCLUDES :=
 
 
 ifndef HAVE_PO4A
 ifndef HAVE_PO4A
@@ -52,3 +52,8 @@ endif
 ifneq ($(words $(SOURCE)),0)
 ifneq ($(words $(SOURCE)),0)
 include $(MANPAGE_H)
 include $(MANPAGE_H)
 endif
 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
 # Bring in the default rules
 include ../../buildlib/defaults.mak
 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
 include ../buildlib/defaults.mak
 
 
 # Debian Doc SGML Documents
 # 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)
 include $(DEBIANDOC_H)
 
 
 # XML man pages
 # XML man pages

+ 4 - 4
doc/pl/makefile

@@ -5,7 +5,7 @@ SUBDIR=doc/pl
 # Bring in the default rules
 # Bring in the default rules
 include ../../buildlib/defaults.mak
 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)

Dosya farkı çok büyük olduğundan ihmal edildi
+ 1072 - 12
doc/po/apt-doc.pot


Dosya farkı çok büyük olduğundan ihmal edildi
+ 1141 - 109
doc/po/fr.po


Dosya farkı çok büyük olduğundan ihmal edildi
+ 1143 - 197
doc/po/ja.po


+ 5 - 4
doc/po4a.conf

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