Validate translations
This commit is contained in:
parent
738c252f57
commit
045b7f28b0
2 changed files with 2 additions and 1 deletions
|
@ -184,6 +184,8 @@ task updateNoTranslate(type: Copy) {
|
||||||
}
|
}
|
||||||
|
|
||||||
task validateTranslate {
|
task validateTranslate {
|
||||||
|
println "Validating translations"
|
||||||
|
|
||||||
new java.io.File("res").eachFileRecurse groovy.io.FileType.FILES, {
|
new java.io.File("res").eachFileRecurse groovy.io.FileType.FILES, {
|
||||||
if(it.name == "strings.xml" || it.name == "phrases.xml") {
|
if(it.name == "strings.xml" || it.name == "phrases.xml") {
|
||||||
it.eachLine { line ->
|
it.eachLine { line ->
|
||||||
|
|
|
@ -5,7 +5,6 @@ import net.osmand.plus.OsmandApplication;
|
||||||
import net.osmand.plus.R;
|
import net.osmand.plus.R;
|
||||||
import android.graphics.PorterDuff;
|
import android.graphics.PorterDuff;
|
||||||
import android.graphics.drawable.Drawable;
|
import android.graphics.drawable.Drawable;
|
||||||
import android.support.v4.content.ContextCompat;
|
|
||||||
import android.support.v7.app.ActionBar;
|
import android.support.v7.app.ActionBar;
|
||||||
import android.support.v7.app.AppCompatActivity;
|
import android.support.v7.app.AppCompatActivity;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
|
Loading…
Reference in a new issue