Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-10-22 21:49:08 +02:00
commit c55b95e3b7

View file

@ -97,19 +97,35 @@ public class OsmandRegions {
} }
private String getLang(BinaryMapDataObject o) { private String getLang(BinaryMapDataObject o) {
if (langType != null) {
return o.getNameByType(langType); return o.getNameByType(langType);
} else {
return null;
}
} }
private String getMetric(BinaryMapDataObject o) { private String getMetric(BinaryMapDataObject o) {
if (metricType != null) {
return o.getNameByType(metricType); return o.getNameByType(metricType);
} else {
return null;
}
} }
private String getLeftHandDriving(BinaryMapDataObject o) { private String getLeftHandDriving(BinaryMapDataObject o) {
if (leftHandDrivingType != null) {
return o.getNameByType(leftHandDrivingType); return o.getNameByType(leftHandDrivingType);
} else {
return null;
}
} }
private String getRoadSigns(BinaryMapDataObject o) { private String getRoadSigns(BinaryMapDataObject o) {
if (roadSignsType != null) {
return o.getNameByType(roadSignsType); return o.getNameByType(roadSignsType);
} else {
return null;
}
} }
public String getDownloadName(BinaryMapDataObject o) { public String getDownloadName(BinaryMapDataObject o) {