Awaiting feedback Un-translated phrase (No results found)

yin9

Member
Affected version
2.1.10 Patch 2
In js\xf\token_input_compiled.js:

Code:
noResults:function(){return"No results found"}


I have commented this here:


But @Xon is right, it's a XenForo thing.
 
You've pointed to a default Select2 function here. You sort of noted it in your post but we actually override this in our JS code. I'm unsure how the add-on's code is working and whether it's using our standard token input or custom JS code that might be interferring.

We'd likely need a reproduction case.
 
Indeed, I was just coming to say this.

We don't actually expose "No results found" anywhere in XF 2.1 by default as far as I can recall but ironically we do in XF 2.2 when you're selecting prefixes for suggestion type forums.

I just modified the s2_no_results phrase locally and tried that out:

1593699334697.png

The correct "No results found" phrase as defined in the language I am using is displayed.

So as Mike says, we'd likely need a specific reproduction case.
 
It happened when trying to add prefixes that don't exist in thread creation. After modifying the file I have not tried without the add-on activated, I don't know if it happens adding prefixes without the add-on activated.

But from what I understand it would be a add-on thing, maybe this make a call to an deprecated function.

Close or delete the thread if you want and excuse me.

Thanks for your attention.
 
Last edited:
Top Bottom