Fix strings
This commit is contained in:
parent
c55578c8ae
commit
5dcaca9dd2
@ -208,8 +208,11 @@ public class MapActivity extends BaseActivity
|
|||||||
}
|
}
|
||||||
|
|
||||||
String sharingLevelToRender = sharingLevel;
|
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())) {
|
if (sharingLevel.equals(SharingLevel.MANUAL.toString())) {
|
||||||
sharingLevelToRender = getString(R.string.manual_mode);
|
sharingLevelToRender = getString(R.string.manual_mode);
|
||||||
} else if (sharingLevel.equals(SharingLevel.EXACT.toString())) {
|
} else if (sharingLevel.equals(SharingLevel.EXACT.toString())) {
|
||||||
@ -648,7 +651,7 @@ public class MapActivity extends BaseActivity
|
|||||||
public void searchUser(String textToSearch) {
|
public void searchUser(String textToSearch) {
|
||||||
getUserFromApi(textToSearch);
|
getUserFromApi(textToSearch);
|
||||||
|
|
||||||
Log.e("LOCALE",LocaleUtils.getCurrentLocale());
|
Log.e("LOCALE", LocaleUtils.getCurrentLocale());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void getUserFromApi(String userNameToSearch) {
|
private void getUserFromApi(String userNameToSearch) {
|
||||||
|
@ -280,13 +280,12 @@
|
|||||||
<string name="block_the_users">Zablokuj użytkowników</string>
|
<string name="block_the_users">Zablokuj użytkowników</string>
|
||||||
<string name="be_visible_for_these_users">Bądź dostępny dla użytkowników</string>
|
<string name="be_visible_for_these_users">Bądź dostępny dla użytkowników</string>
|
||||||
|
|
||||||
<!--(ENG) Sharing Modes -->
|
<string name="manual_mode">manualny</string>
|
||||||
<string name="manual_mode">manual</string>
|
<string name="exact_mode">dokładny</string>
|
||||||
<string name="exact_mode">exact</string>
|
<string name="approx_mode">przybliżony</string>
|
||||||
<string name="approx_mode">approximate</string>
|
<string name="other_location">Niezapisana lokalizacja.</string>
|
||||||
|
|
||||||
|
|
||||||
<!--(ENG) Undefined manual -->
|
|
||||||
<string name="other_location">Not saved location.</string>
|
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
||||||
|
@ -445,8 +445,12 @@
|
|||||||
"when a user tries to pick up one of cards.\n\n"
|
"when a user tries to pick up one of cards.\n\n"
|
||||||
</string>
|
</string>
|
||||||
|
|
||||||
<string name="manual_mode">manualny</string>
|
|
||||||
<string name="exact_mode">dokładny</string>
|
<!--(ENG) Sharing Modes -->
|
||||||
<string name="approx_mode">przybliżony</string>
|
<string name="manual_mode">manual</string>
|
||||||
<string name="other_location">Niezapisana lokalizacja.</string>
|
<string name="exact_mode">exact</string>
|
||||||
|
<string name="approx_mode">approximate</string>
|
||||||
|
|
||||||
|
<!--(ENG) Undefined manual -->
|
||||||
|
<string name="other_location">Not saved location.</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
Loading…
Reference in New Issue
Block a user