Fix strings

This commit is contained in:
Mieszko Wrzeszczyński 2019-01-08 23:41:30 +01:00
parent c55578c8ae
commit 5dcaca9dd2
3 changed files with 18 additions and 12 deletions

View File

@ -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())) {

View File

@ -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>

View File

@ -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>