mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 05:00:30 +08:00
chore: update depends & add missing translation
* update depends * add missing translation
This commit is contained in:
parent
55860af9b3
commit
96552778e6
46
package.json
46
package.json
@ -32,22 +32,22 @@
|
||||
"dependencies": {
|
||||
"@electron-toolkit/preload": "^3.0.2",
|
||||
"@electron-toolkit/utils": "^4.0.0",
|
||||
"@heroui/react": "^2.8.4",
|
||||
"@heroui/react": "^2.8.5",
|
||||
"@mihomo-party/sysproxy": "^2.0.8",
|
||||
"@mihomo-party/sysproxy-darwin-arm64": "^2.0.8",
|
||||
"@types/crypto-js": "^4.2.2",
|
||||
"adm-zip": "^0.5.16",
|
||||
"axios": "^1.12.0",
|
||||
"chart.js": "^4.5.0",
|
||||
"axios": "^1.12.2",
|
||||
"chart.js": "^4.5.1",
|
||||
"chokidar": "^4.0.3",
|
||||
"croner": "^9.1.0",
|
||||
"crypto-js": "^4.2.0",
|
||||
"dayjs": "^1.11.18",
|
||||
"express": "^5.1.0",
|
||||
"i18next": "^25.5.2",
|
||||
"i18next": "^25.6.0",
|
||||
"iconv-lite": "^0.6.3",
|
||||
"react-chartjs-2": "^5.3.0",
|
||||
"react-i18next": "^15.7.3",
|
||||
"react-i18next": "^15.7.4",
|
||||
"webdav": "^5.8.0",
|
||||
"ws": "^8.18.3",
|
||||
"yaml": "^2.8.1"
|
||||
@ -59,49 +59,49 @@
|
||||
"@electron-toolkit/eslint-config-prettier": "^3.0.0",
|
||||
"@electron-toolkit/eslint-config-ts": "^3.1.0",
|
||||
"@electron-toolkit/tsconfig": "^1.0.1",
|
||||
"@tailwindcss/vite": "^4.1.13",
|
||||
"@tailwindcss/vite": "^4.1.15",
|
||||
"@types/adm-zip": "^0.5.7",
|
||||
"@types/express": "^5.0.3",
|
||||
"@types/node": "^24.3.1",
|
||||
"@types/node": "^24.9.1",
|
||||
"@types/pubsub-js": "^1.8.6",
|
||||
"@types/react": "^19.1.12",
|
||||
"@types/react-dom": "^19.1.9",
|
||||
"@types/react": "^19.2.2",
|
||||
"@types/react-dom": "^19.2.2",
|
||||
"@types/ws": "^8.18.1",
|
||||
"@vitejs/plugin-react": "^4.7.0",
|
||||
"cron-validator": "^1.4.0",
|
||||
"driver.js": "^1.3.6",
|
||||
"electron": "^37.5.0",
|
||||
"electron": "^37.7.0",
|
||||
"electron-builder": "26.0.12",
|
||||
"electron-vite": "^4.0.0",
|
||||
"electron-vite": "^4.0.1",
|
||||
"electron-window-state": "^5.0.3",
|
||||
"eslint": "9.32.0",
|
||||
"eslint-plugin-react": "^7.37.5",
|
||||
"form-data": "^4.0.4",
|
||||
"framer-motion": "12.23.12",
|
||||
"lodash": "^4.17.21",
|
||||
"meta-json-schema": "^1.19.13",
|
||||
"meta-json-schema": "^1.19.14",
|
||||
"monaco-yaml": "^5.4.0",
|
||||
"nanoid": "^5.1.5",
|
||||
"nanoid": "^5.1.6",
|
||||
"next-themes": "^0.4.6",
|
||||
"postcss": "^8.5.6",
|
||||
"prettier": "^3.6.2",
|
||||
"pubsub-js": "^1.9.5",
|
||||
"react": "^19.1.1",
|
||||
"react-dom": "^19.1.1",
|
||||
"react": "^19.2.0",
|
||||
"react-dom": "^19.2.0",
|
||||
"react-error-boundary": "^6.0.0",
|
||||
"react-icons": "^5.5.0",
|
||||
"react-markdown": "^10.1.0",
|
||||
"react-monaco-editor": "^0.59.0",
|
||||
"react-router-dom": "^7.8.2",
|
||||
"react-virtuoso": "^4.14.0",
|
||||
"react-router-dom": "^7.9.4",
|
||||
"react-virtuoso": "^4.14.1",
|
||||
"swr": "^2.3.6",
|
||||
"tailwindcss": "^4.1.13",
|
||||
"tar": "^7.4.3",
|
||||
"tsx": "^4.20.5",
|
||||
"tailwindcss": "^4.1.15",
|
||||
"tar": "^7.5.1",
|
||||
"tsx": "^4.20.6",
|
||||
"types-pac": "^1.0.3",
|
||||
"typescript": "^5.9.2",
|
||||
"vite": "^7.1.5",
|
||||
"typescript": "^5.9.3",
|
||||
"vite": "^7.1.11",
|
||||
"vite-plugin-monaco-editor": "^1.1.0"
|
||||
},
|
||||
"packageManager": "pnpm@10.15.1"
|
||||
"packageManager": "pnpm@10.19.0"
|
||||
}
|
||||
|
||||
5051
pnpm-lock.yaml
generated
5051
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -130,7 +130,7 @@ const EditInfoModal: React.FC<Props> = (props) => {
|
||||
}
|
||||
}
|
||||
}}
|
||||
placeholder="例如:30 或 '0 * * * *'"
|
||||
placeholder={t('profiles.editInfo.intervalPlaceholder')}
|
||||
/>
|
||||
|
||||
{/* 动态提示信息 */}
|
||||
@ -142,13 +142,13 @@ const EditInfoModal: React.FC<Props> = (props) => {
|
||||
: '#6b7280'
|
||||
}}>
|
||||
{typeof values.interval === 'number' ? (
|
||||
'以分钟为单位的定时间隔'
|
||||
t('profiles.editInfo.intervalMinutes')
|
||||
) : /^\d+$/.test(values.interval?.toString() || '') ? (
|
||||
'以分钟为单位的定时间隔'
|
||||
t('profiles.editInfo.intervalMinutes')
|
||||
) : isValidCron(values.interval?.toString() || '', { seconds: false }) ? (
|
||||
'有效的Cron表达式'
|
||||
t('profiles.editInfo.intervalCron')
|
||||
) : (
|
||||
'请输入数字或合法的Cron表达式(如:0 * * * *)'
|
||||
t('profiles.editInfo.intervalHint')
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -436,6 +436,11 @@
|
||||
"profiles.editInfo.url": "Subscription URL",
|
||||
"profiles.editInfo.useProxy": "Use Proxy to Update",
|
||||
"profiles.editInfo.interval": "Upd. Interval",
|
||||
"profiles.editInfo.intervalPlaceholder": "e.g.: 30 or '0 * * * *'",
|
||||
"profiles.editInfo.intervalInvalid": "Invalid",
|
||||
"profiles.editInfo.intervalMinutes": "Fixed interval in minutes",
|
||||
"profiles.editInfo.intervalCron": "Valid Cron expression",
|
||||
"profiles.editInfo.intervalHint": "Please enter a number or a valid Cron expression (e.g.: 0 * * * *)",
|
||||
"profiles.editInfo.fixedInterval": "Fixed Update Interval",
|
||||
"profiles.editInfo.override.title": "Override",
|
||||
"profiles.editInfo.override.global": "Global",
|
||||
|
||||
@ -419,8 +419,13 @@
|
||||
"profiles.editInfo.fixedInterval": "فاصله بهروزرسانی ثابت",
|
||||
"profiles.editInfo.override.title": "جایگزینی",
|
||||
"profiles.editInfo.override.global": "جهانی",
|
||||
"profiles.editInfo.override.noAvailable": "جایگزینی در دسترس نیست",
|
||||
"profiles.editInfo.override.noAvailable": "جایگزینیای در دسترس نیست",
|
||||
"profiles.editInfo.override.add": "افزودن جایگزینی",
|
||||
"profiles.editInfo.intervalPlaceholder": "مثال: 30 یا '0 * * * *'",
|
||||
"profiles.editInfo.intervalInvalid": "نامعتبر",
|
||||
"profiles.editInfo.intervalMinutes": "فاصله زمانی ثابت به دقیقه",
|
||||
"profiles.editInfo.intervalCron": "عبارت Cron معتبر",
|
||||
"profiles.editInfo.intervalHint": "لطفاً یک عدد یا عبارت Cron معتبر وارد کنید (مثال: 0 * * * *)",
|
||||
"profiles.editFile.title": "ویرایش پروفایل",
|
||||
"profiles.editFile.notice": "توجه: تغییرات اعمال شده در اینجا پس از بهروزرسانی پروفایل بازنشانی میشوند. برای پیکربندیهای سفارشی، لطفا از",
|
||||
"profiles.editFile.override": "جایگزینی",
|
||||
|
||||
@ -421,6 +421,11 @@
|
||||
"profiles.editInfo.override.global": "Глобальный",
|
||||
"profiles.editInfo.override.noAvailable": "Нет доступных переопределений",
|
||||
"profiles.editInfo.override.add": "Добавить переопределение",
|
||||
"profiles.editInfo.intervalPlaceholder": "например: 30 или '0 * * * *'",
|
||||
"profiles.editInfo.intervalInvalid": "Недействительно",
|
||||
"profiles.editInfo.intervalMinutes": "Фиксированный интервал в минутах",
|
||||
"profiles.editInfo.intervalCron": "Действительное Cron выражение",
|
||||
"profiles.editInfo.intervalHint": "Пожалуйста, введите число или действительное Cron выражение (например: 0 * * * *)",
|
||||
"profiles.editFile.title": "Редактировать профиль",
|
||||
"profiles.editFile.notice": "Примечание: Изменения, сделанные здесь, будут сброшены после обновления профиля. Для пользовательских настроек используйте",
|
||||
"profiles.editFile.override": "Переопределение",
|
||||
|
||||
@ -441,6 +441,11 @@
|
||||
"profiles.editInfo.url": "订阅地址",
|
||||
"profiles.editInfo.useProxy": "使用代理更新",
|
||||
"profiles.editInfo.interval": "更新间隔",
|
||||
"profiles.editInfo.intervalPlaceholder": "例如:30 或 '0 * * * *'",
|
||||
"profiles.editInfo.intervalInvalid": "不合法",
|
||||
"profiles.editInfo.intervalMinutes": "以分钟为单位的定时间隔",
|
||||
"profiles.editInfo.intervalCron": "有效的Cron表达式",
|
||||
"profiles.editInfo.intervalHint": "请输入数字或合法的Cron表达式(如:0 * * * *)",
|
||||
"profiles.editInfo.fixedInterval": "固定更新间隔",
|
||||
"profiles.editInfo.override.title": "覆写",
|
||||
"profiles.editInfo.override.global": "全局",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user