4

In my android proj I want eclipse to treat all hard coded strings in the xml files as error. So what I have done is changed Window->Preferences->Android->Lint Error Checking to Error.

Now it seems to point at all the hard coded string in the layout files as errors but misses the preferences file.

How can I apply same rule for preferences file.

Thank you,

Ahmed
  • 14,503
  • 22
  • 92
  • 150

1 Answers1

3

at the end of the list on Window->Preferences->Android->Lint Error Checking there is a preference that is called internationalisation, there is the preference you want to change

enter image description here

Pedro Teran
  • 1,200
  • 3
  • 17
  • 43