Implemented composite translation of poi additional type when inside category
This commit is contained in:
parent
7a3c28c12f
commit
f6c89282ff
1 changed files with 5 additions and 1 deletions
|
@ -282,7 +282,11 @@ public class AmenityMenuBuilder extends MenuBuilder {
|
|||
icon = getRowIcon(view.getContext(), ((PoiType) pType.getParentType()).getOsmTag() + "_" + pType.getOsmTag().replace(':', '_') + "_" + pType.getOsmValue());
|
||||
}
|
||||
if (!pType.isText()) {
|
||||
vl = pType.getTranslation();
|
||||
if (!Algorithms.isEmpty(pType.getPoiAdditionalCategory())) {
|
||||
vl = pType.getPoiAdditionalCategoryTranslation() + ": " + pType.getTranslation();
|
||||
} else {
|
||||
vl = pType.getTranslation();
|
||||
}
|
||||
} else {
|
||||
isText = true;
|
||||
isDescription = iconId == R.drawable.ic_action_note_dark;
|
||||
|
|
Loading…
Reference in a new issue