1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-05 16:36:19 +02:00

zh-CN: translate android/aidl/changing.md (#1087)

Part of #324
This commit is contained in:
Qinglin 2023-08-31 04:34:23 +08:00 committed by GitHub
parent 8edb95ef93
commit 430d76ba35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -657,7 +657,7 @@ msgstr "客户端"
#: src/SUMMARY.md:196 src/android/aidl/changing.md:1 #: src/SUMMARY.md:196 src/android/aidl/changing.md:1
msgid "Changing API" msgid "Changing API"
msgstr "" msgstr "更改 API"
#: src/SUMMARY.md:197 src/SUMMARY.md:240 src/android/logging.md:1 #: src/SUMMARY.md:197 src/SUMMARY.md:240 src/android/logging.md:1
#: src/bare-metal/aps/logging.md:1 #: src/bare-metal/aps/logging.md:1
@ -12995,7 +12995,7 @@ msgstr ""
msgid "" msgid ""
"Let us extend the API with more functionality: we want to let clients " "Let us extend the API with more functionality: we want to let clients "
"specify a list of lines for the birthday card:" "specify a list of lines for the birthday card:"
msgstr "" msgstr "让我们扩展API以提供更多功能:我们希望允许客户端指定生日贺卡的行列表:"
#: src/android/aidl/changing.md:6 #: src/android/aidl/changing.md:6
msgid "" msgid ""
@ -13009,6 +13009,15 @@ msgid ""
"}\n" "}\n"
"```" "```"
msgstr "" msgstr ""
"```java\n"
"package com.example.birthdayservice;\n"
"\n"
"/** 生日服务接口。 */\n"
"interface IBirthdayService {\n"
" /** 生成一条生日快乐的祝福信息。 */\n"
" String wishHappyBirthday(String name, int years, in String[] text);\n"
"}\n"
"```"
#: src/android/logging.md:3 #: src/android/logging.md:3
msgid "" msgid ""