From f4bcf2db60c9f701285d52c3e9f9f1c58dc351d8 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Mon, 5 Mar 2018 13:05:14 +0100 Subject: Use variable for proper translations Signed-off-by: Roeland Jago Douma --- apps/user_ldap/js/wizard/wizardTabElementary.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'apps') 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); -- cgit v1.2.3