commit 027b786666ded3f4c9d82c0cd56953686a3117dd
parent 43d62e17e53ce2206fd47c1b7b6752a54f48fca8
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 3 Feb 2021 18:28:39 +0100
Traduct in html the Stardis consortium web pages
Diffstat:
8 files changed, 276 insertions(+), 127 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -1,4 +1,5 @@
art.html
+consortium*.html
hr_ppart.html
karine.html
kdistribution.html
diff --git a/meso-menu.sh b/meso-menu.sh
@@ -248,6 +248,11 @@ print_stardis_sub_menu() {
else
echo " <li><a href=${root}stardis/stardis.html>Overview</a></li>"
fi
+ if [ "$name" == "Consortium" ]; then
+ echo " <li id=cur>Consortium</li>"
+ else
+ echo " <li><a href=${root}stardis/consortium-fr.html>Consortium</a></li>"
+ fi
echo ' <li>Reference documentation</li>'
echo ' </ul>'
echo ' <ul class=lvl2>'
@@ -263,17 +268,19 @@ print_stardis_sub_menu() {
done
echo ' </ul>'
echo ' <ul>'
- if [ "$name" == "Downloads" ]; then
- echo " <li id=cur>Downloads</li>"
- else
- echo " <li><a href=${root}stardis/stardis-downloads.html>Downloads</a></li>"
- fi
if [ "$name" == "Starter-Pack" ]; then
echo " <li id=cur>Starter Pack</li>"
else
echo " <li><a href=${root}stardis/starter-pack.html>Starter Pack</a></li>"
fi
+
+ if [ "$name" == "Downloads" ]; then
+ echo " <li id=cur>Downloads</li>"
+ else
+ echo " <li><a href=${root}stardis/stardis-downloads.html>Downloads</a></li>"
+ fi
+
echo ' <li>Git repositories</li>'
echo ' </ul>'
echo ' <ul class=lvl2>'
@@ -328,14 +335,14 @@ print_star_engine_sub_menu() {
print_header() {
local section=$1
local full_name=$2
- local title=$3
+ local lang=$([[ $# -ge 3 ]] && echo $3 || echo "en")
local name=${full_name#man-}
local is_man=$([[ $full_name =~ ^man- ]] && echo 1 || echo 0)
local root=$([[ $is_man == 1 ]] && echo "../../../" || echo "../")
echo '<!DOCTYPE html>'
echo ''
- echo '<html lang=en>'
+ echo "<html lang=$lang>"
echo '<head>'
echo ' <meta http-equiv="Content-Type" content="text/html; charset=utf-8">'
echo ' <meta name="viewport" content="width=device-width, initial-scale=1">'
diff --git a/meso.css b/meso.css
@@ -135,6 +135,23 @@ hr {
}
/*******************************************************************************
+ * Select
+ ******************************************************************************/
+#select {
+ font-variant: small-caps;
+ float: right;
+}
+
+#select a {
+ color: #AAAAAA;
+ text-decoration: none;
+}
+
+#select a:hover {
+ color: #777777;
+}
+
+/*******************************************************************************
* Sub-menu
******************************************************************************/
#sub-menu ul {
@@ -193,6 +210,12 @@ hr {
overflow: hidden;
}
+.select-langage {
+ font-variant: small-caps;
+ float: right;
+ color: #000000;
+}
+
.news {
float: right;
margin: 0 0 0 1em;
diff --git a/stardis/consortium-en.html.in b/stardis/consortium-en.html.in
@@ -0,0 +1,108 @@
+<div id=select>
+ <a href=consortium-fr.html>Français</a>
+ / <span style="color: #f44d27;">English</span>
+</div>
+
+<header>
+ <h1>The Stardis consortium</h1>
+</header>
+
+<p>The aim of the Stardis consortium is to support the <b>development</b>,
+<b>maintenance</b>, <b>support</b> and <b>distribution</b> of the <a
+href=stardis.html>Stardis</a> software environment. This software includes the
+<a href=https://gitlab.com/meso-star/stardis-solver>Stardis-Solver</a> library,
+the <a href=https://gitlab.com/meso-star/stardis>Stardis</a> simulation program
+and the <a href=https://gitlab.com/meso-star/stardis-green>Stardis-Green</a>
+post-processing utility.</p>
+
+<h2>Why subscribe to the consortium offer?</h2>
+
+<ul>
+ <li>to <b>support</b> the development of <a
+ href=stardis.html>Stardis</a>;</li>
+ <li>to <b>learn</b> how to use it, its concepts and how it works;</li>
+ <li>to <b>influence</b> orientation and development choices;</li>
+ <li>to <b>interact</b> with developers and other users.</li>
+</ul>
+
+<p>The [free license](https://www.gnu.org/licenses/gpl-3.0.html) of the Stardis
+environment already grants its users the right to freely run the software,
+study its behavior, modify its source code or redistribute it. In addition,
+the Stardis consortium enables members, not only to <b>pool their resources</b>
+to help perpetuate and extend Stardis, but also to participate in its
+<b>orientation</b> and <b>development choices</b>.</p>
+
+<p>All members of the consortium share the same conditions, including being a
+member of the <b>Consortium Committee</b>. Once a year this commitee meets to review
+the achievements and the allocation of resources of the past year. It is during
+this meeting that the orientation and development choices of Stardis are also
+debated.</p>
+
+<p>The members of the consortium also benefit from an <b>annual review</b> of
+the Stardis environment. Beyond the presentation of the new functionalities,
+this review offers a <b>lecture</b> on the <b>source codes</b>. This not only
+helps grasp the link between the physical concepts and the source code that
+implements them, but also trains members on the source code infrastructure and
+thus enables them to modify it.</p>
+
+<p>From an administrative point of view, the Stardis consortium is not a legal
+structure; it is a <b>service offer</b> proposed by <a
+href=mailto:contact@meso-star.com>|Méso|Star></a>. Joining the consortium
+simply comes down to subscribing to this service offer.</p>
+
+<h2>Annual rates</h2>
+
+<p>The cost of joining the consortium depends on the <a
+href=https://www.economie.gouv.fr/cedef/definition-petites-et-moyennes-entreprises>size
+of the member</a> and the length of the subscription.</p>
+
+<table>
+ <tr>
+ <th></th>
+ <th>1 year</th>
+ <th>2 years</th>
+ <th>3 years</th>
+ </tr>
+ <tr>
+ <td style="text-align: left; font-variant: small-caps; font-weight: bold;">
+ Large or medium-sized entreprises
+ </td>
+ <td>20 k€</td>
+ <td>36 k€</td>
+ <td>48 k€</td>
+ </tr>
+ <tr>
+ <td style="text-align: left; font-variant: small-caps; font-weight: bold;">
+ Small enterprises
+ </td>
+ <td>5 k€</td>
+ <td>9 k€</td>
+ <td>12 k€</td>
+ </tr>
+ <tr>
+ <td style="text-align: left; font-variant: small-caps; font-weight: bold;">
+ Non-profit research institutes
+ </td>
+ <td>5 k€</td>
+ <td>9 k€</td>
+ <td>12 k€</td>
+ </tr>
+ <tr>
+ <td style="text-align: left; font-variant: small-caps; font-weight: bold;">
+ Micro Entreprises
+ </td>
+ <td>2 k€</td>
+ <td>3.6 k€</td>
+ <td>4.8 k€</td>
+ </tr>
+</table>
+
+<p>We invite you to <a href="mailto:contact@meso-star.com">contact us</a> to
+receive a copy of the contract that formalizes the service and details the
+functioning of the consortium.</p>
+
+<h2>List of consortium members</h2>
+
+<ul>
+ <li>Électricité de France Research & Development</li>
+</ul>
diff --git a/stardis/consortium-en.md b/stardis/consortium-en.md
@@ -1,58 +0,0 @@
-# The Stardis consortium
-
-## What is it about?
-
-The aim of the Stardis consortium is to support the *development*,
-*maintenance*, *support* and *distribution* of the [Stardis](stardis.html)
-software environment. This software includes the `Stardis-Solver` library, the
-`Stardis` simulation program and the `Stardis-Green` post-processing utility.
-
-## Why subscribe to the consortium offer?
-
-- to support the development of Stardis;
-
-- to learn how to use it, its concepts and how it works;
-
-- to influence orientation and development choices;
-
-- to interact with developers and other users.
-
-The [free license](https://www.gnu.org/licenses/gpl-3.0.html) of the Stardis
-environment already grants its users the right to freely run the software,
-study its behavior, modify its source code or redistribute it. In addition,
-the Stardis consortium enables members, not only to pool their resources to
-help perpetuate and extend Stardis, but also to participate in its orientation
-and development choices.
-
-All members of the consortium share the same conditions, including being a
-member of the Consortium Committee. Once a year this commitee meets to review
-the achievements and the allocation of resources of the past year. It is during
-this meeting that the orientation and development choices of Stardis are also
-debated.
-
-The members of the consortium also benefit from an *annual review* of the
-Stardis environment. Beyond the presentation of the new functionalities, this
-review offers a *lecture* on the *source codes*. This not only helps grasp the
-link between the physical concepts and the source code that implements them,
-but also trains members on the source code infrastructure and thus enables
-them to modify it.
-
-From an administrative point of view, the Stardis consortium is not a legal
-structure; it is a *service offer* proposed by |Méso|Star>. Joining the
-consortium simply comes down to subscribing to this service offer.
-
-## Annual rates
-
-The cost of joining the consortium depends on the size of the member and the
-length of the subscription.
-
-| | 1 year | 2 years | 3 years |
-|----------------------------------- |------- |-------- |-------- |
-| Large or medium-sized entreprises | 20 k€ | 36 k€ | 48 k€ |
-| Small enterprises | 5 k€ | 9 k€ | 12 k€ |
-| Non-profit research institutes | 5 k€ | 9 k€ | 12 k€ |
-| Micro enterprises | 2 k€ | 3,6 k€ | 4,8 k€ |
-
-We invite you to [contact us](mailto:contact@meso-star.com) to receive a copy
-of the contract that formalizes the service and details the functioning of the
-consortium.
-\ No newline at end of file
diff --git a/stardis/consortium-fr.html.in b/stardis/consortium-fr.html.in
@@ -0,0 +1,114 @@
+<div id=select>
+ <span style="color: #f44d27;">Français</span>
+ / <a href=consortium-en.html>English</a>
+</div>
+
+<header>
+ <h1>Le consortium Stardis</h1>
+</header>
+
+<p>L'objet du consortium Stardis est de soutenir le <b>développement</b>, la
+<b>maintenance</b>, le <b>support</b> et la <b>distribution</b> des logiciels
+de l'environnement <a href=stardis.html>Stardis</a>. Ces logiciels recouvrent
+notamment la bibliothèque de calcul
+<a href=https://gitlab.com/meso-star/stardis-solver>Stardis-Solver</a>, le
+programme de simulation <a
+href=https://gitlab.com/meso-star/stardis>Stardis</a> et l'utilitaire de
+post-traitement <a
+href=https://gitlab.com/meso-star/stardis-green>Stardis-Green</a>.</p>
+
+<h2> Pourquoi souscrire l'offre de consortium ?</h2>
+
+<ul>
+ <li>pour <b>soutenir</b> les développements de l'environnement <a
+ href=stardis.html>Stardis</a> ;</li>
+ <li>pour <b>se former</b> à son utilisation, ses concepts et son
+ fonctionnement ;</li>
+ <li>pour <b>influencer</b> les choix d'orientation et de
+ développement ;</li>
+ <li>pour <b>échanger</b> avec les développeurs et d'autres utilisateurs.</li>
+</ul>
+
+<p>La <a href=https://www.gnu.org/licenses/gpl-3.0.html>licence libre</a> de
+l'environnement Stardis garantit déjà à ses utilisateurs la capacité d'exécuter
+librement ces logiciels, d'en étudier le comportement, d'en modifier le code
+source ou de les redistribuer. Le consortium Stardis permet en outre à ses
+adhérents, non seulement de <b>mutualiser leurs moyens</b> en vue de pérenniser
+et d'étendre Stardis, mais aussi de participer à ses <b>choix d'orientation</b>
+et de <b>développement</b>.</p>
+
+<p> Tous les membres du consortium partagent les mêmes conditions et siègent
+notamment au <b>Comité de Consortium</b>. Celui-ci se réunit une fois par an
+pour faire le bilan des réalisations et de l'allocation des ressources de
+l'année écoulée. C'est au cours de ce Comité de Consortium que sont aussi
+débattus les choix d'orientation et de développement de Stardis.</p>
+
+<p>Les membres du consortium bénéficient également d'une <b>revue annuelle</b>
+de l'environnement Stardis. Au delà de la présentation des nouvelles
+fonctionnalités, cette revue propose une <b>lecture guidée</b> des <b>codes
+sources</b>. Celle-ci permet non seulement d'appréhender le lien entre les
+concepts physiques et le code qui les met en oeuvre, mais forme aussi les
+utilisateurs à l'infrastructure des codes et les met ainsi en capacité de les
+modifier.</p>
+
+<p>D'un point de vue administratif, le consortium Stardis n'est pas une
+structure juridique ; c'est une <b>offre de service</b> proposée par <a
+href=mailto:contact@meso-star.com>|Méso|Star></a>. Rejoindre le consortium
+se résume simplement à souscrire cette offre de service.</p>
+
+<h2>Tarifs annuels</h2>
+
+<p>Le montant de l'adhésion au consortium dépend de la <a
+href="https://www.economie.gouv.fr/cedef/definition-petites-et-moyennes-entreprises">taille
+de l'adhérent</a> et de la durée d'engagement.</p>
+
+<table>
+ <tr>
+ <th></th>
+ <th>1 an</th>
+ <th>2 ans</th>
+ <th>3 ans</th>
+ </tr>
+ <tr>
+ <td style="text-align: left; font-variant: small-caps; font-weight: bold;">
+ Entreprises grandes et moyennes
+ </td>
+ <td>20 k€</td>
+ <td>36 k€</td>
+ <td>48 k€</td>
+ </tr>
+ <tr>
+ <td style="text-align: left; font-variant: small-caps; font-weight: bold;">
+ Petites entreprises
+ </td>
+ <td>5 k€</td>
+ <td>9 k€</td>
+ <td>12 k€</td>
+ </tr>
+ <tr>
+ <td style="text-align: left; font-variant: small-caps; font-weight: bold;">
+ Établissements publics de recherche
+ </td>
+ <td>5 k€</td>
+ <td>9 k€</td>
+ <td>12 k€</td>
+ </tr>
+ <tr>
+ <td style="text-align: left; font-variant: small-caps; font-weight: bold;">
+ Micro entreprises
+ </td>
+ <td>2 k€</td>
+ <td>3.6 k€</td>
+ <td>4.8 k€</td>
+ </tr>
+</table>
+
+<p>Nous vous invitons à nous <a href=mailto:contact@meso-star.com>contacter</a>
+pour recevoir un exemplaire du contrat qui formalise le service et détaille le
+fonctionnement du consortium.</p>
+
+<h2>Liste des membres du consortium</h2>
+
+<ul>
+ <li>Électricité de France Recherche & Développement</li>
+</ul>
diff --git a/stardis/consortium.md b/stardis/consortium.md
@@ -1,61 +0,0 @@
-# Le consortium Stardis
-
-## De quoi s'agit il ?
-
-L'objet du consortium Stardis est de soutenir le *développement*, la
-*maintenance*, le *support* et la *distribution* des logiciels de
-l'environnement [Stardis](stardis.html). Ces logiciels recouvrent notamment la
-bibliothèque de calcul `Stardis-Solver`, le programme de simulation `Stardis`
-et l'utilitaire de post-traitement `Stardis-Green`.
-
-## Pourquoi souscrire l'offre de consortium ?
-
-- pour soutenir les développements de Stardis ;
-
-- pour se former à son utilisation, ses concepts et son fonctionnement ;
-
-- pour influencer les choix d'orientation et de développement ;
-
-- pour échanger avec les développeurs et d'autres utilisateurs.
-
-La [licence libre](https://www.gnu.org/licenses/gpl-3.0.html) de
-l'environnement Stardis garantit déjà à ses utilisateurs la capacité d'exécuter
-librement ces logiciels, d'en étudier le comportement, d'en modifier le code
-source ou de les redistribuer. Le consortium Stardis permet en outre à ses
-adhérents, non seulement de mutualiser leurs moyens en vue de pérenniser et
-d'étendre Stardis, mais aussi de participer à ses choix d'orientation et de
-développement.
-
-Tous les membres du consortium partagent les mêmes conditions et siègent
-notamment au *Comité de Consortium*. Celui-ci se réunit une fois par an pour
-faire le bilan des réalisations et de l'allocation des ressources de l'année
-écoulée. C'est au cours de ce Comité de Consortium que sont aussi débattus
-les choix d'orientation et de développement de Stardis.
-
-Les membres du consortium bénéficient également d'une *revue annuelle* de
-l'environnement Stardis. Au delà de la présentation des nouvelles
-fonctionnalités, cette revue propose une *lecture guidée* des *codes
-sources*. Celle-ci permet non seulement d'appréhender le lien entre les
-concepts physiques et le code qui les met en oeuvre, mais forme aussi les
-utilisateurs à l'infrastructure des codes et les met ainsi en capacité de les
-modifier.
-
-D'un point de vue administratif, le consortium Stardis n'est pas une structure
-juridique ; c'est une *offre de service* proposée par |Méso|Star>. Rejoindre le
-consortium se résume simplement à souscrire cette offre de service.
-
-## Tarifs annuels
-
-Le montant de l'adhésion au consortium dépend de la taille de l'adhérent
-et de la durée d'engagement.
-
-| | 1 an | 2 ans | 3 ans |
-|----------------------------------- |------- |-------- |-------- |
-| Entreprise Grande et Moyenne | 20 k€ | 36 k€ | 48 k€ |
-| Petite Entreprise | 5 k€ | 9 k€ | 12 k€ |
-| Etablissement Public de Recherche | 5 k€ | 9 k€ | 12 k€ |
-| Micro Entreprise | 2 k€ | 3,6 k€ | 4,8 k€ |
-
-Nous vous invitons à nous [contacter](mailto:contact@meso-star.com) pour
-recevoir un exemplaire du contrat qui formalise le service et détaille le
-fonctionnement du consortium.
diff --git a/stardis/stardis.sh b/stardis/stardis.sh
@@ -93,6 +93,22 @@ echo "Write stardis.html"
print_footer;
} > stardis.html
+################################################################################
+# Generate the consortium page
+################################################################################
+echo "Write consortium-fr.html"
+{
+ print_header Stardis Consortium fr;
+ cat consortium-fr.html.in;
+ print_footer;
+} > consortium-fr.html
+
+echo "Write consortium-en.html"
+{
+ print_header Stardis Consortium;
+ cat consortium-en.html.in;
+ print_footer;
+} > consortium-en.html
################################################################################
# Generate the Downloads page