fixup: translation context

This commit is contained in:
Yifei Zhang
2023-04-02 18:02:03 +00:00
parent b85245e317
commit e3c3cd3d18
6 changed files with 25 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ const en: LocaleType = {
Close: "Close",
},
Lang: {
Name: "Language",
Name: "Language", // ATTENTION: if you wanna add a new translation, please do not translate this value, leave it as `Language`
Options: {
cn: "简体中文",
en: "English",
@@ -150,6 +150,11 @@ const en: LocaleType = {
Success: "Copied to clipboard",
Failed: "Copy failed, please grant permission to access clipboard",
},
Context: {
Toast: (x: any) => `With ${x} contextual prompts`,
Edit: "Contextual and Memory Prompts",
Add: "Add One",
},
};
export default en;