Skip to content

Commit

Permalink
Add temporary baseline to silence translation issue
Browse files Browse the repository at this point in the history
See the baseline added as part of this commit for details.

The issue itself has been reported to Crowdin so we
expect it to be addressed sooner rather than later.
  • Loading branch information
albin-mullvad committed Dec 12, 2024
1 parent a14cf80 commit 5eb7615
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
3 changes: 3 additions & 0 deletions android/lib/resource/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ android {

lint {
lintConfig = file("lint.xml")
// Temporary baseline to silence a translation issue which has been reported to Crowdin.
// Remove baseline as part of: DROID-1645
baseline = file("lint-baseline.xml")
abortOnError = true
warningsAsErrors = true
}
Expand Down
20 changes: 20 additions & 0 deletions android/lib/resource/lint-baseline.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.7.3" type="baseline" client="gradle" dependencies="false" name="AGP (8.7.3)" variant="all" version="8.7.3">

<issue
id="StringFormatCount"
message="Inconsistent number of arguments in formatting string `daita_description_slide_2_second_paragraph`; found both 1 here and 2 in values/strings.xml"
errorLine1=" &lt;string name=&quot;daita_description_slide_2_second_paragraph&quot;>Daher verwenden wir automatisch Multihop, um %1$s mit jedem Server zu aktivieren.&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values-de/strings.xml"
line="100"
column="5"/>
<location
file="src/main/res/values/strings.xml"
line="416"
column="5"
message="Conflicting number of arguments (2) here"/>
</issue>

</issues>

0 comments on commit 5eb7615

Please sign in to comment.