From 1048a0e059413a4cd867ae6df05f0d1e374ea9db Mon Sep 17 00:00:00 2001 From: Ben Lynn Date: Tue, 19 Oct 2010 23:38:09 -0700 Subject: [PATCH] es/ markup fixes. --- Makefile | 7 ++----- es/history.txt | 4 ++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 3fade50..f6e44b3 100644 --- a/Makefile +++ b/Makefile @@ -16,12 +16,9 @@ book.xml: $(addprefix $(LANG)/,$(TXTFILES)) # Concatenate the text files and feed to AsciiDoc. # If a file has not yet been translated for the target language, # then substitute the English version. - # Kludge to make preface sections work for languages besides English - # for older AsciiDoc versions. - if [[ `asciidoc --version | cut -f 2 -d ' '` < "8.4.5" ]]; then \ + # Kludge to support any translation of "Preface". echo '[specialsections]' > conf ; \ - sed -n '/^== .* ==$$/p' $(LANG)/preface.txt | sed 's/^== \(.*\) ==$$/^\1$$=sect-preface/' >> conf ; \ - else echo "" > conf ; fi; \ + sed -n '/^== .* ==$$/p' $(LANG)/preface.txt | sed 's/^== \(.*\) ==$$/^\1$$=preface/' >> conf ; \ ( for FILE in $^ ; do if [ -f $$FILE ]; then cat $$FILE; else \ cat en/$$(basename $$FILE); fi; echo ; done ) | \ asciidoc -a lang=$(LANG) -d book -b docbook -f conf - > $@ diff --git a/es/history.txt b/es/history.txt index 6cbad62..913737e 100644 --- a/es/history.txt +++ b/es/history.txt @@ -59,7 +59,7 @@ En caso contrario, corre: Por lo tanto, es bueno hacer commits temprano y seguido: siempre se puede acomodar después usando rebase. -=== Los Cambios Locales Al Final=== +=== Los Cambios Locales Al Final === Estás trabajando en un proyecto activo. Haces algunos commits locales por un tiempo, y entonces sincronizas con el árbol oficial usando un merge. Este ciclo se repite unas @@ -98,7 +98,7 @@ ejecutar más comandos filter-branch. Por último, reemplaza los clones de tu proyecto con tu versión revisada si pretendes interactuar con ellos en un futuro. -=== Haciendo Historia=== +=== Haciendo Historia === [[makinghistory]] ¿Quieres migrar un proyecto a Git? Si está siendo administrado con alguno de los sistemas más conocidos, -- 2.11.4.GIT