Add Release note to: Strings, link to strings and link to blog post

This commit is contained in:
Dmitriy Prodchenko 2018-05-14 12:46:09 +03:00
parent e0a4689bc9
commit 730835fdf9
3 changed files with 7 additions and 3 deletions

View file

@ -153,7 +153,11 @@
<string name="av_locations_selected_desc">GPX file with coordinates and data of the selected notes.</string>
<string name="av_locations_all_desc">GPX file with coordinates and data of all notes.</string>
<string name="release_3_0">
\u2022 \n\n
\u2022 New Travel menu: view WikiVoyage articles without using the internet\n\n
\u2022 Wikipedia: new look, active links, images\n\n
\u2022 Open Track UI: display waypoint groups\n\n
\u2022 Map markers: import of selected groups from GPX files, coordinate input new look\n\n
\u2022 OsmAnd Live subscription now includes all OsmAnd features\n\n
</string>
<string name="modify_the_search_query">Modify the search query.</string>
<string name="shared_string_actions">Actions</string>

View file

@ -94,7 +94,7 @@ public class AppInitializer implements IProgress {
private static final String VERSION_INSTALLED = "VERSION_INSTALLED"; //$NON-NLS-1$
private static final String EXCEPTION_FILE_SIZE = "EXCEPTION_FS"; //$NON-NLS-1$
public static final String LATEST_CHANGES_URL = "https://osmand.net/blog?id=osmand-2-8-released";
public static final String LATEST_CHANGES_URL = "http://osmand.net/blog";
// public static final String LATEST_CHANGES_URL = null; // not enough to read
public static final int APP_EXIT_CODE = 4;
public static final String APP_EXIT_KEY = "APP_EXIT_KEY";

View file

@ -28,7 +28,7 @@ public class WhatsNewDialogFragment extends DialogFragment {
final OsmandApplication osmandApplication = (OsmandApplication) getActivity().getApplication();
final String appVersion = Version.getAppVersion(osmandApplication);
builder.setTitle(getString(R.string.whats_new) + " " + appVersion)
.setMessage(getString(R.string.release_2_9))
.setMessage(getString(R.string.release_3_0))
.setNegativeButton(R.string.shared_string_close, null);
if (AppInitializer.LATEST_CHANGES_URL != null) {
builder.setPositiveButton(R.string.read_more, new DialogInterface.OnClickListener() {