Obfuscation and localization

bluedude

Well-Known Member
Licensed User
Longtime User
Hi,

I have found a few problems with obfuscation (i think) and something warhound created for using strings.xml.

I display toastmessages that are retreived from the strings.xml like this:

ToastMessageShow (codeCommon.langResources.GetApplicationString ("message_action_noactions"),False)

During compilation I get:

ToastMessageShow (codeCommon.langResources.GetApplicationString (\
javac 1.6.0_26
src\com\thingstank\apps\thingstag\svcaction.java:272: duplicate default label
default:
^

Not sure why this is. I guess because of the underscores?
 
Top