Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v0.0.0
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ version: '3.4' # For compatibility with older Docker versions

services:
new-api:
image: calciumion/new-api:latest
build: .
image: new-api-local
container_name: new-api
restart: always
command: --log-dir /app/logs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ const CheckinCalendar = ({ t, status, turnstileEnabled, turnstileSiteKey }) => {
? t('今日已签到,累计签到') +
` ${checkinData.stats?.total_checkins || 0} ` +
t('天')
: t('每日签到可获得随机额度奖励')}
: t('每日签到可获得额度奖励')}
</div>
</div>
</div>
Expand Down Expand Up @@ -370,7 +370,7 @@ const CheckinCalendar = ({ t, status, turnstileEnabled, turnstileSiteKey }) => {
<div className='mt-3 p-2.5 bg-slate-50 dark:bg-slate-800 rounded-lg'>
<Typography.Text type='tertiary' className='text-xs'>
<ul className='list-disc list-inside space-y-0.5'>
<li>{t('每日签到可获得随机额度奖励')}</li>
<li>{t('每日签到可获得额度奖励')}</li>
<li>{t('签到奖励将直接添加到您的账户余额')}</li>
<li>{t('每日仅可签到一次,请勿重复签到')}</li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions web/src/components/topup/InvitationCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,12 @@ const InvitationCard = ({
title={<Text type='tertiary'>{t('奖励说明')}</Text>}
>
<div className='space-y-3'>
<div className='flex items-start gap-2'>
{/* <div className='flex items-start gap-2'>
<Badge dot type='success' />
<Text type='tertiary' className='text-sm'>
{t('邀请好友注册,好友充值后您可获得相应奖励')}
</Text>
</div>
</div> */}

<div className='flex items-start gap-2'>
<Badge dot type='success' />
Expand Down
2 changes: 1 addition & 1 deletion web/src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2570,7 +2570,7 @@
"默认补全倍率": "Default completion ratio",
"每日签到": "Daily Check-in",
"今日已签到,累计签到": "Checked in today, total check-ins",
"每日签到可获得随机额度奖励": "Daily check-in rewards random quota",
"每日签到可获得额度奖励": "Daily check-in rewards random quota",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Remove “random” from the English value to match the updated key.
The value still mentions random rewards, which contradicts the new wording.

✏️ Suggested fix
-"每日签到可获得额度奖励": "Daily check-in rewards random quota",
+"每日签到可获得额度奖励": "Daily check-in rewards quota",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"每日签到可获得额度奖励": "Daily check-in rewards random quota",
"每日签到可获得额度奖励": "Daily check-in rewards quota",
🤖 Prompt for AI Agents
In `@web/src/i18n/locales/en.json` at line 2574, Update the English translation
for the key "每日签到可获得额度奖励" by removing the word "random" from its value; change
the value from "Daily check-in rewards random quota" to "Daily check-in rewards
quota" (or equivalent without "random") so it matches the updated key wording.

"今日已签到": "Checked in today",
"立即签到": "Check in now",
"正在加载签到状态...": "Loading check-in status...",
Expand Down
2 changes: 1 addition & 1 deletion web/src/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2572,7 +2572,7 @@
"默认补全倍率": "Taux de complétion par défaut",
"每日签到": "Enregistrement quotidien",
"今日已签到,累计签到": "Enregistré aujourd'hui, total des enregistrements",
"每日签到可获得随机额度奖励": "L'enregistrement quotidien récompense un quota aléatoire",
"每日签到可获得额度奖励": "L'enregistrement quotidien récompense un quota aléatoire",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Translation value inconsistent with key change.

The key was changed from "每日签到可获得随机额度奖励" to "每日签到可获得额度奖励" (removing "随机"/random), but the French translation still contains "aléatoire" (random). The translation value should be updated to match the key change.

Proposed fix
-    "每日签到可获得额度奖励": "L'enregistrement quotidien récompense un quota aléatoire",
+    "每日签到可获得额度奖励": "L'enregistrement quotidien récompense un quota",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"每日签到可获得额度奖励": "L'enregistrement quotidien récompense un quota aléatoire",
"每日签到可获得额度奖励": "L'enregistrement quotidien récompense un quota",
🤖 Prompt for AI Agents
In `@web/src/i18n/locales/fr.json` at line 2576, The French translation for the
key "每日签到可获得额度奖励" still contains "aléatoire" but the key no longer includes "随机"
(random); update the value in web/src/i18n/locales/fr.json for that key to
remove "aléatoire" so it matches the key change (e.g., change "L'enregistrement
quotidien récompense un quota aléatoire" to "L'enregistrement quotidien
récompense un quota" or an equivalent French phrasing without "aléatoire").

"今日已签到": "Enregistré aujourd'hui",
"立即签到": "S'enregistrer maintenant",
"正在加载签到状态...": "Chargement du statut d'enregistrement...",
Expand Down
2 changes: 1 addition & 1 deletion web/src/i18n/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -2555,7 +2555,7 @@
"默认补全倍率": "デフォルト補完倍率",
"每日签到": "毎日のチェックイン",
"今日已签到,累计签到": "本日チェックイン済み、累計チェックイン",
"每日签到可获得随机额度奖励": "毎日のチェックインでランダムなクォータ報酬を獲得できます",
"每日签到可获得额度奖励": "毎日のチェックインでランダムなクォータ報酬を獲得できます",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Remove “random” from the Japanese message to match the new key.

Line 2559 still says “ランダムな”, which contradicts the updated copy intent that removes randomness.

💬 Proposed fix
-    "每日签到可获得额度奖励": "毎日のチェックインでランダムなクォータ報酬を獲得できます",
+    "每日签到可获得额度奖励": "毎日のチェックインでクォータ報酬を獲得できます",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"每日签到可获得额度奖励": "毎日のチェックインでランダムなクォータ報酬を獲得できます",
"每日签到可获得额度奖励": "毎日のチェックインでクォータ報酬を獲得できます",
🤖 Prompt for AI Agents
In `@web/src/i18n/locales/ja.json` at line 2559, Update the Japanese translation
for the key "每日签到可获得额度奖励" by removing the word "ランダムな" so the value reads
"毎日のチェックインでクォータ報酬を獲得できます" (i.e., delete the adjective indicating randomness from
the existing value string).

"今日已签到": "本日チェックイン済み",
"立即签到": "今すぐチェックイン",
"正在加载签到状态...": "チェックイン状態を読み込み中...",
Expand Down
2 changes: 1 addition & 1 deletion web/src/i18n/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -2585,7 +2585,7 @@
"默认补全倍率": "Default completion ratio",
"每日签到": "Ежедневная регистрация",
"今日已签到,累计签到": "Зарегистрирован сегодня, всего регистраций",
"每日签到可获得随机额度奖励": "Ежедневная регистрация награждает случайной квотой",
"每日签到可获得额度奖励": "Ежедневная регистрация награждает случайной квотой",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Remove “random” from the Russian message to match the new key.

Line 2589 still says “случайной квотой”, which contradicts the updated copy intent that removes randomness.

💬 Proposed fix
-    "每日签到可获得额度奖励": "Ежедневная регистрация награждает случайной квотой",
+    "每日签到可获得额度奖励": "Ежедневная регистрация приносит награду в виде квоты",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"每日签到可获得额度奖励": "Ежедневная регистрация награждает случайной квотой",
"每日签到可获得额度奖励": "Ежедневная регистрация приносит награду в виде квоты",
🤖 Prompt for AI Agents
In `@web/src/i18n/locales/ru.json` at line 2589, Replace the Russian translation
value for the key "每日签到可获得额度奖励" to remove the word "случайной" so it matches the
updated copy (i.e., change "Ежедневная регистрация награждает случайной квотой"
to a phrasing without "случайной" that preserves meaning and grammar in
Russian).

"今日已签到": "Зарегистрирован сегодня",
"立即签到": "Зарегистрироваться сейчас",
"正在加载签到状态...": "Загрузка статуса регистрации...",
Expand Down
2 changes: 1 addition & 1 deletion web/src/i18n/locales/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3136,7 +3136,7 @@
"默认补全倍率": "Tỷ lệ hoàn thành mặc định",
"每日签到": "Đăng nhập hàng ngày",
"今日已签到,累计签到": "Đã đăng nhập hôm nay, tổng số lần đăng nhập",
"每日签到可获得随机额度奖励": "Đăng nhập hàng ngày để nhận phần thưởng hạn mức ngẫu nhiên",
"每日签到可获得额度奖励": "Đăng nhập hàng ngày để nhận phần thưởng hạn mức ngẫu nhiên",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Update the Vietnamese text to remove “random” wording.

Line 3139 still says “ngẫu nhiên” despite the key rename, which contradicts the intended copy change.

🔧 Suggested change
-    "每日签到可获得额度奖励": "Đăng nhập hàng ngày để nhận phần thưởng hạn mức ngẫu nhiên",
+    "每日签到可获得额度奖励": "Đăng nhập hàng ngày để nhận phần thưởng hạn mức",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"每日签到可获得额度奖励": "Đăng nhập hàng ngày để nhận phần thưởng hạn mức ngẫu nhiên",
"每日签到可获得额度奖励": "Đăng nhập hàng ngày để nhận phần thưởng hạn mức",
🤖 Prompt for AI Agents
In `@web/src/i18n/locales/vi.json` at line 3139, The Vietnamese translation for
the key "每日签到可获得额度奖励" still contains the word "ngẫu nhiên"; update the value to
remove “ngẫu nhiên” so it reads something like "Đăng nhập hàng ngày để nhận phần
thưởng hạn mức" (i.e., remove the word implying randomness) ensuring the string
value for that key in vi.json matches the intended non-random copy.

"今日已签到": "Đã đăng nhập hôm nay",
"立即签到": "Đăng nhập ngay",
"正在加载签到状态...": "Đang tải trạng thái đăng nhập...",
Expand Down
3 changes: 2 additions & 1 deletion web/src/i18n/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -2556,7 +2556,8 @@
"默认补全倍率": "默认补全倍率",
"每日签到": "每日签到",
"今日已签到,累计签到": "今日已签到,累计签到",
"每日签到可获得随机额度奖励": "每日签到可获得随机额度奖励",
"天": "天",
"每日签到可获得额度奖励": "每日签到可获得额度奖励",
"今日已签到": "今日已签到",
"立即签到": "立即签到",
"正在加载签到状态...": "正在加载签到状态...",
Expand Down