Merge pull request #7107 from osmandapp/issue_7082
#7082 - error in string formatting "% s".
This commit is contained in:
commit
e5d8fa85f5
5 changed files with 8 additions and 8 deletions
|
@ -236,8 +236,8 @@ task validateTranslate {
|
|||
if (line.contains("\$ s") || line.contains("\$ d") || line.contains("\$ f") ||
|
||||
line.contains(" \$s") || line.contains(" \$d") || line.contains(" \$f") ||
|
||||
line.contains("1\$ ") || line.contains("2\$ ") || line.contains("3\$ ") ||
|
||||
(line.contains("% \$") || line.contains("% 1") ||
|
||||
line.contains("% 2") || line.contains("% 3"))) {
|
||||
(line.contains("% \$") || line.contains("% 1") || line.contains("% 2") ||
|
||||
line.contains("% 3") || line.contains("% s"))) {
|
||||
throw new GradleException("Incorrect translation " + it.getAbsolutePath() + " " + line);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue