1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-04-22 15:57:46 +02:00

zh-Hant: translation for src/generics/data-types.md (#745)

This commit is contained in:
Hank Chen 2023-06-02 08:52:37 +08:00 committed by GitHub
parent a7bef92b36
commit 77a791e9e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Comprehensive Rust 🦀\n" "Project-Id-Version: Comprehensive Rust 🦀\n"
"POT-Creation-Date: \n" "POT-Creation-Date: \n"
"PO-Revision-Date: 2023-05-31 10:40+0800\n" "PO-Revision-Date: 2023-06-01 22:43+0800\n"
"Last-Translator: Hank Chen <kuanhungchen@google.com>\n" "Last-Translator: Hank Chen <kuanhungchen@google.com>\n"
"Language-Team: Chinese (Traditional) <zh-l10n@lists.linux.org.tw>\n" "Language-Team: Chinese (Traditional) <zh-l10n@lists.linux.org.tw>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -7270,11 +7270,11 @@ msgstr ""
#: src/generics/data-types.md:1 #: src/generics/data-types.md:1
msgid "# Generic Data Types" msgid "# Generic Data Types"
msgstr "" msgstr "# 泛型資料型別"
#: src/generics/data-types.md:3 #: src/generics/data-types.md:3
msgid "You can use generics to abstract over the concrete field type:" msgid "You can use generics to abstract over the concrete field type:"
msgstr "" msgstr "你可以使用泛型將具體的欄位型別抽象化:"
#: src/generics/data-types.md:5 #: src/generics/data-types.md:5
msgid "" msgid ""
@ -7299,6 +7299,9 @@ msgid ""
"\n" "\n"
"* Fix the code to allow points that have elements of different types." "* Fix the code to allow points that have elements of different types."
msgstr "" msgstr ""
"* 試著宣告一個新的變數 `let p = Point { x: 5, y: 10.0 };`.\n"
"\n"
"* 修改程式碼,讓 points 能擁有不同型別的元素。"
#: src/generics/methods.md:1 #: src/generics/methods.md:1
msgid "# Generic Methods" msgid "# Generic Methods"