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 会社名を表示する */}

  • {/* 他アカウントのライセンス情報を見ている場合は、前画面に戻る用のreturnボタンを表示 */} diff --git a/dictation_client/src/pages/SignupPage/signupInput.tsx b/dictation_client/src/pages/SignupPage/signupInput.tsx index 296d559..0b463db 100644 --- a/dictation_client/src/pages/SignupPage/signupInput.tsx +++ b/dictation_client/src/pages/SignupPage/signupInput.tsx @@ -140,9 +140,7 @@ const SignupInput: React.FC = (): JSX.Element => {

    {t(getTranslationID("signupPage.text.title"))}

    -

    - {t(getTranslationID("signupPage.text.pageExplanation"))} -

    +

diff --git a/dictation_client/src/pages/UserListPage/allocateLicensePopup.tsx b/dictation_client/src/pages/UserListPage/allocateLicensePopup.tsx index 240ee8c..2d96314 100644 --- a/dictation_client/src/pages/UserListPage/allocateLicensePopup.tsx +++ b/dictation_client/src/pages/UserListPage/allocateLicensePopup.tsx @@ -102,13 +102,7 @@ export const AllocateLicensePopup: React.FC = (

-
- {t( - getTranslationID( - "allocateLicensePopupPage.label.personalInformation" - ) - )} -
+
{t(getTranslationID("allocateLicensePopupPage.label.email"))}
diff --git a/dictation_client/src/translation/de.json b/dictation_client/src/translation/de.json index f6b3648..6c41597 100644 --- a/dictation_client/src/translation/de.json +++ b/dictation_client/src/translation/de.json @@ -2,17 +2,15 @@ "common": { "message": { "inputEmptyError": "(de)この項目の入力は必須です。入力してください。", - "passwordIncorrectError": "(de)Error Message", - "emailIncorrectError": "(de)Error Message", + "passwordIncorrectError": "(de)入力されたパスワードがルールを満たしていません。下記のルールを満たすパスワードを入力してください。", + "emailIncorrectError": "(de)メールアドレスの形式が不正です。正しいメールアドレスの形式で入力してください。", "internalServerError": "(de)処理に失敗しました。時間をおいて再実行しても解決しない場合はシステム管理者にお問い合わせください。", - "permissionDeniedError": "(de)操作を実行する権限がありません。", "listEmpty": "(de)検索結果が0件です。", "dialogConfirm": "(de)操作を実行しますか?", "success": "(de)処理に成功しました。" }, "label": { "cancel": "(de)Cancel", - "headerTitle": "(de)ODMS Cloud", "copyRight": "(de)OM Digital Solutions 2023", "edit": "(de)Edit", "save": "(de)Save", @@ -22,7 +20,8 @@ "tier2": "(de)BC", "tier3": "(de)Distributor", "tier4": "(de)Dealer", - "tier5": "(de)Customer" + "tier5": "(de)Customer", + "notSelected": "(de)-- None --" } }, "topPage": { @@ -51,7 +50,6 @@ }, "text": { "title": "(de)Create your account", - "pageExplanation": "(de)Explanation...", "accountInfoTitle": "(de)Register your account information", "countryExplanation": "(de) Please select your country or the nearest country.", "dealerExplanation": "(de)Please select the dealer to purchase a license.", @@ -158,7 +156,6 @@ "LicenseSummaryPage": { "label": { "title": "(de)License", - "subTitle": "(de)EFGI Legal", "orderLicense": "(de)Order License", "orderHistory": "(de)Order History", "activateLicenseKey": "(de)Activate License Key", @@ -339,7 +336,6 @@ "allocateLicensePopupPage": { "label": { "title": "(de)License Allocation", - "personalInformation": "(de)Personal Information", "email": "(de)Email", "name": "(de)Name", "authorID": "(de)Author ID", @@ -349,7 +345,7 @@ "expirationDate": "(de)Expiration date", "licenseInformation": "(de)License Information", "licenseAvailable": "(de)License available", - "dropDownHeading": "(de)Select a license.", + "dropDownHeading": "(de)-- Select a license. --", "oneYear": "(de)One Year", "allocateLicense": "(de)OK" }, @@ -421,7 +417,7 @@ "chooseFile": "(de)Choose File", "notFileChosen": "(de)- Not file chosen -", "fileSizeTerms": "(de)Flie Name", - "fileSizeError": "(de)選択されたファイルのサイズが大きすぎます。サイズが5MB以下のファイルを選択してください。", + "fileSizeError": "(de)選択されたファイルのサイズが大きすぎます。サイズが?MB以下のファイルを選択してください。", "fileEmptyError": "(de)ファイル選択は必須です。ファイルを選択してください。" } }, @@ -450,13 +446,13 @@ "yourCategory": "(de)Your Category", "yourCountry": "(de)Your Country", "yourDealer": "(de)Your Dealer(Upper layer)", - "selectDealer": "(de)Select Dealer", + "selectDealer": "(de)-- Select Dealer --", "dealerManagement": "(de)Dealer Management", "administratorInformation": "(de)Administrator Information", "primaryAdministrator": "(de)Primary Administrator", "secondaryAdministrator": "(de)Secondary Administrator", "emailAddress": "(de)E-mail address", - "selectSecondaryAdministrator": "(de)Select Secondary Administrator", + "selectSecondaryAdministrator": "(de)-- Select Secondary Administrator --", "saveChanges": "(de)Save Changes", "deleteAccount": "(de)Delete Account" }, @@ -473,4 +469,4 @@ "cancelButton": "(de)Cancel" } } -} +} \ No newline at end of file diff --git a/dictation_client/src/translation/en.json b/dictation_client/src/translation/en.json index 1b44381..cd3383f 100644 --- a/dictation_client/src/translation/en.json +++ b/dictation_client/src/translation/en.json @@ -2,17 +2,15 @@ "common": { "message": { "inputEmptyError": "この項目の入力は必須です。入力してください。", - "passwordIncorrectError": "Error Message", - "emailIncorrectError": "Error Message", + "passwordIncorrectError": "入力されたパスワードがルールを満たしていません。下記のルールを満たすパスワードを入力してください。", + "emailIncorrectError": "メールアドレスの形式が不正です。正しいメールアドレスの形式で入力してください。", "internalServerError": "処理に失敗しました。時間をおいて再実行しても解決しない場合はシステム管理者にお問い合わせください。", - "permissionDeniedError": "操作を実行する権限がありません。", "listEmpty": "検索結果が0件です。", "dialogConfirm": "操作を実行しますか?", "success": "処理に成功しました。" }, "label": { "cancel": "Cancel", - "headerTitle": "ODMS Cloud", "copyRight": "OM Digital Solutions 2023", "edit": "Edit", "save": "Save", @@ -22,7 +20,8 @@ "tier2": "BC", "tier3": "Distributor", "tier4": "Dealer", - "tier5": "Customer" + "tier5": "Customer", + "notSelected": "-- None --" } }, "topPage": { @@ -51,7 +50,6 @@ }, "text": { "title": "Create your account", - "pageExplanation": "Explanation...", "accountInfoTitle": "Register your account information", "countryExplanation": " Please select your country or the nearest country.", "dealerExplanation": "Please select the dealer to purchase a license.", @@ -158,7 +156,6 @@ "LicenseSummaryPage": { "label": { "title": "License", - "subTitle": "EFGI Legal", "orderLicense": "Order License", "orderHistory": "Order History", "activateLicenseKey": "Activate License Key", @@ -339,7 +336,6 @@ "allocateLicensePopupPage": { "label": { "title": "License Allocation", - "personalInformation": "Personal Information", "email": "Email", "name": "Name", "authorID": "Author ID", @@ -349,7 +345,7 @@ "expirationDate": "Expiration date", "licenseInformation": "License Information", "licenseAvailable": "License available", - "dropDownHeading": "Select a license.", + "dropDownHeading": "-- Select a license. --", "oneYear": "One Year", "allocateLicense": "OK" }, @@ -421,7 +417,7 @@ "chooseFile": "Choose File", "notFileChosen": "- Not file chosen -", "fileSizeTerms": "Flie Name", - "fileSizeError": "選択されたファイルのサイズが大きすぎます。サイズが5MB以下のファイルを選択してください。", + "fileSizeError": "選択されたファイルのサイズが大きすぎます。サイズが?MB以下のファイルを選択してください。", "fileEmptyError": "ファイル選択は必須です。ファイルを選択してください。" } }, @@ -450,13 +446,13 @@ "yourCategory": "Your Category", "yourCountry": "Your Country", "yourDealer": "Your Dealer(Upper layer)", - "selectDealer": "Select Dealer", + "selectDealer": "-- Select Dealer --", "dealerManagement": "Dealer Management", "administratorInformation": "Administrator Information", "primaryAdministrator": "Primary Administrator", "secondaryAdministrator": "Secondary Administrator", "emailAddress": "E-mail address", - "selectSecondaryAdministrator": "Select Secondary Administrator", + "selectSecondaryAdministrator": "-- Select Secondary Administrator --", "saveChanges": "Save Changes", "deleteAccount": "Delete Account" }, @@ -473,4 +469,4 @@ "cancelButton": "Cancel" } } -} +} \ No newline at end of file diff --git a/dictation_client/src/translation/es.json b/dictation_client/src/translation/es.json index bf2ff00..bba619f 100644 --- a/dictation_client/src/translation/es.json +++ b/dictation_client/src/translation/es.json @@ -2,17 +2,15 @@ "common": { "message": { "inputEmptyError": "(es)この項目の入力は必須です。入力してください。", - "passwordIncorrectError": "(es)Error Message", - "emailIncorrectError": "(es)Error Message", + "passwordIncorrectError": "(es)入力されたパスワードがルールを満たしていません。下記のルールを満たすパスワードを入力してください。", + "emailIncorrectError": "(es)メールアドレスの形式が不正です。正しいメールアドレスの形式で入力してください。", "internalServerError": "(es)処理に失敗しました。時間をおいて再実行しても解決しない場合はシステム管理者にお問い合わせください。", - "permissionDeniedError": "(es)操作を実行する権限がありません。", "listEmpty": "(es)検索結果が0件です。", "dialogConfirm": "(es)操作を実行しますか?", "success": "(es)処理に成功しました。" }, "label": { "cancel": "(es)Cancel", - "headerTitle": "(es)ODMS Cloud", "copyRight": "(es)OM Digital Solutions 2023", "edit": "(es)Edit", "save": "(es)Save", @@ -22,7 +20,8 @@ "tier2": "(es)BC", "tier3": "(es)Distributor", "tier4": "(es)Dealer", - "tier5": "(es)Customer" + "tier5": "(es)Customer", + "notSelected": "(es)-- None --" } }, "topPage": { @@ -51,7 +50,6 @@ }, "text": { "title": "(es)Create your account", - "pageExplanation": "(es)Explanation...", "accountInfoTitle": "(es)Register your account information", "countryExplanation": "(es) Please select your country or the nearest country.", "dealerExplanation": "(es)Please select the dealer to purchase a license.", @@ -158,7 +156,6 @@ "LicenseSummaryPage": { "label": { "title": "(es)License", - "subTitle": "(es)EFGI Legal", "orderLicense": "(es)Order License", "orderHistory": "(es)Order History", "activateLicenseKey": "(es)Activate License Key", @@ -339,7 +336,6 @@ "allocateLicensePopupPage": { "label": { "title": "(es)License Allocation", - "personalInformation": "(es)Personal Information", "email": "(es)Email", "name": "(es)Name", "authorID": "(es)Author ID", @@ -349,7 +345,7 @@ "expirationDate": "(es)Expiration date", "licenseInformation": "(es)License Information", "licenseAvailable": "(es)License available", - "dropDownHeading": "(es)Select a license.", + "dropDownHeading": "(es)-- Select a license. --", "oneYear": "(es)One Year", "allocateLicense": "(es)OK" }, @@ -421,7 +417,7 @@ "chooseFile": "(es)Choose File", "notFileChosen": "(es)- Not file chosen -", "fileSizeTerms": "(es)Flie Name", - "fileSizeError": "(es)選択されたファイルのサイズが大きすぎます。サイズが5MB以下のファイルを選択してください。", + "fileSizeError": "(es)選択されたファイルのサイズが大きすぎます。サイズが?MB以下のファイルを選択してください。", "fileEmptyError": "(es)ファイル選択は必須です。ファイルを選択してください。" } }, @@ -450,13 +446,13 @@ "yourCategory": "(es)Your Category", "yourCountry": "(es)Your Country", "yourDealer": "(es)Your Dealer(Upper layer)", - "selectDealer": "(es)Select Dealer", + "selectDealer": "(es)-- Select Dealer --", "dealerManagement": "(es)Dealer Management", "administratorInformation": "(es)Administrator Information", "primaryAdministrator": "(es)Primary Administrator", "secondaryAdministrator": "(es)Secondary Administrator", "emailAddress": "(es)E-mail address", - "selectSecondaryAdministrator": "(es)Select Secondary Administrator", + "selectSecondaryAdministrator": "(es)-- Select Secondary Administrator --", "saveChanges": "(es)Save Changes", "deleteAccount": "(es)Delete Account" }, @@ -473,4 +469,4 @@ "cancelButton": "(es)Cancel" } } -} +} \ No newline at end of file diff --git a/dictation_client/src/translation/fr.json b/dictation_client/src/translation/fr.json index eacddf0..c311289 100644 --- a/dictation_client/src/translation/fr.json +++ b/dictation_client/src/translation/fr.json @@ -2,17 +2,15 @@ "common": { "message": { "inputEmptyError": "(fr)この項目の入力は必須です。入力してください。", - "passwordIncorrectError": "(fr)Error Message", - "emailIncorrectError": "(fr)Error Message", + "passwordIncorrectError": "(fr)入力されたパスワードがルールを満たしていません。下記のルールを満たすパスワードを入力してください。", + "emailIncorrectError": "(fr)メールアドレスの形式が不正です。正しいメールアドレスの形式で入力してください。", "internalServerError": "(fr)処理に失敗しました。時間をおいて再実行しても解決しない場合はシステム管理者にお問い合わせください。", - "permissionDeniedError": "(fr)操作を実行する権限がありません。", "listEmpty": "(fr)検索結果が0件です。", "dialogConfirm": "(fr)操作を実行しますか?", "success": "(fr)処理に成功しました。" }, "label": { "cancel": "(fr)Cancel", - "headerTitle": "(fr)ODMS Cloud", "copyRight": "(fr)OM Digital Solutions 2023", "edit": "(fr)Edit", "save": "(fr)Save", @@ -22,7 +20,8 @@ "tier2": "(fr)BC", "tier3": "(fr)Distributor", "tier4": "(fr)Dealer", - "tier5": "(fr)Customer" + "tier5": "(fr)Customer", + "notSelected": "(fr)-- None --" } }, "topPage": { @@ -51,7 +50,6 @@ }, "text": { "title": "(fr)Create your account", - "pageExplanation": "(fr)Explanation...", "accountInfoTitle": "(fr)Register your account information", "countryExplanation": "(fr) Please select your country or the nearest country.", "dealerExplanation": "(fr)Please select the dealer to purchase a license.", @@ -158,7 +156,6 @@ "LicenseSummaryPage": { "label": { "title": "(fr)License", - "subTitle": "(fr)EFGI Legal", "orderLicense": "(fr)Order License", "orderHistory": "(fr)Order History", "activateLicenseKey": "(fr)Activate License Key", @@ -339,7 +336,6 @@ "allocateLicensePopupPage": { "label": { "title": "(fr)License Allocation", - "personalInformation": "(fr)Personal Information", "email": "(fr)Email", "name": "(fr)Name", "authorID": "(fr)Author ID", @@ -349,7 +345,7 @@ "expirationDate": "(fr)Expiration date", "licenseInformation": "(fr)License Information", "licenseAvailable": "(fr)License available", - "dropDownHeading": "(fr)Select a license.", + "dropDownHeading": "(fr)-- Select a license. --", "oneYear": "(fr)One Year", "allocateLicense": "(fr)OK" }, @@ -421,7 +417,7 @@ "chooseFile": "(fr)Choose File", "notFileChosen": "(fr)- Not file chosen -", "fileSizeTerms": "(fr)Flie Name", - "fileSizeError": "(fr)選択されたファイルのサイズが大きすぎます。サイズが5MB以下のファイルを選択してください。", + "fileSizeError": "(fr)選択されたファイルのサイズが大きすぎます。サイズが?MB以下のファイルを選択してください。", "fileEmptyError": "(fr)ファイル選択は必須です。ファイルを選択してください。" } }, @@ -450,13 +446,13 @@ "yourCategory": "(fr)Your Category", "yourCountry": "(fr)Your Country", "yourDealer": "(fr)Your Dealer(Upper layer)", - "selectDealer": "(fr)Select Dealer", + "selectDealer": "(fr)-- Select Dealer --", "dealerManagement": "(fr)Dealer Management", "administratorInformation": "(fr)Administrator Information", "primaryAdministrator": "(fr)Primary Administrator", "secondaryAdministrator": "(fr)Secondary Administrator", "emailAddress": "(fr)E-mail address", - "selectSecondaryAdministrator": "(fr)Select Secondary Administrator", + "selectSecondaryAdministrator": "(fr)-- Select Secondary Administrator --", "saveChanges": "(fr)Save Changes", "deleteAccount": "(fr)Delete Account" }, @@ -473,4 +469,4 @@ "cancelButton": "(fr)Cancel" } } -} +} \ No newline at end of file