    001package co.aikar.commands;
    002
    003public class BungeeLocales extends Locales {
    004    private final BungeeCommandManager manager;
    005
    006    public BungeeLocales(BungeeCommandManager manager) {
    007        super(manager);
    008
    009        this.manager = manager;
    010        this.addBundleClassLoader(this.manager.getPlugin().getClass().getClassLoader());
    011    }
    012
    013    @Override
    014    public void loadLanguages() {
    015        super.loadLanguages();
    016        String pluginName = "acf-" + manager.plugin.getDescription().getName();
    017        addMessageBundles("acf-minecraft", pluginName, pluginName.toLowerCase());
    018    }
    019}