From d1bccb77533bc62759cdfab695c2d54c0e15c8df Mon Sep 17 00:00:00 2001 From: wnghl Date: Tue, 6 Jun 2023 21:43:47 +0800 Subject: [PATCH] zh-CN: translate basic-syntax/methods.md and some words in SUMMARY.md (#753) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * zh-CN: translate basic-syntax/methods.md and some words in SUMMARY.md * Use "构造函数" for "constructor" --- po/zh-CN.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/po/zh-CN.po b/po/zh-CN.po index 03492e3b..230ade88 100644 --- a/po/zh-CN.po +++ b/po/zh-CN.po @@ -3104,7 +3104,7 @@ msgid "" "- Add a `Rectangle::new_square(width: u32)` constructor to illustrate that\n" " constructors can take arbitrary parameters." msgstr "" -"- 新增一个 `Rectangle::new` 构造器并在 `main` 函数中调用它:\n" +"- 新增一个 `Rectangle::new` 构造函数并在 `main` 函数中调用它:\n" "\n" " ```rust,editable,compile_fail\n" " fn new(width: u32, height: u32) -> Rectangle {\n" @@ -3112,7 +3112,7 @@ msgstr "" " }\n" " ```\n" "\n" -"- 新增一个 `Rectangle::new_square(width: u32)` 构造器来说明构造器可以接受任意参数。" +"- 新增一个 `Rectangle::new_square(width: u32)` 构造函数来说明构造函数可以接受任意参数。" #: src/basic-syntax/functions-interlude.md:1 msgid "# Function Overloading"