Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3131557ybi; Sun, 2 Jun 2019 08:02:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqyDz1nVe9+psLraCNw4PUBW89a95lhVq9L3Tnsue7Bb5kKpPoiMoRZ6Y/BIcz86ZHbZGaD5 X-Received: by 2002:a63:2ac9:: with SMTP id q192mr22437286pgq.144.1559487778102; Sun, 02 Jun 2019 08:02:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559487778; cv=none; d=google.com; s=arc-20160816; b=TxlTfBiapYRFPR623Pr0GNqbPxXBL5zXol7M/SMgpMGoJPlLYbwAX/7+Ye3giec97r cXqzHolAZPYXVxe+2gdFixXccynX10en4jW3640EcgTblQSoo5izEK1H8FKrLKdl9+yL +MoO0dSNFazBrQg7Tlajnja0Gwjq5jVCW0ypdITsGLrsa0bVFnuM//s+bPo1NiGL6D9O rfg1ve1MGv3+wbkHMFrr62IZKrAs8hi+gSZfh/+LhVKs5aq7ZXhc23uDX9Yb4mneGmBH b0O6UThT+hm35hC9DgM4b4CawJnN9fwpbd1DShnQ0Sr9aW35G0YmTjxh9WV9u5kx/Vv5 wqcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=InmI3qV/erhjw/yfkqaByuEbAulMUOMegiAq2txtQQ0=; b=B9PzVkF67tEXgqTbo7rx0m4F37IYiZYpXGVlNN1Ce2QEcpoWCoSUrLiAeN+TZQIKKe 2/rbZWYrOXTFifXJSueDGYPxF6n8f1ZIFq6o7sthbH7fmYwJQdcENn3x40azowTHvuiP tx9l8Uiq/WZshFXP5RRQc6vhetLnTC4uj8MtIncF4WJBVY2v9y5pTs88eHTAHPWMcUm2 kTKlYUQfBeFOTXN4InmW0GIXHSs0FPtguSpS2yax5HiMVudMw1xz2t8epqYMuN1Hzb7B JEzHUoC/RUVNbfRGaqhrZs4FiXRtD/AjyiqevRNoJq9ZWvhyTk1d+S00XTnNfcKtQ1zk cqWA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cb5si8986329plb.172.2019.06.02.08.02.42; Sun, 02 Jun 2019 08:02:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726634AbfFBPBk (ORCPT + 99 others); Sun, 2 Jun 2019 11:01:40 -0400 Received: from out30-43.freemail.mail.aliyun.com ([115.124.30.43]:56082 "EHLO out30-43.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726084AbfFBPBk (ORCPT ); Sun, 2 Jun 2019 11:01:40 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;CH=green;DM=||false|;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01f04446;MF=alex.shi@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0TTDV38c_1559487683; Received: from Alexs-MacBook-Pro.local(mailfrom:alex.shi@linux.alibaba.com fp:SMTPD_---0TTDV38c_1559487683) by smtp.aliyun-inc.com(127.0.0.1); Sun, 02 Jun 2019 23:01:23 +0800 Subject: Re: [PATCH 13/22] docs: zh_CN: avoid duplicate citation references To: Mauro Carvalho Chehab , Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Harry Wei References: <9d3b9729663f75249b514dd3910309eb418d9e46.1559171394.git.mchehab+samsung@kernel.org> From: Alex Shi Message-ID: <04bca27d-3c59-5cc7-576b-44e399fa893f@linux.alibaba.com> Date: Sun, 2 Jun 2019 23:01:21 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <9d3b9729663f75249b514dd3910309eb418d9e46.1559171394.git.mchehab+samsung@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/5/30 7:23 上午, Mauro Carvalho Chehab wrote: > Documentation/process/management-style.rst:35: WARNING: duplicate label decisions, other instance in Documentation/translations/zh_CN/process/management-style.rst > Documentation/process/programming-language.rst:37: WARNING: duplicate citation c-language, other instance in Documentation/translations/zh_CN/process/programming-language.rst > Documentation/process/programming-language.rst:38: WARNING: duplicate citation gcc, other instance in Documentation/translations/zh_CN/process/programming-language.rst > Documentation/process/programming-language.rst:39: WARNING: duplicate citation clang, other instance in Documentation/translations/zh_CN/process/programming-language.rst > Documentation/process/programming-language.rst:40: WARNING: duplicate citation icc, other instance in Documentation/translations/zh_CN/process/programming-language.rst > Documentation/process/programming-language.rst:41: WARNING: duplicate citation gcc-c-dialect-options, other instance in Documentation/translations/zh_CN/process/programming-language.rst > Documentation/process/programming-language.rst:42: WARNING: duplicate citation gnu-extensions, other instance in Documentation/translations/zh_CN/process/programming-language.rst > Documentation/process/programming-language.rst:43: WARNING: duplicate citation gcc-attribute-syntax, other instance in Documentation/translations/zh_CN/process/programming-language.rst > Documentation/process/programming-language.rst:44: WARNING: duplicate citation n2049, other instance in Documentation/translations/zh_CN/process/programming-language.rst > > Signed-off-by: Mauro Carvalho Chehab > --- > .../zh_CN/process/management-style.rst | 4 +-- > .../zh_CN/process/programming-language.rst | 28 +++++++++---------- > 2 files changed, 16 insertions(+), 16 deletions(-) > > diff --git a/Documentation/translations/zh_CN/process/management-style.rst b/Documentation/translations/zh_CN/process/management-style.rst > index a181fa56d19e..c6a5bb285797 100644 > --- a/Documentation/translations/zh_CN/process/management-style.rst > +++ b/Documentation/translations/zh_CN/process/management-style.rst > @@ -28,7 +28,7 @@ Linux内核管理风格 > > 不管怎样,这里是: > > -.. _decisions: > +.. _cn_decisions: > > 1)决策 > ------- > @@ -108,7 +108,7 @@ Linux内核管理风格 > 但是,为了做好作为内核管理者的准备,最好记住不要烧掉任何桥梁,不要轰炸任何 > 无辜的村民,也不要疏远太多的内核开发人员。事实证明,疏远人是相当容易的,而 > 亲近一个疏远的人是很难的。因此,“疏远”立即属于“不可逆”的范畴,并根据 > -:ref:`decisions` 成为绝不可以做的事情。 > +:ref:`cn_decisions` 成为绝不可以做的事情。 It's good to have. > > 这里只有几个简单的规则: > > diff --git a/Documentation/translations/zh_CN/process/programming-language.rst b/Documentation/translations/zh_CN/process/programming-language.rst > index 51fd4ef48ea1..9de9a3108c4d 100644 > --- a/Documentation/translations/zh_CN/process/programming-language.rst > +++ b/Documentation/translations/zh_CN/process/programming-language.rst > @@ -8,21 +8,21 @@ > 程序设计语言 > ============ > > -内核是用C语言 [c-language]_ 编写的。更准确地说,内核通常是用 ``gcc`` [gcc]_ > -在 ``-std=gnu89`` [gcc-c-dialect-options]_ 下编译的:ISO C90的 GNU 方言( > +内核是用C语言 [cn_c-language]_ 编写的。更准确地说,内核通常是用 ``gcc`` [cn_gcc]_ this change isn't good. cn_gcc will show in docs, it looks wired and confusing for peoples. other changes have the same issue. Could you find other way to fix the warning? or I'd rather tolerant it. Thanks Alex