Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1lSgQ9-0006oo-Gg for mharc-grub-devel@gnu.org; Sat, 03 Apr 2021 09:34:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSgQ8-0006oS-Bc for grub-devel@gnu.org; Sat, 03 Apr 2021 09:34:36 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:35479) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lSgQ5-0002zc-Rj for grub-devel@gnu.org; Sat, 03 Apr 2021 09:34:36 -0400 Received: by mail-wr1-x436.google.com with SMTP id j18so6917860wra.2 for ; Sat, 03 Apr 2021 06:34:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=F4wlwfS4yJ/Ta/lQboTh6THteCVF6awNv5+BSQI3vwg=; b=OAXq6r15idqSXXxTphlvBHeLN/nvFnQcgYoTI9qoRvEPyepwcmAhnufFLbgHZdmYsL gg2ezqmH01Aeh+2CpcG0SxSF9PmL1DPbc1jGFX2HeyNgmOXSqFDRUSnCB8V66D7yxCqC xFRPv+NPOCYq4n9aW9DTCgEcQE6LV/gs5SIn7fglFu0vEaX8yb1g8OPfHJZ1Hv8qz69g 0XBd3ati+cBpUe7ko53kAKUjkMrg8xia4aZKha5PneK3oDrxSASpwAf6zb98YaKB0oki FEuapGChasYLM6R1qw7OedQvPjk/b9mdSfpuFjwj7IFsjc234MdjvZYCUl40dJbg30aG r5Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=F4wlwfS4yJ/Ta/lQboTh6THteCVF6awNv5+BSQI3vwg=; b=VCtV/+/XfXsDzZjEhumByO8PO4YW0qCkRWVNEbQOxDDuJTumtUfVCZo8S5pCOOIrDo KoI+ggcc2yBbtuyxAvTJXndddEJsLaSrdelR6zyV+WXmUNCraBaeaf8Be/d7moUK+ds3 hDzoqc8TB4vnNFyU0nxEbVQQ1haE0FOBMiXKhtv0RtmExePx8cTqHM4GG1wXv7Sa2cJR gUcATODcYt7KggejJgBiDQ7p6gqGkPHZBnBaxEWEmg2/Cu/XB5LgDSBOkcI9RPWjG3Mu 6aP69uWBm0iIvnBzRcTvYOk5MM/0cK8zBoAstemdfOrjrVnU+XZf+CvlWRJdKlRJb06G lTig== X-Gm-Message-State: AOAM5305nwGAJBc62K9SxDhV0XIi5EHzEjStF7y/0y9ho6fb8JOq/lMl TA0J5VLXNBqJHEIOpD2/fg6BMKuf0k0= X-Google-Smtp-Source: ABdhPJwXGXfW5c3ludzEJvRp1bWSlKkiDnsGmmabfaOgi1DbMZa5ED5of6h4b6/tC/GrpwQcWxFyAw== X-Received: by 2002:adf:f1c4:: with SMTP id z4mr20893802wro.404.1617456871944; Sat, 03 Apr 2021 06:34:31 -0700 (PDT) Received: from unfall.home (107.194.158.146.dynamic.jazztel.es. [146.158.194.107]) by smtp.gmail.com with ESMTPSA id m11sm19005694wri.44.2021.04.03.06.34.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 06:34:31 -0700 (PDT) From: =?UTF-8?q?Miguel=20=C3=81ngel=20Arruga=20Vivas?= To: grub-devel@gnu.org Cc: Daniel Kiper , Daniel Kiper , Glenn Washburn , =?UTF-8?q?Miguel=20=C3=81ngel=20Arruga=20Vivas?= Subject: [PATCH 0/1] PRI* translation issues. Date: Sat, 3 Apr 2021 15:33:32 +0200 Message-Id: <20210403133333.25955-1-rosen644835@gmail.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=rosen644835@gmail.com; helo=mail-wr1-x436.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 13:34:36 -0000 Hi, Daniel Kiper writes: [...] > Thank you for the report! You're welcome! Sorry for the delay again, I've been a bit busy. [...] > Could you send this patch using "git send-email"? I hope the updated patch works fine. I have some doubts regarding this acryonym: > Could you add your SOB here? I added a description of the change there too instead of only making the reference to the manual, but certainly I don't know what SOB means in this context, sorry. :-( Regarding the patch: >> + char rel_info[17]; /* log16 (2^64) = 16, plus nul. */ > > Please add empty line here and s/nul/NUL/. I've added the empty line and modified the NUL as requested. >> + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, >> + N_("relocation 0x%s" >> + " is not implemented yet"), >> + rel_info); > > Please merge all these 3 lines into one, i.e: > N_("relocation 0x%s" is not implemented yet"), rel_info); I wasn't quite sure about this, as the column count goes high on my Emacs, should I remove some indentation? Perhaps three lines could be another compromise with N_ and rel_info on separate lines as the other code? > Does this patch fix all PRI* translation issues? I think all PRI* issues facing up the user are covered; I grep'ed the code and they seem to be only used for internal messages. > When I get next version of patch from you I will rebuild and update pot file. Sorry again for the delay, and thank you very much for your support. Happy hacking! Miguel Miguel Ángel Arruga Vivas (1): i18n: Format large integers before the translation message. grub-core/disk/luks2.c | 5 ++++- grub-core/efiemu/i386/loadcore64.c | 13 +++++++++---- grub-core/kern/arm64/dl.c | 13 +++++++++---- grub-core/kern/ia64/dl.c | 13 +++++++++---- grub-core/kern/riscv/dl.c | 14 ++++++++++---- grub-core/kern/sparc64/dl.c | 12 ++++++++---- grub-core/kern/x86_64/dl.c | 13 +++++++++---- 7 files changed, 58 insertions(+), 25 deletions(-) -- 2.30.0