Mercurial > xmpp-account-manager
diff pep.js @ 56:010b905a74d4
Update translation strings
- prepend i18n loading for all "templates"
- add some strings
- commit the po files to the repo
author | mathieui |
---|---|
date | Sun, 24 May 2020 11:27:10 +0200 |
parents | af2874ff7234 |
children | 427807059ca8 |
line wrap: on
line diff
--- a/pep.js +++ b/pep.js @@ -65,7 +65,7 @@ function initPEP(connection) { button.classList.add('btn-danger'); button.textContent = '✕'; button.onclick = function (evt) { - const really = confirm('Do you really want to remove the node ' + node + '?'); + const really = confirm('{% trans 'Do you really want to remove the node {}?' %}'.replace('{}', node)); if (!really) return; const iq = $iq({type: 'set'})