]> git.donarmstrong.com Git - lilypond.git/commitdiff
Docs: clarify instructions on translating "Compiling from source"
authorJohn Mandereau <john.mandereau@gmail.com>
Sat, 13 Sep 2008 22:02:48 +0000 (00:02 +0200)
committerJohn Mandereau <john.mandereau@gmail.com>
Sat, 13 Sep 2008 22:04:45 +0000 (00:04 +0200)
Also preserve HTML link to English docs "Compiling from source" in
buildscripts/postprocess.py.

Documentation/fr/user/install.itely
Documentation/user/install.itely
buildscripts/postprocess_html.py

index f29c73866cbcb17fc018d9af86f97f0d51249112..976c2fb824dd30a8ba0ecc825843c671b5813d9c 100644 (file)
@@ -55,9 +55,23 @@ mingw       - Windows x86
 @node Compiling from source
 @section Compiling from source
 
-@untranslated
+Il est possible de compiler LilyPond à partir du code source.  Comme
+cela requiert une maîtrise de l'anglais, cette section ne sera pas
+traduite.  Si vous voulez vraiment compiler LilyPond, reportez-vous à
 @iftex
-Toute cette section ne sera pas traduite, car la compilation de LilyPond
-demande de maîtriser un minimum l'anglais ; reportez-vous donc à
-l'édition de ce manuel en anglais.
+@c DO NOT translate the following line at all.
+@ref{Compiling from source,,,lilypond-program,Application Usage}.
 @end iftex
+@ifhtml
+@c Please translate the following line (but not the .html file name)
+la @uref{Compiling-from-source.html,documentation en anglais}.
+@end ifhtml
+
+@c TRANSLATORS:
+@c   Please **do not** translate anything below this line.  Users
+@c   should not be compiling LilyPond themselves; if they really
+@c   want to do so, they should be able to read the English docs,
+@c   because they'll probably need to ask questions in English
+@c   on the -devel list.   -gp
+@c Instead, please uncomment and translate the paragraph above,
+@c and remove all stuff (menu, nodes, contents) below this line.
index be781c96262be121449fffe9f4cedaa9e3701630..77f821f54a13102d4c72d63cad66e76c6709cfc3 100644 (file)
@@ -73,7 +73,7 @@ the @uref{Compiling-from-source.html,documentation in English}.
 
 @c TRANSLATORS:
 @c   Please **do not** translate anything below this line.  Users
-@c   should not be compiling LilyPond themselves; if they really 
+@c   should not be compiling LilyPond themselves; if they really
 @c   want to do so, they should be able to read the English docs,
 @c   because they'll probably need to ask questions in English
 @c   on the -devel list.   -gp
index bebf28fa747c2f5f2831c71c5524cf81d1943884..abe843a3c8050d39fda22c87c214bcce303d9edc 100644 (file)
@@ -194,9 +194,11 @@ def find_translations (prefix, lang_ext):
                 missing.append (e)
     return available, missing
 
-online_links_re = re.compile ('''(href|src)=['"]([^/][.]*[^.:'"]*)\
+online_links_re = re.compile ('''(href|src)=['"]\
+((?!Compiling-from-source.html")[^/][.]*[^.:'"]*)\
 ([.]html|[.]png)(#[^"']*|)['"]''')
-offline_links_re = re.compile ('''href=['"]([^/][.]*[^.:'"]*)([.]html)(#[^"']*|)['"]''')
+offline_links_re = re.compile ('href=[\'"]\
+((?!Compiling-from-source.html")[^/][.]*[^.:\'"]*)([.]html)(#[^"\']*|)[\'"]')
 big_page_name_re = re.compile ('''(.+?)-big-page''')
 
 def process_i18n_big_page_links (match, prefix, lang_ext):