Localized add-on string comparison
#1
I'm comparing an info label against localized strings and have found an issue.

String.IsEqual(ListItem.Label,$LOCALIZE[208])

Works perfectly fine, 208 is the string 'Play' and if the label is the word 'Play' then it returns true.


However I can't get it to work with add-on strings

String.IsEqual(ListItem.Label,$ADDON[plugin.video.themoviedb.helper 32233])

32233 is the string 'Refresh details' however the string compare always returns false even when the label is equal to 'Refresh details'. Any ideas why?
Reply

Logout Mark Read Team Forum Stats Members Help
Localized add-on string comparison0