Skip to content

Commit

Permalink
Another two translation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Warriorrrr committed Nov 20, 2024
1 parent 7b8e250 commit 884805f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 884805f

Please sign in to comment.