Mirror von
https://github.com/TheSilentPro/HeadDB.git
synchronisiert 2024-12-27 11:20:05 +01:00
Localized head names in the main gui
Dieser Commit ist enthalten in:
Ursprung
d873e4bebe
Commit
169e0e86ff
@ -181,7 +181,7 @@ public class InventoryUtils {
|
||||
for (Category category : Category.cache) {
|
||||
ItemStack item = getUIItem(category.getName(), category.getItem());
|
||||
ItemMeta meta = item.getItemMeta();
|
||||
meta.setDisplayName(Utils.colorize(category.getColor() + "&l" + category.getName().toUpperCase()));
|
||||
meta.setDisplayName(Utils.colorize(localization.getMessage("menu.heads." + category.getName())));
|
||||
List<String> lore = new ArrayList<>();
|
||||
lore.add(Utils.colorize("&e" + HeadAPI.getHeads(category).size() + " heads"));
|
||||
meta.setLore(lore);
|
||||
|
@ -10,4 +10,15 @@ menu:
|
||||
tagSearch: "&c&lHeadDB &8- &eTag Search: %search%"
|
||||
search: "&c&lHeadDB &8- &eSearch: %search%"
|
||||
favorites: "&c&lHeadDB &8- &eFavorites: %player%"
|
||||
local: "&c&lHeadDB &8- &aLocal Heads &7(%size%)"
|
||||
local: "&c&lHeadDB &8- &aLocal Heads &7(%size%)"
|
||||
heads:
|
||||
alphabet: "&e&lALPHABET"
|
||||
animals: "&3&lANIMALS"
|
||||
blocks: "&8&lBLOCKS"
|
||||
decoration: "&6&lDECORATION"
|
||||
food-drinks: "&6&lFOOD-DRINKS"
|
||||
humans: "&1&lHUMANS"
|
||||
humanoid: "&b&lHUMANOID"
|
||||
miscellaneous: "&2&lMISCELLANEOUS"
|
||||
monsters: "&c&lMONSTERS"
|
||||
plants: "&a&lPLANTS"
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren