translation fix

This commit is contained in:
Fabian Franz 2016-01-30 13:25:32 +01:00
parent 4a1614bd82
commit fd47bb520a
3 changed files with 3 additions and 3 deletions

View File

@ -322,7 +322,7 @@ else :?>
endif; ?>
var oWin = window.open(url,"OPNsense","width=620,height=400,top=150,left=150, scrollbars=yes");
if (oWin==null || typeof(oWin)=="undefined")
alert("<?=gettext('Popup blocker detected. Action aborted.');?>");
alert("<?=gettext('Popup blocker detected. Action aborted.');?>");
}
$( document ).ready(function() {

View File

@ -528,7 +528,7 @@ $( document ).ready(function() {
url="system_usermanager_import_ldap.php";
var oWin = window.open(url,"OPNsense","width=620,height=400,top=150,left=150,scrollbars=yes");
if (oWin==null || typeof(oWin)=="undefined") {
alert("<?=gettext('Popup blocker detected. Action aborted.');?>");
alert("<?=gettext('Popup blocker detected. Action aborted.');?>");
}
});

View File

@ -79,7 +79,7 @@ include("head.inc");
if ($save_and_test):?>
<script type="text/javascript">
myRef = window.open('system_usermanager_settings_test.php?authserver=<?=$pconfig['authmode'];?>','mywin','left=20,top=20,width=700,height=550,toolbar=1,resizable=0');
if (myRef==null || typeof(myRef)=='undefined') alert('<?=gettext("Popup blocker detected. Action aborted.");?>');
if (myRef==null || typeof(myRef)=='undefined') alert('<?=gettext("Popup blocker detected. Action aborted.");?>');
</script>;
<?php
endif;?>