Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2018-03-19 22:44:18 +01:00
commit 790eedccdf
108 changed files with 9 additions and 3 deletions

0
OsmAnd-java/src/net/osmand/osm/io/OsmBaseStorage.java Executable file → Normal file
View file

View file

@ -39,6 +39,7 @@ public class OpeningHoursParser {
DateFormatSymbols dateFormatSymbols = DateFormatSymbols.getInstance(Locale.US); DateFormatSymbols dateFormatSymbols = DateFormatSymbols.getInstance(Locale.US);
monthsStr = dateFormatSymbols.getShortMonths(); monthsStr = dateFormatSymbols.getShortMonths();
daysStr = getTwoLettersStringArray(dateFormatSymbols.getShortWeekdays()); daysStr = getTwoLettersStringArray(dateFormatSymbols.getShortWeekdays());
dateFormatSymbols = DateFormatSymbols.getInstance(); dateFormatSymbols = DateFormatSymbols.getInstance();
localMothsStr = dateFormatSymbols.getShortMonths(); localMothsStr = dateFormatSymbols.getShortMonths();
localDaysStr = getTwoLettersStringArray(dateFormatSymbols.getShortWeekdays()); localDaysStr = getTwoLettersStringArray(dateFormatSymbols.getShortWeekdays());
@ -78,8 +79,8 @@ public class OpeningHoursParser {
String[] newStrings = new String[strings.length]; String[] newStrings = new String[strings.length];
for (int i = 0; i < strings.length; i++) { for (int i = 0; i < strings.length; i++) {
if (strings[i] != null) { if (strings[i] != null) {
if (strings[i].length() > 2) { if (strings[i].length() > 3) {
newStrings[i] = Algorithms.capitalizeFirstLetter(strings[i].substring(0, 2)); newStrings[i] = Algorithms.capitalizeFirstLetter(strings[i].substring(0, 3));
} else { } else {
newStrings[i] = Algorithms.capitalizeFirstLetter(strings[i]); newStrings[i] = Algorithms.capitalizeFirstLetter(strings[i]);
} }

0
OsmAnd/.settings/org.eclipse.jdt.core.prefs Executable file → Normal file
View file

View file

@ -6,6 +6,10 @@
android:icon="@mipmap/icon_free" android:icon="@mipmap/icon_free"
android:label="@string/app_name_free" android:label="@string/app_name_free"
tools:replace="android:icon, android:label"> tools:replace="android:icon, android:label">
<meta-data android:name="com.facebook.sdk.ApplicationId" android:resource="@string/facebook_app_id"/>
<activity android:name="com.facebook.FacebookActivity"/>
<activity <activity
android:name="net.osmand.plus.activities.MapActivity" android:name="net.osmand.plus.activities.MapActivity"
android:theme="@style/FirstSplashScreenFree" android:theme="@style/FirstSplashScreenFree"

View file

@ -380,7 +380,7 @@ dependencies {
if (analytics) { if (analytics) {
compile 'com.google.firebase:firebase-core:9.8.0' compile 'com.google.firebase:firebase-core:9.8.0'
compile 'com.google.firebase:firebase-config:9.8.0' compile 'com.google.firebase:firebase-config:9.8.0'
implementation 'com.facebook.android:facebook-android-sdk:[4,5)'
} }
// compile project(':eclipse-compile:design') // compile project(':eclipse-compile:design')
// compile project(':eclipse-compile:cardview') // compile project(':eclipse-compile:cardview')

View file

@ -5,6 +5,7 @@
<!-- string name="app_version_suffix"></string --> <!-- string name="app_version_suffix"></string -->
<!-- Not translatable --> <!-- Not translatable -->
<string name="facebook_app_id">2057524931189530</string>
<string name="full_version_price">€7,99</string> <string name="full_version_price">€7,99</string>
<string name="osm_live">OsmAnd Live</string> <string name="osm_live">OsmAnd Live</string>
<string name="ga_api_key">UA-28342846-2</string> <string name="ga_api_key">UA-28342846-2</string>

0
OsmAnd/proguard-project.txt Executable file → Normal file
View file

0
OsmAnd/res/drawable-hdpi/ic_action_battery.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

0
OsmAnd/res/drawable-hdpi/map_search_dark.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

0
OsmAnd/res/drawable-hdpi/map_search_night.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View file

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

0
OsmAnd/res/drawable-hdpi/widget_battery_day.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

0
OsmAnd/res/drawable-hdpi/widget_battery_night.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View file

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

0
OsmAnd/res/drawable-large-hdpi/map_search_dark.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

0
OsmAnd/res/drawable-large-hdpi/map_search_night.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

0
OsmAnd/res/drawable-large-hdpi/map_target_point.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View file

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

0
OsmAnd/res/drawable-large-hdpi/widget_battery_day.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View file

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View file

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

0
OsmAnd/res/drawable-large-xhdpi/map_search_dark.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

0
OsmAnd/res/drawable-large-xhdpi/map_search_night.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

0
OsmAnd/res/drawable-large-xhdpi/map_target_point.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View file

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View file

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

0
OsmAnd/res/drawable-large-xhdpi/widget_battery_day.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View file

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

0
OsmAnd/res/drawable-large/map_search_dark.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

0
OsmAnd/res/drawable-large/map_search_night.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

0
OsmAnd/res/drawable-large/warnings_limit.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

View file

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View file

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

0
OsmAnd/res/drawable-large/widget_battery_day.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

0
OsmAnd/res/drawable-large/widget_battery_night.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

0
OsmAnd/res/drawable-mdpi/ic_action_battery.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 3 KiB

0
OsmAnd/res/drawable-mdpi/ic_action_circle.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

0
OsmAnd/res/drawable-mdpi/ic_action_label.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

0
OsmAnd/res/drawable-mdpi/ic_action_wikipedia.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 729 B

After

Width:  |  Height:  |  Size: 729 B

0
OsmAnd/res/drawable-mdpi/map_intermediate_point.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

0
OsmAnd/res/drawable-mdpi/map_search_dark.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

0
OsmAnd/res/drawable-mdpi/map_search_night.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

0
OsmAnd/res/drawable-mdpi/map_target_point.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

0
OsmAnd/res/drawable-mdpi/warnings_limit.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View file

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

0
OsmAnd/res/drawable-mdpi/widget_battery_day.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

0
OsmAnd/res/drawable-mdpi/widget_battery_night.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View file

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

0
OsmAnd/res/drawable-xhdpi/ic_action_battery.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

0
OsmAnd/res/drawable-xhdpi/ic_action_circle.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

0
OsmAnd/res/drawable-xhdpi/ic_action_label.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

0
OsmAnd/res/drawable-xhdpi/ic_action_wikipedia.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

0
OsmAnd/res/drawable-xhdpi/map_intermediate_point.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

0
OsmAnd/res/drawable-xhdpi/map_search_dark.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

0
OsmAnd/res/drawable-xhdpi/map_search_night.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

0
OsmAnd/res/drawable-xhdpi/map_target_point.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

0
OsmAnd/res/drawable-xhdpi/warnings_limit.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

View file

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View file

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

0
OsmAnd/res/drawable-xhdpi/widget_battery_day.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

0
OsmAnd/res/drawable-xhdpi/widget_battery_night.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View file

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View file

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 3 KiB

View file

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

0
OsmAnd/res/drawable-xxhdpi/ic_action_battery.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

0
OsmAnd/res/drawable-xxhdpi/ic_action_circle.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

0
OsmAnd/res/drawable-xxhdpi/ic_action_label.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

0
OsmAnd/res/drawable-xxhdpi/ic_action_wikipedia.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

0
OsmAnd/res/drawable-xxhdpi/map_intermediate_point.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

0
OsmAnd/res/drawable-xxhdpi/map_search_dark.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

0
OsmAnd/res/drawable-xxhdpi/map_search_night.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

0
OsmAnd/res/drawable-xxhdpi/warnings_limit.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View file

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View file

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

0
OsmAnd/res/drawable-xxhdpi/widget_battery_day.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

0
OsmAnd/res/drawable-xxhdpi/widget_battery_night.png Executable file → Normal file
View file

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View file

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

View file

Before

Width:  |  Height:  |  Size: 4 KiB

After

Width:  |  Height:  |  Size: 4 KiB

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Some files were not shown because too many files have changed in this diff Show more