rokucommunity / brighterscript

A superset of Roku's BrightScript language
MIT License
162 stars 46 forks source link

Warn about xml ID value having same name as translation value #1114

Open TwitchBronBron opened 7 months ago

TwitchBronBron commented 7 months ago

in XML, every single string field having a hardcode string value, that also has a matching key in the translation files (.ts) will have their values replaced at compile tile. This is a problem for the id field because it could break your app. So, we should add a warning anytime an id field has the same value as a key from a translation file.