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): Add permission configuration related documents #3222

Open
wants to merge 5 commits into
base: v2
Choose a base branch
from

Conversation

amourtoyou
Copy link

  • A new permission configuration document is added, which introduces the definition, configuration and usage of permissions in detail.
  • The document contains several permission configuration examples to help developers better understand and apply permission settings-the naming rules and configuration file structure of permission identifiers are explained in detail.

Description

  • What does this PR change? Give us a brief description.
  • Closes #

- 新增权限配置文档,详细介绍了权限的定义、配置和使用方法
- 文档中包含了多个权限配置示例,帮助开发者更好地理解和应用权限设置- 对权限标识符的命名规则和配置文件结构进行了详细说明
@amourtoyou amourtoyou requested a review from a team as a code owner March 26, 2025 07:02
@github-actions github-actions bot added i18n Is this related to translations? i18n: zh-cn Is this related to zh-cn translations? labels Mar 26, 2025
Copy link

netlify bot commented Mar 26, 2025

Deploy Preview for tauri-v2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 32e3141
🔍 Latest deploy log https://app.netlify.com/sites/tauri-v2/deploys/67ee2fe685c36b000879e376
😎 Deploy Preview https://deploy-preview-3222--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 (🔴 down 1 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (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.

```toml title="plugins/fs/permissions/autogenerated/commands/mkdir.toml"
[[permission]]
identifier = "allow-mkdir"
description = "This enables the mkdir command."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description = "This enables the mkdir command."
description = "将允许使用 mkdir 命令"


插件标识符在编译时将自动添加 `tauri-plugin-` 前缀,无需手动指定。

标识符仅限于ASCII小写字母字符 `[a-z]`,且当前最大长度限制为 `116` 字符(由以下常量决定):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
标识符仅限于ASCII小写字母字符 `[a-z]`,且当前最大长度限制为 `116` 字符(由以下常量决定):
标识符仅限于 ASCII 小写字母字符 `[a-z]`,且当前最大长度限制为 `116` 字符(由以下常量决定):

Copy link
Contributor

@xubeiyan xubeiyan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix some ignore space between letter and Chinese character

amourtoyou and others added 4 commits April 3, 2025 14:50
supplement

Co-authored-by: xubeiyan <[email protected]>
supplement

Co-authored-by: xubeiyan <[email protected]>
supplement

Co-authored-by: xubeiyan <[email protected]>
supplement

Co-authored-by: xubeiyan <[email protected]>
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
Status: 🏗️ In progress
Development

Successfully merging this pull request may close these issues.

2 participants