diff --git a/src/Compiler/xlf/FSComp.txt.zh-Hans.xlf b/src/Compiler/xlf/FSComp.txt.zh-Hans.xlf index cc1bc9c120db00ab9bd4af846b1b9fbd36c461f7..2795a7b73326cc1a2ea00dc4b47f7216241710f6 100644 --- a/src/Compiler/xlf/FSComp.txt.zh-Hans.xlf +++ b/src/Compiler/xlf/FSComp.txt.zh-Hans.xlf @@ -24,7 +24,7 @@ If a type uses both [<Sealed>] and [<AbstractClass>] attributes, it means it is static. Abstract member declarations are not allowed. - If a type uses both [<Sealed>] and [<AbstractClass>] attributes, it means it is static. Abstract member declarations are not allowed. + 如果类型同时使用 [<Sealed>] 和 [<AbstractClass>] 属性,则表示它是静态的。不允许抽象成员声明。 @@ -34,7 +34,7 @@ FSharp.Core.AutoOpenAttribute should not be aliased. - 不应将 FSharp.Core.AutoOpenAttribute 设置为别名。 + FSharp.Core.AutoOpenAttribute 不应为别名。 @@ -49,7 +49,7 @@ If a type uses both [<Sealed>] and [<AbstractClass>] attributes, it means it is static. Explicit field declarations are not allowed. - If a type uses both [<Sealed>] and [<AbstractClass>] attributes, it means it is static. Explicit field declarations are not allowed. + 如果类型同时使用 [<Sealed>] 和 [<AbstractClass>] 属性,则表示它是静态的。不允许显式字段声明。 @@ -69,7 +69,7 @@ If a type uses both [<Sealed>] and [<AbstractClass>] attributes, it means it is static. Implementing interfaces is not allowed. - If a type uses both [<Sealed>] and [<AbstractClass>] attributes, it means it is static. Implementing interfaces is not allowed. + 如果类型同时使用 [<Sealed>] 和 [<AbstractClass>] 属性,则表示它是静态的。不允许实现接口。 @@ -94,7 +94,7 @@ If a type uses both [<Sealed>] and [<AbstractClass>] attributes, it means it is static. Instance let bindings are not allowed. - If a type uses both [<Sealed>] and [<AbstractClass>] attributes, it means it is static. Instance let bindings are not allowed. + 如果类型同时使用 [<Sealed>] 和 [<AbstractClass>] 属性,则表示它是静态的。不允许使用实例允许绑定。 @@ -314,7 +314,7 @@ String values marked as literals and IL constants as printf format - 标记为文本和 IL 常量作为 printf 格式的字符串值 + 标记为文本和 IL 常量的字符串值为 printf 格式 @@ -409,7 +409,7 @@ Raises warnings when an copy-and-update record expression changes all fields of a record. - 当复制和更新记录表达式更改记录的所有字段时引发警告。 + 复制和更新记录表达式更改记录的所有字段时引发警告。 @@ -509,7 +509,7 @@ Keyword reserved for ML-compatibility. - 为 ML 兼容性保留的关键字。 + 保留用于 ML 兼容性的关键字。 @@ -774,7 +774,7 @@ Unexpected end of input in 'else if' or 'elif' branch of conditional expression. Expected 'elif <expr> then <expr>' or 'else if <expr> then <expr>'. - 条件表达式的 “else if” 或 “elif” 分支中的输入意外结束。应为 “elif <expr> then <expr>” 或 “else if <expr> then <expr>”。 + 条件表达式的 "else if" 或 "elif" 分支中的输入意外结束。应为 "elif <expr> then <expr>" 或 "else if <expr> then <expr>"。 @@ -919,7 +919,7 @@ This copy-and-update record expression changes all fields of record type '{0}'. Consider using the record construction syntax instead. - 此复制和更新记录表达式会更改记录类型'{0}'的所有字段。请考虑改用记录构造语法。 + 此复制和更新记录表达式更改记录类型“{0}”的所有字段。请考虑改用记录构造语法。 @@ -1189,7 +1189,7 @@ A type has been implicitly inferred as 'obj', which may be unintended. Consider adding explicit type annotations. You can disable this warning by using '#nowarn \"3559\"' or '--nowarn:3559'. - A type has been implicitly inferred as 'obj', which may be unintended. Consider adding explicit type annotations. You can disable this warning by using '#nowarn \"3559\"' or '--nowarn:3559'. + 类型已被隐式推断为 "obj",这可能是意外的。请考虑添加显式类型注释。可以使用"#nowarn\"3559\" 或 "--nowarn:3559" 禁用此警告。 diff --git a/src/Compiler/xlf/FSComp.txt.zh-Hant.xlf b/src/Compiler/xlf/FSComp.txt.zh-Hant.xlf index 23f7d673b6e87b1d2f3d61574a0dda44668d1da7..6121684e88012b1237cd1e2afb0a8f30119f05b1 100644 --- a/src/Compiler/xlf/FSComp.txt.zh-Hant.xlf +++ b/src/Compiler/xlf/FSComp.txt.zh-Hant.xlf @@ -24,7 +24,7 @@ If a type uses both [<Sealed>] and [<AbstractClass>] attributes, it means it is static. Abstract member declarations are not allowed. - If a type uses both [<Sealed>] and [<AbstractClass>] attributes, it means it is static. Abstract member declarations are not allowed. + 如果類型同時使用 [<Sealed>] 和 [<AbstractClass>] 屬性,表示其為靜態。不允許使用抽象成員宣告。 @@ -34,7 +34,7 @@ FSharp.Core.AutoOpenAttribute should not be aliased. - FSharp.Core.AutoOpenAttribute 不應有別名。 + 不應別名化 FSharp.Core.AutoOpenAttribute。 @@ -49,7 +49,7 @@ If a type uses both [<Sealed>] and [<AbstractClass>] attributes, it means it is static. Explicit field declarations are not allowed. - If a type uses both [<Sealed>] and [<AbstractClass>] attributes, it means it is static. Explicit field declarations are not allowed. + 如果類型同時使用 [<Sealed>] 和 [<AbstractClass>] 屬性,表示其為靜態。不允許使用明確欄位宣告。 @@ -69,7 +69,7 @@ If a type uses both [<Sealed>] and [<AbstractClass>] attributes, it means it is static. Implementing interfaces is not allowed. - If a type uses both [<Sealed>] and [<AbstractClass>] attributes, it means it is static. Implementing interfaces is not allowed. + 如果類型同時使用 [<Sealed>] 和 [<AbstractClass>] 屬性,表示其為靜態。不允許實作介面。 @@ -94,7 +94,7 @@ If a type uses both [<Sealed>] and [<AbstractClass>] attributes, it means it is static. Instance let bindings are not allowed. - If a type uses both [<Sealed>] and [<AbstractClass>] attributes, it means it is static. Instance let bindings are not allowed. + 如果類型同時使用 [<Sealed>] 和 [<AbstractClass>] 屬性,表示其為靜態。不允許執行個體 'let' 繫結。 @@ -189,7 +189,7 @@ Arithmetic and logical operations in literals, enum definitions and attributes - 常值、列舉定義和屬性中的算術和邏輯運算 + 常值、列舉定義和屬性中的算術和邏輯作業 @@ -309,12 +309,12 @@ Nested record field copy-and-update - 巢狀記錄欄位複製與更新 + 巢狀記錄欄位複製和更新 String values marked as literals and IL constants as printf format - 字串值標記為常值,IL 常數則標示為 printf 格式 + 標記為常值的字串值和標記為 printf 格式的 IL 常數 @@ -404,12 +404,12 @@ Support for try-with in sequence expressions - 支援循序試用運算式 + 支援循序運算式中的 try-with Raises warnings when an copy-and-update record expression changes all fields of a record. - 當複製與更新記錄運算式變更記錄的所有欄位時引發警告。 + 當複製和更新記錄運算式變更記錄的所有欄位時引發警告。 @@ -509,7 +509,7 @@ Keyword reserved for ML-compatibility. - 保留用於 ML 相容性的關鍵字。 + 為 ML 相容性保留的關鍵字。 @@ -774,7 +774,7 @@ Unexpected end of input in 'else if' or 'elif' branch of conditional expression. Expected 'elif <expr> then <expr>' or 'else if <expr> then <expr>'. - 條件運算式的 'else if' 或 'elif' 分支中有未預期的輸入結尾。必須是 'elif <expr> then <expr>' 或 'else if <expr> then <expr>'。 + 條件運算式的 'else if' 或 'elif' 分支中出現未預期的輸入結尾。 預期為 'elif <expr> then <expr>' 或 'else if <expr> then <expr>'. @@ -794,7 +794,7 @@ A constrained generic construct occured in the resumable code specification - 可繼續的程式碼規格中發生限制的一般建構 + 可繼續的程式碼規格中出現了限制式泛型建構 @@ -919,7 +919,7 @@ This copy-and-update record expression changes all fields of record type '{0}'. Consider using the record construction syntax instead. - 此複製與更新記錄運算式會變更記錄類型'{0}'的所有欄位。請考慮改用記錄建構語法。 + 此複製和更新記錄運算式將變更記錄類型為 '{0}' 的所有欄位。請考慮改用記錄建構語法。 @@ -1189,7 +1189,7 @@ A type has been implicitly inferred as 'obj', which may be unintended. Consider adding explicit type annotations. You can disable this warning by using '#nowarn \"3559\"' or '--nowarn:3559'. - A type has been implicitly inferred as 'obj', which may be unintended. Consider adding explicit type annotations. You can disable this warning by using '#nowarn \"3559\"' or '--nowarn:3559'. + 類型已隱含推斷為 'obj',這可能是意外的。請考慮新增明確類型註釋。您可以使用 '#nowarn \"3559\" 或 '--nowarn:3559' 停用此警告。