Jelajahi Sumber

adjust name

takeru0001 5 tahun lalu
induk
melakukan
79a97d143d
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      src/client/js/components/PageRenameModal.jsx

+ 3 - 3
src/client/js/components/PageRenameModal.jsx

@@ -65,7 +65,7 @@ const PageRenameModal = (props) => {
     }
     }
     catch (err) {
     catch (err) {
       setErrs(err);
       setErrs(err);
-      toastError(t('modal_duplicate.label.Fail to get subordinated pages'));
+      toastError(t('modal_rename.label.Fail to get subordinated pages'));
     }
     }
   }, [appContainer, path, t]);
   }, [appContainer, path, t]);
 
 
@@ -180,12 +180,12 @@ const PageRenameModal = (props) => {
             <input
             <input
               className="custom-control-input"
               className="custom-control-input"
               name="withoutExistRecursively"
               name="withoutExistRecursively"
-              id="cbDuplicatewithoutExistRecursively"
+              id="cbRenamewithoutExistRecursively"
               type="checkbox"
               type="checkbox"
               checked={isRenameRecursivelyWithoutExistPath}
               checked={isRenameRecursivelyWithoutExistPath}
               onChange={changeIsRenameRecursivelyWithoutExistPathHandler}
               onChange={changeIsRenameRecursivelyWithoutExistPathHandler}
             />
             />
-            <label className="custom-control-label" htmlFor="cbDuplicatewithoutExistRecursively">
+            <label className="custom-control-label" htmlFor="cbRenamewithoutExistRecursively">
               { t('modal_rename.label.Rename without exist path') }
               { t('modal_rename.label.Rename without exist path') }
             </label>
             </label>
           </div>
           </div>