忽略Android的林特" MissingTranslation"检查部分译文 [英] Ignoring Android Lint "MissingTranslation" check for partial translations

查看:103
本文介绍了忽略Android的林特" MissingTranslation"检查部分译文的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用我有一组完整的翻译语言,和另一套语言与翻译仅弦数。

In my app I have a set of languages with complete translations, and another set of languages with translations for only a few strings.

有关完整的翻译语言,我想皮棉警告我约MissingTranslations。

For the languages with complete translations, I want Lint to warn me about MissingTranslations.

对于部分译文语言,我想皮棉忽略MissingTranslations。

For the languages with partial translations, I want to Lint to ignore the MissingTranslations.

我无法弄清楚如何同时实现这两个目标。

I can't figure out how to achieve both of these goals at the same time.

推荐答案

在警告标志,preSS <大骨节病>控制 - <大骨节病> 1 以显示可用的快速修复。您可以选择忽略某个文件警告在quickfix分辨率选择。

On the warning marker, press Ctrl-1 to show the available quickfixes. You can choose to ignore the warning for a certain file in the quickfix resolution selection.

您还是要选择无论是部分或完整的翻译自己。

You still have to choose whether it is a partial or complete translation by yourself.

这篇关于忽略Android的林特&QUOT; MissingTranslation&QUOT;检查部分译文的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆