Enable building of French user Guide

The user-guide has been mainly translated to French with now 76 per cent,
add it to build jobs.

For building, we need the glossary as well, thus import it manually (3
per cent translated, thus will not be downloaded automatically) and
update the Japanese glossary as well.

Import manually the current version of doc/user-guide/locale/fr.po since
it contains fixes to get this building.

Change-Id: I11280778bbf53a21e008d0dcfe4d21bfc89d7aa1
This commit is contained in:
Andreas Jaeger 2014-07-08 08:34:14 +02:00
parent 0213669a23
commit d7974c8081
5 changed files with 14994 additions and 1933 deletions

9676
doc/glossary/locale/fr.po Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,6 @@
#
# Translators:
# Andreas Jaeger <jaegerandi@gmail.com>, 2014
# codegin, 2014
# Frédéric <frosmont@free.fr>, 2014
# Frédéric <frosmont@free.fr>, 2014
@ -9,9 +10,9 @@
msgid ""
msgstr ""
"Project-Id-Version: OpenStack Manuals\n"
"POT-Creation-Date: 2014-07-08 03:10+0000\n"
"PO-Revision-Date: 2014-07-07 15:21+0000\n"
"Last-Translator: Frédéric <frosmont@free.fr>\n"
"POT-Creation-Date: 2014-07-08 06:49+0000\n"
"PO-Revision-Date: 2014-07-08 07:58+0000\n"
"Last-Translator: Andreas Jaeger <jaegerandi@gmail.com>\n"
"Language-Team: French (http://www.transifex.com/projects/p/openstack-manuals-i18n/language/fr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -1083,7 +1084,7 @@ msgstr "Temps de construction plus rapides mais nécessite un partitionnement ma
#: ./doc/user-guide/section_dashboard_launch_instances_from_image.xml231(para)
msgid "Click <guibutton>Launch</guibutton>."
msgstr "Cliquer <guibutton>Lancer<guibutton>."
msgstr "Cliquer <guibutton>Lancer</guibutton>."
#: ./doc/user-guide/section_dashboard_launch_instances_from_image.xml232(para)
msgid "The instance starts on a compute node in the cloud."
@ -2773,7 +2774,7 @@ msgstr ""
#: ./doc/user-guide/bk-user-guide.xml69(date)
msgid "2014-01-31"
msgstr "31/01/2014"
msgstr "2014-01-31"
#: ./doc/user-guide/bk-user-guide.xml73(para)
msgid ""
@ -2785,7 +2786,7 @@ msgstr ""
#: ./doc/user-guide/bk-user-guide.xml83(date)
msgid "2013-12-30"
msgstr "30/12/2013"
msgstr "2013-12-30"
#: ./doc/user-guide/bk-user-guide.xml87(para)
msgid "Added the OpenStack Python SDK chapter."
@ -2793,7 +2794,7 @@ msgstr "Ajouté le chapitre OpenStack Python SDK."
#: ./doc/user-guide/bk-user-guide.xml94(date)
msgid "2013-10-17"
msgstr "17-10-2013"
msgstr "2013-10-17"
#: ./doc/user-guide/bk-user-guide.xml98(para)
msgid "Havana release."
@ -2809,7 +2810,7 @@ msgstr "Changement éditorial"
#: ./doc/user-guide/bk-user-guide.xml114(date)
msgid "2013-07-29"
msgstr "29-07-2013"
msgstr "2013-07-29"
#: ./doc/user-guide/bk-user-guide.xml118(para)
msgid "First edition of this document."
@ -3810,7 +3811,7 @@ msgstr ""
msgid ""
"The user name is <literal>ubuntu</literal> for the Ubuntu cloud images on "
"TryStack."
msgstr "Le nom d'utilisateur est <literal>ubuntu<literal> pour les images cloud Ubuntu sur TryStack"
msgstr "Le nom d'utilisateur est <literal>ubuntu</literal> pour les images cloud Ubuntu sur TryStack"
#: ./doc/user-guide/section_dashboard_launch_instances.xml32(para)
msgid "Copy the IP address for your instance."

View File

@ -20,6 +20,31 @@ function setup_lang {
cp doc/pom.xml generated/$SET_LANG/pom.xml
}
function test_fr {
setup_lang 'fr'
setup_directory 'fr' 'common' 'glossary' 'user-guide'
case "$PURPOSE" in
test)
openstack-doc-test -v --check-build -l fr \
--only-book user-guide
RET=$?
;;
publish)
openstack-doc-test -v --publish --check-build -l fr \
--only-book user-guide
RET=$?
;;
esac
if [ "$RET" -eq "0" ] ; then
echo "... succeeded"
else
echo "... failed"
BUILD_FAIL=1
fi
}
function test_ja {
setup_lang 'ja'
@ -59,8 +84,12 @@ function test_language () {
case "$language" in
all)
test_fr
test_ja
;;
fr)
test_fr
;;
ja)
test_ja
;;

View File

@ -164,6 +164,20 @@
</a>
</dd>
</dl>
<ul class="subsectionNav">
<li class="link">
<a>
French
</a>
</li>
</ul>
<dl>
<dd>
<a href="http://docs.openstack.org/fr/user-guide/content/">
User Guide
</a>
</dd>
</dl>
<ul class="subsectionNav">
<li class="link">
<a>