Closed mLaribi closed 7 years ago
Hi, I'm trying to extends the plugin prototype to add french translation,
Using these lines of codes :
(function ($) { $.extend($.SearchableOptionList.prototype.defaults.texts, { noItemsAvailable: 'Aucune entrée trouvée', selectAll: 'Tous sélectionner', selectNone: 'Ne rien sélectionner', quickDelete: '&fois;', searchplaceholder: 'Cliquez pour une recherche', loadingData: 'Chargement des données...', itemsSelected: '{$a} Sélections' }); })(jQuery);
But I got the error : Cannot read property 'prototype' of undefined
Can someone help me? Is there a translation for this plugin?
Thank you in advance
Hi, I'm trying to extends the plugin prototype to add french translation,
Using these lines of codes :
But I got the error : Cannot read property 'prototype' of undefined
Can someone help me? Is there a translation for this plugin?
Thank you in advance