utsushiiro 7 ani în urmă
părinte
comite
74203e0521

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

@@ -363,6 +363,7 @@
     "Treat email matching as identical_warn": "WARNING: Be aware of security because the system treats the same user as a match of <code>%s</code>.",
     "Use env var if empty": "Use env var <code>%s</code> if empty",
     "Use default if both are empty": "If both ​​are empty, the default value <code>%s</code> is used.",
+    "missing mandatory configs": "The following mandatory items are not set in either database nor environment variables.",
     "ldap": {
       "server_url_detail": "The LDAP URL of the directory service in the format <code>ldap://host:port/DN</code> or <code>ldaps://host:port/DN</code>.",
       "bind_mode": "Binding Mode",
@@ -405,7 +406,7 @@
       "cert_detail1": "PEM-encoded X.509 signing certificate to validate the response from IdP",
       "cert_detail2": "If both are empty, no validation is processed.",
       "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": "Currently, 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> ."
+      "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> ."
     },
     "OAuth": {
       "register": "Register for %s",

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

@@ -379,6 +379,7 @@
     "Treat email matching as identical_warn": "警告: <code>%s</code> の一致を以て同一ユーザーであるとみなすので、セキュリティに注意してください",
     "Use env var if empty": "空の場合、環境変数 <code>%s</code> を利用します",
     "Use default if both are empty": "どちらの値も空の場合、デフォルト値 <code>%s</code> を利用します",
+    "missing mandatory configs": "以下の必須項目の値がデータベースと環境変数のどちらにも設定されていません",
     "ldap": {
       "server_url_detail": "LDAP URLを <code>ldap://host:port/DN</code> または <code>ldaps://host:port/DN</code> の形式で入力してください。",
       "bind_mode": "Bind モード",

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

@@ -55,7 +55,7 @@
     {% set missingMandatoryConfigKeys = getSamlMissingMandatoryConfigKeys() %}
     {% if isSamlEnabled && missingMandatoryConfigKeys.length !== 0 %}
     <div class="alert alert-danger">
-      Currently, the following mandatory items are not set in either database nor environment variables.
+      {{ t("security_setting.missing mandatory configs") }}
       <ul>
         {% for missingMandatoryConfigKey in missingMandatoryConfigKeys %}
         <li>{{ missingMandatoryConfigKey }}</li>