- Replace  by × (better supported)
- Bug: if deleteAtStart is set to false, it is replaced by true
- Change repository URL to framagit.org
This commit is contained in:
Luc Didry 2016-05-04 09:39:25 +02:00
parent f3891267b8
commit a95bec023a
4 changed files with 7 additions and 7 deletions

View file

@ -19,7 +19,7 @@ var areParamsOk = (settings.ep_delete_after_delay) ? true : false,
if (areParamsOk) {
delay = settings.ep_delete_after_delay.delay;
loopDelay = settings.ep_delete_after_delay.loopDelay || 3600;
deleteAtStart = settings.ep_delete_after_delay.deleteAtStart || true;
deleteAtStart = (settings.ep_delete_after_delay.deleteAtStart !== undefined) ? settings.ep_delete_after_delay.deleteAtStart : true;
replaceText = settings.ep_delete_after_delay.text || "The content of this pad has been deleted since it was older than the configured delay.";
areParamsOk = (typeof delay === 'number' && delay > 0) ? true : false;
if (areParamsOk === false) {

View file

@ -1,7 +1,7 @@
{
"ep_delete_after_delay.warning": " WARNING!",
"ep_delete_after_delay.warning": "× WARNING!",
"ep_delete_after_delay.reload": "The pad has expired. The page will be reloaded in 5 seconds.",
"ep_delete_after_delay.close": " Delay before deletion",
"ep_delete_after_delay.close": "× Delay before deletion",
"ep_delete_after_delay.days": "Without edition, your pad will be deleted in approximatively XXXX days.",
"ep_delete_after_delay.hours": "Without edition, your pad will be deleted in approximatively XXXX hours.",
"ep_delete_after_delay.minutes": "Without edition, your pad will be deleted in approximatively XXXX minutes.",

View file

@ -1,7 +1,7 @@
{
"ep_delete_after_delay.warning": " ATTENTION !",
"ep_delete_after_delay.warning": "× ATTENTION !",
"ep_delete_after_delay.reload": "Le pad a expiré. La page sera rechargée dans 5 secondes.",
"ep_delete_after_delay.close": " Délai avant suppression",
"ep_delete_after_delay.close": "× Délai avant suppression",
"ep_delete_after_delay.days": "Sans édition, votre pad sera supprimé dans approximativement XXXX jours.",
"ep_delete_after_delay.hours": "Sans édition, votre pad sera supprimé dans approximativement XXXX heures.",
"ep_delete_after_delay.minutes": "Sans édition, votre pad sera supprimé dans approximativement XXXX minutes.",

View file

@ -14,10 +14,10 @@
},
"repository" : {
"type" : "git",
"url" : "https://git.framasoft.org/luc/ep_delete_after_delay.git"
"url" : "https://framagit.org/luc/ep_delete_after_delay.git"
},
"bugs": {
"url" : "https://git.framasoft.org/luc/ep_delete_after_delay/issues"
"url" : "https://framagit.org/luc/ep_delete_after_delay/issues"
},
"license": "Apache-2.0"
}