mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure client-side translations are correctly extracted into the message templates.
This commit is contained in:
@@ -30,12 +30,12 @@ Jinja:
|
||||
|
||||
.. code-block:: javascript
|
||||
|
||||
define(['sources/translate', ...], function(t, ...){
|
||||
define(['sources/gettext', ...], function(gettext, ...){
|
||||
...
|
||||
|
||||
var alert = alertify.prompt(
|
||||
t('Password Change'),
|
||||
t('New password for %(userName)s', {userName: 'jsmith' }),
|
||||
gettext('Password Change'),
|
||||
gettext('New password for %(userName)s', {userName: 'jsmith' }),
|
||||
...
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user