mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Added french translation
This commit is contained in:
parent
0ce71eab7f
commit
59abc2f2e2
@ -376,7 +376,7 @@ public final class GuideSettings {
|
||||
|
||||
if (contributor.getProfile() != null) {
|
||||
lore.add("");
|
||||
lore.add(ChatColors.color("&7\u21E8 Click to visit " + contributor.getName() + "'s profile"));
|
||||
lore.add(ChatColors.color("&7\u21E8 &e") + SlimefunPlugin.getLocal().getMessage(p, "guide.credits.profile-link"));
|
||||
}
|
||||
|
||||
meta.setLore(lore);
|
||||
|
@ -75,13 +75,13 @@ public final class ChestMenuUtils {
|
||||
public static ItemStack getNextButton(Player p, int page, int pages) {
|
||||
if (pages == 1 || page == pages) {
|
||||
return new CustomItem(NEXT_BUTTON_INACTIVE, meta -> {
|
||||
meta.setDisplayName(ChatColor.DARK_GRAY + SlimefunPlugin.getLocal().getMessage(p, "guide.pages.next") + " \u21E6");
|
||||
meta.setDisplayName(ChatColor.DARK_GRAY + SlimefunPlugin.getLocal().getMessage(p, "guide.pages.next") + " \u21E8");
|
||||
meta.setLore(Arrays.asList("", ChatColor.GRAY + "(" + page + " / " + pages + ")"));
|
||||
});
|
||||
}
|
||||
|
||||
return new CustomItem(NEXT_BUTTON_ACTIVE, meta -> {
|
||||
meta.setDisplayName(ChatColor.RESET + SlimefunPlugin.getLocal().getMessage(p, "guide.pages.next") + " \u21E6");
|
||||
meta.setDisplayName(ChatColor.RESET + SlimefunPlugin.getLocal().getMessage(p, "guide.pages.next") + " \u21E8");
|
||||
meta.setLore(Arrays.asList("", ChatColor.GRAY + "(" + page + " / " + pages + ")"));
|
||||
});
|
||||
}
|
||||
|
@ -46,6 +46,7 @@ guide:
|
||||
credits:
|
||||
commit: 'Commit'
|
||||
commits: 'Commits'
|
||||
profile-link: 'Click to visit their profile on GitHub'
|
||||
roles:
|
||||
developer: '&6Developer'
|
||||
wiki: '&3Wiki Editor'
|
||||
|
Loading…
Reference in New Issue
Block a user