Add more options for session timeout (#807)

This commit is contained in:
RainLoop Team
2016-05-22 03:15:51 +03:00
parent 862a02f88a
commit d2c16381e2
2 changed files with 5 additions and 1 deletions

View File

@@ -36,7 +36,10 @@
{'id': 5, 'name': Translator.i18n('SETTINGS_SECURITY/AUTOLOGIN_MINUTES_OPTION_NAME', {'MINUTES': 5})},
{'id': 10, 'name': Translator.i18n('SETTINGS_SECURITY/AUTOLOGIN_MINUTES_OPTION_NAME', {'MINUTES': 10})},
{'id': 30, 'name': Translator.i18n('SETTINGS_SECURITY/AUTOLOGIN_MINUTES_OPTION_NAME', {'MINUTES': 30})},
{'id': 60, 'name': Translator.i18n('SETTINGS_SECURITY/AUTOLOGIN_MINUTES_OPTION_NAME', {'MINUTES': 60})}
{'id': 60, 'name': Translator.i18n('SETTINGS_SECURITY/AUTOLOGIN_MINUTES_OPTION_NAME', {'MINUTES': 60})},
{'id': 60 * 2, 'name': Translator.i18n('SETTINGS_SECURITY/AUTOLOGIN_HOURS_OPTION_NAME', {'HOURS': 2})},
{'id': 60 * 5, 'name': Translator.i18n('SETTINGS_SECURITY/AUTOLOGIN_HOURS_OPTION_NAME', {'HOURS': 5})},
{'id': 60 * 10, 'name': Translator.i18n('SETTINGS_SECURITY/AUTOLOGIN_HOURS_OPTION_NAME', {'HOURS': 10})}
];
});
}

View File

@@ -462,6 +462,7 @@ en:
LABEL_AUTOLOGOUT: "Auto Logout"
AUTOLOGIN_NEVER_OPTION_NAME: "Never"
AUTOLOGIN_MINUTES_OPTION_NAME: "%MINUTES% minute(s)"
AUTOLOGIN_HOURS_OPTION_NAME: "%HOURS% hour(s)"
SETTINGS_GENERAL:
LEGEND_GENERAL: "General"
LABEL_LANGUAGE: "Language"