Skip to content
This repository was archived by the owner on Mar 18, 2023. It is now read-only.

Commit 4da1bfc

Browse files
committed
refactor: make it works
1 parent d8c4ff5 commit 4da1bfc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+19
-641
lines changed

i18n/en-US/$.json

+1-16
Original file line numberDiff line numberDiff line change
@@ -1,16 +1 @@
1-
{
2-
"chatgpt-general": "ChatGPT Common Commands",
3-
"chatgpt-prompt-role-play": "ChatGPT Role Play",
4-
"chatgpt-generator-cot": "ChatGPT COT Mode",
5-
"chatgpt-interactive-game": "ChatGPT Interactive Game",
6-
"chatgpt-samples": "ChatGPT Samples",
7-
"click-flow": "ClickFlow",
8-
"chatgpt": "ChatGPT Chat Room",
9-
"stable-diffusion-examples": "StableDiffusion Examples",
10-
"stable-diffusion-generator": "AI Painting Generator",
11-
"stable-diffusion-deepdanbooru": "DeepDanbooru Image Tag Estimation",
12-
"github-copilot-samples": "GitHub Copilot Samples",
13-
"chatgpt-programming": "Programming",
14-
"resources": "Learning Resources",
15-
"chatgpt-visual-novel": "ChatGPT Visual Novel"
16-
}
1+
{}

i18n/en-US/_.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"title": "Streamline your prompt design",
3-
"description": "ClickPrompt is a tool designed for Prompt writers that supports a variety of Prompt-based AI applications such as Stable Diffusion, ChatGPT, and GitHub Copilot. With ClickPrompt, you can easily view, share, and run these models with one click, while providing an online Prompt generator that allows users to easily create compliant Prompt based on their needs and share it with others."
2+
"create-new-steps": "Create new Flow",
3+
"view-here": "View here"
44
}

i18n/zh-CN/$.json

-14
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,2 @@
11
{
2-
"chatgpt-general": "ChatGPT 常用指令",
3-
"chatgpt-prompt-role-play": "ChatGPT 角色扮演",
4-
"chatgpt-generator-cot": "ChatGPT 思维链模式",
5-
"chatgpt-interactive-game": "ChatGPT 交互式游戏",
6-
"chatgpt-samples": "ChatGPT 示例",
7-
"click-flow": "ClickFlow",
8-
"chatgpt": "ChatGPT 聊天室",
9-
"stable-diffusion-examples": "StableDiffusion 示例",
10-
"stable-diffusion-generator": "AI 绘画生成器",
11-
"stable-diffusion-deepdanbooru": "DeepDanbooru 图片标签分析",
12-
"github-copilot-samples": "GitHub Copilot 示例",
13-
"chatgpt-programming": "编程",
14-
"resources": "学习资料",
15-
"chatgpt-visual-novel": "ChatGPT 视觉小说"
162
}

i18n/zh-CN/_.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"title": "Streamline your prompt design",
3-
"description": "ClickPrompt 是一款专为 Prompt 编写者设计的工具,它支持多种基于 Prompt 的 AI 应用,例如 Stable Diffusion、ChatGPT 和 GitHub Copilot 等。 使用 ClickPrompt,您可以轻松地查看、分享和一键运行这些模型,同时提供在线的 Prompt 生成器,使用户能够根据自己的需求轻松创建符合要求的 Prompt,并与其他人分享。"
2+
"create-new-steps": "创建新的 逐步运行",
3+
"view-here": "详细展开"
44
}

src/app/[lang]/page.tsx

+10-11
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
import React from "react";
2-
import { Box, Container } from "@/components/ChakraUI";
32
import { getAppData } from "@/i18n";
3+
import StartlingByEachStepList from "@/app/[lang]/click-flow/page.client";
44

55
async function Page() {
6-
const { i18n } = await getAppData();
7-
const t = i18n.tFactory("/");
6+
const { locale, pathname, i18n } = await getAppData();
7+
const i18nProps: GeneralI18nProps = {
8+
locale,
9+
pathname,
10+
i18n: {
11+
dict: i18n.dict,
12+
},
13+
};
814

9-
return (
10-
<Box mb={ 20 }>
11-
<Box as='section' pt='6rem' pb={ { base: "0", md: "5rem" } }>
12-
<Container>
13-
</Container>
14-
</Box>
15-
</Box>
16-
);
15+
return <StartlingByEachStepList {...i18nProps} />;
1716
}
1817

1918
export default Page;

src/assets/chatgpt/flow/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
index.json

src/assets/chatgpt/flow/code-review.yml

-54
This file was deleted.

0 commit comments

Comments
 (0)