Răsfoiți Sursa

translation %s

sou 7 ani în urmă
părinte
comite
3f788220d5

+ 1 - 1
lib/locales/en-US/translation.json

@@ -367,7 +367,7 @@
     },
     },
     "Google_OAuth": {
     "Google_OAuth": {
       "use_Google_OAuth": "Google OAuth",
       "use_Google_OAuth": "Google OAuth",
-      "change_redirect_url": "Enter <code>https://${growi.host}/passport/google/callback</code> <br>(where <code>${growi.host}</code> is your host name) for \"Authorized redirect URIs\"."
+      "change_redirect_url": "Enter <code>%s</code> <br>(where <code>%s</code> is your host name) for \"Authorized redirect URIs\"."
     },
     },
     "Facebook": {
     "Facebook": {
     },
     },

+ 1 - 1
lib/locales/ja/translation.json

@@ -384,7 +384,7 @@
     },
     },
     "Google_OAuth": {
     "Google_OAuth": {
       "use_Google_OAuth": "Google OAuth認証",
       "use_Google_OAuth": "Google OAuth認証",
-      "change_redirect_url": "承認済みのリダイレクトURLに、 <code>https://${growi.host}/passport/google/callback</code> を入力<br>(<code>${growi.host}</code>は環境に合わせて変更してください)"
+      "change_redirect_url": "承認済みのリダイレクトURLに、 <code>%s</code> を入力<br>(<code>%s</code>は環境に合わせて変更してください)"
     },
     },
     "Facebook": {
     "Facebook": {
     },
     },

+ 1 - 1
lib/views/admin/widget/passport/google-oauth.html

@@ -30,7 +30,7 @@
           <li>{{ t("security_setting.create_auth_to_oauth") }}</li>
           <li>{{ t("security_setting.create_auth_to_oauth") }}</li>
           <ol>
           <ol>
             <li>{{ t("security_setting.select_webapp") }}</li>
             <li>{{ t("security_setting.select_webapp") }}</li>
-            <li>{{ t("security_setting.Google_OAuth.change_redirect_url") }}</li>
+            <li>{{ t("security_setting.Google_OAuth.change_redirect_url", "https://${growi.host}/passport/google/callback", "${growi.host}") }}</li>
           </ol>
           </ol>
         </ol>
         </ol>
       </div>
       </div>