Просмотр исходного кода

fix translation.json archivecreatemodal

zahmis 5 лет назад
Родитель
Сommit
33a16b0227

+ 2 - 0
resource/locales/en-US/translation.json

@@ -54,6 +54,8 @@
   "Include Attachment File": "Include Attachment File",
   "Include Comment": "Include Comment",
   "Include Subordinated Page": "Include Subordinated Page",
+  "All Subordinated Page": "All Subordinated Page",
+  "Specify Hierarchy": "Specify Hierarchy",
   "username": "Username",
   "Created": "Created",
   "Last updated": "Updated",

+ 2 - 0
resource/locales/ja/translation.json

@@ -54,6 +54,8 @@
   "Include Attachment File": "添付ファイルも含める",
   "Include Comment": "コメントも含める",
   "Include Subordinated Page": "配下ページも含める",
+  "All Subordinated Page": "全ての配下ページ",
+  "Specify Hierarchy": "階層を指定",
   "username": "ユーザー名",
   "Created": "作成日",
   "Last updated": "最終更新",

+ 3 - 12
src/client/js/components/ArchiveCreateModal.jsx

@@ -111,13 +111,7 @@ const ArchiveCreateModal = (props) => {
           </label>
         </div>
         <div className="custom-control custom-checkbox custom-checkbox-warning">
-          <input
-            className="custom-control-input"
-            id="downloadFile"
-            type="checkbox"
-            checked={isFileDownload}
-            onChange={changeIsFileDownloadHandler}
-          />
+          <input className="custom-control-input" id="downloadFile" type="checkbox" checked={isFileDownload} onChange={changeIsFileDownloadHandler} />
           <label className="custom-control-label" htmlFor="downloadFile">
             {t('Include Attachment File')}
           </label>
@@ -149,7 +143,7 @@ const ArchiveCreateModal = (props) => {
                 }}
               />
               <label className="custom-control-label" htmlFor="customRadio3">
-                全ての配下ページ
+                {t('All Subordinated Page')}
               </label>
             </div>
           </div>
@@ -168,14 +162,11 @@ const ArchiveCreateModal = (props) => {
                 }}
               />
               <label className="custom-control-label" htmlFor="customRadio4">
-                全ての配下ページ
+                {t('Specify Hierarchy')}
               </label>
             </div>
           </div>
-
-
         </div>
-
       </ModalBody>
       <ModalFooter>
         <button type="button" className="btn btn-primary">