-
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
547 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"i18n-ally.localesPaths": ["locales"], | ||
"i18n-ally.keystyle": "flat", | ||
"i18n-ally.sourceLanguage": "en", | ||
"i18n-ally.editor.preferEditor": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,20 @@ | ||
import tools from "~/data/tools"; | ||
import getTools from "~/tools"; | ||
import { Tool } from "~~/tools/types"; | ||
|
||
// const reg = /^i18n.t\(['"](.*?)['"]\)$/; | ||
// function setI18n(object: Record<string, any>, t: any) { | ||
// for (const key in object) { | ||
// if (Object.prototype.hasOwnProperty.call(object, key)) { | ||
// const element = object[key]; | ||
// if (element.) | ||
// } | ||
// } | ||
// } | ||
|
||
export const useTools = () => { | ||
const { t } = useI18n(); | ||
const tools = ref(getTools(t)); | ||
return { | ||
tools: ref(tools), | ||
tools: tools, | ||
}; | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"search-placeholder": "Search a AI helper", | ||
"no-results-found-for-search": "No results found for “{0}”", | ||
"tool.coding_function.title": "Coding Function", | ||
"tool.coding_function.desc": "Coding function engineer", | ||
"tool.finding_bugs.title": "Find Bugs", | ||
"tool.finding_bugs.desc": "The QA...", | ||
"tool.okr_generator.title": "OKR generator", | ||
"tool.okr_generator.desc": "How to set OKRs? AI help.", | ||
"tool.redbook.title": "Little Red Book Copywriting Generator", | ||
"tool.redbook.desc": "Help you generate Little Red Book style copywriting.", | ||
"tool.translator.title": "AI Translator", | ||
"tool.translator.desc": "Is learning a foreign language difficult? AI can help you translate.", | ||
"tool.weekly_report.title": "Weekly Report", | ||
"tool.weekly_report.desc": "Don't feel like writing a weekly report? Let AI help you write it.", | ||
"chatgpt.settings.title": "Global Settings", | ||
"chatgpt.settings.hit": "Default is '{0}", | ||
"chatgpt.settings.save": "Save", | ||
"chatgpt.settings.reset": "Reset" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"search-placeholder": "搜索 AI 小助手", | ||
"no-results-found-for-search": "暂无 \"{0}\" 相关结果", | ||
"tool.coding_function.title": "写函数", | ||
"tool.coding_function.desc": "函数专家", | ||
"tool.finding_bugs.title": "找BUG", | ||
"tool.finding_bugs.desc": "真正的QA,往往...", | ||
"tool.okr_generator.title": "OKR 生成器", | ||
"tool.okr_generator.desc": "怎么定OKR?AI 帮你编", | ||
"tool.redbook.title": "小红书文案生成器", | ||
"tool.redbook.desc": "帮你生成小红书风格文案", | ||
"tool.translator.title": "AI 翻译器", | ||
"tool.translator.desc": "外语好难?AI 帮你翻译", | ||
"tool.weekly_report.title": "周报生成器", | ||
"tool.weekly_report.desc": "不想写周报?AI 帮你写", | ||
"chatgpt.settings.hit": "默认值为 \"{0}\"", | ||
"chatgpt.settings.reset": "重置", | ||
"chatgpt.settings.save": "保存", | ||
"chatgpt.settings.title": "全局设置" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.