diff options
author | Marius David Wieschollek <passwords.public@mdns.eu> | 2021-01-09 03:39:15 +0300 |
---|---|---|
committer | Marius David Wieschollek <passwords.public@mdns.eu> | 2021-01-09 03:40:08 +0300 |
commit | 5f6f50fda06ab11e7fd09561892ebcf21f29d308 (patch) | |
tree | dbc207777ee7404fb958b3d3a04aabf8f5cdef7b /src/platform | |
parent | 75694a4f2ec118e613971b26c81916dca8d40a1d (diff) |
[#69] Implement automatic logout option in settings
Signed-off-by: Marius David Wieschollek <passwords.public@mdns.eu>
Diffstat (limited to 'src/platform')
-rw-r--r-- | src/platform/generic/_locales/de/messages.json | 22 | ||||
-rw-r--r-- | src/platform/generic/_locales/en/messages.json | 22 |
2 files changed, 44 insertions, 0 deletions
diff --git a/src/platform/generic/_locales/de/messages.json b/src/platform/generic/_locales/de/messages.json index 353cba0..9002b9f 100644 --- a/src/platform/generic/_locales/de/messages.json +++ b/src/platform/generic/_locales/de/messages.json @@ -167,6 +167,24 @@ "message" : "Token ändern", "description": "Label of the button to change the login token of an existing account in the account details in the extension settings" }, + "ServerTimeout" : { + "message" : "Automatisch abmelden", + "description": "Label of the option to change the automatic logout time of an existing account in the account details in the extension settings" + }, + "ServerTimeoutOptionNever" : { + "message" : "Nie", + "description": "Label of the option for the server timeout to never expire" + }, + "ServerTimeoutOptionMinutes" : { + "message" : "Nach $MINUTES$ Minuten", + "description": "Label of the option for the server timeout to expire after a given amount of minutes", + "placeholders": { + "minutes": { + "content": "$1", + "example": "One of 5, 10, 15 30 or 60" + } + } + }, "TabRelated" : { "message" : "Vorschläge", "description": "Label of the related passwords tab in the extension popup" @@ -253,6 +271,10 @@ "message" : "Das Token muss ein gültiges Nextcloud-Token sein.", "description": "Validation message when the user attempts to save an account but the token does not match the Nextcloud token schema" }, + "ValidationInvalidTimeout" : { + "message" : "Die Abmeldezeit muss eine der vorgegebenen Optionen sein", + "description": "Validation message when the user attempts to save an account but the timeout is not within the predefined range" + }, "ValidationDuplicate" : { "message" : "Es gibt bereits ein Konto für diesen Benutzer von dieser Nextcloud.", "description": "Validation message when the user attempts to save a new account, but a similar account with the same server and same user name already exists" diff --git a/src/platform/generic/_locales/en/messages.json b/src/platform/generic/_locales/en/messages.json index f651084..a141101 100644 --- a/src/platform/generic/_locales/en/messages.json +++ b/src/platform/generic/_locales/en/messages.json @@ -167,6 +167,24 @@ "message" : "Change Token", "description": "Label of the button to change the login token of an existing account in the account details in the extension settings" }, + "ServerTimeout" : { + "message" : "Logout after", + "description": "Label of the option to change the automatic logout time of an existing account in the account details in the extension settings" + }, + "ServerTimeoutOptionNever" : { + "message" : "Never", + "description": "Label of the option for the server timeout to never expire" + }, + "ServerTimeoutOptionMinutes" : { + "message" : "After $MINUTES$ minutes", + "description": "Label of the option for the server timeout to expire after a given amount of minutes", + "placeholders": { + "minutes": { + "content": "$1", + "example": "One of 5, 10, 15 30 or 60" + } + } + }, "TabRelated" : { "message" : "Suggestions", "description": "Label of the related passwords tab in the extension popup" @@ -267,6 +285,10 @@ "message" : "The token must be a valid Nextcloud token.", "description": "Validation message when the user attempts to save an account but the token does not match the Nextcloud token schema" }, + "ValidationInvalidTimeout" : { + "message" : "The logout time must be one of the given options.", + "description": "Validation message when the user attempts to save an account but the timeout is not within the predefined range" + }, "ValidationDuplicate" : { "message" : "There is already an account for this user on this Nextcloud.", "description": "Validation message when the user attempts to save a new account, but a similar account with the same server and same user name already exists" |