From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 04 17:52:42 2020 Received: (at submit) by debbugs.gnu.org; 4 Nov 2020 22:52:42 +0000 Received: from localhost ([127.0.0.1]:50928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kaRdy-0001jL-2v for submit@debbugs.gnu.org; Wed, 04 Nov 2020 17:52:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:51322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kaRdw-0001jD-5u for submit@debbugs.gnu.org; Wed, 04 Nov 2020 17:52:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42840) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaRdv-0004rH-QX for bug-guix@gnu.org; Wed, 04 Nov 2020 17:52:39 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:42079) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kaRdt-0007oU-8u for bug-guix@gnu.org; Wed, 04 Nov 2020 17:52:39 -0500 Received: by mail-wr1-x429.google.com with SMTP id w14so206405wrs.9 for ; Wed, 04 Nov 2020 14:52:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:user-agent:mime-version :content-transfer-encoding; bh=YnRmpZvijH5hq3d7JmwVmwi//NEl+PIGDPi601KIY4E=; b=Xb4/8sfuDw+ql4I0to6SR5o2yAut39D8QPFcgZr2sbof7Fnpm0umdyKJ5C+5QaUh6T he5VrLrhT3/1brRKwHcf90AFJ53lNfWU64fzzqWqGpos/YCWZ9/R3Uv7D1Tg+347h2hS ssJ9VWkuGFEq6quU9BHDxRoOnPvqUKwIyyrNdNDaDBRae5LeueXEQslq/G7+MLCyvl1m GWfyknXwNtXKR3KDVijbVyqXs95H3NCxeawls/XRbxLxILd9qdkKb2mxCXRQd7x6aJRt ckYmyIKLCuNByZrQC0nhYhQBM3BA/KxpAquouAmW+O/jbsJ4skCAlC75Rp9fBeN+Xglc QALg== 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:user-agent :mime-version:content-transfer-encoding; bh=YnRmpZvijH5hq3d7JmwVmwi//NEl+PIGDPi601KIY4E=; b=RaxJJSynXfQYjIhIcws8y3mYb8UVuH5R5N0oII2xFdqOn4B/dxFxqVx+6vz5MrrScG n8Bk0Ojf2o4RJaBWQ/bGVFzefRooIMpkgV0Ec21QIfR9VgDL8FVXZd+ppuIe6FxWXLMM AIix2mvrLnuIH6Ow7PJxwcqJprdrWk/e1VYoEv7rwuHdKKXP8rA+htjnDXM032Hb2iGd wjqAmPlhpy5+Yy1gHLoOtAYDCvwiJzbqCgws5AyPjGUrOwg3QxJisb9lVO8ogt8Gc7qF 56rqQCdJcwS32+kOjOk8VbxHjjYTg0AQe981fC1+ykDVa4IoryghEO0jZVjhDE48osMq kH5Q== X-Gm-Message-State: AOAM5306zYzti+t/B+X/YGN/DA9s8C+LvcVp1eIaM9NyKv3oJReCN32d ee+s55d1Dh94SUo8F98q9JM= X-Google-Smtp-Source: ABdhPJySx2BQQdGjwHjqb4CTn02vkniindORgY6dPs5LmRX+8rW8EBqjvf129Bx7jzOhDbLP6WtAzA== X-Received: by 2002:a5d:4dc7:: with SMTP id f7mr221327wru.375.1604530355200; Wed, 04 Nov 2020 14:52:35 -0800 (PST) Received: from unfall (218.139.134.37.dynamic.jazztel.es. [37.134.139.218]) by smtp.gmail.com with ESMTPSA id q2sm4786278wrw.40.2020.11.04.14.52.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 14:52:34 -0800 (PST) From: =?utf-8?Q?Miguel_=C3=81ngel_Arruga_Vivas?= To: bug-guix@gnu.org Subject: [ARTWORK] website: Not enough context for translation of None Date: Wed, 04 Nov 2020 23:52:33 +0100 Message-ID: <87y2jg7n0u.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=rosen644835@gmail.com; helo=mail-wr1-x429.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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-Spam-Score: 0.6 (/) X-Debbugs-Envelope-To: submit Cc: "pelzflorian \(Florian Pelz\)" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) The string "None" does not have enough context and can lead to wrong translations, as the word or even the gender may differ for each one. This change also will invalidate the current translation. The code fragment where it is used is included as reported in other thread: "pelzflorian (Florian Pelz)" writes: >> (define (patches->shtml patches) >> "Return an SHTML representation of PATCHES. >> >> PATCHES (list) >> A list of objects as defined in (apps packages types) >> module. >> >> RETURN (shtml) >> If the list of patches is empty, return the string 'None'. >> Otherwise, return a list of links to patches." >> (if (null? patches) >> (G_ "None") >> [=E2=80=A6] > >> (define (supported-systems->shtml package) >> "Return a list of SHTML a links to SYSTEMS builds. >> [=E2=80=A6] >> (if (null? systems) >> (G_ "None") >> [=E2=80=A6] From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 05 12:51:38 2020 Received: (at 44455) by debbugs.gnu.org; 5 Nov 2020 17:51:38 +0000 Received: from localhost ([127.0.0.1]:54056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kajQA-0001a7-2g for submit@debbugs.gnu.org; Thu, 05 Nov 2020 12:51:38 -0500 Received: from mail-wr1-f45.google.com ([209.85.221.45]:34602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kajQ7-0001Zu-TB for 44455@debbugs.gnu.org; Thu, 05 Nov 2020 12:51:36 -0500 Received: by mail-wr1-f45.google.com with SMTP id e6so2795185wro.1 for <44455@debbugs.gnu.org>; Thu, 05 Nov 2020 09:51:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=T4Lf2712wFAx1eJIIYVVQ/Dy56Zlh6Q0I/vzK5S4TLc=; b=WnOxiwuA8MyzjN1ypmjOU2k4maGIAYYDl9V8btjgeEf34fkV1OcSuWIsSxep7NU068 3OxYLfohE9WlFK8U5a6ssjWUBhJKeW2qjUViWuEIvuAIfUruhq5W+Cp70nNAjBVTCcYU aLGPT90zPnm/t++kUyWfY9KxMbuu6dRL9AEwQC3VkUyJUpE2Q/448MY6KlZ/UVQjshfT RaQSbL3HdCnAt08O0lAxVcP8aHZrPxzkDdEmljIZso6ScZ+1hWEfUin8zEWRGrSb0CN1 TjwvjkLwwc4h18McKeFkCsC5ssLMXYalzzogV11uigA/QcClt1fzTfDPsEftSXrFlPu3 PTIA== 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:references:date:in-reply-to :message-id:user-agent:mime-version; bh=T4Lf2712wFAx1eJIIYVVQ/Dy56Zlh6Q0I/vzK5S4TLc=; b=qQaQHcxBsmCuZm8wC2v0Kb/epS9JQ/KBSoVrjav2i7Iqy0YqDMS01mrw1pzWrPLAqf jE+0APJteUWeWlNTNuKAA5X3pM6eVPY+v30FTBW4k5Nr7/y6IuwDLV3K3aQjKSPx1C3e whRl+6SRxG6VQdXaS2XizxuDX38A+szHgDarhUv1xaZ+sYBRvi/G+N+JeRaztnmBQKRj z43w6GAxcBwN8OhbW6UpgKeHFt0BttgVr/4cciSCfDHvoW31ztGHDrt8faC1ae9JTwPt unimeIFXUGV6xmJ0FnBIEuxc2jlw1v90NV+fw1oMQb8djlAogOTzVFUEvVfYZIinb+6c HgIQ== X-Gm-Message-State: AOAM5310cXPSDPXXp7UP1eAbqBYU7JJlEE5i8P8dm7I5Fe+ZaGjzcBSg MzSseHvrJiersiZN/vqylEw= X-Google-Smtp-Source: ABdhPJy5LM86g8dxP1hIzged8AC+GS1V4L2ySYD0HrjysZUqQATr8dsHnguboDdHSZIoDzX1vpXLRw== X-Received: by 2002:adf:fb0f:: with SMTP id c15mr4200806wrr.86.1604598690082; Thu, 05 Nov 2020 09:51:30 -0800 (PST) Received: from unfall (218.139.134.37.dynamic.jazztel.es. [37.134.139.218]) by smtp.gmail.com with ESMTPSA id n14sm3183499wrt.8.2020.11.05.09.51.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Nov 2020 09:51:28 -0800 (PST) From: =?utf-8?Q?Miguel_=C3=81ngel_Arruga_Vivas?= To: 44455@debbugs.gnu.org Subject: Re: bug#44455: [ARTWORK] website: Not enough context for translation of None References: <87y2jg7n0u.fsf@gmail.com> Date: Thu, 05 Nov 2020 18:51:20 +0100 In-Reply-To: <87y2jg7n0u.fsf@gmail.com> ("Miguel =?utf-8?Q?=C3=81ngel?= Arruga Vivas"'s message of "Wed, 04 Nov 2020 23:52:33 +0100") Message-ID: <87pn4r7kvb.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 44455 Cc: "pelzflorian \(Florian Pelz\)" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hi! The first patch changes "None" usages, but it invalidates the current translations. Feel free to push these three together with the one for German when you have it ready. Happy hacking! Miguel --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-website-Add-context-to-None-translation.patch Content-Transfer-Encoding: quoted-printable Content-Description: add-context-to-none.patch From=204a9cb613b45432de3d5ec9711c95dec1ea18cf25 Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Miguel=3D20=3DC3=3D81ngel=3D20Arruga=3D20Vivas?=3D Date: Thu, 5 Nov 2020 18:31:18 +0100 Subject: [PATCH 1/3] website: Add context to None translation. * website/apps/packages/templates/components.scm (patches->shtml): Add context "patches" for the translation of "None". (supported-systems->shtml): Add context "systems" for the translation of "None". =2D-- website/apps/packages/templates/components.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/apps/packages/templates/components.scm b/website/apps/= packages/templates/components.scm index 59b4857..2695f73 100644 =2D-- a/website/apps/packages/templates/components.scm +++ b/website/apps/packages/templates/components.scm @@ -201,7 +201,7 @@ If the list of patches is empty, return the string 'None'. Otherwise, return a list of links to patches." (if (null? patches) =2D (G_ "None") + (C_ "patches" "None") (separate (map (lambda (patch) (link-subtle #:label (ilink-name patch) @@ -267,7 +267,7 @@ %hydra-supported-systems (package-transitive-supported-systems package)))) (if (null? systems) =2D (G_ "None") + (C_ "systems" "None") ;; TODO: There's currently no way to refer to a job like ;; 'coreutils-8.32' in the Cuirass web UI. Add such a link once i= t's ;; become available. =2D-=20 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-website-nls-Update-guix-website.pot.patch Content-Transfer-Encoding: quoted-printable Content-Description: update-pot.patch From=20c499bf4afbb3221d9e9e8fbe69063eac6efab880 Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Miguel=3D20=3DC3=3D81ngel=3D20Arruga=3D20Vivas?=3D Date: Thu, 5 Nov 2020 18:42:03 +0100 Subject: [PATCH 2/3] website: nls: Update guix-website.pot. =2D-- website/po/guix-website.pot | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/website/po/guix-website.pot b/website/po/guix-website.pot index 4f37532..7e44756 100644 =2D-- a/website/po/guix-website.pot +++ b/website/po/guix-website.pot @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" =2D"Project-Id-Version: guix-website 20201105\n" +"Project-Id-Version: guix-website 20201105-2\n" "Report-Msgid-Bugs-To: bug-guix@gnu.org\n" =2D"POT-Creation-Date: 2020-11-05 18:12+0100\n" +"POT-Creation-Date: 2020-11-05 18:38+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1374,7 +1374,13 @@ msgstr "" msgid "Browse alphabetically" msgstr "" =20 =2D#: apps/packages/templates/components.scm:204 apps/packages/templates/co= mponents.scm:270 +#: apps/packages/templates/components.scm:204 +msgctxt "patches" +msgid "None" +msgstr "" + +#: apps/packages/templates/components.scm:270 +msgctxt "systems" msgid "None" msgstr "" =20 =2D-=20 2.28.0 --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0003-website-nls-Update-Spanish-translation.patch Content-Transfer-Encoding: quoted-printable Content-Description: update-es.patch From=2071202be1b9e4e54a5c9cb741b77887914eab534d Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Miguel=3D20=3DC3=3D81ngel=3D20Arruga=3D20Vivas?=3D Date: Thu, 5 Nov 2020 18:48:37 +0100 Subject: [PATCH 3/3] website: nls: Update Spanish translation. =2D-- website/po/es.po | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/website/po/es.po b/website/po/es.po index b845aa2..2658eae 100644 =2D-- a/website/po/es.po +++ b/website/po/es.po @@ -7,10 +7,10 @@ # * Feed se traduce como tabl=C3=B3n [de anuncios] cuando es posible. msgid "" msgstr "" =2D"Project-Id-Version: guix-website 20201005\n" +"Project-Id-Version: guix-website 20201005-2\n" "Report-Msgid-Bugs-To: bug-guix@gnu.org\n" =2D"POT-Creation-Date: 2020-11-05 18:12+0100\n" =2D"PO-Revision-Date: 2020-11-05 18:43+0100\n" +"POT-Creation-Date: 2020-11-05 18:38+0100\n" +"PO-Revision-Date: 2020-11-05 18:48+0100\n" "Last-Translator: Miguel =C3=81ngel Arruga Vivas \n" "Language-Team: Spanish \n" "Language: es\n" @@ -2152,12 +2152,16 @@ msgstr "Men=C3=BA de paquetes: " msgid "Browse alphabetically" msgstr "Navegar alfab=C3=A9ticamente" =20 =2D# FUZZY #: apps/packages/templates/components.scm:204 =2D#: apps/packages/templates/components.scm:270 +msgctxt "patches" msgid "None" msgstr "No hay" =20 +#: apps/packages/templates/components.scm:270 +msgctxt "systems" +msgid "None" +msgstr "Ninguno" + #: apps/packages/templates/detailed-index.scm:22 #: apps/packages/templates/detailed-package-list.scm:25 #: apps/packages/templates/index.scm:22 =2D-=20 2.28.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAEBCgAdFiEEiIeExBRZrMuD5+hMY0xuiXn6vsIFAl+kO5gACgkQY0xuiXn6 vsLTNwv/W41QGw/2L96uMw6wBilgrWBHN4VIX+k+Da2Z1llEqAWhs8AZwecqKqfP tL0wV3cGVhnsmBIiQueOmWgDlgM+1x8Gve9P7isSuivgKtvNGdciFsIA2nalXE+6 Zod8IRGjT1pKwFDk6K4ukfyICHfhFGpkWxtIiXNYkAfEwBduR+Ocq6xYvkqfC937 ShMlCVo9KH1Yqp2f1solWLYuQ48fdQqiYCTvRK1yBpxVvQmRIgH02OMcfrClLTge 2H72THiFZpke0MrSdqJmbmWGdQX9uZdmxxRO+oxhdr9X3iUKp8iqs/z7ABACzCF5 FwSt2rTF+afF1+zWKZtJiVnC6iTUt4SO0bisfNwxYPxKXZfxe8Cdiql1RMjBFdW/ 5umnUnA9W1uB+z8y+cgbHOwzoXDLjBUG8DnMdSCOvOKU4YSLDCbJ2vFu20Ll42o7 cGr+udu1tcwATb9idNxaMum0kSaRtYYBlVmqJ3+QhGJrgv24DliEjFMFHwztuQCr 5eYjzh7h =UQ/A -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 06 05:43:00 2020 Received: (at 44455-done) by debbugs.gnu.org; 6 Nov 2020 10:43:00 +0000 Received: from localhost ([127.0.0.1]:55222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kazCt-0003k5-W2 for submit@debbugs.gnu.org; Fri, 06 Nov 2020 05:43:00 -0500 Received: from pelzflorian.de ([5.45.111.108]:38564 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kazCr-0003jv-DP for 44455-done@debbugs.gnu.org; Fri, 06 Nov 2020 05:42:58 -0500 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id DCBE13605A1; Fri, 6 Nov 2020 11:42:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1604659375; bh=rp5ixqEm79jNPj6Jh4VLaX1vE5qRWZSSLmvMeJelQEY=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=1BgQMjt4t7HcBN83CNF0bsUph1ZY5DlLaH/RNMm7To7JCBeoEn9AxfRZ6HKPSKxlx Leo9vTpGFlAZAAYj/1AGdrr6dDG7bFtE9JGnnuy4W1XEY6cVMV3YI5NgBHTBWfz6M8 WIdB8nS1+Fj85mqXCdKON4ZG6KIh1DRldTcxJIN0= Date: Fri, 6 Nov 2020 11:42:46 +0100 From: "pelzflorian (Florian Pelz)" To: Miguel =?utf-8?B?w4FuZ2Vs?= Arruga Vivas Subject: Re: bug#44455: [ARTWORK] website: Not enough context for translation of None Message-ID: <20201106104246.tojjs2sskj2qyjen@pelzflorian.localdomain> References: <87y2jg7n0u.fsf@gmail.com> <87pn4r7kvb.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87pn4r7kvb.fsf@gmail.com> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44455-done Cc: 44455-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu, Nov 05, 2020 at 06:51:20PM +0100, Miguel Ángel Arruga Vivas wrote: > Feel free to push these three together with the one for > German when you have it ready. Pushed as fc8ec5409bd3d7221afc2f9feaac4ce36d5c1192 and following. Thank you for doing the work and thinking it through! Regards, Florian From unknown Sun Aug 10 16:45:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 04 Dec 2020 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator