我无法编译/调试我们的 Android 应用,因为本地化文件还不完善.
I can't compile/debug our Android app, because the localization files are not perfect yet.
我的 IDE 的验证工具 Lint 会产生如下错误:
My IDE's validation tool Lint create errors saying:
newCardsOrderVals 未在 ar、bg、ca、cs 中翻译
newCardsOrderVals is not translated in ar, bg, ca, cs
使用 Ant 编译/安装/运行可以正常工作,但我想使用我的 IDE 来简化调试.
Compiling/installing/running with Ant works fine, but I would like to use my IDE 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.
Android Studio:
Android Studio:
日食:
找到 MissingTranslation
行,并将其设置为 Warning
,如下所示:
Find the MissingTranslation
line, and set it to Warning
as seen below:
这篇关于Lint:如何忽略“<key>"未翻译成<语言>"错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!