diff --git a/OsmAnd/src/net/osmand/plus/chooseplan/ChoosePlanHillshadeSrtmDialogFragment.java b/OsmAnd/src/net/osmand/plus/chooseplan/ChoosePlanHillshadeSrtmDialogFragment.java index a9fd29de21..0727904df8 100644 --- a/OsmAnd/src/net/osmand/plus/chooseplan/ChoosePlanHillshadeSrtmDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/chooseplan/ChoosePlanHillshadeSrtmDialogFragment.java @@ -4,7 +4,9 @@ import android.app.Activity; import android.view.View; import net.osmand.plus.R; +import net.osmand.plus.Version; import net.osmand.plus.activities.OsmandInAppPurchaseActivity; +import net.osmand.plus.download.DownloadValidationManager; import net.osmand.plus.inapp.InAppPurchaseHelper; public class ChoosePlanHillshadeSrtmDialogFragment extends ChoosePlanDialogFragment { @@ -52,7 +54,12 @@ public class ChoosePlanHillshadeSrtmDialogFragment extends ChoosePlanDialogFragm @Override public String getInfoDescription() { - return ""; + if (Version.isFreeVersion(getOsmandApplication())) { + return getString(R.string.free_version_message, + DownloadValidationManager.MAXIMUM_AVAILABLE_FREE_DOWNLOADS) + "\n" + getString(R.string.get_osmand_live); + } else { + return getString(R.string.get_osmand_live); + } } @Override diff --git a/OsmAnd/src/net/osmand/plus/chooseplan/ChoosePlanSeaDepthMapsDialogFragment.java b/OsmAnd/src/net/osmand/plus/chooseplan/ChoosePlanSeaDepthMapsDialogFragment.java index 6f312bbee1..14bbf304da 100644 --- a/OsmAnd/src/net/osmand/plus/chooseplan/ChoosePlanSeaDepthMapsDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/chooseplan/ChoosePlanSeaDepthMapsDialogFragment.java @@ -4,7 +4,9 @@ import android.app.Activity; import android.view.View; import net.osmand.plus.R; +import net.osmand.plus.Version; import net.osmand.plus.activities.OsmandInAppPurchaseActivity; +import net.osmand.plus.download.DownloadValidationManager; import net.osmand.plus.inapp.InAppPurchaseHelper; public class ChoosePlanSeaDepthMapsDialogFragment extends ChoosePlanDialogFragment { @@ -52,7 +54,12 @@ public class ChoosePlanSeaDepthMapsDialogFragment extends ChoosePlanDialogFragme @Override public String getInfoDescription() { - return ""; + if (Version.isFreeVersion(getOsmandApplication())) { + return getString(R.string.free_version_message, + DownloadValidationManager.MAXIMUM_AVAILABLE_FREE_DOWNLOADS) + "\n" + getString(R.string.get_osmand_live); + } else { + return getString(R.string.get_osmand_live); + } } @Override diff --git a/OsmAnd/src/net/osmand/plus/chooseplan/ChoosePlanWikipediaDialogFragment.java b/OsmAnd/src/net/osmand/plus/chooseplan/ChoosePlanWikipediaDialogFragment.java index c334ac94f3..fa0336d218 100644 --- a/OsmAnd/src/net/osmand/plus/chooseplan/ChoosePlanWikipediaDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/chooseplan/ChoosePlanWikipediaDialogFragment.java @@ -1,5 +1,9 @@ package net.osmand.plus.chooseplan; +import net.osmand.plus.R; +import net.osmand.plus.Version; +import net.osmand.plus.download.DownloadValidationManager; + public class ChoosePlanWikipediaDialogFragment extends ChoosePlanFreeBannerDialogFragment { public static final String TAG = ChoosePlanWikipediaDialogFragment.class.getSimpleName(); @@ -48,6 +52,11 @@ public class ChoosePlanWikipediaDialogFragment extends ChoosePlanFreeBannerDialo @Override public String getInfoDescription() { - return ""; + if (Version.isFreeVersion(getOsmandApplication())) { + return getString(R.string.free_version_message, + DownloadValidationManager.MAXIMUM_AVAILABLE_FREE_DOWNLOADS) + "\n" + getString(R.string.get_osmand_live); + } else { + return getString(R.string.get_osmand_live); + } } }