Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jGKLv-00065t-W1 for pgadmin-hackers@arkaria.postgresql.org; Mon, 23 Mar 2020 10:30:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jGKLu-0001kg-MP for pgadmin-hackers@arkaria.postgresql.org; Mon, 23 Mar 2020 10:30:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jGKLu-0001kY-8L for pgadmin-hackers@lists.postgresql.org; Mon, 23 Mar 2020 10:30:38 +0000 Received: from mail-io1-xd41.google.com ([2607:f8b0:4864:20::d41]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jGKLq-0006n3-Ai for pgadmin-hackers@postgresql.org; Mon, 23 Mar 2020 10:30:37 +0000 Received: by mail-io1-xd41.google.com with SMTP id o127so13569872iof.0 for ; Mon, 23 Mar 2020 03:30:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JLzdzmkfPHSqTvhQ5/Py/AZ5oaHr0qTXD77KxDqoyfA=; b=KzUY+E82iiQPW61TlBrkFzXpwbqGg8DasM4n9PcJUcfj6sgw+JkKKFVMbvVbqb0ZaE gvAIvxDh1PQu55KFcqruFBLEi1GHgxPADND8h/s4TEu6vokrijNMcD+PhC35aaFtk6kQ xFF7jVW2Tw4qKj+eihnMbspbeLE0J5oemBxTNnM9te+943A1aV3jNfmtakCp4z+x1XOG t1jAz/XS+yCsUXtFohfihemVIZEvBibRM7t+HLEays0C2kkzMAg0Ogmy2XTAxbj//eby C82ZeBv4KJSr3DMKpYJYbfNCaR8ALdBcBfOYDUu7Sb80pwpFaUsBz4t1fca26N7fCs6g qKWQ== 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=JLzdzmkfPHSqTvhQ5/Py/AZ5oaHr0qTXD77KxDqoyfA=; b=fiefQB6mC90p+ZA3EZENF1qcH63zzm8XUmjgCuOgE5BknGp7pent4IeKlImgN6/grG gASZ91fkJwhZNUpWfdO6S+fTMO7xc5L/LfAnlxSB325zcrehXK8gYXj1l3c6gixcxNcR tweOqm9mUsxxLmUBUHPN1c6kIPNgQ4Gqa2GFl4IXyP17XREk4IjxhbtUliboUHzYehTl CEIUE0AbL39CtuoLa+TC49nnXfyjwCBCHER+fRpsFFJ2IS99cMD6TgLqvlWsu+bZDjdj pafmWLXdj6r9pBfQOWlgc6XzDgDlIESOXIp/XH4mbRaz9go5yz13BgIZQe6cDwAHpE7n YQ5A== X-Gm-Message-State: ANhLgQ3Dr/ijzW133PMHf7FtKa7Nf+kIko85OJMW16PblwqaUksxu6al 5ZVk8kxtw6HtJevOmSp2vblW1r2KqTp7dWw3C91JScwCuEtH02SY6QrAIqSn5UER532zjZG36KZ 1Pv4WlyI9H+9A1mLkbmSwyg0r5XjxkN8VIAdgMSraSXw2rPveSiCN3P0nK0xfynsluyNGmZIZPh MGAbibd5lQE3/8Cwk77aajCSlON0wwj7wVnKkgqOFzOjXv09DOsKU= X-Google-Smtp-Source: ADFU+vs4e+az3se+LoeAtfwxKts9kGum5hYDoNBHIATKJZHceQVDuOINrxud70C+sl+qO7e25guGvl/wTI8YJvgJD/E= X-Received: by 2002:a02:3b4e:: with SMTP id i14mr4630466jaf.20.1584959431979; Mon, 23 Mar 2020 03:30:31 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Akshay Joshi Date: Mon, 23 Mar 2020 16:00:21 +0530 Message-ID: Subject: Re: pgAdmin 4 - gettext usage fixes To: Aditya Toshniwal Cc: pgadmin-hackers , "Libor M." Content-Type: multipart/alternative; boundary="000000000000ed520805a1831f57" X-CLOUD-SEC-AV-Info: edb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000ed520805a1831f57 Content-Type: text/plain; charset="UTF-8" Hi Aditya Can you please review this? On Mon, Mar 23, 2020 at 5:00 AM Libor M. wrote: > Hello, > I fixed using gettext function and add more usages for translations, > specifically: > > - fixed usage gettext('') instead of _('') in javascript files > - fixed usage gettext('') instead of `${gettext('')}` in javascript > files, because "pybabel extract" not support extracting from this > syntax > - added a lot of gettext for support translations > > Diff file is attached. > > Best regards, > > Libor M. > > E-mail: liborm85@gmail.com > GitHub: https://github.com/liborm85 > -- *Thanks & Regards* *Akshay Joshi* *Sr. Software Architect* *EnterpriseDB Software India Private Limited* *Mobile: +91 976-788-8246* --000000000000ed520805a1831f57 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Aditya

Can you please review this?

On Mon, Mar 23, 2020 at 5:00 AM Libor M. <liborm85@gmail.com> wrote:
Hello,
I fixed using gettext function and add more usages for translations,
specifically:

- fixed usage gettext('') instead of _('') in javascript fi= les
- fixed usage gettext('') instead of `${gettext('')}` in ja= vascript
files, because "pybabel extract" not support extracting from this=
syntax
- added a lot of gettext for support translations

Diff file is attached.

Best regards,

Libor M.

E-mail: liborm85@gm= ail.com
GitHub: https://github.com/liborm85


--
Thanks & Regards
=
Akshay Joshi
Sr. Software Architect
EnterpriseDB Software India Private Limited
=
Mobile: += 91 976-788-8246
--000000000000ed520805a1831f57--