From b978ee560c41423f28f1e7ce89072cc6de9db84d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mieszko=20Wrzeszczy=C5=84ski?= Date: Tue, 8 Jan 2019 22:55:40 +0100 Subject: [PATCH] Fix strings --- .../com/uam/wmi/findmytutor/activity/MapActivity.java | 2 +- app/src/main/res/values-pl/strings.xml | 8 ++++++++ app/src/main/res/values/strings.xml | 3 +-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/uam/wmi/findmytutor/activity/MapActivity.java b/app/src/main/java/com/uam/wmi/findmytutor/activity/MapActivity.java index 1788ef6..b7a39e2 100644 --- a/app/src/main/java/com/uam/wmi/findmytutor/activity/MapActivity.java +++ b/app/src/main/java/com/uam/wmi/findmytutor/activity/MapActivity.java @@ -342,7 +342,7 @@ public class MapActivity extends BaseActivity Button dismissButton = alertDialog.getButton(AlertDialog.BUTTON_NEGATIVE); dismissButton.setOnClickListener(view1 -> { - PrefUtils.putCurrentManualLocationName(getApplicationContext(), "Inne"); + PrefUtils.putCurrentManualLocationName(getApplicationContext(), getString(R.string.other_location)); PrefUtils.putCurrentManualLocation(getApplicationContext(), "-1"); alertDialog.dismiss(); diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index ba3c288..ab7b9b2 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -277,5 +277,13 @@ Użytkownik został dodany! Użytkownik usunięty! + + manualny + dokładny + przybliżony + + + Niezapisana lokalizacja. + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 93b7b9a..763579d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -444,6 +444,5 @@ manualny dokładny przybliżony - - + Not saved location. -- 2.20.1