diff --git a/src/main/java/io/github/townyadvanced/townymenus/menu/NationMenu.java b/src/main/java/io/github/townyadvanced/townymenus/menu/NationMenu.java index b19eb37..3a6796c 100644 --- a/src/main/java/io/github/townyadvanced/townymenus/menu/NationMenu.java +++ b/src/main/java/io/github/townyadvanced/townymenus/menu/NationMenu.java @@ -188,7 +188,7 @@ public static MenuInventory formatNationSetMenu(Player player) { if (nation == null) return of("msg-must-be-in-nation-to").append(of("nation-menu-set-change-name")).component(locale).color(GRAY); else if (!player.hasPermission(PermissionNodes.TOWNY_COMMAND_NATION_SET_NAME.getNode())) - return of("msg-bo-permission-to").append(of("nation-menu-set-change-name")).component(locale).color(GRAY); + return of("msg-no-permission-to").append(of("nation-menu-set-change-name")).component(locale).color(GRAY); else return of("msg-click-to").append(of("nation-menu-set-change-name")).component(locale).color(GRAY); }) diff --git a/src/main/java/io/github/townyadvanced/townymenus/utils/Time.java b/src/main/java/io/github/townyadvanced/townymenus/utils/Time.java index 7f4e5ee..553ee38 100644 --- a/src/main/java/io/github/townyadvanced/townymenus/utils/Time.java +++ b/src/main/java/io/github/townyadvanced/townymenus/utils/Time.java @@ -22,7 +22,7 @@ public static Translatable ago(long time) { final long diff = TimeUnit.MILLISECONDS.toSeconds(now - time); if (diff < MINUTE_SECONDS) - return Translatable.of("just now"); + return Translatable.of("time-just-now"); else if (diff < 2 * MINUTE_SECONDS) return Translatable.of("time-a-minute-ago"); else if (diff < 60 * MINUTE_SECONDS)