[Pkg-owncloud-commits] [owncloud] 64/199: forgotten infobox messages translations

David Prévot taffit at moszumanska.debian.org
Sun Jun 1 18:53:10 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 8eee8e76d1a8740c4a9b7cc9fb2396116aa6949c
Author: Volkan Gezer <volkangezer at gmail.com>
Date:   Tue May 27 16:39:22 2014 +0200

    forgotten infobox messages translations
---
 apps/user_ldap/js/settings.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/apps/user_ldap/js/settings.js b/apps/user_ldap/js/settings.js
index 15a02ab..8c18cc4 100644
--- a/apps/user_ldap/js/settings.js
+++ b/apps/user_ldap/js/settings.js
@@ -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;
 	},

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list