saito.k 4565d59a51 Merged PR 301: ユーザー追加修正(API/画面)
## 概要
[Task2327: ユーザー追加修正(API/画面)](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/2327)

- ユーザー追加API
  - リクエストにencryption,encryptionPassword,promptを追加
  - リクエストからtypistGroupIdを削除
  - ロールに応じてDBに保存するデータを作成する処理を追加
  - リクエストパラメータのバリデーションチェックを追加
- ユーザー追加画面
  - TypistGroupの選択欄を削除
  - RoleがAuthorの場合、encryption,encryptionPassword,promptを追加

## レビューポイント
- 修正に不足はないか
- 画面のユーザー追加処理を引数を渡さずにstoreから取得するようにしたが問題ないか
- 画面に必要な値をまとめて取るようにしたが問題ないか
- デザインに差異はないか

## UIの変更
- https://ndstokyo.sharepoint.com/:f:/r/sites/Piranha/Shared%20Documents/General/OMDS/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88/Task2327?csf=1&web=1&e=uvTYlb

## 動作確認状況
- ローカルで確認

## 補足
- 相談、参考資料などがあれば
2023-08-07 00:11:54 +00:00

329 lines
13 KiB
JSON

{
"common": {
"message": {
"inputEmptyError": "Error Message",
"passwordIncorrectError": "Error Message",
"emailIncorrectError": "Error Message",
"internalServerError": "処理に失敗しました。時間をおいて再実行しても解決しない場合はシステム管理者にお問い合わせください。",
"listEmpty": "検索結果が0件です。",
"dialogConfirm": "操作を実行しますか?",
"success": "処理に成功しました。"
},
"label": {
"cancel": "Cancel",
"headerTitle": "ODMS Cloud",
"copyRight": "OM Digital Solutions 2023",
"tier1": "Admin",
"tier2": "BC",
"tier3": "Distributor",
"tier4": "Dealer",
"tier5": "Customer"
}
},
"topPage": {
"message": {
"logout": "ログイン有効期限が切れました。再度ログイン手続きを行ってください。"
},
"label": {
"displayLanguage": "Display language",
"languageEnglish": "English",
"languageGerman": "German",
"languageSpanish": "Spanish",
"languageFrench": "French",
"alreadyHaveAccount": "Already have an account?",
"signInButton": "Sign in",
"newUser": "New user?",
"signUpButton": "Create a new account",
"logoAlt": "OM Dictation Management System in the Cloud"
}
},
"signupPage": {
"message": {
"inputEmptyError": "この項目の入力は必須です。入力してください。",
"passwordIncorrectError": "入力されたパスワードがルールを満たしていません。下記のルールを満たすパスワードを入力してください。",
"emailIncorrectError": "メールアドレスの形式が不正です。正しいメールアドレスの形式で入力してください。"
},
"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.",
"adminInfoTitle": "Register primary administrator's information",
"passwordTerms": "Please set a password or issue an initial password.\nThe password must be more than 8 or less than 64 letters,numbers and symbols."
},
"label": {
"company": "Company Name",
"country": "Country",
"dealer": "Dealer",
"adminName": "Admin Name",
"email": "Email",
"password": "Password",
"termsLink": "Click here to read the terms of use",
"termsLinkFor": "for ODDS.",
"termsCheckBox": "Yes, I agree to the terms of use.",
"createAccountButton": "Create account"
}
},
"signupConfirmPage": {
"message": {
"emailConflictError": "このメールアドレスは既に登録されています。他のメールアドレスで登録してください。"
},
"text": {
"title": "Confirmation",
"pageExplanation": "Explanation ......",
"accountInfoTitle": "Your account information",
"adminInfoTitle": "Primary administrator's information"
},
"label": {
"company": "Company Name",
"country": "Country",
"dealer": "Dealer (Optional)",
"adminName": "Admin Name",
"email": "Email",
"password": "Password",
"signupButton": "Sign up"
}
},
"signupCompletePage": {
"text": {
"createdInfo": "Your account has been created and a verification email has been set to your registered email address. Please click on the verification link included in the email to activate your account."
},
"label": {
"title": "Account created"
}
},
"signupVerifyPage": {
"text": {
"verifySuccess": "You have successfully verified the account.",
"faild": "The verification url does not match. Please try again,\nor click on the link below to receive a new verification mail.",
"alreadySuccess": "Your account has already been verified."
},
"label": {
"verifySuccess": "Verified!",
"faild": "Verification failed",
"alreadySuccess": "Already Verified!",
"returnToSignIn": "Return to Sign in"
}
},
"userListPage": {
"message": {
"addUserSuccess": "メールアドレス宛に認証用メールを送信しました。",
"authorIdConflictError": "このAuthor IDは既に登録されています。他のAuthor IDで登録してください。",
"authorIdIncorrectError": "Author IDの形式が不正です。Author IDは半角英数字(大文字)と\"_\"のみ入力可能です。",
"encryptionPasswordCorrectError": "EncryptionPasswordがルールを満たしていません。"
},
"label": {
"title": "User",
"addUser": "Add User",
"edit": "Edit",
"delete": "Delete",
"licenseAllocation": "License Allocation",
"name": "Name",
"role": "Role",
"authorID": "Author ID",
"typistGroup": "Typist Group",
"email": "Email",
"status": "Status",
"expiration": "Expiration",
"remaining": "Remaining",
"autoRenew": "Auto renew",
"licenseAlert": "License alert",
"notification": "Notification",
"users": "users",
"of": "of",
"personal": "Personal information",
"setting": "Setting",
"selectGroup": "Select group",
"addToGroup": "Add to group (Optional)",
"author": "Author",
"transcriptionist": "Transcriptionist",
"encryption": "Encryption",
"prompt": "Prompt",
"emailVerified": "Email Verified",
"editUser": "Edit User",
"licenseDeallocation": "License Deallocation",
"deleteUser": "Delete User",
"none": "None",
"encryptionPassword": "Password:",
"encryptionPasswordTerm": "Please set your password using 4 to 16 ASCII characters.\nYour password may include letters, numbers, and symbols."
}
},
"LicenseSummaryPage": {
"label": {
"title": "License",
"subTitle": "EFGI Legal",
"orderLicense": "Order License",
"orderHistory": "Order History",
"activateLicenseKey": "Activate License Key",
"totalLicense": "Total license",
"allocatedLicense": "Allocated license",
"reusableLicense": "Reusable license",
"freeLicense": "Free license",
"expiringWithin14daysLicense": "Expiring within 14days license",
"issueRequesting": "Issue Requesting",
"numberOfRequesting": "Number of Requesting",
"shortage": "Shortage",
"storageSize": "Storage Size",
"usedSize": "Used Size",
"storageAvailable": "Storage Available"
}
},
"licenseOrderPage": {
"message": {
"inputEmptyError": "この項目の入力は必須です。入力してください。",
"poNumberIncorrectError": "PO Numberの形式が不正です。PO Numberは半角英数字(大文字)のみ入力可能です。",
"newOrderIncorrectError": "New Orderには1以上の数字を入力してください。",
"confirmOrder": "注文を行いますか?",
"poNumberConflictError": "既に同じPO Numberで注文済みもしくは発行済みの注文が存在しています。他のPO Numberで注文してください。"
},
"label": {
"title": "Order License",
"licenses": "Licenses",
"poNumber": "PO Number",
"newOrder": "New Order",
"orderButton": "Order",
"licenseTypeText": "One year"
}
},
"dictationPage": {
"message": {
"noPlaybackAuthorization": "本タスクをPlayBackできる権限がありません。",
"taskToPlaybackNoExists": "タスクがすでに文字起こし完了済みまたは存在しないため、PlayBackできません。",
"taskNotEditable": "すでに文字起こし作業着手中またはタスクが存在しないため、タイピストを変更できません。"
},
"label": {
"title": "Dictations",
"displayInfomation": "Display Information",
"jobNumber": "Job Number",
"status": "Status",
"priority": "Priority",
"encryption": "Encryption",
"authorId": "Author ID",
"workType": "WorkType",
"fileName": "File Name",
"fileLength": "File Length",
"fileSize": "File size",
"recordingStartedDate": "Recording started date",
"recordingFinishedDate": "Recording finished date",
"uploadDate": "Upload date",
"transcriptionStartedDate": "Transcription start date",
"transcriptionFinishedDate": "Transcription finished date",
"transcriptionist": "Transcriptionist",
"comment": "Comment",
"optionItem1": "OptionItem1",
"optionItem2": "OptionItem2",
"optionItem3": "OptionItem3",
"optionItem4": "OptionItem4",
"optionItem5": "OptionItem5",
"optionItem6": "OptionItem6",
"optionItem7": "OptionItem7",
"optionItem8": "OptionItem8",
"optionItem9": "OptionItem9",
"optionItem10": "OptionItem10",
"filter": "Filter",
"uploaded": "Uploaded",
"inProgress": "InProgress",
"finished": "Finished",
"pending": "Pending",
"backup": "Backup",
"playback": "Playback",
"fileProperty": "File Property",
"changeTranscriptionist": "Change Transcriptionist",
"deleteDictation": "Delete Dictation",
"selectedTranscriptionist": "Selected",
"poolTranscriptionist": "Pool",
"saveChanges": "Save changes"
}
},
"cardLicenseIssuePopupPage": {
"label": {
"title": "License Card",
"subTitle": "Card License Creation",
"number": "Number of create licenses",
"createButton": "Create"
},
"message": {
"createSuccess": "処理に成功しました。ファイルのダウンロードが完了するまでお待ちください。",
"createNumberIncorrectError": "Number of create licensesには1以上の数字を入力してください。"
}
},
"partnerLicensePage": {
"label": {
"cardLicenseButton": "License Card"
}
},
"cardLicenseActivatePopupPage": {
"label": {
"title": "Activate License Key",
"keyNumber": "Key number",
"activateButton": "activate",
"keyNumberIncorrectError": "Key Numberには20桁の半角大文字英数字を入力してください。"
},
"message": {
"LicenseKeyNotExistError": "入力されたライセンスキーは存在しません。ライセンスキーを再度お確かめください。",
"LicenseKeyAlreadyActivatedError": "入力されたライセンスキーは、既に有効化されています。ライセンスキーを再度お確かめください。"
}
},
"addPartnerAccountPopupPage": {
"message": {
"addAccountSuccess": "メールアドレス宛に認証用メールを送信しました。",
"inputEmptyError": "この項目の入力は必須です。入力してください。",
"emailIncorrectError": "メールアドレスの形式が不正です。正しいメールアドレスの形式で入力してください。",
"emailConflictError": "このメールアドレスは既に登録されています。他のメールアドレスで登録してください。"
},
"text": {
"title": "Add account",
"accountInfoTitle": "Register account information",
"countryExplanation": "Please select country or the nearest country.",
"adminInfoTitle": "Register primary administrator's information"
},
"label": {
"company": "Company Name",
"country": "Country",
"adminName": "Admin Name",
"email": "Email",
"createAccountButton": "Add account"
}
},
"partnerLicense": {
"label": {
"title": "License",
"subTitle": "License for partners",
"returnButton": "Return",
"orderLicenseButton": "Order License",
"orderHistoryButton": "Order History",
"IssueLicenseCardButton": "License Card",
"displayCardHistoryButton": "Card History",
"name": "Name",
"category": "Category",
"accountId": "Account ID",
"stockLicense": "Stock license",
"issueRequested": "Issue Requested",
"shortage": "Shortage",
"issueRequesting": "Issue Requesting",
"viewDetails": "View details",
"accounts": "accounts"
}
},
"orderHistoriesPage": {
"label": {
"title": "License",
"subTitle": "EFGI Legal",
"orderHistory": "Order History",
"return": "Return",
"orderDate": "Order date",
"issueDate": "Issue date",
"numberOfOrder": "Number of Order",
"poNumber": "PO Number",
"status": "Status",
"issueRequesting": "Issue Requesting",
"issued": "Issued",
"orderCanceled": "Order Canceled",
"issue": "Issue",
"issueCancel": "Issue Cancel",
"orderCancel": "Order Cancel"
}
}
}