From 28e6c03a57d4faa623d54118092c9fa4dfd2f33e Mon Sep 17 00:00:00 2001 From: H0llyW00dzZ Date: Sun, 12 Nov 2023 00:53:15 +0700 Subject: [PATCH] Feat UI/UX Page Local Language [Exporter Message] [+] fix(exporter.tsx): update the text in the ExportMessageModal component to use the localized title from the locale file [+] feat(cn.ts, en.ts, id.ts): add localized title for the Exporter Description in the respective locale files --- app/components/exporter.tsx | 2 +- app/locales/cn.ts | 3 +++ app/locales/en.ts | 3 +++ app/locales/id.ts | 3 +++ 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/app/components/exporter.tsx b/app/components/exporter.tsx index bc713f311a8..9537ad326a2 100644 --- a/app/components/exporter.tsx +++ b/app/components/exporter.tsx @@ -53,7 +53,7 @@ export function ExportMessageModal(props: { onClose: () => void }) { opacity: 0.5, }} > - 只有清除上下文之后的消息会被展示 + {Locale.Exporter.Description.Title} } > diff --git a/app/locales/cn.ts b/app/locales/cn.ts index c48b54b4482..4f21ca594f1 100644 --- a/app/locales/cn.ts +++ b/app/locales/cn.ts @@ -591,6 +591,9 @@ const cn = { Manage: "管理", }, Exporter: { + Description : { + Title: "只有清除上下文之后的消息会被展示" + }, Model: "模型", Messages: "消息", Topic: "主题", diff --git a/app/locales/en.ts b/app/locales/en.ts index 94c0e2fc110..f7a102aae7b 100644 --- a/app/locales/en.ts +++ b/app/locales/en.ts @@ -595,6 +595,9 @@ const en: LocaleType = { Manage: "Manage", }, Exporter: { + Description: { + Title: "Only messages after clearing the context will be displayed" + }, Model: "Model", Messages: "Messages", Topic: "Topic", diff --git a/app/locales/id.ts b/app/locales/id.ts index 6b38267c440..62310ed85de 100644 --- a/app/locales/id.ts +++ b/app/locales/id.ts @@ -522,6 +522,9 @@ const id: PartialLocaleType = { Manage: "Kelola", }, Exporter: { + Description: { + Title: "Hanya pesan setelah menghapus konteks yang akan ditampilkan" + }, Model: "Model", Messages: "Pesan", Topic: "Topik",