From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id AVu1GSq4/V+sMgAA0tVLHw (envelope-from ) for ; Tue, 12 Jan 2021 14:54:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oKr6FCq4/V8vcwAAbx9fmQ (envelope-from ) for ; Tue, 12 Jan 2021 14:54:34 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CEE11940481 for ; Tue, 12 Jan 2021 14:54:33 +0000 (UTC) Received: from localhost ([::1]:56436 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzL44-0006ty-RK for larch@yhetil.org; Tue, 12 Jan 2021 09:54:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzL3a-0006qP-U3 for guix-patches@gnu.org; Tue, 12 Jan 2021 09:54:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48086) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzL3a-0004Cj-Mf for guix-patches@gnu.org; Tue, 12 Jan 2021 09:54:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kzL3a-0003NZ-Jt for guix-patches@gnu.org; Tue, 12 Jan 2021 09:54:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45815] [PATCH] Switching to Weblate Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Jan 2021 14:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45815 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45815@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161046319112929 (code B ref -1); Tue, 12 Jan 2021 14:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Jan 2021 14:53:11 +0000 Received: from localhost ([127.0.0.1]:59631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzL2g-0003MO-Md for submit@debbugs.gnu.org; Tue, 12 Jan 2021 09:53:10 -0500 Received: from lists.gnu.org ([209.51.188.17]:45782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzL2e-0003MG-98 for submit@debbugs.gnu.org; Tue, 12 Jan 2021 09:53:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzL2d-0004yP-Vw for guix-patches@gnu.org; Tue, 12 Jan 2021 09:53:04 -0500 Received: from lepiller.eu ([2a00:5884:8208::1]:46892) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzL2a-0003a3-P7 for guix-patches@gnu.org; Tue, 12 Jan 2021 09:53:03 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 0903e2ec for ; Tue, 12 Jan 2021 14:52:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:message-id:mime-version:content-type; s=dkim; bh=B4i wSG5OBTNC8GOQph5cqi8I8oUyW76AbOADXPmF+Z8=; b=eEjPJ5nrtk3BhOipjDu 8lXGFktpHqxjBLkY6yOdonNhowaiFBXMaU7YVMj9pPDrjDwKR7o5022EwH6cKpvI /9LPeUWfG47QphB36g85ukX6ghATtpnTghre6mJyNufO23MRY/zsH7zC0hye8eto fYiuwkfRCfgBFq3ymhXQoZxuDTyc7Wc9nH3W8CnAoWeBGFZpF/iQTAVUAJFd2Rhq ePQh7F0SnZpY0M4ByWKPL8g566rJn8oaFrD2ulW9eDW2cL37L9JqnvYYekIRHMIl +7UzXuPO9MdwD86vQJCQXs5Kco36l8kEYEKZt7UPrid9jkwbmT4R6W/xu1oaa9Sh 78w== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id e71adf27 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Tue, 12 Jan 2021 14:52:54 +0000 (UTC) Date: Tue, 12 Jan 2021 15:52:49 +0100 From: Julien Lepiller Message-ID: <20210112155235.52447d7f@tachikoma.lepiller.eu> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/eXJ2iiK0bkmmhld9pKrQZr1" Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.26 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=lepiller.eu header.s=dkim header.b=eEjPJ5nr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: CEE11940481 X-Spam-Score: -1.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: BZWUlDz1JmeB --MP_/eXJ2iiK0bkmmhld9pKrQZr1 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Guix! It's finally time to switch to Weblate! We are now hosted at https://translate.fedoraproject.org/projects/guix/. Here are two patches to apply the changes. The first patch changes the Makefile rule "download-po" to download from Weblate instead of the TP. The second patch replaces every mention of the translation project in our documentation with a new link to Weblate. We have the website translation on the Weblate too, so the draft blog post at https://issues.guix.gnu.org/26302#88 could be updated with that information and published. When we decide to apply these patches and switch to Weblate, I will also contact the TP admins to ask if they can close/disable/remove the guix domains, so we don't have conflicts between the two platforms. Am I missing something? Thanks! --MP_/eXJ2iiK0bkmmhld9pKrQZr1 Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-Makefile.am-Download-po-files-from-weblate.patch >From 58dfcf6760d1957b95dfc55ccac4e73396755edd Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 12 Jan 2021 15:35:29 +0100 Subject: [PATCH 1/2] Makefile.am: Download po files from weblate. * Makefile.am (download-po): Download from weblate. --- Makefile.am | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 99bdcfa346..384875d732 100644 --- a/Makefile.am +++ b/Makefile.am @@ -987,7 +987,7 @@ download-po.$(1): fi ; \ for lang in $$$$LINGUAS; do \ if wget -nv -O "$(top_srcdir)/$(2)/$(3)$$$$lang.po.tmp" \ - "https://translationproject.org/latest/$(1)/$$$$lang.po" ; \ + "https://translate.fedoraproject.org/api/translations/guix/$(1)/$$$$lang/file/" ; \ then \ mv "$(top_srcdir)/$(2)/$(3)$$$$lang.po"{.tmp,} ; \ else \ @@ -999,11 +999,12 @@ download-po.$(1): endef +$(eval $(call make-download-po-rule,documentation-cookbook,po/doc,guix-cookbook.)) +$(eval $(call make-download-po-rule,documentation-manual,po/doc,guix-manual.)) $(eval $(call make-download-po-rule,guix,po/guix)) -$(eval $(call make-download-po-rule,guix-packages,po/packages)) -$(eval $(call make-download-po-rule,guix-manual,po/doc,guix-manual.)) +$(eval $(call make-download-po-rule,packages,po/packages)) -download-po: $(foreach domain,guix guix-packages guix-manual,download-po.$(domain)) +download-po: $(foreach domain,guix packages documentation-manual documentation-cookbook,download-po.$(domain)) .PHONY: download-po ## -------------- ## -- 2.29.2 --MP_/eXJ2iiK0bkmmhld9pKrQZr1 Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0002-doc-Replace-TP-with-Weblate-mentions.patch =46rom ec987b970832ed9569b3dae5463ddbbd2beea292 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 12 Jan 2021 15:46:03 +0100 Subject: [PATCH 2/2] doc: Replace TP with Weblate mentions. * doc/contributing.texi: Replace link to TP with a link to Weblate. * doc/guix.texi: Replace link to TP with a link to Weblate. * doc/guix-cookbook.texi: Replace link to TP with a link to Weblate. --- doc/contributing.texi | 4 ++-- doc/guix-cookbook.texi | 5 +++-- doc/guix.texi | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/doc/contributing.texi b/doc/contributing.texi index d0ab08336a..d1619d3a65 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi @@ -593,8 +593,8 @@ such as @command{guix package --show} take care of rend= ering it appropriately. =20 Synopses and descriptions are translated by volunteers -@uref{https://translationproject.org/domain/guix-packages.html, at the -Translation Project} so that as many users as possible can read them in +@uref{https://translate.fedoraproject.org/projects/guix/packages, at +Weblate} so that as many users as possible can read them in their native language. User interfaces search them and display them in the language specified by the current locale. =20 diff --git a/doc/guix-cookbook.texi b/doc/guix-cookbook.texi index 54ab99558e..9c91ac5f9b 100644 --- a/doc/guix-cookbook.texi +++ b/doc/guix-cookbook.texi @@ -57,8 +57,9 @@ its API, and related concepts. @c how to join your own translation team and how to report issues with the @c translation. If you would like to translate this document in your native language, cons= ider -joining the @uref{https://translationproject.org/domain/guix-cookbook.html, -Translation Project}. +joining the +@uref{https://translate.fedoraproject.org/projects/guix/documentation-cook= book, +Weblate}. =20 @menu * Scheme tutorials:: Meet your new favorite language! diff --git a/doc/guix.texi b/doc/guix.texi index 93c980c196..70c144a285 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -143,8 +143,8 @@ Guix}), German (@pxref{Top,,, guix.de, Referenzhandbuch= zu GNU Guix}), Spanish (@pxref{Top,,, guix.es, Manual de referencia de GNU Guix}), and Russian (@pxref{Top,,, guix.ru, =D0=A0=D1=83=D0=BA=D0=BE=D0=B2=D0=BE=D0=B4= =D1=81=D1=82=D0=B2=D0=BE GNU Guix}). If you would like to translate it in your native language, consider joining the -@uref{https://translationproject.org/domain/guix-manual.html, Translation -Project}. +@uref{https://translate.fedoraproject.org/projects/guix/documentation-manu= al, +Weblate}. =20 @menu * Introduction:: What is Guix about? --=20 2.29.2 --MP_/eXJ2iiK0bkmmhld9pKrQZr1--