[PATCH] Update Simplified Chinese translation

Matsuri srb12345 at vip.qq.com
Wed Feb 26 04:21:54 CET 2020


    Yesterday I remade a patch that contains all the changes so far.
Please review it. "values-zh-rCN" has not been merged yet, just
ignore those two patches I sent before (on 02/16 and 02/23). Thanks.




Regards,
Matsuri




------------------ 原始邮件 ------------------
发件人: "Samuel Holland"<samuel at sholland.org>;
发送时间: 2020年2月25日(星期二) 上午8:56
收件人: "Matsuri"<srb12345 at vip.qq.com>;"wireguard"<wireguard at lists.zx2c4.com>;

主题: Re: [PATCH] Update Simplified Chinese translation



On 2/23/20 5:12 AM, srb12345 at vip.qq.com wrote:
> From: LilligantMatsuri <srb12345 at vip.qq.com>
> 
> Signed-off-by: LilligantMatsuri <srb12345 at vip.qq.com>
> ---
>  app/src/main/res/values-zh-rCN/strings.xml | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)
> 
> diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml
> index 3360dae..97e871a 100644
> --- a/app/src/main/res/values-zh-rCN/strings.xml
> +++ b/app/src/main/res/values-zh-rCN/strings.xml
> @@ -1,21 +1,27 @@
>  <?xml version="1.0" encoding="utf-8"?>
>  <resources>
>      <plurals name="delete_error">
> +        <item quantity="one">无法删除 %d 项:%s</item>
>          <item quantity="other">无法删除 %d 项:%s</item>

These look to be the same as the "other" case. Additional quantity items are
only needed if they are different:

https://developer.android.com/guide/topics/resources/string-resource#plurals-item-element
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20200226/89df49ca/attachment.html>


More information about the WireGuard mailing list