Repository navigation
fix(dweb): use metadata.json for dweb://install links - #254
Merged
Merged
Conversation
…ONS to use i18n - Add Chinese string detection to i18n-check.ts script - Simplify KNOWN_PERMISSIONS to only contain risk field - Refactor getPermissionInfo() to return translated text via i18n - Convert MiniappDetailActivity.tsx to use i18n for all UI strings - Add permission translations to all 4 locale files (zh-CN, en, zh-TW, ar) - Export permissions module from ecosystem service
- Expand error.json with validation, transaction, crypto, and other error keys - Update use-send.logic.ts to use i18n for validation messages - Update use-burn.ts to use i18n for error messages - Add translations for all 4 locales (zh-CN, en, zh-TW, ar)
…terns - Add *.stories.tsx and mock-devtools to i18n-check exclude patterns - Add services/*/types.ts (Zod schemas) to exclude patterns - Update use-send.bioforest.ts to use i18n for error messages - Update use-burn.bioforest.ts to use i18n for error messages
- Add i18n-set.ts for batch setting translation keys across all locales - Add i18n-delete.ts for removing translation keys from all locales - Update i18n-check.ts to show quick tool usage hints on errors - Support locale shortcuts (zh -> zh-CN, tw -> zh-TW) - Support nested key paths (e.g., validation.required)
- Copy metadata.json from dists/ to release/ in build.ts - Update cd.yml to copy metadata.json and fix Release Notes links - Fix docs/download.md dweb install links to point to metadata.json - Refactor set-secret.ts with Bun native ANSI TUI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.zip改为指向metadata.jsonset-secret.ts使用 Bun 原生 ANSI TUIChanges
scripts/build.tsmetadata.json到 release 目录的逻辑.github/workflows/cd.ymlmetadata.json+ 修复 Release Notes 链接docs/download.mdmetadata.jsonscripts/set-secret.tsWhy
dweb://install?url=协议需要指向metadata.json文件(包含 bundle_url、bundle_hash 等信息),而不是直接指向.zip文件。plaoc bundle命令已自动生成符合标准的metadata.json,只需将其复制到 release 目录即可。