public inbox for [email protected]  
help / color / mirror / Atom feed
pgAdmin 4 - Modify babel config for gettext
2+ messages / 2 participants
[nested] [flat]

* pgAdmin 4 - Modify babel config for gettext
@ 2020-09-12 08:56 Libor M. <[email protected]>
  2020-09-13 13:35 ` Re: pgAdmin 4 - Modify babel config for gettext Akshay Joshi <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Libor M. @ 2020-09-12 08:56 UTC (permalink / raw)
  To: pgadmin-hackers

Hi,
now not all occurrences of gettext are generated to messages.pot file.
In attachment is babel config modification for improve.

Best regards,

Libor M.

E-mail: [email protected]
GitHub: https://github.com/liborm85

diff --git a/web/babel.cfg b/web/babel.cfg
index 1e185bed8..71fc49993 100644
--- a/web/babel.cfg
+++ b/web/babel.cfg
@@ -3,7 +3,7 @@
 [jinja2: **/templates/**.sql]
 [ignore: **/vendor/**.js]
 [javascript: **/static/**.js]
-[javascript: **/templates/about/**.js]
-[javascript: **/templates/dashboard/**.js]
+[javascript: **/static/**.jsx]
+[javascript: **/templates/**/js/**.js]
 [jinja2: **/templates/**.js]
 extensions=jinja2.ext.autoescape,jinja2.ext.with_
\ No newline at end of file


Attachments:

  [text/plain] pgadmin4_babel_gettext_config.diff (487B, 2-pgadmin4_babel_gettext_config.diff)
  download | inline diff:
diff --git a/web/babel.cfg b/web/babel.cfg
index 1e185bed8..71fc49993 100644
--- a/web/babel.cfg
+++ b/web/babel.cfg
@@ -3,7 +3,7 @@
 [jinja2: **/templates/**.sql]
 [ignore: **/vendor/**.js]
 [javascript: **/static/**.js]
-[javascript: **/templates/about/**.js]
-[javascript: **/templates/dashboard/**.js]
+[javascript: **/static/**.jsx]
+[javascript: **/templates/**/js/**.js]
 [jinja2: **/templates/**.js]
 extensions=jinja2.ext.autoescape,jinja2.ext.with_
\ No newline at end of file


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pgAdmin 4 - Modify babel config for gettext
  2020-09-12 08:56 pgAdmin 4 - Modify babel config for gettext Libor M. <[email protected]>
@ 2020-09-13 13:35 ` Akshay Joshi <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Akshay Joshi @ 2020-09-13 13:35 UTC (permalink / raw)
  To: Libor M. <[email protected]>; +Cc: pgadmin-hackers

Thanks, patch applied.

On Sat, Sep 12, 2020 at 2:29 PM Libor M. <[email protected]> wrote:

> Hi,
> now not all occurrences of gettext are generated to messages.pot file.
> In attachment is babel config modification for improve.
>
> Best regards,
>
> Libor M.
>
> E-mail: [email protected]
> GitHub: https://github.com/liborm85
>


-- 
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Sr. Software Architect*
*EDB Postgres <http://edbpostgres.com>*

*Mobile: +91 976-788-8246*


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2020-09-13 13:35 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-09-12 08:56 pgAdmin 4 - Modify babel config for gettext Libor M. <[email protected]>
2020-09-13 13:35 ` Akshay Joshi <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox