Skip to content
Snippets Groups Projects
Commit dbcb39b2 authored by Éloïs's avatar Éloïs
Browse files

[enh] about page : add french traduction and donation link

parent 3707861f
No related branches found
No related tags found
1 merge request!62Dev2
LG en
VERSION Version
AUTHOR Author
CONTRIBUTORS Others Contributors
LICENSE license
GIT_REPOSITORY github repository
IF_YOU_WANT If you want you can
DISABLE_HELP disable help
DONATE You can thank me for this module by a gift in Ğ1
\ No newline at end of file
LG fr
VERSION Version
AUTHOR Auteur
CONTRIBUTORS Autres contributeurs
LICENSE licence
GIT_REPOSITORY dépôt github
IF_YOU_WANT Si vous le souhaitez vous pouvez
DISABLE_HELP désactiver l'aide
DONATE Vous pouvez me soutenir en Ğ1
\ No newline at end of file
...@@ -33,7 +33,8 @@ app.get('/', // chemin (endpoint) ...@@ -33,7 +33,8 @@ app.get('/', // chemin (endpoint)
host: req.headers.host.toString(), host: req.headers.host.toString(),
printMenu, printMenu,
help: req.query.help, help: req.query.help,
MENU_LANG: getLang(`${__dirname}/../lg/menu_${req.query.lg||constants.DEFAULT_LANGUAGE}.txt`) MENU_LANG: getLang(`${__dirname}/../lg/menu_${req.query.lg||constants.DEFAULT_LANGUAGE}.txt`),
LANG: getLang(`${__dirname}/../lg/about_${req.query.lg||constants.DEFAULT_LANGUAGE}.txt`)
}) })
) )
...@@ -45,7 +46,8 @@ app.get('/about', // chemin (endpoint) ...@@ -45,7 +46,8 @@ app.get('/about', // chemin (endpoint)
host: req.headers.host.toString(), host: req.headers.host.toString(),
printMenu, printMenu,
help: req.query.help, help: req.query.help,
MENU_LANG: getLang(`${__dirname}/../lg/menu_${req.query.lg||constants.DEFAULT_LANGUAGE}.txt`) MENU_LANG: getLang(`${__dirname}/../lg/menu_${req.query.lg||constants.DEFAULT_LANGUAGE}.txt`),
LANG: getLang(`${__dirname}/../lg/about_${req.query.lg||constants.DEFAULT_LANGUAGE}.txt`)
}) })
) )
......
...@@ -7,13 +7,15 @@ ${(host.substr(host.length-6,6) == '.onion') ? HTML_TOR_HEAD:HTML_HEAD} ...@@ -7,13 +7,15 @@ ${(host.substr(host.length-6,6) == '.onion') ? HTML_TOR_HEAD:HTML_HEAD}
${printMenu(MENU_LANG, help, "ABOUT")} ${printMenu(MENU_LANG, help, "ABOUT")}
</form> </form>
<div align="center"> <div align="left">${LANG['VERSION']} : <a href="https://github.com/duniter/duniter-currency-monit/releases/tag/0.4">0.4</a></div><br>
<br> <div align="left">${LANG['AUTHOR']} : <a href="https://github.com/librelois">Éloïs Librelois</a></div><br>
<a href="https://github.com/duniter/duniter-currency-monit/blob/master/LICENSE">License AGPL V 3.0</a><br> <div align="left"><small>${LANG['CONTRIBUTORS']}: <a href="https://github.com/jytou">jytou</a> (translator), <a href="https://github.com/devingfx">devingfx</a> (frontend), <a href="https://github.com/c-geek">cgeek</a> (willMembers and wotex),<a href="https://github.com/M5oul">M5oul</a> (adjustments)</small></div><br>
<a href="https://github.com/duniter/duniter-currency-monit/">github repository</a> <div align="left">
${LANG['LICENSE']} : <a href="https://github.com/duniter/duniter-currency-monit/blob/master/LICENSE">AGPL V 3.0</a><br>
<a href="https://github.com/duniter/duniter-currency-monit/">${LANG['GIT_REPOSITORY']}</a>
</div><br> </div><br>
<div align="left">Version : <a href="https://github.com/duniter/duniter-currency-monit/releases/tag/0.3.7">module-0.3.7</a></div><br> <div align="left">${LANG['IF_YOU_WANT']} <a href="?lg=${MENU_LANG['LG']}&help=no">${LANG['DISABLE_HELP']}</a>.</div><br>
<div align="left">Author : <a href="https://github.com/librelois">Éloïs Librelois</a></div><br> <div align="left">${LANG['DONATE']} :<br>
<div align="left">Contributors : <a href="https://github.com/jytou">jytou</a> (translator), <a href="https://github.com/devingfx">devingfx</a> (frontend), <a href="https://github.com/c-geek">cgeek</a> (willMembers and wotex),<a href="https://github.com/M5oul">M5oul</a> (adjustments)</div><br> <a href="https://g1.duniter.fr/#/app/transfer/D9D2zaJoWYWveii1JRYLVK3J4Z7ZH3QczoKrnQeiM6mx?comment=thank for currency-monit"><img src="https://elois.org/public/duniter_button.png"></a><br>
</div>
<br> <br>
\ No newline at end of file
<div align="left">If you want you can <a href="?lg=${MENU_LANG['LG']}&help=no">disable help</a>.</div><br>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment