Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Feat UI/UX Page Local Language [Exporter Message] #84

Merged
merged 1 commit into from
Nov 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
  • Loading branch information
H0llyW00dzZ committed Nov 11, 2023
commit 28e6c03a57d4faa623d54118092c9fa4dfd2f33e
2 changes: 1 addition & 1 deletion app/components/exporter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function ExportMessageModal(props: { onClose: () => void }) {
opacity: 0.5,
}}
>
只有清除上下文之后的消息会被展示
{Locale.Exporter.Description.Title}
</div>
}
>
Expand Down
3 changes: 3 additions & 0 deletions app/locales/cn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,9 @@ const cn = {
Manage: "管理",
},
Exporter: {
Description : {
Title: "只有清除上下文之后的消息会被展示"
},
Model: "模型",
Messages: "消息",
Topic: "主题",
Expand Down
3 changes: 3 additions & 0 deletions app/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions app/locales/id.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down