jeudi 29 mars 2018

Localize Ember-power-select "No results found" text

I am having a hard time finding out how to localize this string that appears to be coming from ember-power-select: "No results found"

"No results found" text in dropdown

This string is nowhere to be found in our app's codebase.

Searching around google did not yield any results, so, while the solution may be in the docs, it'd be nice to have an easy to find stack overflow page linking to it.

EDIT: In the docs, I see I should use the noMatchesMessage: http://ember-power-select.com/docs/api-reference (I'll also be setting loadingMessage and searchMessage)

HOWEVER

I don't know how to set these options globally.




Aucun commentaire:

Enregistrer un commentaire