[FIX] Translate main components to english in order to have an english
website
This commit is contained in:
parent
7cc41ad22b
commit
ed81eec92e
@ -1,4 +1,4 @@
|
|||||||
<!-- Catégorie ${CATEG_TITLE} -->
|
<!-- Category - ${CATEG_TITLE} -->
|
||||||
|
|
||||||
<h2>${CATEG_TITLE}</h2>
|
<h2>${CATEG_TITLE}</h2>
|
||||||
<p>${CATEG_DESC}</p>
|
<p>${CATEG_DESC}</p>
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
<link rel="stylesheet" href="${CSS_COLOR}" type="text/css" media="all" title="${CSS_NAME}" />
|
<link rel="stylesheet" href="${CSS_COLOR}" type="text/css" media="all" title="${CSS_NAME}" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- Entete de page -->
|
<!-- Header -->
|
||||||
<header>
|
<header>
|
||||||
<h1>${PORTEAIL_TITLE}</h1>
|
<h1>${PORTEAIL_TITLE}</h1>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<!-- Corps de la page -->
|
<!-- Content -->
|
||||||
<div id="corps">
|
<div id="corps">
|
||||||
${INTRODUCTION}
|
${INTRODUCTION}
|
||||||
${CONTENT}
|
${CONTENT}
|
||||||
@ -22,10 +22,10 @@
|
|||||||
|
|
||||||
${MENU}
|
${MENU}
|
||||||
|
|
||||||
<!-- Pied de page -->
|
<!-- Footer -->
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<p>Page générée à l'aide de <a href="http://porteail.e-mergence.org/" title="Se rendre sur la page officielle du projet PorteAil">PorteAil</a></p>
|
<p>Proudly powered by <a href="http://porteail.e-mergence.org/" title="Go to PorteAil project official webpage">PorteAil</a></p>
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<!-- Introduction de la page -->
|
<!-- Webpage introduction -->
|
||||||
<p>
|
<p>
|
||||||
Ce message permet d'introduire le sujet de notre page et expliquer rapidement l'existence du site, la présence des éléments, les catégories, etc.<br />
|
This message permit to introduce our webpage subject and quickly explain why this website exists, why all these categories, elements, etc.<br />
|
||||||
Il est modifiable dans le fichier <em>introduction.html</em> situé dans le dossier <em>composants</em> du répertoire principal de <a href="http://git.dossmann.net/scripts/porteail.git/" title="Se rendre sur le dépôt de fichier de PorteAil">PorteAil</a>.
|
This one is editable in <em>introduction.html</em> file located in <em>composants</em> directory from main <a href="http://gitorious.org/porteail/" title="Go to PorteAil repositories">PorteAil</a> directory.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Pour de plus amples renseignements sur <a href="http://git.dossmann.net/scripts/porteail.git/" title="Se rendre sur le dépôt de fichier de PorteAil">PorteAil</a>, veuillez vous référer au fichier <em>README.md</em> contenu dans le répertoire principal du projet <a href="http://git.dossmann.net/scripts/porteail.git/" title="Se rendre sur le dépôt de fichier de PorteAil">PorteAil</a>.
|
For more information about <a href="http://gitorious.org/porteail/" title="Go to PorteAil repositories">PorteAil</a>, please refer to <em>README.md</em> file situated in <a href="http://gitorious.org/porteail/" title="Se rendre sur le dépôt de fichier de PorteAil">PorteAil</a> main directory.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Les catégories sont renseignées dans le dossier <em>categ</em> dans lequel des fichiers d'exemples, normalement assez parlants, devraient vous permettre de construire votre première page <a href="http://git.dossmann.net/scripts/porteail.git/" title="Se rendre sur le dépôt de fichier de PorteAil">PorteAil</a>.
|
Categories are filled in <em>categ</em> directory in which some example file should be talkative for you. This will allow you to generate your first <a href="http://gitorious.org/porteail/" title="Go to PorteAil repositories">PorteAil</a> homepage.
|
||||||
</p>
|
</p>
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<!-- Menu de la page -->
|
<!-- Webpage menu -->
|
||||||
<nav id="cartable">
|
<nav id="cartable">
|
||||||
<div class="sacoche">
|
<div class="sacoche">
|
||||||
<h3>Menu</h3>
|
<h3>Menu</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Lien 1</li>
|
<li>Link 1</li>
|
||||||
<li>Lien 2</li>
|
<li>Link 2</li>
|
||||||
<li>Lien 3</li>
|
<li>Link 3</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
###########################
|
###########################
|
||||||
|
|
||||||
# Homepage title
|
# Homepage title
|
||||||
TITLE = Default title
|
TITLE = My portal
|
||||||
# CSS color file
|
# CSS color file
|
||||||
STYLE = black.css
|
STYLE = black.css
|
||||||
# Menu (if needed)
|
# Menu (if needed)
|
||||||
|
@ -30,9 +30,9 @@ local default_css_menu_with = 'with_menu.css'
|
|||||||
-- Other defaults values
|
-- Other defaults values
|
||||||
local default_categ_extension = 'txt'
|
local default_categ_extension = 'txt'
|
||||||
local DIR_SEP = '/'
|
local DIR_SEP = '/'
|
||||||
local default_css_name = 'Défaut'
|
local default_css_name = 'Default'
|
||||||
local default_title = 'Titre par défaut'
|
local default_title = 'My portal'
|
||||||
local default_homepage_title = 'Accueil - ' .. default_title
|
local default_homepage_title = ' - Homepage'
|
||||||
|
|
||||||
--[[ Functions ]]--
|
--[[ Functions ]]--
|
||||||
|
|
||||||
@ -265,7 +265,7 @@ end
|
|||||||
result = assert(io.open(destination .. '/' .. main_template, 'wb'))
|
result = assert(io.open(destination .. '/' .. main_template, 'wb'))
|
||||||
-- create substitution table
|
-- create substitution table
|
||||||
substitutions = {
|
substitutions = {
|
||||||
TITLE=config['HOMEPAGE'] or default_homepage_title,
|
TITLE=config['HOMEPAGE'] or (config['TITLE'] and config['TITLE'] .. default_homepage_title) or (default_title .. default_homepage_title),
|
||||||
PORTEAIL_TITLE=config['TITLE'] or default_title,
|
PORTEAIL_TITLE=config['TITLE'] or default_title,
|
||||||
CONTENT=content,
|
CONTENT=content,
|
||||||
INTRODUCTION=introduction_content,
|
INTRODUCTION=introduction_content,
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
###########################
|
###########################
|
||||||
|
|
||||||
# Homepage title
|
# Homepage title
|
||||||
TITLE = Default title
|
TITLE = My portal
|
||||||
# CSS color file
|
# CSS color file
|
||||||
STYLE = black.css
|
STYLE = black.css
|
||||||
# Menu (if needed)
|
# Menu (if needed)
|
||||||
|
Loading…
Reference in New Issue
Block a user