mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-22 10:35:16 +01:00
Fix menu-title of player-markers not translatable
This commit is contained in:
parent
9fca7b9361
commit
b60b14372f
@ -82,9 +82,13 @@ export default {
|
||||
openMore(markerSet) {
|
||||
this.menu.openPage(
|
||||
this.menu.currentPage().id,
|
||||
this.menu.currentPage().title + " > " + markerSet.label,
|
||||
this.menu.currentPage().title + " > " + this.labelOf(markerSet),
|
||||
{markerSet: markerSet}
|
||||
)
|
||||
},
|
||||
labelOf(markerSet) {
|
||||
if (markerSet.id === "bm-players") return this.$t("players.title");
|
||||
return markerSet.label;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user