WESEEK Kaito 6 лет назад
Родитель
Сommit
2484b1b0b6

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

@@ -705,7 +705,7 @@
     "send_new_password": "Please send the new password to the user.",
     "password_never_seen": "The temporary password can never be retrieved after this screen is closed.",
     "reset_password": "Reset Password",
-    "related_username": "Related user's <code>%s</code>",
+    "related_username": "Related user's {{username}}",
     "accept": "Accept",
     "deactivate_account":"Deactivate Account",
     "your_own":"You cannot deactivate your own account",

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

@@ -689,7 +689,7 @@
     "send_new_password": "新規発行したパスワードを、対象ユーザーへ連絡してください。",
     "password_never_seen": "表示されたパスワードはこの画面を閉じると二度と表示できませんのでご注意ください。",
     "reset_password": "パスワードの再発行",
-    "related_username": "関連付けられているユーザーの <code>%s</code>",
+    "related_username": "関連付けられているユーザーの {{username}}",
     "accept": "承認する",
     "deactivate_account": "アカウント停止",
     "your_own": "自分自身のアカウントを停止することはできません",

+ 1 - 2
src/client/js/components/Admin/Users/ExternalAccountTable.jsx

@@ -35,7 +35,6 @@ class ExternalAccountTable extends React.Component {
 
   render() {
     const { t, adminExternalAccountsContainer } = this.props;
-    const username = <code>username</code>;
     return (
       <Fragment>
         <table className="table table-bordered table-user-list">
@@ -43,7 +42,7 @@ class ExternalAccountTable extends React.Component {
             <tr>
               <th width="120px">{ t('user_management.authentication_provider') }</th>
               <th><code>accountId</code></th>
-              <th>{ t('user_management.related_username', username) }</th>
+              <th>{ t('user_management.related_username', { username: 'username' }) }</th>
               <th>
                 { t('user_management.password_setting') }
                 <div