Skip to content

Let's use AI to Earn!

多语言配置

daoyian8967beeb8740
diff --git a/@types/resources.d.ts b/@types/resources.d.ts
index a7702885..61a9b485 100644
--- a/@types/resources.d.ts
+++ b/@types/resources.d.ts
@@ -776,7 +776,8 @@ interface Resources {
"view": "查看",
"edit": "编辑",
"delete": "删除",
- "link": "链接"
+ "link": "链接",
+ "change": "更改"
},
"stats": {
"followers": "关注者",
@@ -838,7 +839,8 @@ interface Resources {
"followers": "关注者",
"owner": "拥有者",
"yes": "是",
- "no": "否"
+ "no": "否",
+ "selected": "当前选择"
},
"empty": {
"noBoards": "暂无Board",
@@ -865,7 +867,8 @@ interface Resources {
"selectImageFile": "请选择图片文件",
"imageSizeLimit": "图片大小不能超过10MB",
"imageUploadSuccess": "图片上传成功",
- "imageUploadFailed": "图片上传失败,请重试"
+ "imageUploadFailed": "图片上传失败,请重试",
+ "noAccountFound": "没有找到Pinterest账户"
},
"validation": {
"boardNameRequired": "请输入Board名称",
diff --git a/src/app/[lng]/pricing/redme.txt b/src/app/[lng]/pricing/redme.txt
new file mode 100644
index 00000000..37e95a78
--- /dev/null
+++ b/src/app/[lng]/pricing/redme.txt
@@ -0,0 +1,41 @@
+Frequently Asked Questions (FAQ)
+1. What payment methods do you support?
+ We support multiple payment methods, including major credit cards (Visa, MasterCard, American Express) as well as Alipay.
+2. Can I use Alipay?
+ Yes. If you are using our services in China, you can purchase one-time services with Alipay.
+3. How are credits deducted for image and video generation?
+ Our pricing for image and video generation is aligned with the official channels. If bulk purchases from the official channels come with discounts, we will also pass those discounts on to you.
+AI视频模块升级
+4. Do my credits expire?
+ Our credit expiration policy is very flexible. Credits will only expire 12 calendar months after they are acquired, giving you plenty of time to use them.
+5. What if I need more credits?
+ You can earn free credits by publishing content daily.
+ In addition, you can get more credits by subscribing to a membership or purchasing credits directly.
+6. How can I check my credit status?
+ Simply click on your credit balance to view detailed changes and usage history.
+7. Are there any hidden fees?
+ No. The price you see is the price you pay. There are no hidden charges beyond the plan you select.
+
+
+
+
+---
+
+常见问题(FAQ)
+1. 你们支持哪些支付方式?
+ 我们支持多种支付方式,包括主要的信用卡(Visa、MasterCard、American Express)以及支付宝等。
+2. 可以使用支付宝吗?
+ 可以。如果您在中国使用我们的服务,可以通过支付宝购买一次性服务。
+3. 图片和视频生成时,积分是如何扣除的?
+ 我们的图片和视频生成定价与官方渠道保持一致。通常情况下,如果官方渠道有大额采购折扣,我们也会同步将这些优惠让利给您。
+把积分详情表展示给用户看
+AI视频模块升级
+4. 我的积分会过期吗?
+ 我们的积分过期机制非常宽松。积分自获取之日起 12 个自然月后才会过期,您有充足的时间使用。
+5. 如果我需要更多积分怎么办?
+ 您可以通过每天发布内容来获取免费积分。
+ 同时,也可以通过开通会员或直接购买积分的方式获得更多积分。
+6. 如何查看我的积分情况?
+ 点击您的积分余额,即可查看积分的变更明细。
+7. 是否存在隐藏费用?
+ 没有。您所看到的价格就是您最终支付的价格,不会有任何额外的隐性收费。
\ No newline at end of file
diff --git a/src/app/i18n/locales/en/pinterest.json b/src/app/i18n/locales/en/pinterest.json
index c066b641..8ad83e6b 100644
--- a/src/app/i18n/locales/en/pinterest.json
+++ b/src/app/i18n/locales/en/pinterest.json
@@ -13,7 +13,8 @@
"view": "View",
"edit": "Edit",
"delete": "Delete",
- "link": "Link"
+ "link": "Link",
+ "change": "Change"
},
"stats": {
"followers": "Followers",
@@ -38,7 +39,7 @@
},
"pin": {
"createTitle": "Create New Pin",
- "selectBoard": "Select Board",
+ "selectBoard": "Pinning To",
"selectBoardPlaceholder": "Select board to publish to",
"uploadImage": "Upload Image",
"uploadImagePlaceholder": "Click to upload image to OSS",
@@ -75,7 +76,8 @@
"followers": "Followers",
"owner": "Owner",
"yes": "Yes",
- "no": "No"
+ "no": "No",
+ "selected": "Selected"
},
"empty": {
"noBoards": "No boards",
@@ -102,7 +104,8 @@
"selectImageFile": "Please select an image file",
"imageSizeLimit": "Image size cannot exceed 10MB",
"imageUploadSuccess": "Image uploaded successfully",
- "imageUploadFailed": "Image upload failed, please try again"
+ "imageUploadFailed": "Image upload failed, please try again",
+ "noAccountFound": "No Pinterest account found"
},
"validation": {
"boardNameRequired": "Please enter board name",
diff --git a/src/app/i18n/locales/zh-CN/pinterest.json b/src/app/i18n/locales/zh-CN/pinterest.json
index 8c2bef23..ef035704 100644
--- a/src/app/i18n/locales/zh-CN/pinterest.json
+++ b/src/app/i18n/locales/zh-CN/pinterest.json
@@ -13,7 +13,8 @@
"view": "查看",
"edit": "编辑",
"delete": "删除",
- "link": "链接"
+ "link": "链接",
+ "change": "更改"
},
"stats": {
"followers": "关注者",
@@ -75,7 +76,8 @@
"followers": "关注者",
"owner": "拥有者",
"yes": "是",
- "no": "否"
+ "no": "否",
+ "selected": "当前选择"
},
"empty": {
"noBoards": "暂无Board",
@@ -102,7 +104,8 @@
"selectImageFile": "请选择图片文件",
"imageSizeLimit": "图片大小不能超过10MB",
"imageUploadSuccess": "图片上传成功",
- "imageUploadFailed": "图片上传失败,请重试"
+ "imageUploadFailed": "图片上传失败,请重试",
+ "noAccountFound": "没有找到Pinterest账户"
},
"validation": {
"boardNameRequired": "请输入Board名称",
diff --git a/src/components/PublishDialog/compoents/PlatParamsSetting/plats/PinterestParams.tsx b/src/components/PublishDialog/compoents/PlatParamsSetting/plats/PinterestParams.tsx
index fae7f4b6..210ceb3b 100644
--- a/src/components/PublishDialog/compoents/PlatParamsSetting/plats/PinterestParams.tsx
+++ b/src/components/PublishDialog/compoents/PlatParamsSetting/plats/PinterestParams.tsx
@@ -19,7 +19,7 @@ import { PlatType } from "@/app/config/platConfig";
const PinterestParams = memo(
forwardRef(
({ pubItem }: IPlatsParamsProps, ref: ForwardedRef<IPlatsParamsRef>) => {
- const { t } = useTransClient("publish");
+ const { t } = useTransClient("pinterest");
const { pubParmasTextareaCommonParams, setOnePubParams } =
usePlatParamsCommon(pubItem);
const { getPinterestBoards, pinterestBoards } =
@@ -81,7 +81,7 @@ const PinterestParams = memo(
// 创建新Board
const handleCreateBoard = async () => {
if (!newBoardName.trim()) {
- message.error("请输入Board名称");
+ message.error(t("validation.boardNameRequired"));
return;
}
@@ -90,7 +90,7 @@ const PinterestParams = memo(
.accountList.find((v) => v.type === PlatType.Pinterest);
if (!pinterestAccount) {
- message.error("没有找到Pinterest账户");
+ message.error(t("messages.noAccountFound"));
return;
}
@@ -102,15 +102,15 @@ const PinterestParams = memo(
);
if (response?.code === 0) {
- message.success("Board创建成功");
+ message.success(t("messages.boardCreateSuccess"));
setNewBoardName("");
// 重新获取Board列表
await getPinterestBoards(true);
} else {
- message.error("创建Board失败");
+ message.error(t("messages.boardCreateFailed"));
}
} catch (error) {
- message.error("创建Board失败");
+ message.error(t("messages.boardCreateFailed"));
} finally {
setCreatingBoard(false);
}
@@ -142,7 +142,7 @@ const PinterestParams = memo(
className={styles.commonTitleInput}
style={{ marginTop: "10px" }}
>
- <div className="platParamsSetting-label">Pinning</div>
+ <div className="platParamsSetting-label">{t("pin.selectBoard")}</div>
<div style={{ display: "flex", alignItems: "center", gap: "8px" }}>
<Button
icon={<PushpinOutlined />}
@@ -150,14 +150,14 @@ const PinterestParams = memo(
border: "none"
}}
>
- {selectedBoard?.name || "请选择Board"}
+ {selectedBoard?.name || t("pin.selectBoardPlaceholder")}
</Button>
<Tooltip
title={
<div style={{ maxHeight: "400px", overflow: "auto" }}>
<div style={{ marginBottom: "1px" }}>
<Input
- placeholder="搜索Board..."
+ placeholder={t("actions.search")}
prefix={<SearchOutlined />}
value={searchKeyword}
onChange={(e) => setSearchKeyword(e.target.value)}
@@ -185,13 +185,13 @@ const PinterestParams = memo(
<PushpinOutlined style={{ fontSize: "12px" }} />
<span style={{ fontSize: "12px" }}>{board.name}</span>
{board.id === pubItem.params.option.pinterest?.boardId && (
- <span style={{ color: "#1890ff", fontSize: "10px" }}>(当前选择)</span>
+ <span style={{ color: "#1890ff", fontSize: "10px" }}>({t("badges.selected")})</span>
)}
</div>
</List.Item>
)}
locale={{
- emptyText: "暂无Board"
+ emptyText: t("empty.noBoards")
}}
/>
@@ -205,7 +205,7 @@ const PinterestParams = memo(
<div style={{ display: "flex", gap: "6px" }}>
<Input
- placeholder="输入Board名称"
+ placeholder={t("board.namePlaceholder")}
value={newBoardName}
onChange={(e) => setNewBoardName(e.target.value)}
onPressEnter={handleCreateBoard}
@@ -218,7 +218,7 @@ const PinterestParams = memo(
loading={creatingBoard}
size="small"
>
- 创建
+ {t("board.createButton")}
</Button>
</div>
</div>
@@ -237,7 +237,7 @@ const PinterestParams = memo(
color: "#666"
}}
>
- Change
+ {t("actions.change")}
</Button>
</Tooltip>
</div>