pretty-dropdowns icon indicating copy to clipboard operation
pretty-dropdowns copied to clipboard

Translatable strings

Open eljeffeg opened this issue 4 years ago • 1 comments

Any way to set the Translatable strings:

MULTI_NONE = 'None selected',
MULTI_PREFIX = 'Selected: ',
MULTI_POSTFIX = ' selected';

I'd like to have the MULTI_NONE be the label instead of defining it above the select. Easy enough to change it in the Javascript, but would be cool to make it an option so I don't update the script forgetting I made the change.

Would also be good for those not wanting to use English to update it to their prefered language.

eljeffeg avatar Nov 03 '20 15:11 eljeffeg

Sure, feel free to do a PR and I can merge in your change.

On Tue, Nov 3, 2020, 7:52 AM ElJeffe [email protected] wrote:

Any way to set the Translatable strings:

MULTI_NONE = 'None selected', MULTI_PREFIX = 'Selected: ', MULTI_POSTFIX = ' selected';

I'd like to have the MULTI_NONE be the label instead of defining it above the select. Easy enough to change it in the Javascript, but would be cool to make it an option so I don't update the script forgetting I made the change.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/thdoan/pretty-dropdowns/issues/21, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7LRZ6DBW2HEER3P2R27KLSOARLLANCNFSM4TI5KNKQ .

thdoan avatar Nov 03 '20 15:11 thdoan