Parcourir la source

fix duplicate and rename

zahmis il y a 5 ans
Parent
commit
1d2d42d784

+ 1 - 1
src/client/js/components/Page/DuplicatedAlert.jsx

@@ -12,7 +12,7 @@ const DuplicatedAlert = (props) => {
   return (
     <div className="alert alert-success py-3 px-4">
       <strong>
-        { t('Duplicated') }: <code>{beforePathDuplicated}</code> {t('page_page.notice.duplicated')}
+        { t('Duplicated') }: {t('page_page.notice.duplicated')} <code>{beforePathDuplicated}</code>
       </strong>
     </div>
   );

+ 1 - 1
src/client/js/components/Page/RenamedAlert.jsx

@@ -11,7 +11,7 @@ const RenamedAlert = (props) => {
 
   return (
     <>
-      <strong>{ t('Moved') }: <code>{beforePathRenamed}</code> </strong>{t('page_page.notice.moved')}
+      <strong>{ t('Moved') }:</strong> {t('page_page.notice.moved')} <code>{beforePathRenamed}</code>
     </>
   );
 };