From de13753ef67378ccdf076ea0f853bf7bce9019e1 Mon Sep 17 00:00:00 2001
From: "saito.k"
Date: Wed, 27 Sep 2023 08:12:25 +0000
Subject: [PATCH] =?UTF-8?q?Merged=20PR=20447:=20[Sp18-2=20or=2019-1]?=
=?UTF-8?q?=E7=BF=BB=E8=A8=B3=E6=83=85=E5=A0=B1=E3=82=92=E7=BF=BB=E8=A8=B3?=
=?UTF-8?q?Excel=E3=81=AB=E9=81=A9=E7=94=A8=E3=81=97=E3=80=81Web=E3=82=A2?=
=?UTF-8?q?=E3=83=97=E3=83=AA=E3=81=AB=E3=82=82=E9=81=A9=E7=94=A8=E3=81=99?=
=?UTF-8?q?=E3=82=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## 概要
[Task2166: [Sp18-2 or 19-1]翻訳情報を翻訳Excelに適用し、Webアプリにも適用する](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/2166)
- 不要な文言を削除
- 削除した文言が使用されている箇所を修正
## レビューポイント
- 特になし
## UIの変更
- Before/Afterのスクショなど
- スクショ置き場
## 動作確認状況
- ローカルで確認
## 補足
- 相談、参考資料などがあれば
---
.../license/licenseOrderHistory/operations.ts | 4 +---
.../src/features/partner/operations.ts | 5 +----
.../src/pages/LicensePage/licenseSummary.tsx | 4 +---
.../src/pages/SignupPage/signupInput.tsx | 4 +---
.../UserListPage/allocateLicensePopup.tsx | 8 +------
dictation_client/src/translation/de.json | 22 ++++++++-----------
dictation_client/src/translation/en.json | 22 ++++++++-----------
dictation_client/src/translation/es.json | 22 ++++++++-----------
dictation_client/src/translation/fr.json | 22 ++++++++-----------
9 files changed, 41 insertions(+), 72 deletions(-)
diff --git a/dictation_client/src/features/license/licenseOrderHistory/operations.ts b/dictation_client/src/features/license/licenseOrderHistory/operations.ts
index 1252700..c0c38f3 100644
--- a/dictation_client/src/features/license/licenseOrderHistory/operations.ts
+++ b/dictation_client/src/features/license/licenseOrderHistory/operations.ts
@@ -250,9 +250,7 @@ export const cancelIssueAsync = createAsyncThunk<
let errorMessage = getTranslationID("common.message.internalServerError");
- if (error.code === "E000108") {
- errorMessage = getTranslationID("common.message.permissionDeniedError");
- } else if (error.code === "E010809") {
+ if (error.code === "E010809") {
errorMessage = getTranslationID(
"orderHistoriesPage.message.alreadyLicenseStatusChanged"
);
diff --git a/dictation_client/src/features/partner/operations.ts b/dictation_client/src/features/partner/operations.ts
index e4fed0c..01b2562 100644
--- a/dictation_client/src/features/partner/operations.ts
+++ b/dictation_client/src/features/partner/operations.ts
@@ -101,10 +101,7 @@ export const getPartnerInfoAsync = createAsyncThunk<
return ret;
} catch (e) {
const error = createErrorObject(e);
- const errorMessage =
- error.code === "E000108"
- ? getTranslationID("common.message.permissionDeniedError")
- : getTranslationID("common.message.internalServerError");
+ const errorMessage = getTranslationID("common.message.internalServerError");
thunkApi.dispatch(
openSnackbar({
diff --git a/dictation_client/src/pages/LicensePage/licenseSummary.tsx b/dictation_client/src/pages/LicensePage/licenseSummary.tsx
index 1744105..8700902 100644
--- a/dictation_client/src/pages/LicensePage/licenseSummary.tsx
+++ b/dictation_client/src/pages/LicensePage/licenseSummary.tsx
@@ -109,9 +109,7 @@ export const LicenseSummary: React.FC = (
-
- {t(getTranslationID("LicenseSummaryPage.label.subTitle"))}
-
+
{"会社名" /* TODO 会社名を表示する */}