| From: | "Libor M(dot)" <liborm85(at)gmail(dot)com> |
|---|---|
| To: | pgadmin-hackers(at)postgresql(dot)org |
| Subject: | pgAdmin 4 - gettext usage fixes |
| Date: | 2020-03-22 10:55:19 |
| Message-ID: | CAMavuw3D1u7QCxL3rfKHBzykjDZ5N+tqq1aeOwAnSP=nW8-4Vg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-hackers |
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(at)gmail(dot)com
GitHub: https://github.com/liborm85
| Attachment | Content-Type | Size |
|---|---|---|
| pgadmin4_gettext_fixes.diff | application/octet-stream | 56.6 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Akshay Joshi | 2020-03-22 10:56:36 | pgAdmin 4 commit: Modified RESQL test cases for Foreign Tables to fix t |
| Previous Message | Vijender Thakur | 2020-03-22 07:26:21 | Want to contribute as a developer |