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

fix translation.json for supported i18

zahmis 5 лет назад
Родитель
Сommit
49ad280133

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

@@ -56,6 +56,7 @@
   "Include Subordinated Page": "Include Subordinated Page",
   "All Subordinated Page": "All Subordinated Page",
   "Specify Hierarchy": "Specify Hierarchy",
+  "Submitted the request to create the archive": "Submitted the request to create the archive",
   "username": "Username",
   "Created": "Created",
   "Last updated": "Updated",

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

@@ -56,6 +56,7 @@
   "Include Subordinated Page": "配下ページも含める",
   "All Subordinated Page": "全ての配下ページ",
   "Specify Hierarchy": "階層の深さを指定",
+  "Submitted the request to create the archive": "アーカイブ作成のリクエストを正常に送信しました",
   "username": "ユーザー名",
   "Created": "作成日",
   "Last updated": "最終更新",

+ 1 - 1
src/client/js/components/ArchiveCreateModal.jsx

@@ -64,7 +64,7 @@ const ArchiveCreateModal = (props) => {
         hierarchyType,
         hierarchyValue,
       });
-      toastSuccess('Submitted the request to create the archive');
+      toastSuccess(t('Submitted the request to create the archive'));
     }
     catch (e) {
       toastError(e);