From 270122b135515d8a7d82103461fb6d9238ce18d2 Mon Sep 17 00:00:00 2001 From: "makabe.t" Date: Fri, 9 Feb 2024 01:05:15 +0000 Subject: [PATCH] =?UTF-8?q?Merged=20PR=20741:=20=E3=82=A2=E3=82=AB?= =?UTF-8?q?=E3=82=A6=E3=83=B3=E3=83=88=E6=83=85=E5=A0=B1=E7=94=BB=E9=9D=A2?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3=EF=BC=88=E4=BF=9D=E5=AD=98=E6=97=A5=E6=95=B0?= =?UTF-8?q?=E3=81=AE=E8=A1=A8=E7=A4=BA=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 概要 [Task3691: アカウント情報画面修正(保存日数の表示)](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/3691) - アカウント情報画面にファイルの保存日数を表示するよう修正しました。 - ファイル削除が設定されている場合は日数、されていない場合はハイフン表示となるようにしています。 ## レビューポイント - 画面イメージは想定通りでしょうか? - 表示する保存日数は想定通りの値でしょうか? ## UIの変更 - [Task3691](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/Task3691?csf=1&web=1&e=Gthaa8) ## 動作確認状況 - ローカルで確認 --- dictation_client/src/pages/AccountPage/index.tsx | 14 ++++++++++++++ dictation_client/src/translation/de.json | 5 +++-- dictation_client/src/translation/en.json | 5 +++-- dictation_client/src/translation/es.json | 5 +++-- dictation_client/src/translation/fr.json | 5 +++-- 5 files changed, 26 insertions(+), 8 deletions(-) diff --git a/dictation_client/src/pages/AccountPage/index.tsx b/dictation_client/src/pages/AccountPage/index.tsx index 1714b6c..bb3cf00 100644 --- a/dictation_client/src/pages/AccountPage/index.tsx +++ b/dictation_client/src/pages/AccountPage/index.tsx @@ -231,9 +231,23 @@ const AccountPage: React.FC = (): JSX.Element => { ) )} +
)} {!isTier5 &&
-
} +
+ {t( + getTranslationID("accountPage.label.fileRetentionDays") + )} +
+
+ {viewInfo.account.autoFileDelete + ? viewInfo.account.fileRetentionDays + : "-"} +
diff --git a/dictation_client/src/translation/de.json b/dictation_client/src/translation/de.json index ad4d910..17289e4 100644 --- a/dictation_client/src/translation/de.json +++ b/dictation_client/src/translation/de.json @@ -515,7 +515,8 @@ "emailAddress": "E-Mail-Addresse", "selectSecondaryAdministrator": "Sekundäradministrator auswählen", "saveChanges": "Änderungen speichern", - "deleteAccount": "Konto löschen" + "deleteAccount": "Konto löschen", + "fileRetentionDays": "(de)自動ファイル削除までの保持日数" }, "message": { "updateAccountFailedError": "Kontoinformationen konnten nicht gespeichert werden. Bitte aktualisieren Sie den Bildschirm und versuchen Sie es erneut." @@ -581,4 +582,4 @@ "daysValidationError": "(de)Daysには1~999の数字を入力してください。" } } -} +} \ No newline at end of file diff --git a/dictation_client/src/translation/en.json b/dictation_client/src/translation/en.json index 2fe0ccf..cdd73e7 100644 --- a/dictation_client/src/translation/en.json +++ b/dictation_client/src/translation/en.json @@ -515,7 +515,8 @@ "emailAddress": "Email Address", "selectSecondaryAdministrator": "Select Secondary Administrator", "saveChanges": "Save Changes", - "deleteAccount": "Delete Account" + "deleteAccount": "Delete Account", + "fileRetentionDays": "自動ファイル削除までの保持日数" }, "message": { "updateAccountFailedError": "Failed to save account information. Please refresh the screen and try again." @@ -581,4 +582,4 @@ "daysValidationError": "Daysには1~999の数字を入力してください。" } } -} +} \ No newline at end of file diff --git a/dictation_client/src/translation/es.json b/dictation_client/src/translation/es.json index e317bb7..2256420 100644 --- a/dictation_client/src/translation/es.json +++ b/dictation_client/src/translation/es.json @@ -515,7 +515,8 @@ "emailAddress": "Dirección de correo electrónico", "selectSecondaryAdministrator": "Seleccionar administrador secundario", "saveChanges": "Guardar cambios", - "deleteAccount": "Borrar cuenta" + "deleteAccount": "Borrar cuenta", + "fileRetentionDays": "(es)自動ファイル削除までの保持日数" }, "message": { "updateAccountFailedError": "No se pudo guardar la información de la cuenta. Actualice la pantalla e inténtelo de nuevo." @@ -581,4 +582,4 @@ "daysValidationError": "(es)Daysには1~999の数字を入力してください。" } } -} +} \ No newline at end of file diff --git a/dictation_client/src/translation/fr.json b/dictation_client/src/translation/fr.json index 7371245..403e693 100644 --- a/dictation_client/src/translation/fr.json +++ b/dictation_client/src/translation/fr.json @@ -515,7 +515,8 @@ "emailAddress": "Adresse e-mail", "selectSecondaryAdministrator": "Sélectionner le administrateur secondaire", "saveChanges": "Sauvegarder les modifications", - "deleteAccount": "Supprimer le compte" + "deleteAccount": "Supprimer le compte", + "fileRetentionDays": "(fr)自動ファイル削除までの保持日数" }, "message": { "updateAccountFailedError": "Échec de l'enregistrement des informations du compte. Veuillez actualiser l'écran et réessayer." @@ -581,4 +582,4 @@ "daysValidationError": "(fr)Daysには1~999の数字を入力してください。" } } -} +} \ No newline at end of file