mirror of
https://salsa.debian.org/debian/debian-reference.git
synced 2026-01-11 20:07:28 +00:00
move po4a->po
This commit is contained in:
parent
200f88eeaa
commit
d457ad16e1
23 changed files with 7 additions and 7 deletions
2
Makefile
2
Makefile
|
|
@ -28,7 +28,7 @@ DOCNAME := debian-reference
|
|||
PXSLT := xslt
|
||||
PBIN := bin
|
||||
ADOC := asciidoc
|
||||
PODOC := po4a
|
||||
PODOC := po
|
||||
IMAGES := /usr/share/xml/docbook/stylesheet/nwalsh/images
|
||||
|
||||
# Program name and option
|
||||
|
|
|
|||
|
|
@ -25,9 +25,9 @@ After everything is fine, update master tree and merge local as:
|
|||
$ git pull
|
||||
$ git checkout local
|
||||
$ git rebase master
|
||||
+ If conflicts happen with po4a/*.po files, checkout local one to overwrite
|
||||
+ If conflicts happen with po/*.po files, checkout local one to overwrite
|
||||
merged file.
|
||||
+ If conflicts happen with po4a/*.pot file, checkout master one to
|
||||
+ If conflicts happen with po/*.pot file, checkout master one to
|
||||
overwrite merged file.
|
||||
+ If conflicts happen with other files, edit merged file into a sane text.
|
||||
... hack ... hack ...
|
||||
|
|
@ -87,7 +87,7 @@ reformat and test it first by:
|
|||
If this test causes no error, clean the source tree and commit only updated PO
|
||||
file with:
|
||||
$ make clean
|
||||
$ git add po4a/debian-reference.it.po
|
||||
$ git add po/debian-reference.it.po
|
||||
$ git commit -m "Updated Italian"
|
||||
|
||||
Specifying "LANGPO" variable as above saves build time by skipping other
|
||||
|
|
@ -114,7 +114,7 @@ For the package building, it is good idea to use tools such as
|
|||
= Flow chart for the building of this documentation =
|
||||
|
||||
The English source is kept as ASCIIDOC(*) files under asciidoc/.
|
||||
The translation source is kept as PO files under po4a/.
|
||||
The translation source is kept as PO files under po/.
|
||||
|
||||
>>> all the asciidoc/*.txt files
|
||||
:(make rawxml)
|
||||
|
|
@ -185,7 +185,7 @@ Add a new PO:
|
|||
|
||||
You can create a new template PO file for a new language and edit it as:
|
||||
|
||||
$ cd po4a
|
||||
$ cd po
|
||||
$ cp debian-reference.pot debian-reference.??.po
|
||||
$ poedit debian-reference.??.po
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
<xsl:template match="book|article" mode="docinfo">
|
||||
<!-- Apply default settings -->
|
||||
<xsl:apply-imports/>
|
||||
<xsl:text>\input{</xsl:text>po4a/hyphenation.<xsl:value-of select="$lingua"/><xsl:text>.tex}</xsl:text>
|
||||
<xsl:text>\input{</xsl:text>po/hyphenation.<xsl:value-of select="$lingua"/><xsl:text>.tex}</xsl:text>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue