dotnet / dotnet-api-docs

.NET API reference documentation (.NET 5+, .NET Core, .NET Framework)
https://docs.microsoft.com/dotnet/api/
Other
736 stars 1.57k forks source link

翻译误人 #10358

Open ZeroUltra opened 2 months ago

ZeroUltra commented 2 months ago

List en-us List zh-cn

To reset a List to its initial state, call the Clear method before calling the TrimExcess method. Trimming an empty List sets the capacity of the List to the default capacity.

若要将 重置 List 为其初始状态,请在 Clear 调用 方法之前调用 TrimExcess 方法。 剪裁空 List 会将 的 List 容量设置为默认容量。

一样嘛?

dotnet-policy-service[bot] commented 2 months ago

Tagging subscribers to this area: @dotnet/area-system-collections

krwq commented 2 months ago

@ZeroUltra I'd recommend sending a patch. I personally prefer to rely on English-based messages as the translation issues exists also for my language (Polish). Correct translations will likely require either translation with AI (which I don't believe anyone is working on at the moment) or several years for people to patch up what they notice. People translating the messages often don't know the context of the error message and therefore it may be mistranslated.