1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2024-11-29 10:22:05 +02:00

zh-TW: translation for src/generics/monomorphization.md (#755)

* zh-Hant: translation for src/generics/monomorphization.md

* zh-TW: update translation for src/generics/monomorphization.md
This commit is contained in:
kuanhungchen 2023-06-06 09:36:47 +08:00 committed by GitHub
parent 7257052f0c
commit b1c1c04626
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Comprehensive Rust 🦀\n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2023-06-01 22:43+0800\n"
"PO-Revision-Date: 2023-06-02 14:43+0800\n"
"Last-Translator: Hank Chen <kuanhungchen@google.com>\n"
"Language-Team: Traditional Chinese (Taiwan) <zh-l10n@lists.linux.org.tw>\n"
"Language: zh-TW\n"
@ -7365,11 +7365,13 @@ msgstr ""
#: src/generics/monomorphization.md:1
msgid "# Monomorphization"
msgstr ""
msgstr "# 單型化"
#: src/generics/monomorphization.md:3
msgid "Generic code is turned into non-generic code based on the call sites:"
msgstr ""
"Rust 在編譯時進行單型化 (Monomorphization),根據不同呼叫者,將泛型程式碼轉換"
"成實際型別的程式碼:"
#: src/generics/monomorphization.md:5
msgid ""
@ -7383,7 +7385,7 @@ msgstr ""
#: src/generics/monomorphization.md:12
msgid "behaves as if you wrote"
msgstr ""
msgstr "以上程式碼等同於下方的程式碼"
#: src/generics/monomorphization.md:14
msgid ""
@ -7411,6 +7413,8 @@ msgid ""
"had\n"
"hand-coded the data structures without the abstraction."
msgstr ""
"這是一種零成本抽象:單型化的結果,等同於不使用抽象化並手動寫出資料結構的實際"
"型別。"
#: src/traits.md:1
msgid "# Traits"