]> source.dussan.org Git - nextcloud-server.git/commitdiff
forgotten infobox messages translations
authorVolkan Gezer <volkangezer@gmail.com>
Tue, 27 May 2014 14:39:22 +0000 (16:39 +0200)
committerVolkan Gezer <volkangezer@gmail.com>
Tue, 27 May 2014 14:39:22 +0000 (16:39 +0200)
apps/user_ldap/js/settings.js

index 15a02abb065e05a45bf0a5c933d8cd50d43dea88..8c18cc4c58c6005e1b9e685ee048d3e58d813121 100644 (file)
@@ -241,8 +241,8 @@ var LdapWizard = {
                                },
                                function (result) {
                                        LdapWizard.hideSpinner('#ldap_base');
-                                       LdapWizard.showInfoBox('Please specify a Base DN');
-                                       LdapWizard.showInfoBox('Could not determine Base DN');
+                                       LdapWizard.showInfoBox(t('user_ldap', 'Please specify a Base DN'));
+                                       LdapWizard.showInfoBox(t('user_ldap', 'Could not determine Base DN'));
                                        $('#ldap_base').prop('disabled', false);
                                }
                        );
@@ -273,7 +273,7 @@ var LdapWizard = {
                                function (result) {
                                        LdapWizard.hideSpinner('#ldap_port');
                                        $('#ldap_port').prop('disabled', false);
-                                       LdapWizard.showInfoBox('Please specify the port');
+                                       LdapWizard.showInfoBox(t('user_ldap', 'Please specify the port'));
                                }
                        );
                }
@@ -688,7 +688,7 @@ var LdapWizard = {
        },
 
        showInfoBox: function(text) {
-               $('#ldapWizard1 .ldapWizardInfo').text(t('user_ldap', text));
+               $('#ldapWizard1 .ldapWizardInfo').text(text);
                $('#ldapWizard1 .ldapWizardInfo').removeClass('invisible');
                LdapWizard.checkInfoShown = true;
        },