diff --git a/OsmAnd/res/layout/send_poi_fragment.xml b/OsmAnd/res/layout/send_poi_fragment.xml index 8a7809ffbd..2f1ee7cf51 100644 --- a/OsmAnd/res/layout/send_poi_fragment.xml +++ b/OsmAnd/res/layout/send_poi_fragment.xml @@ -47,7 +47,7 @@ android:layout_height="wrap_content" android:layout_marginBottom="@dimen/content_padding" android:minHeight="@dimen/context_menu_buttons_bottom_height" - android:text="@string/close_changset" + android:text="@string/close_changeset" android:paddingLeft="@dimen/content_padding_small" android:paddingRight="@dimen/content_padding_small" android:textColor="?android:textColorPrimary" diff --git a/OsmAnd/res/values-ar/strings.xml b/OsmAnd/res/values-ar/strings.xml index fe77e8fa18..9cf0bdd8dd 100644 --- a/OsmAnd/res/values-ar/strings.xml +++ b/OsmAnd/res/values-ar/strings.xml @@ -3942,7 +3942,6 @@ اشتراك OsmAnd Live معلق تسجيل الدخول إلى خريطة الشارع المفتوح تسجيل الدخول إلى OpenStreetMap.org - تسجيل الخروج تحتاج إلى تسجيل الدخول لرفع التغييرات الجديدة أو المعدلة. \n \nيمكنك تسجيل الدخول باستخدام طريقة التفويض الآمنة أو استخدام تسجيل الدخول وكلمة المرور. diff --git a/OsmAnd/res/values-es-rAR/strings.xml b/OsmAnd/res/values-es-rAR/strings.xml index 27fb360c0e..92a9178034 100644 --- a/OsmAnd/res/values-es-rAR/strings.xml +++ b/OsmAnd/res/values-es-rAR/strings.xml @@ -3957,7 +3957,6 @@ La suscripción a OsmAnd Live ha caducado La suscripción a OsmAnd Live se ha pausado La suscripción a OsmAnd Live está en espera - Ingresar con OpenStreetMap Iniciar sesión en OpenStreetMap Ingresar a OpenStreetMap.org Necesitas iniciar sesión para subir cambios nuevos o modificados. diff --git a/OsmAnd/res/values-et/strings.xml b/OsmAnd/res/values-et/strings.xml index 97aeb80035..0f08239856 100644 --- a/OsmAnd/res/values-et/strings.xml +++ b/OsmAnd/res/values-et/strings.xml @@ -3804,7 +3804,7 @@ OsmAnd Live tellimus on aegunud Sinu tellimusega on üks pisikene segadus. Selleks et Google Play seadistuses makseviisi parandada, palun klõpsi seda nuppu. Halda tellimusi - Logi sisse OpenStreetMapi kasutajakontoga + Logi sisse OpenStreetMapi kasutajakontoga Kasutajanimi Pruugi kasutajanime ja salasõna Täienduste või muudatuste üleslaadimiseks pead sisse logima. diff --git a/OsmAnd/res/values-fr/strings.xml b/OsmAnd/res/values-fr/strings.xml index 8184a784a1..6bedaae731 100644 --- a/OsmAnd/res/values-fr/strings.xml +++ b/OsmAnd/res/values-fr/strings.xml @@ -3932,7 +3932,6 @@ L\'abonnement OsmAnd Live a été suspendu Se connecter à OpenStreetMap Se connecter à OpenStreetMap.org - Se connecter avec OpenStreetMap Identifiant Utiliser un identifiant et un mot de passe Compte diff --git a/OsmAnd/res/values-iw/strings.xml b/OsmAnd/res/values-iw/strings.xml index 737fe1842e..7c6a83c8dc 100644 --- a/OsmAnd/res/values-iw/strings.xml +++ b/OsmAnd/res/values-iw/strings.xml @@ -3954,7 +3954,7 @@ עליך להוסיף שתי נקודות לפחות. כניסה ל־OpenStreetMap כניסה ל־OpenStreetMap.org - כניסה עם OpenStreetMap + כניסה עם OpenStreetMap להשתמש בשם כניסה וססמה חשבון כניסה diff --git a/OsmAnd/res/values-pl/strings.xml b/OsmAnd/res/values-pl/strings.xml index 7d00fc8cd1..f428e327f3 100644 --- a/OsmAnd/res/values-pl/strings.xml +++ b/OsmAnd/res/values-pl/strings.xml @@ -3961,7 +3961,7 @@ Login Zaloguj się do OpenStreetMap Zaloguj się do OpenStreetMap.org - Zaloguj się za pomocą OpenStreetMap + Zaloguj się za pomocą OpenStreetMap Musisz się zalogować, aby przesłać nowe lub zmodyfikowane zmiany. \n \nMożesz zalogować się za pomocą bezpiecznej metody autoryzacji OAuth lub użyć swojego loginu i hasła. diff --git a/OsmAnd/res/values-pt-rBR/strings.xml b/OsmAnd/res/values-pt-rBR/strings.xml index 2fb7f1350d..9ff418d5e9 100644 --- a/OsmAnd/res/values-pt-rBR/strings.xml +++ b/OsmAnd/res/values-pt-rBR/strings.xml @@ -3950,7 +3950,6 @@ Diferença Entrar para OpenStreetMap Entrar com OpenStreetMap.org - Entrar com OpenStreetMap Você precisa entrar para enviar alterações novas ou modificadas. \n \nVocê pode entrar usando o método OAuth seguro ou usar sua entrada e senha. diff --git a/OsmAnd/res/values-pt/strings.xml b/OsmAnd/res/values-pt/strings.xml index 6bb28cfe09..3d09784468 100644 --- a/OsmAnd/res/values-pt/strings.xml +++ b/OsmAnd/res/values-pt/strings.xml @@ -3960,7 +3960,7 @@ \nPode entrar a usar o método seguro OAuth ou usar o seu nome de utilizador e a sua palavra-passe. Fazer login ao OpenStreetMap Entrar com OpenStreetMap.org - Entrar com OpenStreetMap + Entrar com OpenStreetMap Usar nome do utilizador e palavra-passe Conta Entrar diff --git a/OsmAnd/res/values-tr/strings.xml b/OsmAnd/res/values-tr/strings.xml index adbdfda3dc..0f284bf937 100644 --- a/OsmAnd/res/values-tr/strings.xml +++ b/OsmAnd/res/values-tr/strings.xml @@ -3905,7 +3905,6 @@ En az iki nokta eklemelisiniz OpenStreetMap\'te oturum aç OpenStreetMap.org\'da oturum aç - OpenStreetMap ile giriş yap Yenilikleri veya değişiklikleri karşıya yüklemek için oturum açmanız gerekir. \n \nGüvenli OAuth yöntemini kullanarak oturum açabilir veya kullanıcı adı ve parolanızı kullanabilirsiniz. diff --git a/OsmAnd/res/values-uk/strings.xml b/OsmAnd/res/values-uk/strings.xml index 009e55ad9e..403ceab2d2 100644 --- a/OsmAnd/res/values-uk/strings.xml +++ b/OsmAnd/res/values-uk/strings.xml @@ -3951,7 +3951,6 @@ Передплата OsmAnd Live на утриманні Увійти до OpenStreetMap.org Увійти до OpenStreetMap.org - Увійти за допомогою OpenStreetMap Увійдіть, щоб вивантажити нові або внесені зміни. \n \nВи можете увійти, за допомогою безпечного методу OAuth, або скористатися своїм ім\'ям та паролем. diff --git a/OsmAnd/res/values-zh-rTW/strings.xml b/OsmAnd/res/values-zh-rTW/strings.xml index 56054994be..46d0650e24 100644 --- a/OsmAnd/res/values-zh-rTW/strings.xml +++ b/OsmAnd/res/values-zh-rTW/strings.xml @@ -3950,7 +3950,6 @@ OsmAnd Live 訂閱已暫停 登入到 OpenStreetMap 登入到 OpenStreetMap.org - 以 OpenStreetMap 登入 您必須登入以上傳新的或修正過的變更。 \n \n您可以使用安全的 OAuth 方法或使用您的登入與密碼來登入。 diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index a72d5fab11..39c78342d6 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -14,7 +14,6 @@ You can log in using the safe OAuth method or use your login and password. Comment OSM Note Close OSM Note - Closed changset Trackable means that the trace will not show up in any public listings but trackpoints from it will still be available through the public GPS API with timestamps. Other users will only be able to download processed trackpoints from your trace which can\'t be associated with you directly. Identifiable means that the trace will be shown publicly in Your GPS traces and in public GPS trace listings, i.e. other users will be able to download the raw trace and associate it with your username. Data served via the trackpoints API will reference your original trace page. Timestamps of the trace points are available through the public GPS API. Private means that the trace will not show up in any public listings, but trackpoints from it will still be available through the public GPS API without timestamps but will not be chronologically ordered. diff --git a/OsmAnd/src/net/osmand/plus/osmedit/EditPOIMenuController.java b/OsmAnd/src/net/osmand/plus/osmedit/EditPOIMenuController.java index 02ab1f93fd..3c64fb12d7 100644 --- a/OsmAnd/src/net/osmand/plus/osmedit/EditPOIMenuController.java +++ b/OsmAnd/src/net/osmand/plus/osmedit/EditPOIMenuController.java @@ -50,12 +50,12 @@ public class EditPOIMenuController extends MenuController { OsmandApplication app = activity.getMyApplication(); OsmandSettings settings = app.getSettings(); OsmOAuthAuthorizationAdapter client = new OsmOAuthAuthorizationAdapter(app); - boolean isLogin = client.isValidToken() + boolean isLogged = client.isValidToken() || !Algorithms.isEmpty(settings.USER_NAME.get()) && !Algorithms.isEmpty(settings.USER_PASSWORD.get()); if (point instanceof OpenstreetmapPoint) { - if (isLogin) { + if (isLogged) { SendPoiBottomSheetFragment.showInstance(activity.getSupportFragmentManager(), new OsmPoint[]{getOsmPoint()}); } else { diff --git a/OsmAnd/src/net/osmand/plus/osmedit/HandleOsmNoteAsyncTask.java b/OsmAnd/src/net/osmand/plus/osmedit/HandleOsmNoteAsyncTask.java index 0a2a55191d..11227235be 100644 --- a/OsmAnd/src/net/osmand/plus/osmedit/HandleOsmNoteAsyncTask.java +++ b/OsmAnd/src/net/osmand/plus/osmedit/HandleOsmNoteAsyncTask.java @@ -5,18 +5,23 @@ import android.os.AsyncTask; import androidx.annotation.NonNull; import androidx.annotation.Nullable; -public class HandleOsmNoteAsyncTask extends AsyncTask { +import net.osmand.plus.osmedit.OsmPoint.Action; + +import static net.osmand.plus.osmedit.OsmBugsLayer.*; +import static net.osmand.plus.osmedit.OsmBugsUtil.*; + +public class HandleOsmNoteAsyncTask extends AsyncTask { private OsmBugsUtil osmbugsUtil; private final OsmBugsUtil local; - private final OsmBugsLayer.OpenStreetNote bug; + private final OpenStreetNote bug; private final OsmNotesPoint point; private final String text; - private final OsmPoint.Action action; + private final Action action; private final HandleBugListener handleBugListener; public HandleOsmNoteAsyncTask(@NonNull OsmBugsUtil osmbugsUtil, @NonNull OsmBugsUtil local, - @Nullable OsmBugsLayer.OpenStreetNote bug, @Nullable OsmNotesPoint point, - String text, OsmPoint.Action action, + @Nullable OpenStreetNote bug, @Nullable OsmNotesPoint point, + String text, Action action, @Nullable HandleBugListener handleBugListener) { this.osmbugsUtil = osmbugsUtil; this.local = local; @@ -28,7 +33,7 @@ public class HandleOsmNoteAsyncTask extends AsyncTask