From 045b7f28b01bdb62c76e554af75d06a2daa623a5 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Wed, 25 Nov 2015 12:23:37 +0100 Subject: [PATCH] Validate translations --- OsmAnd/build.gradle | 2 ++ .../src/net/osmand/plus/activities/OsmandActionBarActivity.java | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/OsmAnd/build.gradle b/OsmAnd/build.gradle index 5dce302795..ee12f17dec 100644 --- a/OsmAnd/build.gradle +++ b/OsmAnd/build.gradle @@ -184,6 +184,8 @@ task updateNoTranslate(type: Copy) { } task validateTranslate { + println "Validating translations" + new java.io.File("res").eachFileRecurse groovy.io.FileType.FILES, { if(it.name == "strings.xml" || it.name == "phrases.xml") { it.eachLine { line -> diff --git a/OsmAnd/src/net/osmand/plus/activities/OsmandActionBarActivity.java b/OsmAnd/src/net/osmand/plus/activities/OsmandActionBarActivity.java index bea8925131..bab6c2ab42 100644 --- a/OsmAnd/src/net/osmand/plus/activities/OsmandActionBarActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/OsmandActionBarActivity.java @@ -5,7 +5,6 @@ import net.osmand.plus.OsmandApplication; import net.osmand.plus.R; import android.graphics.PorterDuff; import android.graphics.drawable.Drawable; -import android.support.v4.content.ContextCompat; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatActivity; import android.view.View;