Re: [PATCH] Documentation - pt-BR.
- From
Miklos Vajna <vmiklos@frugalware.org>
- Date
- Oct 6, 2009, 09:47 UTC
- Message-ID
- <20091006094701.GG32702@genesis.frugalware.org>
- In-Reply-To
- <20091005100910.GA866@coredump.intra.peff.net>
On Mon, Oct 05, 2009 at 06:09:10AM -0400, Jeff King <peff@peff.net> wrote:
Show 8 quoted lines
> > Has anybody actually tried to format this document, either before or after > > your patch? > > No, I didn't, and I should have when I picked up the patch in the first > place. You are right, asciidoc barfs (both for html and xml generation): > > ERROR: gittutorial.txt: line 5: first section must be named NAME > ERROR: gittutorial.txt: line 9: second section must be named SYNOPSIS
Ah, there is no language config for pt_BR.
$ ls -1 /etc/asciidoc/lang-* /etc/asciidoc/lang-de.conf /etc/asciidoc/lang-en.conf /etc/asciidoc/lang-es.conf /etc/asciidoc/lang-fr.conf /etc/asciidoc/lang-hu.conf /etc/asciidoc/lang-ru.conf
Once asciidoc will have a lang-pt_BR.conf, we could just use -a lang=pt_BR and it would happily accept this input.
Thiago, could you make a lang-pt_BR.conf? It's less than 100 lines, so it should be easy for you. (If you can send it to the asciidoc list directly, it's even better.)