Add lint base xml file for string.xml files
Fixing lint errors in the string.xml files makes no sense because these are overridden with the next automated string import. Adding a lint-baseline.xml instead for the ui module. See https://issuetracker.google.com/208178382 #minor-release PiperOrigin-RevId: 455354304 (cherry picked from commit 61ab75b8b88050a12492c412e8c79ebf75fc1d9c)
This commit is contained in:
parent
36b976f70f
commit
e53a649a41
@ -15,6 +15,12 @@ apply from: "$gradle.ext.androidxMediaSettingsDir/common_library_config.gradle"
|
|||||||
|
|
||||||
android.buildTypes.debug.testCoverageEnabled true
|
android.buildTypes.debug.testCoverageEnabled true
|
||||||
|
|
||||||
|
android {
|
||||||
|
lint {
|
||||||
|
baseline = file("lint-baseline.xml")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation project(modulePrefix + 'lib-common')
|
implementation project(modulePrefix + 'lib-common')
|
||||||
implementation 'androidx.media:media:' + androidxMediaVersion
|
implementation 'androidx.media:media:' + androidxMediaVersion
|
||||||
|
62
libraries/ui/lint-baseline.xml
Normal file
62
libraries/ui/lint-baseline.xml
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Copyright (C) 2022 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
<issues format="6" by="lint 7.2.1" type="baseline" client="gradle" dependencies="false" name="AGP (7.2.1)" variant="all" version="7.2.1">
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="MissingQuantity"
|
||||||
|
message="For locale "fr" (French) the following quantities should also be defined: `many`"
|
||||||
|
errorLine1=" <plurals name="exo_controls_rewind_by_amount_description">"
|
||||||
|
errorLine2=" ^">
|
||||||
|
<location
|
||||||
|
file="src/main/res/values-fr-rCA/strings.xml"
|
||||||
|
line="31"
|
||||||
|
column="3"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="MissingQuantity"
|
||||||
|
message="For locale "fr" (French) the following quantities should also be defined: `many`"
|
||||||
|
errorLine1=" <plurals name="exo_controls_rewind_by_amount_description">"
|
||||||
|
errorLine2=" ^">
|
||||||
|
<location
|
||||||
|
file="src/main/res/values-fr/strings.xml"
|
||||||
|
line="31"
|
||||||
|
column="3"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="MissingQuantity"
|
||||||
|
message="For locale "fr" (French) the following quantities should also be defined: `many`"
|
||||||
|
errorLine1=" <plurals name="exo_controls_fastforward_by_amount_description">"
|
||||||
|
errorLine2=" ^">
|
||||||
|
<location
|
||||||
|
file="src/main/res/values-fr-rCA/strings.xml"
|
||||||
|
line="36"
|
||||||
|
column="3"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="MissingQuantity"
|
||||||
|
message="For locale "fr" (French) the following quantities should also be defined: `many`"
|
||||||
|
errorLine1=" <plurals name="exo_controls_fastforward_by_amount_description">"
|
||||||
|
errorLine2=" ^">
|
||||||
|
<location
|
||||||
|
file="src/main/res/values-fr/strings.xml"
|
||||||
|
line="36"
|
||||||
|
column="3"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
|
</issues>
|
Loading…
x
Reference in New Issue
Block a user