package ru.yandex.autotests.direct.web.data.textresources;

import ru.yandex.autotests.direct.utils.config.DirectTestRunProperties;
import ru.yandex.autotests.direct.utils.textresource.ITextResource;
import ru.yandex.autotests.direct.utils.textresource.TextResources;

/**
 * User: alexey-n
 * Date: 12.07.13
 * Time: 10:32
 */
public enum EditBannerResource implements ITextResource {

    SELECT_FEED_ERROR,
    ADD_FILTER_ERROR,
    TITLE_ERROR_TEXT,
    TEXT_ERROR_TEXT,
    HREF_ERROR_TEXT,
    HREF_WRONG_FORMAT,
    CREATIVE_ERROR,
    KEYWORDS_ERROR,
    HREF_CHECK_IN_PROGRESS,
    CHOOSE_PHRASE_WINDOW_TITLE,
    EDIT_BANNER_PAGE_TITLE,
    GROUP_NAME_IS_EMPTY_ERROR,
    EMPTY_MAX_PRICE_ERROR,
    BANNER_GROUPS,
    EMPTY_HREF_ERROR,
    PIXEL_FORMAT_ERROR,
    COUNTER_FORMAT_ERROR,
    CREATE_BANNER_GROUPS,
    DIFFERENT_VALUES_AT_BANNERS,
    DIFFERENT_SITELINKS_AT_BANNERS,
    DIFFERENT_SITELINKS_TITLE_AT_BANNERS,
    SITE_LINKS_WILL_BE_DELETED_ALERT_TEXT,
    CPM_EMPTY_SEGMENTS_ERROR,
    PRICE_RANGE_WILL_BE_DELETED_ALERT_TEXT;

    @Override
    public String getBundle() {
        return "web.banners.EditBannerTextData";
    }

    @Override
    public String toString() {
        return TextResources.getText(this, DirectTestRunProperties.getInstance().getDirectCmdLocale());
    }
}
