Validate translations

This commit is contained in:
Victor Shcherb 2015-11-25 12:23:37 +01:00
parent 738c252f57
commit 045b7f28b0
2 changed files with 2 additions and 1 deletions

View file

@ -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 ->

View file

@ -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;