branch 'master' of github.com:Lissy93/dashy

This commit is contained in:
Alicia Sykes
2021-12-05 19:24:52 +00:00
10 changed files with 55 additions and 48 deletions

View File

@@ -19,6 +19,7 @@
"remember-me-hour": "4 Hours",
"remember-me-day": "1 Day",
"remember-me-week": "1 Week",
"remember-me-long-time": "A long time",
"error-missing-username": "Missing Username",
"error-missing-password": "Missing Password",
"error-incorrect-username": "User not found",

View File

@@ -19,6 +19,7 @@
"remember-me-hour": "4 Heures",
"remember-me-day": "1 Jour",
"remember-me-week": "1 Semaine",
"remember-me-long-time": "Un long moment",
"error-missing-username": "Nom d'utilisateur manquant",
"error-missing-password": "Mot de passe manquant",
"error-incorrect-username": "Utilisateur inexistant",

View File

@@ -227,6 +227,9 @@ export default {
};
if (newItem.tags) newItem.tags = strToTags(newItem.tags);
if (newItem.statusCheck) newItem.statusCheck = strToBool(newItem.statusCheck);
if (newItem.statusCheckAllowInsecure) {
newItem.statusCheckAllowInsecure = strToBool(newItem.statusCheckAllowInsecure);
}
// if (newItem.hotkey) newItem.hotkey = parseInt(newItem.hotkey, 10);
return newItem;
},

View File

@@ -111,6 +111,7 @@ export default {
{ label: this.$t('login.remember-me-hour'), time: 14400 * 1000 },
{ label: this.$t('login.remember-me-day'), time: 86400 * 1000 },
{ label: this.$t('login.remember-me-week'), time: 604800 * 1000 },
{ label: this.$t('login.remember-me-long-time'), time: 604800 * 52 * 1000 },
];
},
/* Translations for login response messages */