translateToZh (#342)

This commit is contained in:
josc146
2023-06-12 22:54:48 +08:00
parent a0c19d7df7
commit ad4f1c948c
5 changed files with 11 additions and 0 deletions
@@ -26,6 +26,13 @@ export const config = {
return `Translate the following into English and only show me the translated content:\n${selection}`
},
},
translateToZh: {
icon: <Globe />,
label: 'Translate (To Chinese)',
genPrompt: async (selection) => {
return `Translate the following into Chinese and only show me the translated content:\n${selection}`
},
},
translateBidi: {
icon: <Globe />,
label: 'Translate (Bidirectional)',