Repository navigation
fix(i18n): 自研插件审批提示随界面语言切换 - #201
Merged
Merged
Conversation
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.
中文界面中的浏览器、邮件和 Studio 审批说明仍显示英文,日历审批则在英文界面中仍显示中文。本次为自研插件的固定审批文案补充 DSH 原生
displayReason: { zh, en },让官方审批面板按当前界面语言显示;保留原始reason和所有权限判断。验证:
check通过,27 项测试通过。typecheck、build、test、audit通过,196 项测试通过;2 项需要另行指定官方源码目录的现有 Office 注册测试按原条件跳过。受影响的权限与实际 Office 文件测试均已运行。displayReason。Fixes #196。经维护者确认,审批面板保持 DSH 原生风格,本 PR 只补齐多语言提示。
准备邮件 0.2.1、共享服务 0.3.1、Studio 0.6.2(精确依赖共享服务 0.3.1)的 npm 补丁版本与开发锁。合并后按维护者授权发布经 CI 校验的原包,再更新产品精确锁;桌面版本和插件启用集合保持不变。