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

add warning for page bulk export

Futa Arai 1 год назад
Родитель
Сommit
4bd1b3d807

+ 2 - 1
apps/app/public/static/locales/en_US/admin.json

@@ -363,7 +363,8 @@
     "enable_files_except_image": "Enabling this option will allow upload of any file type. Without this option, only image file upload is supported.",
     "enable_files_except_image": "Enabling this option will allow upload of any file type. Without this option, only image file upload is supported.",
     "attach_enable": "You can attach files other than image files if you enable this option.",
     "attach_enable": "You can attach files other than image files if you enable this option.",
     "enable_page_bulk_export": "Enable bulk exporting a page and it's child pages",
     "enable_page_bulk_export": "Enable bulk exporting a page and it's child pages",
-    "page_bulk_export_explanation": "When enabled, users will be able to bulk export from the page menu",
+    "page_bulk_export_explanation": "When enabled, users will be able to bulk export from the page menu.",
+    "page_bulk_export_warning": "The download period for exported results is 24 hours, and they will be deleted after that. During this period, running multiple large exports consecutively can fill up the file system.",
     "update": "Update",
     "update": "Update",
     "mail_settings": "E-mail Settings",
     "mail_settings": "E-mail Settings",
     "mailer_is_not_set_up": "E-mail setting is not set up.",
     "mailer_is_not_set_up": "E-mail setting is not set up.",

+ 2 - 1
apps/app/public/static/locales/fr_FR/admin.json

@@ -363,7 +363,8 @@
     "enable_files_except_image": "Autorise le téléversement de fichiers de n'importe quel type. Lorsque désactivé, seul les fichiers de type image sont autorisés.",
     "enable_files_except_image": "Autorise le téléversement de fichiers de n'importe quel type. Lorsque désactivé, seul les fichiers de type image sont autorisés.",
     "attach_enable": "Autorise le téléversement de fichiers de n'importe quel type",
     "attach_enable": "Autorise le téléversement de fichiers de n'importe quel type",
     "enable_page_bulk_export": "Autoriser l'exportation groupée de pages et de leurs pages subordonnées",
     "enable_page_bulk_export": "Autoriser l'exportation groupée de pages et de leurs pages subordonnées",
-    "page_bulk_export_explanation": "Si autorisé, l'exportation groupée sera possible à partir du menu de la page",
+    "page_bulk_export_explanation": "Si autorisé, l'exportation groupée sera possible à partir du menu de la page.",
+    "page_bulk_export_warning": "La période de téléchargement des résultats exportés est de 24 heures, après quoi ils seront supprimés. Pendant cette période, l’exécution consécutive de plusieurs exportations volumineuses peut remplir le système de fichiers.",
     "update": "Sauvegarder",
     "update": "Sauvegarder",
     "mail_settings": "Configuration e-mail",
     "mail_settings": "Configuration e-mail",
     "mailer_is_not_set_up": "Paramètres e-mail non configurés.",
     "mailer_is_not_set_up": "Paramètres e-mail non configurés.",

+ 2 - 1
apps/app/public/static/locales/ja_JP/admin.json

@@ -372,7 +372,8 @@
     "enable_files_except_image": "画像以外のファイルアップロードを許可",
     "enable_files_except_image": "画像以外のファイルアップロードを許可",
     "attach_enable": "許可をしている場合、画像以外のファイルをページに添付可能になります。",
     "attach_enable": "許可をしている場合、画像以外のファイルをページに添付可能になります。",
     "enable_page_bulk_export": "ページとその配下のページの一括エクスポートを許可",
     "enable_page_bulk_export": "ページとその配下のページの一括エクスポートを許可",
-    "page_bulk_export_explanation": "許可している場合、個別ページのメニューから一括エクスポートが可能になります",
+    "page_bulk_export_explanation": "許可している場合、個別ページのメニューから一括エクスポートが可能になります。",
+    "page_bulk_export_warning": "エクスポート結果のダウンロード期限は24時間で、それを過ぎるとファイルシステムから削除されます。この間にページ数の多いエクスポートを連続で実行すると、ファイルシステムを圧迫する可能性があります。",
     "update": "更新",
     "update": "更新",
     "mail_settings": "メールの設定",
     "mail_settings": "メールの設定",
     "mailer_is_not_set_up": "メール設定がセットアップされていません。",
     "mailer_is_not_set_up": "メール設定がセットアップされていません。",

+ 1 - 0
apps/app/public/static/locales/zh_CN/admin.json

@@ -373,6 +373,7 @@
     "attach_enable": "如果启用此选项,则可以附加图像文件以外的文件。",
     "attach_enable": "如果启用此选项,则可以附加图像文件以外的文件。",
     "enable_page_bulk_export": "允许批量导出页面及其子页面",
     "enable_page_bulk_export": "允许批量导出页面及其子页面",
     "page_bulk_export_explanation": "如果允许,可以从各个页面的菜单中批量导出。",
     "page_bulk_export_explanation": "如果允许,可以从各个页面的菜单中批量导出。",
+    "page_bulk_export_warning": "导出结果的下载期限为24小时,下载期限过后将被删除。在此期间,连续运行多个大导出可能会填满文件系统。",
     "update": "更新",
     "update": "更新",
     "mail_settings": "邮件设置",
     "mail_settings": "邮件设置",
     "mailer_is_not_set_up": "邮件设置尚未完成。",
     "mailer_is_not_set_up": "邮件设置尚未完成。",

+ 4 - 0
apps/app/src/client/components/Admin/App/AppSetting.jsx

@@ -197,6 +197,10 @@ const AppSetting = (props) => {
             {t('admin:app_setting.page_bulk_export_explanation')}
             {t('admin:app_setting.page_bulk_export_explanation')}
           </p>
           </p>
 
 
+          <p className="alert alert-warning mt-2">
+            {t('admin:app_setting.page_bulk_export_warning')}
+          </p>
+
           {adminAppContainer.state.isFixedIsBulkExportPagesEnabled && (
           {adminAppContainer.state.isFixedIsBulkExportPagesEnabled && (
             <p className="alert alert-warning mt-2 text-start">
             <p className="alert alert-warning mt-2 text-start">
               <span className="material-symbols-outlined">help</span>
               <span className="material-symbols-outlined">help</span>