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

zh-CN translation: Add translation for platform and hosting #567

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

hiddenblue
Copy link
Contributor

Generated by Qwen-plus LLM and checked manually.

@rabbitism rabbitism self-requested a review November 1, 2024 06:09

## Runtime Conditions
.NET6 及更高版本提供了一组API在运行时获取操作系统信息 -
Copy link
Collaborator

Choose a reason for hiding this comment

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

.NET 6 及更高版本提供了一组在运行时获取操作系统信息的API


:::note
It's the only possible approach to write a conditional .NET code for Linux OS. As .NET doesn't have a special Target Framework for Linux.
在后一种情况下,这是编写针对Linux操作系统的条件.NET代码的唯一可能方法,因为.NET没有专门针对Linux的目标框架。
Copy link
Collaborator

Choose a reason for hiding this comment

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

其实原文的In the last case就很不明就里……leave it。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

已经修改了这两处

@rabbitism rabbitism merged commit e182e29 into AvaloniaUI:main Nov 1, 2024
2 checks passed
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.

2 participants