mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-25 08:01:15 +01:00
internationalising english labels in session time ACP block, #6883
This commit is contained in:
@@ -27,6 +27,10 @@
|
||||
"lockout-duration": "Account Lockout Duration (minutes)",
|
||||
"login-days": "Days to remember user login sessions",
|
||||
"password-expiry-days": "Force password reset after a set number of days",
|
||||
"session-time": "Session Time",
|
||||
"session-time-days": "Days",
|
||||
"session-time-seconds": "Seconds",
|
||||
"session-time-help": "These values are used to govern how long a user stays logged in when they check "Remember Me" on login. Note that only one of these values will be used. If there is no <i>seconds</i> value we fall back to <i>days</i>. If there is no <i>days</i> value we default to <i>14 days</i>.",
|
||||
"online-cutoff": "Minutes after user is considered inactive",
|
||||
"online-cutoff-help": "If user performs no actions for this duration, they are considered inactive and they do not receive realtime updates.",
|
||||
"registration": "User Registration",
|
||||
|
||||
@@ -133,27 +133,26 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-2 col-xs-12 settings-header">
|
||||
Session time
|
||||
[[admin/settings/user:session-time]]
|
||||
</div>
|
||||
<div class="col-sm-10 col-xs-12">
|
||||
<form>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label>Days</label>
|
||||
<input type="text" class="form-control" data-field="loginDays" placeholder="Days" />
|
||||
<label>[[admin/settings/user:session-time-days]]</label>
|
||||
<input type="text" class="form-control" data-field="loginDays" placeholder="[[admin/settings/user:session-time-days]]" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label>Seconds</label>
|
||||
<input type="text" class="form-control" data-field="loginSeconds" placeholder="Seconds" />
|
||||
<label>[[admin/settings/user:session-time-seconds]]</label>
|
||||
<input type="text" class="form-control" data-field="loginSeconds" placeholder="[[admin/settings/user:session-time-seconds]]" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12">
|
||||
<p class="help-block">
|
||||
Note that only one of these values will be used. If there is no <i>seconds</i> value we fall back to <i>days</i>. If
|
||||
there is no <i>days</i> value we default to <i>14 days</i>.
|
||||
[[admin/settings/user:session-time-help]]
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user