From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-2.1 required=3.0 tests=AWL,BAYES_00,BODY_8BITS, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 227AD1F5AE for ; Thu, 13 May 2021 15:40:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234911AbhEMPlf (ORCPT ); Thu, 13 May 2021 11:41:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234869AbhEMPle (ORCPT ); Thu, 13 May 2021 11:41:34 -0400 Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A537C061574 for ; Thu, 13 May 2021 08:40:23 -0700 (PDT) Received: by mail-yb1-xb36.google.com with SMTP id v188so35265478ybe.1 for ; Thu, 13 May 2021 08:40:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=bVeK/oa+/j0hU+hqbnXRvCvoNQ9IajP8PI6O4WOTjRA=; b=AaU/qYfTlTAVR/EsKJy/n+XCfUdIX8+llFPrQhA/7KBkHQU/99CBdqDyms1W/Z7nSW O2U/JKVVR14YsXyojpkMkM5aMWKSIm18mi3/gmxEHzciLFtZA0DIArf5JemAMGKhWtGf A0S+jKOY3hPzLg0bJP/8AqjG5xTm/UwUMnuj5RPd9hgemuoF0X2XbQ0M/YHmR2v4uyLQ 32ZQFPM0YkI71FTczbOhvyY4QQYNOBt0b7ldItBtmUq0kntd/Smdi9o7YNPsHwRhPZPI 4wPta1rsIqcA2lFVoqm6U8VjojpvZmwTze1fagoQU0iGLo+cb7PkpwA25qoBPWfwgr4/ jsXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=bVeK/oa+/j0hU+hqbnXRvCvoNQ9IajP8PI6O4WOTjRA=; b=nDb5fq8Kxmf6W3xWzkcFU3uOgfaZouLbGe3pr7Zk4m/0Q8hHxyEUPhzK8a4267hzGc bn2I0g7TfX4itkiPZN8OhlomqvobsHUhnjv4L4WzgUBAnO/31xzJs0qzMj2qzmrWAuWB emUIkQco9umc5/c5jQCC9adk1HcrhSYDgSWJxUdWtWiHO0sKx3+2d6YRFMIjRO7+8TaE BF3DawHlUb9YlTwbiYQTlzm7BQxhV93s5jDsnE6A4NmpMYHIVfy64/NWUYMg+Hyr2fVM nlTW4+1AXMU17O2wUNmDa/TwZl/lyhEcnpbjVz7WuT7E8z3LHyTK7wP1uWWGPia/ZTGl eawg== X-Gm-Message-State: AOAM531TREHIuaTIYuc7ZsqHGL99wUPAVx/dlqgdOdsPXrV7Hjo65DIQ Q+pJWZ+sQsUcI6kJVRWKSeJwAE0Q8SGTt2yN5fQ= X-Google-Smtp-Source: ABdhPJxh7oOslbob1/aQeBB1ghnGztka3HxyJbrGKbOrqzBfGQLJrE3Ga6+hfUEKPJUl/1r6LkWbV66L4usNj7HW97c= X-Received: by 2002:a25:1455:: with SMTP id 82mr56215094ybu.403.1620920422709; Thu, 13 May 2021 08:40:22 -0700 (PDT) MIME-Version: 1.0 References: <20210311125511.51152-1-bagasdotme@gmail.com> <20210311125511.51152-2-bagasdotme@gmail.com> <2600d078-9ba0-2ebc-4611-c414ef8b12dd@gmail.com> In-Reply-To: <2600d078-9ba0-2ebc-4611-c414ef8b12dd@gmail.com> From: Jiang Xin Date: Thu, 13 May 2021 23:40:11 +0800 Message-ID: Subject: Re: [PATCH 1/3] po/README: document PO helper To: Bagas Sanjaya Cc: Junio C Hamano , Git List , Alexander Shopov , Jordi Mas , =?UTF-8?Q?Matthias_R=C3=BCster?= , Jimmy Angelakos , =?UTF-8?Q?Christopher_D=C3=ADaz?= , =?UTF-8?Q?Jean=2DNo=C3=ABl_Avila?= , Alessandro Menti , Gwan-gyeong Mun , Arusekk , Daniel Santos , Dimitriy Ryazantcev , Peter Krefting , Emir SARI , =?UTF-8?B?VHLhuqduIE5n4buNYyBRdcOibg==?= , Jiang Xin , Yi-Jyun Pan Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Bagas Sanjaya =E4=BA=8E2021=E5=B9=B43=E6=9C=8812=E6= =97=A5=E5=91=A8=E4=BA=94 =E4=B8=8B=E5=8D=887:57=E5=86=99=E9=81=93=EF=BC=9A > > > On 12/03/21 13.03, Junio C Hamano wrote: > > Jiang Xin writes: > > > >> Bagas Sanjaya =E4=BA=8E2021=E5=B9=B43=E6=9C=881= 1=E6=97=A5=E5=91=A8=E5=9B=9B =E4=B8=8B=E5=8D=888:56=E5=86=99=E9=81=93=EF=BC= =9A > >>> > >>> Document about PO helper script (po-helper.sh). It covers about > >>> installing the script and short usage examples. > >>> > >>> Signed-off-by: Bagas Sanjaya > >>> --- > >>> po/README | 22 ++++++++++++++++++++++ > >>> 1 file changed, 22 insertions(+) > >>> > >>> diff --git a/po/README b/po/README > >>> index efd5baaf1d..9beffc2954 100644 > >>> --- a/po/README > >>> +++ b/po/README > >>> @@ -286,3 +286,25 @@ Testing marked strings > >>> > >>> Git's tests are run under LANG=3DC LC_ALL=3DC. So the tests do not = need be > >>> changed to account for translations as they're added. > >>> + > >>> + > >>> +PO Helper > >>> +--------- > >>> + > >>> +To make maintaining XX.po file easier, the l10n coordinator created > >>> +po-helper.sh script. It is wrapper to gettext suite, specifically > >> > >> It's better to rename the script to other name without the suffix > >> ".sh", so we can reimplement it in other programming language. Maybe > >> we can rename it to `git-po-helper`, and host this helper in a > >> separate project on GitHub. > > > > It might be a good move in the longer term, but if the po-helper.sh > > is working well enough to fill the need of i18n/l10n team right now, > > I think documenting the status quo would be a good way to help the > > contributors immediately. > > > > And when we reimplement it (if that is desirable---I have no opinion > > myself), we certainly would want to update this part of the doc to > > use the name of the rewritten tool. > > > > In any case, I expect that you to be the main reviewer on this topic > > and you will feed me the final commits, just like any other change > > in the po/* area via a pull request. In other words, I may have > > input to the discussion on list, but I won't be applying the result > > myself---I'll be pulling from git://github.com/git-l10n/git-po.git > > repository instead. > > > > Thanks. > > > > Grazie Junio. However, I'm more of writing documentation rather than > contributing code, so I will help for the documentation and usage > testing. But anyways, we can ask for help from other l10n contributors > who are more proficient at coding. > Hi Bagas, I created a new repository at https://github.com/git-l10n/git-po-helper that contains a new helper program `git-po-helper` to replace the obsolete `po-helper.sh` script. The new `git-po-helper` program can check character encoding of the commit log, check author/committer datetime, and check format of `po/TEAMS`, etc., in addition to the conventions listed in README of the new project "git-l10n/git-po-helper". You can update your patches according to this change. All l10n contributors can use this new helper to check their l10n contribut= ions. BTW, with the help of Daniel, a google group named git-l10n is created for discussion on git-l10n. This mail is also cc to this email address: git-l10n@googlegroups.com . -- Jiang Xin