Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lxtjg-0004aX-N3 for pgadmin-hackers@arkaria.postgresql.org; Mon, 28 Jun 2021 16:03:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lxtjf-0001ZX-MS for pgadmin-hackers@arkaria.postgresql.org; Mon, 28 Jun 2021 16:03:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lxtjf-0001ZN-GW for pgadmin-hackers@lists.postgresql.org; Mon, 28 Jun 2021 16:03:47 +0000 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lxtjb-00068D-5U for pgadmin-hackers@postgresql.org; Mon, 28 Jun 2021 16:03:46 +0000 Received: by mail-ej1-x636.google.com with SMTP id hc16so30712075ejc.12 for ; Mon, 28 Jun 2021 09:03:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=w1j4HZgLwlb3UxFAIaUuq0JNT3r7kk+JDV0+P7bJDiM=; b=lILIUwIRMgN7nCRYCDn6TH5Vq/Kv6YQanhtdp019R+afAs9m5tpNLpdqNaYBWeXWef Sg5izVfgHwCIIX3OqJpvnTDOJ5FgFLMQZEXuArnqJ1ZjCTxwtme1PAZCOKUbRmZmVVED NsrDRrfq3sJoYy6d1GXHw4AeiQIL/11niBeIT6jW4yP2jdSYctw1SJ6khjZCuOaWUz1/ AxdzPetljLeOdIGvCqQPtxsagYg36APnuxlujBXYmXRrgBAXqIpX2as2o3deCPKUGD9Q NK/15jp+LygUWoED8J3T3m+BoULfAV9VbsHvRuZ1UqFwlbOSv51n4KEM46iCBOb3qJjo J/Ng== 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; bh=w1j4HZgLwlb3UxFAIaUuq0JNT3r7kk+JDV0+P7bJDiM=; b=pAxxCHksQa6NloMKxhOlfcrX38i4mRndxLHUyw4d1wePIqsbNhnPgUqZabqc0jKsEW rSCEjaLla3Nax3s9z43UvjwJJE+4hhVsnBywCE2vjmXOml9SeQ+slTCIZZwMGILo7g5d Cv/dQ71YE/V0hL8u0bqNd07GDkEoDf7Zh8Gs+23YMsYxrFv1pwYuWE/DtFfFBXL5gPrg oL4BR6q9Bkm98q9miymmJEt4aZp26WydKl8WBMMYr7JJlBKS2eXtMsAdeWCCah31QLY8 QIIb8OBknX47pJyqVhznqY7J+/5NNOifnooZUOb/mOOnz1j+7CgXBcCjwPeX4kaSk1Ag eJWw== X-Gm-Message-State: AOAM53103sXqVzio807iyScm0Vy0knjpKBqYLgDP2zikyAVQdNEbdD1M ZPWK1aWnEKWUNdbwabQcWsfTahRNwf4Cn/3W5uT3Nw== X-Google-Smtp-Source: ABdhPJx5xgHaRScLTRIkJwHvt+26Xom5VeBkO8TSG2GMfD4KEpHT2cMIxKGGnn5WDXFF0BJ5jvtBJPJvrzGrAuYmsx8= X-Received: by 2002:a17:907:3e88:: with SMTP id hs8mr24420690ejc.96.1624896219589; Mon, 28 Jun 2021 09:03:39 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Dave Page Date: Mon, 28 Jun 2021 17:03:28 +0100 Message-ID: Subject: Re: [patch][pgAdmin] Fix for pgadmin4-linux-qa #1651 failure To: Rahul Shirsat Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary="000000000000f7536205c5d5a140" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000f7536205c5d5a140 Content-Type: text/plain; charset="UTF-8" Hi On Mon, Jun 28, 2021 at 4:57 PM Rahul Shirsat < rahul.shirsat@enterprisedb.com> wrote: > Hi Hackers, > > Please find the attached patch for fixation of jenkins failure. > That won't work - you can't include variables (or string building operations) in the first argument to gettext calls, as there won't be any way to extract a complete message into the catalogs. The way it's being done at the moment is correct (I don't know why it's failing, but it's the correct way to structure the gettext calls). -- Dave Page Blog: https://pgsnake.blogspot.com Twitter: @pgsnake EDB: https://www.enterprisedb.com --000000000000f7536205c5d5a140 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

On Mon, Jun 28, 2021 at 4:57 PM Rahul Shirsat <<= a href=3D"mailto:rahul.shirsat@enterprisedb.com">rahul.shirsat@enterprisedb= .com> wrote:
Hi Hackers,<= div>
Please find the attached patch for fixation of jenkins f= ailure.

That won't work - y= ou can't include variables (or string building operations) in the first= argument=C2=A0to gettext calls, as there won't be any way to extract a= complete message into the catalogs. The way it's being done at the mom= ent is correct (I don't know why it's failing, but it's the cor= rect way to structure the gettext calls).
=C2=A0
--
Dave Page
= Blog: https://pg= snake.blogspot.com
Twitter: @pgsnake

EDB: https://www.enterprisedb.com
--000000000000f7536205c5d5a140--