Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n(zh-cn): translate opener.mdx #3131

Merged
merged 6 commits into from
Feb 10, 2025
Merged

i18n(zh-cn): translate opener.mdx #3131

merged 6 commits into from
Feb 10, 2025

Conversation

xubeiyan
Copy link
Contributor

Description

  • What does this PR change? Give us a brief description.
    • translate src/content/docs/plugin/opener.mdx to src/content/docs/zh-cn/plugin/opener.mdx to Chinese Simplified
    • cause Default Permission and Permission Table section not include in this MDX file, so not translate it
  • glossary

those word when I translate to Chinese, add some meaning to it, to make them more clear to understand

original text target text
opener 指定打开应用
Capabilities Overview 能力概览
step by step guide 调整权限分步导览

@xubeiyan xubeiyan requested a review from a team as a code owner January 23, 2025 06:45
@github-actions github-actions bot added i18n Is this related to translations? i18n: zh-cn Is this related to zh-cn translations? labels Jan 23, 2025
Copy link

netlify bot commented Jan 23, 2025

Deploy Preview for tauri-v2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit c8a7b2a
🔍 Latest deploy log https://app.netlify.com/sites/tauri-v2/deploys/67a96537b667340008a1b7a4
😎 Deploy Preview https://deploy-preview-3131--tauri-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 99 (🟢 up 13 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@vasfvitor
Copy link
Contributor

@GuoJikun would you review this, just overall?

@GuoJikun
Copy link
Contributor

GuoJikun commented Feb 7, 2025

@GuoJikun would you review this, just overall?

Yes, but maybe not in time

@xubeiyan
Copy link
Contributor Author

xubeiyan commented Feb 10, 2025

#3131 (comment) @GuoJikun can you help to see what's the wrong with this commit? Maybe one more space after the word "capabilities" ?

`capabilities`  文件夹中的配置来启用它们

@vasfvitor
Copy link
Contributor

have you run pnpm format? try it

@GuoJikun
Copy link
Contributor

#3131 (comment) @GuoJikun can you help to see what's the wrong with this commit? Maybe one more space after the word "capabilities" ?

`capabilities`  文件夹中的配置来启用它们

There was one more space.

@GuoJikun
Copy link
Contributor

@xubeiyan
Should plugin names not be translated? Because there is no good Chinese interpretation(插件名称是不是不应该翻译?因为并没有很好的中文释义).

@xubeiyan
Copy link
Contributor Author

xubeiyan commented Feb 10, 2025

@xubeiyan Should plugin names not be translated? Because there is no good Chinese interpretation(插件名称是不是不应该翻译?因为并没有很好的中文释义).

I think keeping in English is also hard to understand what the "opener" means, it wants to tell the meaning of "the specific application for open the file or URL".
(我认为即使英语原文“opener”也是很难理解的,并没有解释出“指定特定程序打开文件或URL”的含义)

In Microsoft's universe, they choose "Open with..." instead of a simple word "opener"
(在微软的设计里,他们使用了“Open with...”代替了“opener”这个概念

this article give a translation to such meaning: https://support.microsoft.com/zh-cn/topic/%E6%9B%B4%E6%94%B9%E6%89%93%E5%BC%80%E6%96%87%E4%BB%B6%E7%9A%84%E7%A8%8B%E5%BA%8F-341000a4-8e27-4929-acbc-5fa21c1bc3a6
(这个文章里给出了他们对于类似概念的翻译方式,可以参考)

so I want to select "指定打开(文件和URL的)应用" to replace the simple "opener" word, it's better to use original value.
(所以我想用"指定打开(文件和URL的)应用"来代替简单的“opener”这个原文)

@GuoJikun
Copy link
Contributor

@vasfvitor LGTM

@vasfvitor vasfvitor merged commit 9ad3b99 into tauri-apps:v2 Feb 10, 2025
9 checks passed
@vasfvitor
Copy link
Contributor

thank youuuu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n: zh-cn Is this related to zh-cn translations? i18n Is this related to translations?
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants