utsushiiro 7 سال پیش
والد
کامیت
961c0eac38

+ 1 - 2
resource/locales/en-US/translation.json

@@ -408,8 +408,7 @@
       "id_detail": "Specification of the name of attribute which can identify the user in SAML Identity Provider",
       "username_detail": "Specification of mappings for <code>username</code> when creating new users",
       "mapping_detail": "Specification of mappings for %s when creating new users",
-      "cert_detail1": "PEM-encoded X.509 signing certificate to validate the response from IdP",
-      "cert_detail2": "If both are empty, no validation is processed.",
+      "cert_detail": "PEM-encoded X.509 signing certificate to validate the response from IdP",
       "Use env var if empty": "If the value in the database is empty, the value of the environment variable <code>%s</code> is used.",
       "note for the only env option": "The setting item that enables or disables the SAML authentication and the highlighted setting items use only the value of environment variables.<br>To change this setting, please change to false or delete the value of the environment variable <code>%s</code> ."
     },

+ 1 - 2
resource/locales/ja/translation.json

@@ -424,8 +424,7 @@
       "id_detail": "SAML Identity プロバイダ内で一意に識別可能な値を格納している属性",
       "username_detail": "新規ユーザーのアカウント名(<code>username</code>)に関連付ける属性",
       "mapping_detail": "新規ユーザーの%sに関連付ける属性",
-      "cert_detail1": "IdP からのレスポンスの validation を行うための、PEMエンコードされた X.509 証明書",
-      "cert_detail2": "どちらの値も空の場合、validation 自体を行いません",
+      "cert_detail": "IdP からのレスポンスの validation を行うためのPEMエンコードされた X.509 証明書",
       "Use env var if empty": "データベース側の値が空の場合、環境変数 <code>%s</code> の値を利用します",
       "note for the only env option": "現在SAML認証のON/OFFの設定値及びハイライトされている設定値は環境変数の値のみを使用するようになっています<br>この設定を変更する場合は環境変数 <code>%s</code> の値をfalseに変更もしくは削除してください"
     },

+ 2 - 3
src/server/views/admin/widget/passport/saml.html

@@ -128,7 +128,7 @@
             >{{ getConfigFromDB('crowi', 'security:passport-saml:cert') || '' }}</textarea>
             <p class="help-block">
               <small>
-                {{ t("security_setting.SAML.cert_detail1") }}
+                {{ t("security_setting.SAML.cert_detail") }}
               </small>
             </p>
             <p>
@@ -152,8 +152,7 @@ pWVdnzS1VCO8fKsJ7YYIr+JmHvseph3kFUOI5RqkCcMZlKUv83aUThsTHw==
             >{{ getConfigFromEnvVars('crowi', 'security:passport-saml:cert') || '' }}</textarea>
             <p class="help-block">
               <small>
-                {{ t("security_setting.SAML.Use env var if empty", "SAML_CERT") }}<br>
-                {{ t("security_setting.SAML.cert_detail2") }}
+                {{ t("security_setting.SAML.Use env var if empty", "SAML_CERT") }}
               </small>
             </p>
           </td>