diff --git a/lg/membersCount_en.txt b/lg/membersCount_en.txt index ffe695c55960acfcf91692439409a16e363e4433..6284013e0b9f5a944c4b46b12bedf59ca636ca60 100755 --- a/lg/membersCount_en.txt +++ b/lg/membersCount_en.txt @@ -17,4 +17,7 @@ Afficher l'évolution de la difficulté commune du réseau (preuve de travail) MEMBERS_COUNT members SENTRIES_COUNT referring* members ISSUERS_COUNT Members co-writers blockchain -POW_MIN Common difficulty network (proof of work) \ No newline at end of file +POW_MIN Common difficulty network (proof of work) +MAX max +POINTS points +REGULATE_BY_ADAPTING regulate by adapting \ No newline at end of file diff --git a/lg/membersCount_fr.txt b/lg/membersCount_fr.txt index 1c0a036c1e69c5327cfaf806c7243f2326cf46e1..5605b8e8a30a4d4cfa02d0f7f468920a6dce714f 100755 --- a/lg/membersCount_fr.txt +++ b/lg/membersCount_fr.txt @@ -16,4 +16,7 @@ SHOW_POW_MIN Afficher l'évolution de la difficulté commune du réseau (preuve MEMBERS_COUNT Membres SENTRIES_COUNT Membres référents* ISSUERS_COUNT Membres co-écrivains de la blockchain Ğ1 -POW_MIN Difficulté commune du réseau (preuve de travail) \ No newline at end of file +POW_MIN Difficulté commune du réseau (preuve de travail) +MAX max +POINTS points +REGULATE_BY_ADAPTING réguler en adaptant \ No newline at end of file diff --git a/package.json b/package.json index 650d2825b541788d483bb71c4775cb05ad778a42..5f5bb04bf922af10cf519e4b05678f9f2a8a1585 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "duniter-currency-monit", - "version": "0.4.4", + "version": "0.4.5", "main": "index.js", "license": "AGPLv3", "dependencies": { @@ -16,10 +16,10 @@ "request-promise": "4.2.0" }, "devDependencies": { - "duniter": "1.4.15", + "duniter": "1.5.4", "duniter-prover": "1.4.x" }, "peerDependencies": { - "duniter": "1.4.15" + "duniter": "1.5.4" } } diff --git a/readme.md b/readme.md index 6a7fe387368ab61034a56f789a6d241c35e8961f..91ee838f004844367e4d56848c3bd72a9bde151c 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@ # Currency-Monit Module -Requires Duniter 1.4.15 or higher +Requires Duniter 1.5.4 or higher ## Installation @@ -11,7 +11,7 @@ Requires Duniter 1.4.15 or higher 1. go to localhost:9220/#/main/settings/modules and at the foot of page enter: ```bash -https://github.com/duniter/duniter-currency-monit/archive/0.4.x.tar.gz +duniter-currency-monit@0.4.5 ``` then clik to button INSTALL THIS MODULE @@ -24,7 +24,7 @@ then clik to button INSTALL THIS MODULE 2. plug the plugin to your duniter node: ```bash -duniter plug https://github.com/duniter/duniter-currency-monit/archive/0.4.x.tar.gz +duniter plug duniter-currency-monit@0.4.5 ``` 3. Stop your duniter node and restart it in the following method: diff --git a/routes/membersCount.js b/routes/membersCount.js index ada13f4f2b4db56021eee5100bd3ea12e451ff0c..b69854554865f7fc7251cbb946ae80d006e163ef 100755 --- a/routes/membersCount.js +++ b/routes/membersCount.js @@ -194,7 +194,7 @@ module.exports = (req, res, next) => co(function *() { <option name="stepUnit" value ="weeks" ${cache.stepUnit == 'weeks' ? 'selected' : ''}>${LANG["WEEKS"]} <option name="stepUnit" value ="months" ${cache.stepUnit == 'months' ? 'selected' : ''}>${LANG["MONTHS"]} <option name="stepUnit" value ="years" ${cache.stepUnit == 'years' ? 'selected' : ''}>${LANG["YEARS"]} - </select> - max <input type="number" name="nbMaxPoints" value="${cache.nbMaxPoints}" min="1" size="4" style="width:50px;"> points (réguler en adaptant + </select> - ${LANG["MAX"]} <input type="number" name="nbMaxPoints" value="${cache.nbMaxPoints}" min="1" size="4" style="width:50px;"> ${LANG["POINTS"]} (${LANG["REGULATE_BY_ADAPTING"]} <select name="adaptMaxPoints"> <option name="adaptMaxPoints" value ="begin"> ${LANG["BEGIN"]} <option name="adaptMaxPoints" value ="step" ${cache.adaptMaxPoints == 'step' ? 'selected' : ''}> ${LANG["STEP"]} diff --git a/views/about.html b/views/about.html index 0e97ea6fe817ea6bb2e4f554fdc44cd824b0352a..a04396e38cfd54f77432cc4652fdb131a803bcef 100755 --- a/views/about.html +++ b/views/about.html @@ -7,7 +7,7 @@ ${(host.substr(host.length-6,6) == '.onion') ? HTML_TOR_HEAD:HTML_HEAD} ${printMenu(MENU_LANG, help, "ABOUT")} </form> -<div align="left">${LANG['VERSION']} : <a href="https://github.com/duniter/duniter-currency-monit/releases/tag/0.4.x">0.4.x-dev</a></div><br> +<div align="left">${LANG['VERSION']} : <a href="https://github.com/duniter/duniter-currency-monit/releases/tag/0.4.5">0.4.5</a></div><br> <div align="left">${LANG['AUTHOR']} : <a href="https://github.com/librelois">Éloïs Librelois</a></div><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> <div align="left">