Repository navigation
Conversation
- FF-25: move hard-coded aria-labels, footer and banner copy into all 7 locale modules - FF-22: drop unsupported Zen Maru Gothic 600 weight - FF-30: move check/types/tsx/typescript to devDependencies and mirror in lockfile - FF-45: delete unreferenced plantuml render script and move encoded-email styles to global CSS
👷 Deploy request for demo-firefly pending review.Visit the deploys page to approve it
|
审阅者指南数据结构添加十个共享的 UI 和无障碍功能键,并在全部七个语言目录中定义对应译文。
实现删除已弃用的 PlantUML 渲染脚本,并移除电子邮件保护插件中无法执行到的 head 样式注入代码。
界面导航、选项卡、页脚文案、分享海报标签和横幅图片替代文本均使用新的本地化字符串。
将编码邮箱链接的样式移至全局样式表,使其也能应用于不含 head 元素的内容片段。
配置将仅用于构建和类型检查的包移至 devDependencies,并移除无法获取的 Zen Maru Gothic 600 字重。
锁文件和供应商代码更新生成的锁文件,使其与
提示和命令与 Sourcery 交互
自定义使用体验访问你的控制面板,即可:
获取帮助Original review guide in EnglishReviewer's GuideData structuresAdd the ten shared UI and accessibility keys and define their translations in all seven locale catalogs.
ImplementationRemove the obsolete PlantUML rendering script and remove the unreachable head-style injection from the email-protection plugin.
UIUse the new localized strings for navigation, tabs, footer copy, share-poster labels, and banner image alt text.
Move encoded-email link styling to the global stylesheet so it applies to content fragments without a head element.
ConfigurationMove build and type-check-only packages to devDependencies and remove the unavailable Zen Maru Gothic 600 weight.
Lock files and vendored codeUpdate the generated lockfile to mirror the dependency moves in package.json.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Summary
i18n(...)instead of embedding English strings.600weight from Zen Maru Gothic, which has no 600-weight font file.@astrojs/check,@types/hast,@types/mdast,tsx,typescript) fromdependenciestodevDependencies, with the lockfile importer mirrored.plantuml-render-script.js(theme switching and pan/zoom are provided by the active plugins), and move encoded-email link styles into the global stylesheet because the plugin's<head>injection is unreachable for content fragments.Scope notes
translation.ts; splitting them requires a different synchronous lookup or build-time substitution contract and is a larger architectural change than this cleanup.public/piosize): no code change. The existingscripts/prune-pio-assets.tsalready removes unused model assets after build; further reduction is a content/product decision.Verification
pnpm exec biome checkon all 17 changed source files: no diagnostics (only the pre-existing biome schema-version notice).pnpm run check: 0 errors, 0 warnings, 0 hints.pnpm exec astro build --force: 40 pages built.aria-label/altvalues and the localized footer string; built CSS containsa[data-encoded-email]rules.Sourcery 总结
本地化剩余的用户界面文案,修正字体配置,精简开发依赖,并移除过时的插件代码。
错误修复:
功能增强:
构建:
Original summary in English
Summary by Sourcery
Localize remaining user-facing UI copy, correct font configuration, streamline development dependencies, and remove obsolete plugin code.
Bug Fixes:
Enhancements:
Build: