Skip to content

Commit

Permalink
Feat UI/UX Page Local Language [Exporter Message]
Browse files Browse the repository at this point in the history
[+] 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
1 parent 295864d commit 0f6ed9c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
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 @@ -441,6 +441,9 @@ const cn = {
Config: "配置",
},
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 @@ -442,6 +442,9 @@ const en: LocaleType = {
Config: "Config",
},
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 @@ -368,6 +368,9 @@ const id: PartialLocaleType = {
Edit: "Edit",
},
Exporter: {
Description: {
Title: "Hanya pesan setelah menghapus konteks yang akan ditampilkan"
},
Model: "Model",
Messages: "Pesan",
Topic: "Topik",
Expand Down

0 comments on commit 0f6ed9c

Please sign in to comment.