mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-10 05:30:02 +08:00
feat: add i18n for mask
This commit is contained in:
@@ -31,6 +31,10 @@ const en: LocaleType = {
|
||||
return inputHints + ", / to search prompts";
|
||||
},
|
||||
Send: "Send",
|
||||
Config: {
|
||||
Reset: "Reset to Default",
|
||||
SaveAs: "Save as Mask",
|
||||
},
|
||||
},
|
||||
Export: {
|
||||
Title: "All Messages",
|
||||
@@ -70,6 +74,7 @@ const en: LocaleType = {
|
||||
},
|
||||
Lang: {
|
||||
Name: "Language", // ATTENTION: if you wanna add a new translation, please do not translate this value, leave it as `Language`
|
||||
All: "All Languages",
|
||||
Options: {
|
||||
cn: "简体中文",
|
||||
en: "English",
|
||||
@@ -178,7 +183,40 @@ const en: LocaleType = {
|
||||
Context: {
|
||||
Toast: (x: any) => `With ${x} contextual prompts`,
|
||||
Edit: "Contextual and Memory Prompts",
|
||||
Add: "Add One",
|
||||
Add: "Add a Prompt",
|
||||
},
|
||||
Mask: {
|
||||
Page: {
|
||||
Title: "Prompt Template",
|
||||
SubTitle: (count: number) => `${count} prompt templates`,
|
||||
Search: "Search Templates",
|
||||
Create: "Create",
|
||||
},
|
||||
Item: {
|
||||
Info: (count: number) => `${count} prompts`,
|
||||
Chat: "Chat",
|
||||
View: "View",
|
||||
Edit: "Edit",
|
||||
Delete: "Delete",
|
||||
DeleteConfirm: "Confirm to delete?",
|
||||
},
|
||||
EditModal: {
|
||||
Title: (readonly: boolean) =>
|
||||
`Edit Prompt Template ${readonly ? "(readonly)" : ""}`,
|
||||
Download: "Download",
|
||||
Clone: "Clone",
|
||||
},
|
||||
Config: {
|
||||
Avatar: "Bot Avatar",
|
||||
Name: "Bot Name",
|
||||
},
|
||||
},
|
||||
NewChat: {
|
||||
Return: "Return",
|
||||
Skip: "Skip",
|
||||
Title: "Pick a Mask",
|
||||
SubTitle: "Chat with the Soul behind the Mask",
|
||||
More: "Find More",
|
||||
},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user