mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-24 07:16:52 -06:00
Update translation docs for client side JS translation support.
This commit is contained in:
parent
d4e88217eb
commit
73193a0d6d
@ -30,12 +30,16 @@ Jinja:
|
|||||||
|
|
||||||
.. code-block:: javascript
|
.. code-block:: javascript
|
||||||
|
|
||||||
var alert = alertify.prompt(
|
define(['translate', ...], function(t, ...){
|
||||||
'{{ _('Add a server group') }}',
|
|
||||||
'{{ _('Enter a name for the new server group') }}',
|
|
||||||
''
|
|
||||||
...
|
...
|
||||||
)
|
|
||||||
|
var alert = alertify.prompt(
|
||||||
|
t('Password Change'),
|
||||||
|
t('New password for %(userName)s', {userName: 'jsmith' }),
|
||||||
|
...
|
||||||
|
)
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
Updating and Merging
|
Updating and Merging
|
||||||
====================
|
====================
|
||||||
|
Loading…
Reference in New Issue
Block a user