I have config.xml file with this header <*resources* *xmlns:tools=**"https://schemas.android.com/tools" **tools:ignore=**"MissingTranslation"*>
And Gradle build display errors with missing translation in it, why? I'm using build tools 21 Dne pátek, 23. listopadu 2012 18:20:00 UTC+1 Tor Norbye napsal(a): > > From the lint issue explanation ($ lint --show MissingTranslation): > ... > If the string should not be translated, you can add the attribute > translatable="false" on the <string> element, or you can define all your > non-translatable strings in a resource file called donottranslate.xml. Or, > you > can ignore the issue with a tools:ignore="MissingTranslation" attribute. > > -- Tor > > > On Fri, Nov 23, 2012 at 8:23 AM, Pierre-Yves Ricau <[email protected] > <javascript:>> wrote: > >> Hi ! >> >> We have a bunch of string resources that must not be translated. We >> usually put them in a "XXX-donottranslate.xml" file (and we have a few of >> these files). >> >> Is there any way to tell Lint to ignore all entries in these files >> without having to put tools:ignore="MissingTranslation" on each entry? >> >> Can't wait to see the 4.2 sources, see how you deal with that in LatinIME >> :) >> >> Cheers, >> Py >> > > -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
