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