kaori hace 4 años
padre
commit
4b6fa96f5a

+ 5 - 0
resource/locales/ja_JP/admin/admin.json

@@ -71,6 +71,11 @@
     "use_env_var_if_empty": "データベース側の値が空の場合、環境変数 <code>{{variable}}</code> の値を利用します",
     "use_env_var_if_empty": "データベース側の値が空の場合、環境変数 <code>{{variable}}</code> の値を利用します",
     "note_for_the_only_env_option": "現在GCS設定は環境変数の値によって制限されています<br>この設定を変更する場合は環境変数 <code>{{env}}</code> の値をfalseに変更もしくは削除してください"
     "note_for_the_only_env_option": "現在GCS設定は環境変数の値によって制限されています<br>この設定を変更する場合は環境変数 <code>{{env}}</code> の値をfalseに変更もしくは削除してください"
   },
   },
+  "security_setting":{
+    "password_reset_by_users": "ユーザーによるパスワード再設定",
+    "enable_or_disable": "有効 / 無効",
+    "password_reset_desc": "ログイン時のパスワードを忘れた際に、ユーザー自身がパスワードを再設定できます。"
+  },
   "markdown_setting": {
   "markdown_setting": {
     "lineBreak_header": "Line Break設定",
     "lineBreak_header": "Line Break設定",
     "lineBreak_desc": "Line Breakの設定を変更できます。",
     "lineBreak_desc": "Line Breakの設定を変更できます。",

+ 6 - 3
src/client/js/components/Admin/Security/SecuritySetting.jsx

@@ -212,9 +212,9 @@ class SecuritySetting extends React.Component {
           </div>
           </div>
         </div>
         </div>
 
 
-        <h4>{t('security_setting.session')}</h4>
+        <h4>{t('Password Settings')}</h4>
         <div className="form-group row">
         <div className="form-group row">
-          <label className="text-left text-md-right col-md-3 col-form-label">{t('security_setting.max_age')}</label>
+          <label className="text-left text-md-right col-md-3 col-form-label">{t('admin:security_setting.password_reset_by_users')}</label>
           <div className="col-md-6">
           <div className="col-md-6">
             <div className="custom-control custom-switch custom-checkbox-success">
             <div className="custom-control custom-switch custom-checkbox-success">
               <input
               <input
@@ -225,8 +225,11 @@ class SecuritySetting extends React.Component {
                 onChange={() => { adminGeneralSecurityContainer.switchIsShowRestrictedByOwner() }}
                 onChange={() => { adminGeneralSecurityContainer.switchIsShowRestrictedByOwner() }}
               />
               />
               <label className="custom-control-label" htmlFor="isShowRestrictedByOwner">
               <label className="custom-control-label" htmlFor="isShowRestrictedByOwner">
-                {t('displayed_or_hidden')}
+                {t('admin:security_setting.enable_or_disable')}
               </label>
               </label>
+              <p className="form-text text-muted small">
+                {t('admin:security_setting.password_reset_desc')}
+              </p>
             </div>
             </div>
           </div>
           </div>
         </div>
         </div>