diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-05 13:05:14 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-10 13:00:25 +0100 |
commit | f4bcf2db60c9f701285d52c3e9f9f1c58dc351d8 (patch) | |
tree | bf83a0ec524f07f57e2f3a4c0a565ac2f306b4d4 /apps/user_ldap/js | |
parent | bcdbbb56b023444c46f741312222fd15c9d90481 (diff) | |
download | nextcloud-server-f4bcf2db60c9f701285d52c3e9f9f1c58dc351d8.tar.gz nextcloud-server-f4bcf2db60c9f701285d52c3e9f9f1c58dc351d8.zip |
Use variable for proper translations
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/user_ldap/js')
-rw-r--r-- | apps/user_ldap/js/wizard/wizardTabElementary.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/user_ldap/js/wizard/wizardTabElementary.js b/apps/user_ldap/js/wizard/wizardTabElementary.js index 8f202da9057..24e76bd84c7 100644 --- a/apps/user_ldap/js/wizard/wizardTabElementary.js +++ b/apps/user_ldap/js/wizard/wizardTabElementary.js @@ -286,7 +286,14 @@ OCA = OCA || {}; } else if(objectsFound > 1000) { message = t('user_ldap', 'More than 1,000 directory entries available.'); } else { - message = t('user_ldap', objectsFound + 'Entries available within the provided Base DN'); + message = n( + 'user_ldap', + '{objectsFound} entry available within the provided Base DN', + '{objectsFound} entries available within the provided Base DN', + objectsFound, + { + objectsFound: objectsFound + }); } } else { message = view.overrideErrorMessage(payload.data.message); |