
package de.ivu.elect.presentation;

import java.util.ArrayList;
import java.util.List;

/**
 * @deprecated
 * @see LokalisierungResourceBundle
 */
@Deprecated
public class CoreResourceBundle extends CommonResourceBundle {

  public static final String BASE_NAME_FOR_CORE_MESSAGES = "messages_elect_core";

  public static final String BASE_NAME_FOR_CORE_CUSTOM_MESSAGES = BASE_NAME_FOR_CORE_MESSAGES + "_custom";

  public CoreResourceBundle() {
    super();
  }

  @Override
  protected List<String> getBaseNamesOrderedBySpecialization() {
    List<String> result = new ArrayList<>();

    result.add(getBaseNameForCoreCustomMessages());
    result.add(getBaseNameForCoreMessages());
    result.addAll(super.getBaseNamesOrderedBySpecialization());

    return result;
  }

  protected String getBaseNameForCoreMessages() {
    return BASE_NAME_FOR_CORE_MESSAGES;
  }

  protected String getBaseNameForCoreCustomMessages() {
    return BASE_NAME_FOR_CORE_CUSTOM_MESSAGES;
  }
}
