Merge pull request #1773 from kiwix/feature/macgils/1272-lint-missing-translation

#1272 Lint Issue: MissingTranslation - make MissingTranslation a warning
This commit is contained in:
Seán Mac Gillicuddy 2020-02-24 10:11:58 +00:00 committed by GitHub
commit 5c762cb388
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@
<inspection_tool class="AndroidLintMissingBackupPin" enabled="true" level="ERROR" enabled_by_default="true" />
<inspection_tool class="AndroidLintMissingFirebaseInstanceTokenRefresh" enabled="true" level="ERROR" enabled_by_default="true" />
<inspection_tool class="AndroidLintMissingId" enabled="true" level="ERROR" enabled_by_default="true" />
<inspection_tool class="AndroidLintMissingTranslation" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
<inspection_tool class="AndroidLintMissingTranslation" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="AndroidLintMissingVersion" enabled="true" level="ERROR" enabled_by_default="true" />
<inspection_tool class="AndroidLintNegativeMargin" enabled="true" level="ERROR" enabled_by_default="true" />
<inspection_tool class="AndroidLintNestedScrolling" enabled="true" level="ERROR" enabled_by_default="true" />

View File

@ -98,7 +98,6 @@ class AllProjectConfigurer {
ignore(
"SyntheticAccessor",
//TODO stop ignoring below this
"MissingTranslation",
"CheckResult",
"LabelFor",
"LogConditional"
@ -107,6 +106,7 @@ class AllProjectConfigurer {
warning(
"UnknownNullness",
"SelectableText",
"MissingTranslation",
"IconDensities",
"ContentDescription",
"IconDipSize"