mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 13:55:53 +03:00
[PR #585] [MERGED] feat: |Worker| add var DEFAULT_LANG, zh/en #641
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudflare_temp_email#641
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/585
Author: @dreamhunter2333
Created: 2/19/2025
Status: ✅ Merged
Merged: 2/19/2025
Merged by: @dreamhunter2333
Base:
main← Head:feature/dev📝 Commits (1)
e4fa77dfeat: |Worker| add var DEFAULT_LANG, zh/en📊 Changes
4 files changed (+4 additions, -0 deletions)
View changed files
📝
vitepress-docs/docs/en/cli.md(+1 -0)📝
vitepress-docs/docs/zh/guide/worker-vars.md(+1 -0)📝
worker/src/admin_api/worker_config.ts(+1 -0)📝
worker/wrangler.toml.template(+1 -0)📄 Description
PR Type
enhancement, documentation
Description
Add
DEFAULT_LANGvariable to worker configuration.Update documentation to include
DEFAULT_LANGusage.Set default language example in configuration templates.
Changes walkthrough 📝
worker_config.ts
Add `DEFAULT_LANG` to worker configurationworker/src/admin_api/worker_config.ts
DEFAULT_LANGto the worker configuration response.wrangler.toml.template
Update wrangler.toml template with `DEFAULT_LANG` exampleworker/wrangler.toml.template
DEFAULT_LANGexample in the wrangler.toml template.cli.md
Update CLI documentation with `DEFAULT_LANG` examplevitepress-docs/docs/en/cli.md
DEFAULT_LANGexample in the CLI documentation.worker-vars.md
Add `DEFAULT_LANG` documentation in Chinese guidevitepress-docs/docs/zh/guide/worker-vars.md
DEFAULT_LANGvariable in the Chinese guide.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.