Semantic-ui: [Search] Search "No Results" title is not translatable

Created on 14 Sep 2017  路  8Comments  路  Source: Semantic-Org/Semantic-UI

Bug: Search results "No Results" message is hardcoded:

screenshot 2017-09-14 23 13 18

Fix: move this message to the error array so it can be translated/overloaded.

Enhancement Evaluating Bug / Change stale

Most helpful comment

I understand that it can be, but I would still argue that it's bad to hardcode translations, especially if there is a general logic for handling those in place.

All 8 comments

Hi @indreksiitan, the templates property can easily be overriden either during the initialization, or globally with $.fn.search.settings.templates.message =.

I understand that it can be, but I would still argue that it's bad to hardcode translations, especially if there is a general logic for handling those in place.

@indreksiitan We鈥檒l take a look.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

This still needs a fix.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

Why is this hardcoded?

Implemented since https://github.com/fomantic/Fomantic-UI 2.4.2

Was this page helpful?
0 / 5 - 0 ratings