mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 22:05:51 +03:00
[PR #584] [MERGED] feat: |Worker| support multi language #642
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#642
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/584
Author: @dreamhunter2333
Created: 2/19/2025
Status: ✅ Merged
Merged: 2/19/2025
Merged by: @dreamhunter2333
Base:
main← Head:feature/dev📝 Commits (1)
045985cfeat: |Worker| support multi language📊 Changes
23 files changed (+912 additions, -851 deletions)
View changed files
📝
CHANGELOG.md(+5 -1)📝
frontend/package.json(+4 -4)📝
frontend/pnpm-lock.yaml(+208 -284)📝
frontend/src/api/index.js(+4 -3)➕
frontend/src/i18n.ts(+15 -0)📝
frontend/src/main.js(+1 -12)📝
pages/package.json(+2 -2)📝
vitepress-docs/package.json(+2 -2)📝
vitepress-docs/pnpm-lock.yaml(+308 -308)📝
worker/package.json(+6 -6)📝
worker/pnpm-lock.yaml(+207 -199)📝
worker/src/admin_api/index.ts(+4 -1)📝
worker/src/constants.ts(+1 -1)➕
worker/src/i18n/en.ts(+24 -0)➕
worker/src/i18n/index.ts(+16 -0)➕
worker/src/i18n/type.ts(+20 -0)➕
worker/src/i18n/zh.ts(+24 -0)📝
worker/src/mails_api/index.ts(+16 -9)📝
worker/src/mails_api/send_mail_api.ts(+4 -1)📝
worker/src/telegram_api/miniapp.ts(+4 -1)...and 3 more files
📄 Description
PR Type
enhancement, dependencies
Description
Added multi-language support to the Worker.
Implemented language-specific messages in English and Chinese.
Updated dependencies and version numbers.
Included language context in API requests and responses.
Changes walkthrough 📝
15 files
Add multi-language support in WorkerAdd language support to mail APIAdd Chinese language messagesAdd English language messagesAdd language support to admin APIAdd language support to send mail APIAdd language support to Telegram miniappAdd language support to user APIDefine type for locale messagesAdd language context to typesInitialize i18n for frontendAdd language message retrieval logicUpdate version constantInclude language header in API requestsImport i18n in main frontend file5 files
Update dependenciesUpdate version and dependenciesUpdate version and dependenciesUpdate version and dependenciesUpdate version and dependencies1 files
Update changelog for version 0.9.02 files
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.