Fix #7101, display passed favorites by default (change default value of appearance)
This commit is contained in:
parent
897d9c5998
commit
7ab05ae877
2 changed files with 4 additions and 3 deletions
|
@ -387,7 +387,7 @@ public class OsmandRegions {
|
|||
if("zh".equals(locale)) {
|
||||
if("TW".equalsIgnoreCase(country)) {
|
||||
this.locale2 = "zh-hant";
|
||||
} else {
|
||||
} else if("CN".equalsIgnoreCase(country)) {
|
||||
this.locale2 = "zh-hans";
|
||||
}
|
||||
}
|
||||
|
@ -611,7 +611,8 @@ public class OsmandRegions {
|
|||
public static void main(String[] args) throws IOException {
|
||||
OsmandRegions or = new OsmandRegions();
|
||||
Locale tw = Locale.CHINA;
|
||||
or.setLocale(tw.getLanguage(), tw.getCountry());
|
||||
or.setLocale(tw.getLanguage(), null);
|
||||
// or.setLocale(tw.getLanguage(), tw.getCountry());
|
||||
or.prepareFile("/Users/victorshcherb/osmand/repos/resources/countries-info/regions.ocbf");
|
||||
LinkedList<WorldRegion> lst = new LinkedList<WorldRegion>();
|
||||
lst.add(or.getWorldRegion());
|
||||
|
|
|
@ -1261,7 +1261,7 @@ public class OsmandSettings {
|
|||
public final CommonPreference<WikiArticleShowImages> WIKI_ARTICLE_SHOW_IMAGES = new EnumIntPreference<>("wikivoyage_show_imgs", WikiArticleShowImages.OFF, WikiArticleShowImages.values()).makeGlobal();
|
||||
|
||||
public final CommonPreference<Boolean> SELECT_MARKER_ON_SINGLE_TAP = new BooleanPreference("select_marker_on_single_tap", false).makeProfile();
|
||||
public final CommonPreference<Boolean> KEEP_PASSED_MARKERS_ON_MAP = new BooleanPreference("keep_passed_markers_on_map", false).makeProfile();
|
||||
public final CommonPreference<Boolean> KEEP_PASSED_MARKERS_ON_MAP = new BooleanPreference("keep_passed_markers_on_map", true).makeProfile();
|
||||
|
||||
public final CommonPreference<Boolean> COORDS_INPUT_USE_RIGHT_SIDE = new BooleanPreference("coords_input_use_right_side", true).makeGlobal();
|
||||
public final OsmandPreference<Format> COORDS_INPUT_FORMAT = new EnumIntPreference<>("coords_input_format", Format.DD_MM_MMM, Format.values()).makeGlobal();
|
||||
|
|
Loading…
Reference in a new issue