ryuichi-e 6 лет назад
Родитель
Сommit
3bb6dabe29

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

@@ -149,7 +149,7 @@
   "importer_management": {
     "beta_warning": "This function is Beta.",
     "import_from": "Import from {{from}}",
-    "import_growi_archive": "Import GROWI Archive",
+    "import_growi_archive": "Import GROWI archive",
     "growi_settings": {
       "overwrite_documents": "Imported documents will overwrite existing documents",
       "growi_archive_file": "GROWI Archive File",
@@ -157,7 +157,7 @@
       "extracted_file": "Extracted File",
       "collection": "Collection",
       "upload": "Upload",
-      "discard": "Discard Uploaded Data",
+      "discard": "Discard uploaded data",
       "errors": {
         "at_least_one": "Select one or more collections.",
         "page_and_revision": "'Pages' and 'Revisions' must be imported both.",
@@ -202,7 +202,7 @@
     },
     "import": "Import",
     "page_skip": "Pages with a name that already exists on GROWI are not imported",
-    "Directory_hierarchy_tag": "Directory Hierarchy Tag"
+    "Directory_hierarchy_tag": "Directory hierarchy tag"
   },
   "export_management": {
     "exporting_collection_list": "Exporting Collection List",

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

@@ -25,7 +25,7 @@
   "Undo": "Undo",
   "Article": "Article",
   "Page": "Page",
-  "Page Path": "Page Path",
+  "Page Path": "Page path",
   "Category": "Category",
   "User": "User",
   "status": "Status",

+ 4 - 4
src/client/js/components/Admin/ImportData/GrowiArchive/ImportForm.jsx

@@ -344,7 +344,7 @@ class ImportForm extends React.Component {
 
     return (
       <div className="mt-4">
-        <legend>{groupName} Collections</legend>
+        <legend>{groupName} collections</legend>
         {wellContent != null && (
           <div className="well well-sm small">
             <ul>
@@ -464,9 +464,9 @@ class ImportForm extends React.Component {
           </div>
         </form>
 
-        {this.renderGroups(GROUPS_PAGE, 'MongoDB Page', warnForPageGroups, { wellContent: t('admin:importer_management.growi_settings.overwrite_documents') })}
-        {this.renderGroups(GROUPS_USER, 'MongoDB User', warnForUserGroups)}
-        {this.renderGroups(GROUPS_CONFIG, 'MongoDB Config', warnForConfigGroups)}
+        {this.renderGroups(GROUPS_PAGE, 'MongoDB page', warnForPageGroups, { wellContent: t('admin:importer_management.growi_settings.overwrite_documents') })}
+        {this.renderGroups(GROUPS_USER, 'MongoDB user', warnForUserGroups)}
+        {this.renderGroups(GROUPS_CONFIG, 'MongoDB config', warnForConfigGroups)}
         {this.renderOthers()}
 
         <div className="mt-4 text-center">