diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 4bb3fc6..0997a88 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,7 +3,11 @@ updates: - package-ecosystem: github-actions directory: / schedule: - interval: monthly + interval: "cron" + cronjob: "0 4 1 * *" + timezone: "Asia/Shanghai" + cooldown: + default-days: 7 open-pull-requests-limit: 5 groups: actions: @@ -12,7 +16,14 @@ updates: - package-ecosystem: npm directory: /frontend schedule: - interval: monthly + interval: "cron" + cronjob: "0 4 1 * *" + timezone: "Asia/Shanghai" + cooldown: + default-days: 7 + semver-major-days: 14 + semver-minor-days: 7 + semver-patch-days: 3 open-pull-requests-limit: 5 ignore: # TypeScript 7 drops the `typescript/lib/tsc` subpath export; vue-tsc and the @@ -30,20 +41,37 @@ updates: - package-ecosystem: pip directory: / schedule: - interval: monthly + interval: "cron" + cronjob: "0 4 1 * *" + timezone: "Asia/Shanghai" + cooldown: + default-days: 7 + semver-major-days: 14 + semver-minor-days: 7 + semver-patch-days: 3 open-pull-requests-limit: 5 groups: pip-minor-patch: patterns: ["*"] update-types: ["minor", "patch"] - # --- 以下为补充配置 --- # Docker 基础镜像 - package-ecosystem: docker directory: / schedule: - interval: monthly + interval: "cron" + cronjob: "0 4 1 * *" + timezone: "Asia/Shanghai" + cooldown: + default-days: 7 + ignore: + - dependency-name: python + update-types: ["version-update:semver-major", "version-update:semver-minor"] - package-ecosystem: docker-compose directory: / schedule: - interval: monthly + interval: "cron" + cronjob: "0 4 1 * *" + timezone: "Asia/Shanghai" + cooldown: + default-days: 7 diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 0a47b0b..295b3c5 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -103,7 +103,8 @@ onBeforeUnmount(() => { :aria-label="locale === 'zh' ? 'Switch to English' : '切换到中文'" @click="toggleLocale" > - {{ locale === 'zh' ? '🌐 EN' : '🌐 中文' }} + + {{ locale === 'zh' ? 'EN' : '中文' }}