Skip to content

Commit

Permalink
Plural fixes2
Browse files Browse the repository at this point in the history
  • Loading branch information
Adith101 committed Oct 27, 2024
1 parent 3e8daf8 commit ec8135d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public String getPlacesAsGPX(LatLng currentLocation) throws Exception {
*/
public List<Place> getPlaces(List<Place> placeList) throws Exception {

String secondaryLanguages = defaultKvStore.getString(Prefs.SECONDARY_LANGUAGE, "");
String secondaryLanguages = defaultKvStore.getString(Prefs.SECONDARY_LANGUAGES, "");

return nearbyPlaces.getPlaces(placeList, Locale.getDefault().getLanguage(), secondaryLanguages);
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/fr/free/nrw/commons/settings/Prefs.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class Prefs {
public static final String UPLOADS_SHOWING = "uploadsshowing";
public static final String MANAGED_EXIF_TAGS = "managed_exif_tags";
public static final String DESCRIPTION_LANGUAGE = "languageDescription";
public static final String SECONDARY_LANGUAGES = "languageSecondary";
public static final String SECONDARY_LANGUAGES = "secondaryLanguages";

public static final String APP_UI_LANGUAGE = "appUiLanguage";
public static final String KEY_THEME_VALUE = "appThemePref";
Expand Down

0 comments on commit ec8135d

Please sign in to comment.