From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id OANCMnYjOmcFTgAA62LTzQ:P1 (envelope-from ) for ; Sun, 17 Nov 2024 17:10:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id OANCMnYjOmcFTgAA62LTzQ (envelope-from ) for ; Sun, 17 Nov 2024 18:10:14 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=F04YinKL; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=XRU19dFn; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731863414; a=rsa-sha256; cv=none; b=h88CS9/ei72dUV7HY30xVTh3e/RiUtv0JGGk6kdaCOvyXGJy684lawjK9SBRYc2hRrAD3L yZUX3QAfM1+fBvO6TEGBQfI7ed/HzSeuQnXE2SqtoyKmU+hY6wIMuOOSvicvIpHfc7jlNv soBXRdu0wpURUgJE7wukUJ7f+4MknkJu9wmEuRih5tuUAy8odGQXDfbgAtKhPNSOe31oju f/Mu45t4EOrps9uDHOHqCAEWp6xMfKdidUwMCPetAuBhZfcFpLJ8Ad7+Fx7p07/nNJNrw9 INUQojatrLr6WXcKmjyHbCMZuZTT8F57X+ZgRq+8z7WFZ/yQdeOoek5fdTrmbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=F04YinKL; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=XRU19dFn; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731863414; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7gOQfu7zQzM4JbztAP0DsHcmrE0tINta4v0q/OQD+Fs=; b=ABWJVLigyVYjk9YE8Ne8ZQhityBMLrDp7+h7dQpmRtIbY3pvld5ZuiiNTMEEYs501hRM+J RiuQmr76xKWIW0+eeECB/MNz4d+xgPp1KY2r8kWjbn/AdNglqIsdTFuFY6wmqMWRu2fsdS eySWRHNqMNh2KAOrpQSM6HuniKOkGtM1Vb0xqRCpqbOO+4r+gNYuErqcsdS+AtnJC6dIDq okcKCVWYP+ZTgwZeLC0VpV84+LWKJqp33veCpX3TNDtkVYui0D3ug9/m9dvGTA5d/XtYd9 jTGQGKBXYIudMHvNi7vlI5yWI9oRW2Y95M8Mc0OmEFqlFTAXMprFAUSiUtrqwQ== 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 CDBA38421F for ; Sun, 17 Nov 2024 18:10:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCimi-0003mW-54; Sun, 17 Nov 2024 12:10:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tCimg-0003lS-TH for guix-patches@gnu.org; Sun, 17 Nov 2024 12:10:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tCimg-0003qx-Jt for guix-patches@gnu.org; Sun, 17 Nov 2024 12:10:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=7gOQfu7zQzM4JbztAP0DsHcmrE0tINta4v0q/OQD+Fs=; b=F04YinKLNdt3ClDA7DhmBej1gcEBY+i7hL6xgc4H57AQOln6i5h9gTQi63NXm81EcDzrN4gR2ucDUVWQeF74bx5UrULcDfKck3yjbpji/u+vUbNHVqPdtp1iZSDxfV7UcOOU7sdf9eyJ/4p07hqWyHsKf5T4PV0TnQxzraOftLpEAFD5TvpNF5pqMhrfBxJlWzaB66VDfiMgzs+UbD2zYpsnaorSfQwbeiInhQvbXXUJqM2vMm8bJtyRWmXkKziaurdmVMFjcCGo1p2FjiyWcErm5UJ01oyERmNv66+dZUefOHU/tWbFYXcIBVd20gVezbfuGMID1mG6bsdWBUea0A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tCimg-0004Dl-EC for guix-patches@gnu.org; Sun, 17 Nov 2024 12:10:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74190] [PATCH 2/3] install: Change the territory when we have learned it. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Nov 2024 17:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74190 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Florian Pelz Cc: Mathieu Othacehe , 74190@debbugs.gnu.org, Josselin Poiret Received: via spool by 74190-submit@debbugs.gnu.org id=B74190.173186336816152 (code B ref 74190); Sun, 17 Nov 2024 17:10:02 +0000 Received: (at 74190) by debbugs.gnu.org; 17 Nov 2024 17:09:28 +0000 Received: from localhost ([127.0.0.1]:58386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCim7-0004CS-QD for submit@debbugs.gnu.org; Sun, 17 Nov 2024 12:09:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCim6-0004CC-9m for 74190@debbugs.gnu.org; Sun, 17 Nov 2024 12:09:26 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tCilz-0003kd-Mx; Sun, 17 Nov 2024 12:09:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=7gOQfu7zQzM4JbztAP0DsHcmrE0tINta4v0q/OQD+Fs=; b=XRU19dFnxCo9ze+wR5im r7wY/kn5f3Uc21ck9Y/l2bYhA+KrQEWjXIj3XHBEjB3VX7SQHXG2cN/Ijhfj8v4tkViaAGMd/M37j nI7jUe4L/gBW1wjx3al+q9cyq7zF58qJUM5r61MFc0eR4sN8OeI9FotFX6/g6V50V3hNcdSCaHCRs rf2GrVo4rMbWQeLggyRt2IiKw9vGUbnJ10HuklnRiE0MYygQQjjjHaWQbvhWPKxEIVQkKcUk3ffgo z7RSn9ehd4o+utHqMVRVH1ZO6Utso9a0IHhMRdpNyHJU2ISdx2mxpwS5Ui1dDhCsEjr74HsqEkChj 9503d8Yw4sM7VQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <1e50d2858a80c891f3b7fa377e5b876c475f9e92.1730645617.git.pelzflorian@pelzflorian.de> (Florian Pelz's message of "Sun, 3 Nov 2024 16:25:42 +0100") References: <1e50d2858a80c891f3b7fa377e5b876c475f9e92.1730645617.git.pelzflorian@pelzflorian.de> Date: Sun, 17 Nov 2024 18:08:59 +0100 Message-ID: <878qthkct0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -0.71 X-Spam-Score: -0.71 X-Migadu-Queue-Id: CDBA38421F X-Migadu-Scanner: mx12.migadu.com X-TUID: T3g9rBMPQMI0 Florian Pelz skribis: > Typically, the LANGUAGE has already been set in the run-language-page > step. But for languages like pt, we must know the territory. > > gnu/installer/newt/locale.scm (run-territory-page): Switch to ^ Missing bullet (star). > the territory before returning it. Instead of =E2=80=9CSwitch to=E2=80=A6=E2=80=9D, I=E2=80=99d write =E2=80= =9CCall =E2=80=98setenv=E2=80=99 for the =E2=80=98LANGUAGE=E2=80=99 variable.=E2=80=9D > (define (run-territory-page territories territory->text) > - (let ((title (G_ "Locale location"))) > + (define result > (run-listbox-selection-page > - #:title title > + #:title (G_ "Locale location") > #:info-text (G_ "Choose a territory for this language.") > #:listbox-items territories > #:listbox-item->text territory->text > #:button-text (G_ "Back") > #:button-callback-procedure > (lambda _ > - (abort-to-prompt 'installer-step 'abort))))) > + (abort-to-prompt 'installer-step 'abort)))) > + > + ;; Some languages, such as pt, cannot be installed early in the > + ;; run-language-page step. Install them now, when we know the territo= ry. > + (setenv "LANGUAGE" (string-append (getenv "LANGUAGE") "_" result)) Does that have an effect though: isn=E2=80=99t the Info reader already runn= ing at this point? Thanks, Ludo=E2=80=99.