久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Lint:如何忽略“<key>"未翻譯成&

Lint: How to ignore quot;lt;keygt; is not translated in lt;languagegt;quot; errors?(Lint:如何忽略“lt;keygt;未翻譯成lt;語言gt;錯誤?)
本文介紹了Lint:如何忽略“<key>"未翻譯成<語言>"錯誤?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我無法編譯/調試我們的 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"

日食:

  • Windows/Linux:在窗口">首選項">Android">Lint 錯誤檢查"中
  • Mac:Eclipse">首選項">Android">Lint 錯誤檢查"

找到 MissingTranslation 行,并將其設置為 Warning,如下所示:

Find the MissingTranslation line, and set it to Warning as seen below:

這篇關于Lint:如何忽略“<key>"未翻譯成<語言>"錯誤?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Eclipse#39;s Visual Studio Ctrl+Tab and Ctrl+Shift+Tab Equivalent(Eclipse 的 Visual Studio Ctrl+Tab 和 Ctrl+Shift+Tab 等效項)
How to prevent Eclipse from showing the opened file in package explorer(如何防止 Eclipse 在包資源管理器中顯示打開的文件)
Can#39;t build app when I import Xerces library (exit value 1)(導入 Xerces 庫時無法構建應用程序(退出值 1))
XML Parser Returning unexpected token error and null pointer exception(XML 解析器返回意外的令牌錯誤和空指針異常)
Java parsing XML document gives quot;Content not allowed in prolog.quot; error(Java 解析 XML 文檔給出“Prolog 中不允許的內容.錯誤)
How to attach source to Google Drive API or `Android Private Library` in Eclipse(如何在 Eclipse 中將源附加到 Google Drive API 或“Android Private Library)
主站蜘蛛池模板: 欧美成年人 | 欧美成人激情视频 | 国产精品视频免费看 | 特级毛片| 九九热精品在线 | 在线视频成人 | av官网在线 | 久久中文免费视频 | 精品免费视频一区二区 | 国产精品色哟哟网站 | av激情在线 | 亚洲一区二区视频 | www.成人.com | 久久午夜精品 | www.亚洲 | 成人精品网 | 亚洲视频在线观看 | 精品1区2区 | 国产一区成人 | 国产一级影片 | 国产亚洲精品区 | 精品久久中文字幕 | 一区二区在线 | 国产成人综合在线 | 亚洲国产免费 | 欧美亚洲视频在线观看 | 欧美精品一区在线 | av电影手机版 | 中文字幕一区二区三区不卡 | 欧美成人精品一区二区三区 | 天天躁日日躁xxxxaaaa | 成人免费一区二区三区视频网站 | 中文字幕精品视频 | 国产激情视频在线观看 | 国产精品一区二区免费看 | 国产精品久久久久久久久久久久久 | 国产精品久久久久久久久久久免费看 | 国产一级电影在线 | 成人免费片| 色偷偷人人澡人人爽人人模 | a级网站|