Add translations for each Authorize tag

This commit is contained in:
Zuzanna Stolińska
2017-05-26 08:52:48 +02:00
parent 7e72281527
commit bfe55894e7
11 changed files with 27 additions and 22 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ function handleLogin() {
'<ul class="api-popup-scopes">',
'</ul>',
'<p class="error-msg"></p>',
'<div class="api-popup-actions"><button class="api-popup-authbtn api-button green" type="button">Authorize</button><button class="api-popup-cancel api-button gray" type="button">Cancel</button></div>',
'<div class="api-popup-actions"><button class="api-popup-authbtn api-button green" type="button" data-sw-translate>Authorize</button><button class="api-popup-cancel api-button gray" type="button">Cancel</button></div>',
'</div>',
'</div>'].join(''));
$(document.body).append(popupDialog);