Преглед изворни кода

Merge pull request #2107 from weseek/imprv/gw2074-WikiHome-AppSettings-SecuritySettings

Imprv/gw2074 wiki home app settings security settings
Yuki Takei пре 6 година
родитељ
комит
2766ad7d61

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

@@ -1,28 +1,28 @@
 {
 {
   "admin_top": {
   "admin_top": {
     "management_wiki": "Management Wiki",
     "management_wiki": "Management Wiki",
-    "system_information": "System Information",
-    "wiki_administrator": "Only Wiki administrator can access this page",
-    "assign_administrator": "You can assign the selected user to be a wiki administrator on the User Management page using the 'Give Admin Access' button",
+    "system_information": "System information",
+    "wiki_administrator": "Only wiki administrator can access this page",
+    "assign_administrator": "You can assign the selected user to be a wiki administrator on the User Management page using the 'Give admin access' button",
     "list_of_installed_plugins": "List of installed plugins",
     "list_of_installed_plugins": "List of installed plugins",
     "package_name": "Package name",
     "package_name": "Package name",
     "specified_version": "Specified version",
     "specified_version": "Specified version",
     "installed_version": "Installed version",
     "installed_version": "Installed version",
     "list_of_env_vars":"List of environment variables",
     "list_of_env_vars":"List of environment variables",
     "env_var_priority": "For environment variables other than security, the value of the database is obtained preferentially.",
     "env_var_priority": "For environment variables other than security, the value of the database is obtained preferentially.",
-    "about_security": "Check <a href='/admin/security'>Securtiy Management</a> for security environment variables."
+    "about_security": "Check <a href='/admin/security'>Securtiy Settings</a> for security environment variables."
   },
   },
   "app_setting": {
   "app_setting": {
     "site_name": "Site name",
     "site_name": "Site name",
-    "sitename_change": "You can change Site Name which is used for header and HTML title.",
+    "sitename_change": "You can change site name which is used for header and HTML title.",
     "header_content": "The contents entered here will be shown in the header etc.",
     "header_content": "The contents entered here will be shown in the header etc.",
     "site_url_desc": "This is for the site URL setting.",
     "site_url_desc": "This is for the site URL setting.",
     "site_url_warn": "Some features don't work because the site URL is not set.",
     "site_url_warn": "Some features don't work because the site URL is not set.",
     "siteurl_help": "Site full URL beginning from <code>http://</code> or <code>https://</code>.",
     "siteurl_help": "Site full URL beginning from <code>http://</code> or <code>https://</code>.",
     "confidential_name": "Confidential name",
     "confidential_name": "Confidential name",
     "confidential_example": "ex): internal use only",
     "confidential_example": "ex): internal use only",
-    "default_language": "Default Language for new users",
-    "file_uploading": "File Uploading",
+    "default_language": "Default language for new users",
+    "file_uploading": "File uploading",
     "enable_files_except_image": "Enabling this option will allow upload of any file type. Without this option, only image file upload is supported.",
     "enable_files_except_image": "Enabling this option will allow upload of any file type. Without this option, only image file upload is supported.",
     "attach_enable": "You can attach files other than image files if you enable this option.",
     "attach_enable": "You can attach files other than image files if you enable this option.",
     "update": "Update",
     "update": "Update",
@@ -244,7 +244,7 @@
       "your_own": "You cannot deactivate your own account",
       "your_own": "You cannot deactivate your own account",
       "remove_admin_access": "Remove Admin Access",
       "remove_admin_access": "Remove Admin Access",
       "cannot_remove": "You cannot remove yourself from administrator",
       "cannot_remove": "You cannot remove yourself from administrator",
-      "give_admin_access": "Give Admin Access"
+      "give_admin_access": "Give admin access"
     },
     },
     "reset_password": "Reset Password",
     "reset_password": "Reset Password",
     "reset_password_modal": {
     "reset_password_modal": {

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

@@ -390,7 +390,7 @@
   },
   },
   "security_setting": {
   "security_setting": {
     "Security settings": "Security settings",
     "Security settings": "Security settings",
-    "Guest Users Access": "Guest Users Access",
+    "Guest Users Access": "Guest users access",
     "Fixed by env var": "This is fixed by the env var <code>%s=%s</code>.",
     "Fixed by env var": "This is fixed by the env var <code>%s=%s</code>.",
     "Register limitation": "Register limitation",
     "Register limitation": "Register limitation",
     "Register limitation desc": "Restriction of new users' registration",
     "Register limitation desc": "Restriction of new users' registration",
@@ -401,20 +401,20 @@
     "for_example": " For example, if you would like to restrict registration to users within the growi.org domain, you can write ",
     "for_example": " For example, if you would like to restrict registration to users within the growi.org domain, you can write ",
     "in_this_case": "; in this case, only users within the growi.org domain would be able to register, and all other users would be rejected.",
     "in_this_case": "; in this case, only users within the growi.org domain would be able to register, and all other users would be rejected.",
     "insert_single": "Please insert single e-mail address per line.",
     "insert_single": "Please insert single e-mail address per line.",
-    "page_listing_1": "Page listing/searching<br>restricted by 'Only Me'",
-    "page_listing_1_desc": "Show pages that are restricted by 'Only Me' option when listing/searching",
-    "page_listing_2": "Page listing/searching<br>restricted by User Group",
-    "page_listing_2_desc": "Show pages that are restricted by User Group when listing/searching",
-    "complete_deletion": "Restrict Complete Deletion of Pages",
+    "page_listing_1": "Page listing/searching<br>restricted by 'Only me'",
+    "page_listing_1_desc": "Show pages that are restricted by 'Only me' option when listing/searching",
+    "page_listing_2": "Page listing/searching<br>restricted by User group",
+    "page_listing_2_desc": "Show pages that are restricted by User group when listing/searching",
+    "complete_deletion": "Restrict complete deletion of pages",
     "complete_deletion_explain": "Restricts users who can completely delete pages.",
     "complete_deletion_explain": "Restricts users who can completely delete pages.",
-    "admin_only": "Admin Only",
-    "admin_and_author": "Admin and Author",
+    "admin_only": "Admin only",
+    "admin_and_author": "Admin and author",
     "anyone": "Anyone",
     "anyone": "Anyone",
     "Authentication mechanism settings": "Authentication Mechanism Settings",
     "Authentication mechanism settings": "Authentication Mechanism Settings",
     "setup_is_not_yet_complete": "Setup is not yet complete",
     "setup_is_not_yet_complete": "Setup is not yet complete",
     "alert_siteUrl_is_not_set": "'Site URL' is NOT set. Set it from the {{link}}",
     "alert_siteUrl_is_not_set": "'Site URL' is NOT set. Set it from the {{link}}",
     "xss_prevent_setting": "Prevent XSS(Cross Site Scripting)",
     "xss_prevent_setting": "Prevent XSS(Cross Site Scripting)",
-    "xss_prevent_setting_link": "Go to Markdown settings",
+    "xss_prevent_setting_link": "Go to markdown settings",
     "callback_URL": "Callback URL",
     "callback_URL": "Callback URL",
     "providerName": "Provider Name",
     "providerName": "Provider Name",
     "issuerHost": "Issuer Host",
     "issuerHost": "Issuer Host",
@@ -425,7 +425,7 @@
     "updated_general_security_setting": "Succeeded to update security setting",
     "updated_general_security_setting": "Succeeded to update security setting",
     "setup_not_completed_yet": "Setup not completed yet",
     "setup_not_completed_yet": "Setup not completed yet",
     "guest_mode": {
     "guest_mode": {
-      "deny": "Deny (Registered Users Only)",
+      "deny": "Deny (Registered users only)",
       "readonly": "Accept (Guests can read only)"
       "readonly": "Accept (Guests can read only)"
     },
     },
     "registration_mode": {
     "registration_mode": {

+ 2 - 2
src/client/js/components/Admin/App/AwsSetting.jsx

@@ -103,7 +103,7 @@ class AwsSetting extends React.Component {
 
 
         <div className="row mb-5">
         <div className="row mb-5">
           <label className="col-xs-3 control-label">
           <label className="col-xs-3 control-label">
-            Access Key ID
+            Access key ID
           </label>
           </label>
           <div className="col-xs-6">
           <div className="col-xs-6">
             <input
             <input
@@ -119,7 +119,7 @@ class AwsSetting extends React.Component {
 
 
         <div className="row mb-5">
         <div className="row mb-5">
           <label className="col-xs-3 control-label">
           <label className="col-xs-3 control-label">
-            Secret Access Key
+            Secret access key
           </label>
           </label>
           <div className="col-xs-6">
           <div className="col-xs-6">
             <input
             <input