mirror of
https://github.com/androidx/media.git
synced 2025-05-07 07:30:22 +08:00
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 495480a66adacff26fb0c9c10f4d44191656bbd0)
This commit is contained in:
parent
3dcc24ef2e
commit
da127923c3
@ -15,6 +15,12 @@ apply from: "$gradle.ext.exoplayerSettingsDir/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 + 'library-common')
|
implementation project(modulePrefix + 'library-common')
|
||||||
api 'androidx.media:media:' + androidxMediaVersion
|
api 'androidx.media:media:' + androidxMediaVersion
|
||||||
|
62
library/ui/lint-baseline.xml
Normal file
62
library/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