yuken 3 лет назад
Родитель
Сommit
f0c7fc6bd4

+ 1 - 0
packages/app/resource/locales/en_US/translation.json

@@ -664,6 +664,7 @@
     "by_path_modal": {
       "title": "Convert to new v5 compatible format",
       "alert": "",
+      "confirm": "",
       "description": "Enter a path and all pages under that path will be converted to v5 compatible format.",
       "button_label": "Convert",
       "success": "Successfully requested conversion.",

+ 1 - 0
packages/app/resource/locales/ja_JP/translation.json

@@ -664,6 +664,7 @@
     "by_path_modal": {
       "title": "新しい v5 互換形式への変換",
       "alert": "後で文言は考える",
+      "confirm": "以下のページを全て変換します。よろしいですか?",
       "description": "パスを入力することで、そのパスの配下のページを全て v5 互換形式に変換します",
       "button_label": "変換",
       "success": "正常に変換を開始しました",

+ 1 - 0
packages/app/resource/locales/zh_CN/translation.json

@@ -951,6 +951,7 @@
     "by_path_modal": {
       "title": "转换为新的v5兼容格式",
       "alert": "",
+      "confirm": "",
       "description": "输入一个路径,该路径下的所有页面将被转换为v5兼容格式。",
       "button_label": "转换",
       "success": "成功地请求转换。",

+ 1 - 1
packages/app/src/components/PrivateLegacyPages.tsx

@@ -182,7 +182,7 @@ const ConvertByPathConfirmModal = React.memo((props: ConvertByPathConfirmModalPr
         { t('private_legacy_pages.by_path_modal.title') }
       </ModalHeader>
       <ModalBody>
-        <p> {props.confirmModalData.path} 以下のページを全て変換します。よろしいですか?</p>
+        <p>{`${props.confirmModalData.path} ${t('private_legacy_pages.by_path_modal.confirm')}`}</p>
         <p className="text-danger">{ t('private_legacy_pages.by_path_modal.alert') }</p>
       </ModalBody>
       <ModalFooter>