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 develop/sidecar.mdx #2458

Merged
merged 11 commits into from
Aug 2, 2024
Merged

i18n(zh-cn): Translate develop/sidecar.mdx #2458

merged 11 commits into from
Aug 2, 2024

Conversation

GuoJikun
Copy link
Contributor

Description

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

@GuoJikun GuoJikun requested a review from a team as a code owner July 24, 2024 02:16
@github-actions github-actions bot added i18n Is this related to translations? i18n: zh-cn Is this related to zh-cn translations? labels Jul 24, 2024
Copy link

netlify bot commented Jul 24, 2024

Deploy Preview for tauri-v2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit b16c1c9
🔍 Latest deploy log https://app.netlify.com/sites/tauri-v2/deploys/66ac8bfa45513100098da9f9
😎 Deploy Preview https://deploy-preview-2458--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: 100 (no change 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.

@simonhyll simonhyll added this to the Version 2.x milestone Jul 24, 2024
});
```

您可以将此代码放在 Tauri 命令中,以便轻松传递 AppHandle,或者您可以在构建脚本中存储对 AppHandle 的引用,以便在应用程序的其他位置访问它。
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
您可以将此代码放在 Tauri 命令中,以便轻松传递 AppHandle,或者您可以在构建脚本中存储对 AppHandle 的引用,以便在应用程序的其他位置访问它。
您可以将此代码放在 Tauri 命令中,以便轻松传递 `AppHandle`,或者您可以在构建脚本中存储对 `AppHandle` 的引用,以便在应用程序的其他位置访问它。

Missing backquote.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image
The original text has no backquote.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Does this need to be consistent with the original text? @Embers-of-the-Fire

如果你正在从 Tauri v1 迁移,Tauri v2 CLI 中的 `migrate` 命令应该会为你处理这个问题。阅读[自动迁移](/start/migrate/from-tauri-1/#automated-migration)了解更多信息。
:::

然后,要调用 sidecar 命令,只需将**所有**参数作为数组传入即可。
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
然后,要调用 sidecar 命令,只需将**所有**参数作为数组传入即可。
然后,要调用 `sidecar` 命令,只需将**所有**参数作为数组传入即可。

Missing backquote.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The original text has no backquote.
image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Does this need to be consistent with the original text? @Embers-of-the-Fire

Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's okay with or without, let's be in sync for now and then change it when the source material updates.

@dklassic dklassic merged commit 6f738cb into tauri-apps:v2 Aug 2, 2024
6 of 7 checks passed
@GuoJikun GuoJikun deleted the v2-translate-sidecar branch August 2, 2024 08:33
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.

4 participants