Skip to content

Commit

Permalink
Localized file check-in by OneLocBuild Task: Build definition ID 830:…
Browse files Browse the repository at this point in the history
… Build ID 2212443
  • Loading branch information
dotnet-bot committed Jun 30, 2023
1 parent b3d305f commit 76c2707
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1754,7 +1754,7 @@
</trans-unit>
<trans-unit id="UseLiteralsWhereAppropriateDescription">
<source>A field is declared static and read-only (Shared and ReadOnly in Visual Basic), and is initialized by using a value that is computable at compile time. Because the value that is assigned to the targeted field is computable at compile time, change the declaration to a const (Const in Visual Basic) field so that the value is computed at compile time instead of at runtime.</source>
<target state="needs-review-translation">字段声明为 static read-only (Visual Basic 中为 Shared 和 ReadOnly),并且使用编译时可计算的值进行初始化。由于分配给目标字段的值在编译时是可计算的,因此将声明更改为常量(在 Visual Basic 中为 Const),以便在编译时而非运行时计算值。</target>
<target state="new">A field is declared static and read-only (Shared and ReadOnly in Visual Basic), and is initialized by using a value that is computable at compile time. Because the value that is assigned to the targeted field is computable at compile time, change the declaration to a const (Const in Visual Basic) field so that the value is computed at compile time instead of at runtime.</target>
<note />
</trans-unit>
<trans-unit id="UseLiteralsWhereAppropriateMessageDefault">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1754,7 +1754,7 @@
</trans-unit>
<trans-unit id="UseLiteralsWhereAppropriateDescription">
<source>A field is declared static and read-only (Shared and ReadOnly in Visual Basic), and is initialized by using a value that is computable at compile time. Because the value that is assigned to the targeted field is computable at compile time, change the declaration to a const (Const in Visual Basic) field so that the value is computed at compile time instead of at runtime.</source>
<target state="needs-review-translation">宣告為靜態及唯讀的欄位 (在 Visual Basic 中為 Shared ReadOnly),使用編譯時期可計算的值初始化。因為指派給目標欄位的值,可於編譯期間進行計算,將宣告變更為 Const (在 Visual Basic 中為 Const) 欄位,所以此值可於編譯期間計算,而非於執行階段計算。</target>
<target state="new">A field is declared static and read-only (Shared and ReadOnly in Visual Basic), and is initialized by using a value that is computable at compile time. Because the value that is assigned to the targeted field is computable at compile time, change the declaration to a const (Const in Visual Basic) field so that the value is computed at compile time instead of at runtime.</target>
<note />
</trans-unit>
<trans-unit id="UseLiteralsWhereAppropriateMessageDefault">
Expand Down

0 comments on commit 76c2707

Please sign in to comment.