2
0
Futa Arai 3 жил өмнө
parent
commit
69226e8187

+ 1 - 1
packages/app/public/static/locales/en_US/translation.json

@@ -822,7 +822,7 @@
     "no_answer": "No answer",
     "settings": "Questionnaire settings",
     "failed_to_send": "Failed to send feedback",
-    "failed_to_update_answer_status": "Failed to update questionnaire answer status",
+    "failed_to_skip": "Failed to skip questionnaire",
     "skipped": "The questionnaire was skipped and won't be shown again",
     "title": "GROWI questionnaire for service improvement",
     "successfully_submit": "Your survey has been submitted.",

+ 1 - 1
packages/app/public/static/locales/ja_JP/translation.json

@@ -821,7 +821,7 @@
     "no_answer": "無回答",
     "settings": "アンケート設定",
     "failed_to_send": "回答送信に失敗しました",
-    "failed_to_update_answer_status": "アンケートの回答状態の更新に失敗しました",
+    "failed_to_skip": "アンケートのスキップに失敗しました",
     "skipped": "このアンケートはスキップされたため、今後表示されません",
     "title": "GROWI サービス改善のためのアンケート",
     "successfully_submit": "アンケートの送信が完了しました。",

+ 1 - 1
packages/app/src/components/Questionnaire/QuestionnaireModal.tsx

@@ -77,7 +77,7 @@ const QuestionnaireModal = ({ questionnaireOrder }: QuestionnaireModalProps): JS
     }
     catch (e) {
       logger.error(e);
-      toastError(t('questionnaire.failed_to_update_answer_status'));
+      toastError(t('questionnaire.failed_to_skip'));
     }
     closeQuestionnaireModal();
   }, [closeQuestionnaireModal, questionnaireOrder._id, t]);

+ 1 - 1
packages/app/src/components/Questionnaire/QuestionnaireToast.tsx

@@ -37,7 +37,7 @@ const QuestionnaireToast = ({ questionnaireOrder }: QuestionnaireToastProps): JS
       toastSuccess(t('questionnaire.skipped'));
     }).catch((e) => {
       logger.error(e);
-      toastError(t('questionnaire.failed_to_update_answer_status'));
+      toastError(t('questionnaire.failed_to_skip'));
     });
 
     setIsOpen(false);

+ 0 - 2
packages/app/src/pages/[[...path]].page.tsx

@@ -209,8 +209,6 @@ type Props = CommonProps & {
   userUISettings?: IUserUISettings
   // Sidebar
   sidebarConfig: ISidebarConfig,
-
-  growiQuestionnaireServerOrigin: string,
 };
 
 const Page: NextPageWithLayout<Props> = (props: Props) => {