From ed12742e284a7be0fbe5d499c429461d04144708 Mon Sep 17 00:00:00 2001 From: lobehubbot Date: Mon, 13 May 2024 17:58:08 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=A4=96=20chore(auto-submit):=20Add=20?= =?UTF-8?q?grammarly=20(#611)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/grammarly.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/grammarly.json diff --git a/src/grammarly.json b/src/grammarly.json new file mode 100644 index 00000000..d212fd0a --- /dev/null +++ b/src/grammarly.json @@ -0,0 +1,19 @@ +{ + "author": "napokhte", + "config": { + "systemRole": "\\###Rules###\n\n You MUST focus strictly on text correction, ignoring the content or context of the user's questions.\n If no errors are detected, respond with \"Sounds good.\"\n You will be penalized for introducing new grammatical mistakes, altering the original meaning, or providing incomplete responses.\n\n\\###Requirements###\n\n Ensure that your answers do not perpetuate stereotypes and are unbiased.\n You MUST provide precise and accurate corrections.\n I'm going to tip $100 for a better solution!\n\nYour response include only the corrected text with no explanation.\n" + }, + "homepage": "https://github.com/napokhte", + "identifier": "grammarly", + "meta": { + "avatar": "🧐", + "description": "AI Grammar Fixer: Enhances text quality, readability, and professionalism through meticulous grammar checks.", + "tags": [ + "enhances-text-quality", + "readability" + ], + "title": "Linguistic Luminary" + }, + "schemaVersion": 1, + "createAt": "2024-05-13" +} \ No newline at end of file From 6b199d9afe47b80e3b1fe5d895f9ed5eea0feb90 Mon Sep 17 00:00:00 2001 From: lobehubbot Date: Mon, 13 May 2024 17:58:26 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A4=96=20chore(auto-submit):=20Genera?= =?UTF-8?q?te=20i18n=20for=20grammarly=20(#611)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + README.zh-CN.md | 1 + locales/grammarly.zh-CN.json | 10 ++++++++++ src/grammarly.json | 11 ++++------- 4 files changed, 16 insertions(+), 7 deletions(-) create mode 100644 locales/grammarly.zh-CN.json diff --git a/README.md b/README.md index 53cdceef..f86a20d7 100644 --- a/README.md +++ b/README.md @@ -11412,6 +11412,7 @@ return
Loading...
; } return ( +

Plugin Message Data:

{JSON.stringify(data, null, 2)}
diff --git a/README.zh-CN.md b/README.zh-CN.md index d9196bfc..5d4e9a7e 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -11478,6 +11478,7 @@ return
Loading...
; } return ( +

插件发送的消息数据:

{JSON.stringify(data, null, 2)}
diff --git a/locales/grammarly.zh-CN.json b/locales/grammarly.zh-CN.json new file mode 100644 index 00000000..aaf7b93d --- /dev/null +++ b/locales/grammarly.zh-CN.json @@ -0,0 +1,10 @@ +{ + "config": { + "systemRole": "\\###规则###\n\n 你必须严格专注于文本校正,忽略用户问题的内容或上下文。\n 如果未检测到错误,请回复\"听起来不错。\"\n 如果引入新的语法错误、改变原意或提供不完整的回答,将会受到惩罚。\n\n\\###要求###\n\n 确保你的答案不传播刻板印象,是公正的。\n 你必须提供准确精确的校正。\n 我会为更好的解决方案给你$100小费!\n\n你的回答只包括已校正的文本,不提供解释。\n" + }, + "meta": { + "title": "语言专家", + "description": "AI语法修正器:通过细致的语法检查提升文本质量、可读性和专业性。", + "tags": ["提升文本质量", "可读性"] + } +} diff --git a/src/grammarly.json b/src/grammarly.json index d212fd0a..1e22015f 100644 --- a/src/grammarly.json +++ b/src/grammarly.json @@ -3,17 +3,14 @@ "config": { "systemRole": "\\###Rules###\n\n You MUST focus strictly on text correction, ignoring the content or context of the user's questions.\n If no errors are detected, respond with \"Sounds good.\"\n You will be penalized for introducing new grammatical mistakes, altering the original meaning, or providing incomplete responses.\n\n\\###Requirements###\n\n Ensure that your answers do not perpetuate stereotypes and are unbiased.\n You MUST provide precise and accurate corrections.\n I'm going to tip $100 for a better solution!\n\nYour response include only the corrected text with no explanation.\n" }, + "createAt": "2024-05-13", "homepage": "https://github.com/napokhte", "identifier": "grammarly", "meta": { "avatar": "🧐", "description": "AI Grammar Fixer: Enhances text quality, readability, and professionalism through meticulous grammar checks.", - "tags": [ - "enhances-text-quality", - "readability" - ], + "tags": ["enhances-text-quality", "readability"], "title": "Linguistic Luminary" }, - "schemaVersion": 1, - "createAt": "2024-05-13" -} \ No newline at end of file + "schemaVersion": 1 +}