Skip to content

Commit 4965d2d

Browse files
committed
fix
1 parent 57b4179 commit 4965d2d

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

frontend/src/components/DialogConfirmClearConversations.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const DialogConfirmClearConversations: React.FC<Props> = (props) => {
3434
props.onDelete();
3535
}}
3636
className="bg-red-500 p-2 text-aws-font-color-white">
37-
{t('button.delete')}
37+
{t('button.deleteAll')}
3838
</Button>
3939
</div>
4040
</ModalDialog>

frontend/src/i18n/en/index.ts

+5-4
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ const translation = {
55
inputMessage: 'Send a message',
66
},
77
deleteDialog: {
8-
title: 'Delete confirmation',
8+
title: 'Delete?',
99
content: 'Are you sure to delete <Bold>{{title}}</Bold>?',
1010
},
1111
clearDialog: {
12-
title: '削除確認',
13-
content: 'Are you sure to delete all conversations?',
12+
title: 'Delete ALL?',
13+
content: 'Are you sure to delete ALL conversations?',
1414
},
1515
languageDialog: {
1616
title: 'Switch language',
@@ -21,11 +21,12 @@ const translation = {
2121
resend: 'Resend',
2222
regenerate: 'Regenerate',
2323
delete: 'Delete',
24+
deleteAll: 'Delete All',
2425
ok: 'OK',
2526
cancel: 'Cancel',
2627
menu: 'Menu',
2728
language: 'Language',
28-
clearConversation: 'Clear all conversations',
29+
clearConversation: 'Delete ALL conversations',
2930
signOut: 'Sign out',
3031
},
3132
error: {

frontend/src/i18n/ja/index.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ const translation: typeof en = {
77
inputMessage: '入力してください',
88
},
99
deleteDialog: {
10-
title: '削除確認',
10+
title: '削除',
1111
content: 'チャット「<Bold>{{title}}</Bold>」を削除しますか?',
1212
},
1313
clearDialog: {
14-
title: '削除確認',
14+
title: '削除',
1515
content: 'すべての会話履歴を削除しますか?',
1616
},
1717
languageDialog: {
@@ -23,6 +23,7 @@ const translation: typeof en = {
2323
resend: '再送信',
2424
regenerate: '再生成',
2525
delete: '削除',
26+
deleteAll: 'すべて削除',
2627
ok: 'OK',
2728
cancel: 'キャンセル',
2829
menu: 'Menu',

frontend/src/i18n/ko/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const translation: typeof en = {
2323
resend: '재전송',
2424
regenerate: '재생성',
2525
delete: '삭제',
26+
deleteAll: '모두 삭제',
2627
ok: '확인',
2728
cancel: '취소',
2829
menu: '메뉴',

frontend/src/i18n/zh/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const translation: typeof en = {
2323
resend: '重新发送',
2424
regenerate: '重新生成',
2525
delete: '删除',
26+
deleteAll: '全部删除',
2627
ok: '确定',
2728
cancel: '取消',
2829
menu: '菜单',

0 commit comments

Comments
 (0)