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
This commit is contained in:
H0llyW00dzZ 2023-11-12 00:53:15 +07:00
parent 295864d36b
commit 0f6ed9c293
No known key found for this signature in database
GPG Key ID: 05C7FFFC0845C930
4 changed files with 10 additions and 1 deletions

View File

@ -53,7 +53,7 @@ export function ExportMessageModal(props: { onClose: () => void }) {
opacity: 0.5, opacity: 0.5,
}} }}
> >
{Locale.Exporter.Description.Title}
</div> </div>
} }
> >

View File

@ -441,6 +441,9 @@ const cn = {
Config: "配置", Config: "配置",
}, },
Exporter: { Exporter: {
Description : {
Title: "只有清除上下文之后的消息会被展示"
},
Model: "模型", Model: "模型",
Messages: "消息", Messages: "消息",
Topic: "主题", Topic: "主题",

View File

@ -442,6 +442,9 @@ const en: LocaleType = {
Config: "Config", Config: "Config",
}, },
Exporter: { Exporter: {
Description: {
Title: "Only messages after clearing the context will be displayed"
},
Model: "Model", Model: "Model",
Messages: "Messages", Messages: "Messages",
Topic: "Topic", Topic: "Topic",

View File

@ -368,6 +368,9 @@ const id: PartialLocaleType = {
Edit: "Edit", Edit: "Edit",
}, },
Exporter: { Exporter: {
Description: {
Title: "Hanya pesan setelah menghapus konteks yang akan ditampilkan"
},
Model: "Model", Model: "Model",
Messages: "Pesan", Messages: "Pesan",
Topic: "Topik", Topic: "Topik",