Skip to content

Correct the Simplified Chinese label for the unsafe file types option - #1059

Merged
MouriNaruto merged 1 commit into
M2Team:mainfrom
XingHaiHuShen:fix/zh-hans-motw-option
Nov 22, 2026
Merged

MouriNaruto merged 1 commit into
M2Team:mainfrom
XingHaiHuShen:fix/zh-hans-motw-option

Conversation

@XingHaiHuShen

@XingHaiHuShen XingHaiHuShen commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

#636 expanded the file types eligible for Mark of the Web propagation and changed the English label to For unsafe files.But the Simplified Chinese label still says 仅限 Office 文件 (Office files only), even though the list also includes executables, scripts, and some archive types.

This changes Resource3441 to 仅限有潜在风险的文件类型 so the label describes the file-type filter.

Windows SDK MakePRI compiled the updated resource successfully. Full application build and UI verification are pending.

@MouriNaruto

MouriNaruto commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

What about the 7-Zip mainline's related translation? Maybe we can follow that which can reduce the friction of users' migration.

Kenji Mouri

@MouriNaruto

MouriNaruto commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

It seems 7-Zip mainline still uses "仅限 Office 文件" for both simplified and traditional. So, maybe we can use something like "仅限有潜在风险的 (例如 Office) 文件类型" as the new translation. What do you think about that?

Kenji Mouri

@XingHaiHuShen

Copy link
Copy Markdown
Contributor Author

看起来 7-Zip 主线版本在简体和繁体中文中都仍然使用“仅限 Office 文件”。所以,也许我们可以用类似“仅限有潜在风险的 (例如 Office) 文件类型”作为新的翻译。你觉得怎么样?

健二·毛利

I see why keeping Office as an example could help users coming from 7-Zip. My concern is that if Office is the only example, the option may still sound like it mainly applies to Office documents. NanaZip’s filter also covers executables, scripts, and some archive formats.

I’d keep 仅限有潜在风险的文件类型 to keep the dropdown label short. If we want to include examples, I’d suggest 仅限有潜在风险的文件类型(如 Office 文档、可执行文件) so the broader scope is clear.

@dinhngtu

Copy link
Copy Markdown
Member

I think keeping the simple label "For unsafe files" is sufficient, since the NanaZip behavior is quite different from that of 7-Zip upstream as pointed out above. If more explanation is needed then it should be applied to all languages anyway.

@MouriNaruto

MouriNaruto commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

@dinhngtu Did you mean that this PR's original translation is OK?

Kenji Mouri

@dinhngtu

Copy link
Copy Markdown
Member

@dinhngtu Did you mean that this PR's original translation is OK?

Yes, as much as I can understand via machine translation.

@MouriNaruto
MouriNaruto merged commit 59b0850 into M2Team:main Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants