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 b7a39e2..4688914 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
@@ -208,8 +208,11 @@ public class MapActivity extends BaseActivity
}
String sharingLevelToRender = sharingLevel;
+Log.e("LOCALE",PrefUtils.getLocale(getApplicationContext()));
- if (PrefUtils.getLocale(getApplicationContext()).equals("pl")) {
+ if (PrefUtils.getLocale(getApplicationContext()).equals("pl") ||
+ PrefUtils.getLocale(getApplicationContext()).equals("pl-PL") ||
+ PrefUtils.getLocale(getApplicationContext()).equals("[pl-PL]")) {
if (sharingLevel.equals(SharingLevel.MANUAL.toString())) {
sharingLevelToRender = getString(R.string.manual_mode);
} else if (sharingLevel.equals(SharingLevel.EXACT.toString())) {
@@ -648,7 +651,7 @@ public class MapActivity extends BaseActivity
public void searchUser(String textToSearch) {
getUserFromApi(textToSearch);
- Log.e("LOCALE",LocaleUtils.getCurrentLocale());
+ Log.e("LOCALE", LocaleUtils.getCurrentLocale());
}
private void getUserFromApi(String userNameToSearch) {
diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml
index 5f99fa4..da9c071 100644
--- a/app/src/main/res/values-pl/strings.xml
+++ b/app/src/main/res/values-pl/strings.xml
@@ -280,13 +280,12 @@
Zablokuj użytkowników
Bądź dostępny dla użytkowników
-
- manual
- exact
- approximate
+ manualny
+ dokładny
+ przybliżony
+ Niezapisana lokalizacja.
+
-
- Not saved location.
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index cd6522f..6b9c670 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -445,8 +445,12 @@
"when a user tries to pick up one of cards.\n\n"
- manualny
- dokładny
- przybliżony
- Niezapisana lokalizacja.
+
+
+ manual
+ exact
+ approximate
+
+
+ Not saved location.