kaoritokashiki 6 лет назад
Родитель
Сommit
f2f5414717

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

@@ -254,12 +254,13 @@
       "target_user": "Target User",
       "new_password": "New Password"
     },
+    "external_accounts":"External accounts",
     "external_account": "External Account Management",
     "external_account_list": "External Account List",
     "invite": "Invite",
     "invited": "User was invited",
     "back_to_user_management": "Back to User Management",
-    "authentication_provider": "Authentication Provider",
+    "authentication_provider": "Authentication provider",
     "manage": "Manage",
     "password_setting": "Password Setting",
     "password_setting_help": "Is password set?",

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

@@ -63,7 +63,7 @@
   "User ID": "User ID",
   "Home": "Home",
   "User Settings": "User Settings",
-  "User Information": "User Information",
+  "User Information": "User information",
   "Basic Info": "Basic info",
   "Name": "Name",
   "Email": "Email",
@@ -157,29 +157,29 @@
   },
   "page_me_apitoken": {
     "notice": {
-      "apitoken_issued": "API Token is not issued.",
+      "apitoken_issued": "API token is not issued.",
       "update_token1": "You can update to generate a new API Token.",
       "update_token2": "You will need to update the API Token in any existing processes."
     },
     "form_help": {}
   },
   "Password": "Password",
-  "Password Settings": "Password Settings",
+  "Password Settings": "Password settings",
     "personal_settings": {
     "disassociate_external_account": "Disassociate External Account",
     "disassociate_external_account_desc": "Are you sure to disassociate the <strong>{{providerType}}</strong> account <strong>{{accountId}}</strong>?",
     "set_new_password": "Set new Password",
-    "update_password": "Update Password",
+    "update_password": "Update password",
       "current_password": "Current password",
       "new_password": "New password",
       "new_password_confirm": "Re-enter new password",
       "password_is_not_set": "Password is not set"
     },
   "security_settings": "Security settings",
-  "API Settings": "API Settings",
-  "API Token Settings": "API Token Settings",
-  "Current API Token": "Current API Token",
-  "Update API Token": "Update API Token",
+  "API Settings": "API settings",
+  "API Token Settings": "API token settings",
+  "Current API Token": "Current API token",
+  "Update API Token": "Update API token",
   "header_search_box": {
     "label": {
       "This tree": "This tree"

+ 2 - 2
src/client/js/components/Me/ExternalAccountLinkedMe.jsx

@@ -73,7 +73,7 @@ class ExternalAccountLinkedMe extends React.Component {
               <i className="icon-plus" aria-hidden="true" />
             Add
             </button>
-            { t('External Accounts') }
+            { t('admin:user_management.external_accounts') }
           </h2>
         </div>
 
@@ -82,7 +82,7 @@ class ExternalAccountLinkedMe extends React.Component {
             <table className="table table-bordered table-user-list">
               <thead>
                 <tr>
-                  <th width="120px">Authentication Provider</th>
+                  <th width="120px">{ t('admin:user_management.authentication_provider') }</th>
                   <th>
                     <code>accountId</code>
                   </th>