问题描述
我不能编译/调试我们的Android应用程序,因为本地化的文件是不是很完美。
I can't compile/debug our Android app, because the localization files are not perfect yet.
Eclipse的验证工具林特产生错误说:
Eclipse's validation tool Lint create errors saying:
newCardsOrderVals没有翻译AR,BG,CA,CS
编译/安装/使用Ant运行正常,但我想用Eclipse来简化调试。
Compiling/installing/running with Ant works fine, but I would like to use Eclipse to ease debugging.
有没有办法关闭这个特殊的检查,或者理想使它成为一个警告,而不是错误?
Is there a way to turn off this particular check, or ideally make it a warning rather than an error?
据我所知,发布之前,我们将真的需要本地化文件的权利,但暂时也不会因为屏幕本身被修改非常频繁的一个优先事项。
I understand that before release we will really need to get localisation files right, but for the time being it is not a priority as the screens themselves are being modified very frequently.
推荐答案
在窗口>preferences>安卓>林特错误检查:
(适用于Mac,日蚀>preferences>安卓>林特检查错误)
In "Window" > "Preferences" > "Android" > "Lint Error Checking":
(For Mac, "Eclipse" > "Preferences" > "Android" > "Lint Error Checking")
找到 MissingTranslation
线,并将其设置为警告
,如下图所示:
Find the MissingTranslation
line, and set it to Warning
as seen below:
这篇关于棉绒:如何忽略"<键>不翻译与<语言>"错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!