Skip to content

i18n(zh-cn):translate /develop/index.mdx #3332

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

Merged
merged 7 commits into from
Jun 8, 2025
Merged

Conversation

qwer252
Copy link
Contributor

@qwer252 qwer252 commented Jun 5, 2025

Description

  • What does this PR change?
  • translate /develop/index.mdx

@qwer252 qwer252 requested a review from a team as a code owner June 5, 2025 05:18
@github-project-automation github-project-automation bot moved this to 🪵 Backlog in Documentation Jun 5, 2025
@github-actions github-actions bot added i18n Is this related to translations? i18n: zh-cn Is this related to zh-cn translations? labels Jun 5, 2025
Copy link

netlify bot commented Jun 5, 2025

Deploy Preview for tauri-v2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 6d054e4
🔍 Latest deploy log https://app.netlify.com/projects/tauri-v2/deploys/68459933e911a900084ba484
😎 Deploy Preview https://deploy-preview-3332--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: 86 (🔴 down 14 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 project configuration.

@KikkiZ
Copy link
Contributor

KikkiZ commented Jun 5, 2025

我看到你提了几个pr,然后又关掉了,如果是因为检查不通过,你可以直接在自己的分支上修改,commit会自动同步到pr,然后会重新检查


现在 [万事俱备](/start/),你已经可以使用Tauri运行应用。

如果你正在使用一个UI框架或JavaScript打包工具,你可能有权访问开发服务器,
Copy link
Contributor

Choose a reason for hiding this comment

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

UI 和 JavaScript 这种英文单词前后可以添加一个空格,不跟中文直接连在一起的,后面也是一样的,URL/Tauri 这种

第一次执行这个命令时Rust包管理器可能会需要**一些时间**来下载并构建所有需要的包。
他们会被缓存,以后的构建会快得多,因为只有你的代码需要重新构建。

Rust 构建完成后,网页视图会打开,显示你的网页应用。你可以对网页应用进行更改,如果你的工具支持,网页视图应该会自动更新,就像浏览器一样。
Copy link
Contributor

Choose a reason for hiding this comment

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

网页视图 是一个术语,可以保持原文 webview


#### 打开网页检查器

你可以打开网页检查器来调试你的应用,打开的方法是在网页视图上右键并点击 "Inspect" 或使用快捷键 `Ctrl + Shift + I`(Windows,Linux),`Cmd + Option + I`(macOS)。
Copy link
Contributor

Choose a reason for hiding this comment

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

这里的括号建议使用中文符号

/>

:::note
如果你打算在实体 iOS 设备上运行该应用,则还必须提供 `--host` 参数,并且你的开发服务器必须使用 `process.env.TAURI_DEV_HOST` 值作为主机。有关更多信息,请参阅你框架的设置指南。
Copy link
Contributor

Choose a reason for hiding this comment

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

这里”实体设备“改为”物理设备“会更合理吧

构建阶段在 Xcode 进程上下文中执行,因此可能无法使用 Shell 修改(例如添加 PATH)。
因此,在使用可能不兼容的工具(例如 Node.js 版本管理器)时请一定小心。

2. 在首次执行 iOS 应用时提示网络权限n
Copy link
Contributor

Choose a reason for hiding this comment

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

有一个多余字符n


### 源代码控制

在你的项目仓库中,你应该将 `src-tauri/Cargo.lock` 和 `src-tauri/Cargo.toml` 一起提交到 git,因为 Cargo 使用 lockfile 来提供确定性构建。因此, 建议所有应用程序都写入其 `Cargo.lock` 文件。你**不应该**提交 `src-tauri/target` 文件夹或其中的任何内容。
Copy link
Contributor

Choose a reason for hiding this comment

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

”应该“ 需要加粗

@github-project-automation github-project-automation bot moved this from 🪵 Backlog to 🏗️ In progress in Documentation Jun 5, 2025
@vasfvitor vasfvitor merged commit e6e974a into tauri-apps:v2 Jun 8, 2025
4 checks passed
@github-project-automation github-project-automation bot moved this from 🏗️ In progress to ✅ Done in Documentation Jun 8, 2025
@vasfvitor
Copy link
Contributor

thanks @qwer252, @KikkiZ

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: ✅ Done
Development

Successfully merging this pull request may close these issues.

3 participants