Compare commits

..

No commits in common. "7fac9d027928049b7c77f238273626d6c9c7357c" and "c6f37579a09dfb4db139b9d7839a9bcefef4dd1b" have entirely different histories.

6 changed files with 5 additions and 32 deletions

View file

@ -47,7 +47,7 @@ public class FavoriteAddItem {
);
final ItemBuilder builder = new ItemBuilder(banner);
return playerLanguage.translateItem(builder, LanguageKey.GUI.Favorites.ADD);
return playerLanguage.translateItem(builder, LanguageKey.GUI.Home.FAVORITES);
}, click -> {
final ClickType clickType = click.getClickType();
if (clickType.isLeftClick() || clickType.isRightClick()) {

View file

@ -42,7 +42,7 @@ public class FavoriteRemoveItem {
);
final ItemBuilder builder = new ItemBuilder(banner);
return playerLanguage.translateItem(builder, LanguageKey.GUI.Favorites.REMOVE);
return playerLanguage.translateItem(builder, LanguageKey.GUI.Home.FAVORITES);
}, click -> {
final ClickType clickType = click.getClickType();
if (clickType.isLeftClick() || clickType.isRightClick()) {

View file

@ -9,7 +9,7 @@ public enum Language implements Serializable {
FRENCH("fr", "Français"),
CUSTOM("cm", "Server Custom");
public static final Version VERSION = new Version(1, 4, 0);
public static final Version VERSION = new Version(1, 3, 1);
private final String code;
private transient final String name;

View file

@ -142,12 +142,5 @@ public class LanguageKey {
public static final String ENTRY = CACHE_KEY + "entry";
}
}
public static class Favorites {
private static final String FAVORITES_KEY = GUI_KEY + "favorites.";
public static final String ADD = FAVORITES_KEY + "add";
public static final String REMOVE = FAVORITES_KEY + "remove";
}
}
}

View file

@ -1,7 +1,7 @@
# Nicko ${version} - Language File:
# Specifies the configuration version, don't change.
version: "1.4.0"
version: "1.3.1"
prefix: "<b><gradient:#01a97c:#8ffd54>NICKO</gradient></b>"
whoosh: "<b><gradient:#01a97c:#8ffd54>WHOOSH!</gradient></b>"
@ -149,26 +149,6 @@ gui:
lore:
- "{0} Disabled"
- "{1} Enabled"
cycling_choices:
lore:
- "<gray><i>Cycle through the values</i></gray>"
- "<gray><i>by left or right clicking.</i></gray>"
language:
name: "Language"
random_skin:
name: "Random skin on login"
favorites:
add:
name: "Add a favorite"
lore:
- "<grey>Add a new favorite appearance to the list.</grey>"
- "<grey>Hold <b><gold>SHIFT</gold></b> to add your current disguise!</grey>"
remove:
name: "Toggle deletion mode"
lore:
- "<grey>Clicking on any disguise as this mode is</grey>"
- "<grey>active will remove it from your favorites.</grey>"
cycling_choices:
lore:
- "<gray><i>Cycle through the values</i></gray>"

View file

@ -1,7 +1,7 @@
# Nicko ${version} - Fichier de langue:
# Précise la version de la configuration, ne pas changer.
version: "1.4.0"
version: "1.3.1"
prefix: "<b><gradient:#01a97c:#8ffd54>NICKO</gradient></b>"
whoosh: "<b><gradient:#01a97c:#8ffd54>WHOOSH!</gradient></b>"