Skip to content

Commit

Permalink
LocationLabel: Display "indoors"
Browse files Browse the repository at this point in the history
  • Loading branch information
qugebert committed Oct 16, 2023
1 parent 922f5c6 commit 9bfec4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ private fun getLocationHtml(
resources.getString(R.string.label_housenumber_location, houseNumber, level)
} else {
level ?: houseNumber
?: if (tags["indoor"] == "yes") Resources.getString(R.String.is_indoors) else null
}
}

Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ The info you enter is directly added to OpenStreetMap in your name, without the


<!-- Quest interface -->
<string name="is_indoors">(indoors) </string>
<!-- caution: This is not the floor and level=0 is not necessarily at street level as it may follow the numbering scheme of the building operator. Try to use a generic wording that does not carry an implicit meaning of where it is located in respect to the ground floor. The context is usually shopping centres, train stations or airport terminals -->
<string name="on_level">on level %s</string>
<string name="on_floor">on floor %s</string>
Expand Down

0 comments on commit 9bfec4c

Please sign in to comment.