// Copyright (c) 2002 Oracle Corporation. All rights reserved.

package oracle.portal.sample.v2.devguide.feedback.resource;

import java.util.ListResourceBundle;
import oracle.portal.provider.v2.PortletConstants;

public class FeedbackBundle extends ListResourceBundle {

    public Object[][] getContents() {
      return contents;
    }

    //
    // The following constants are keys for strings that appear as
    // labels for edit fields on the customization screen.
    //
    public static final String TITLE_LABEL_KEY  = "TITLE";
    public static final String GREETING_KEY     = "GREETING";
    public static final String CUSTNAME_KEY     = "CUSTNAME";
    public static final String COMPNAME_KEY     = "COMPNAME";
    public static final String PROVIDE_KEY      = "PROVIDE";
    public static final String SUBMIT_KEY       = "SUBMIT";
    public static final String FBSAVED_KEY      = "FBSAVED";
    public static final String FBNOTSAVED_KEY   = "FBNOTSAVED";
    public static final String SQLERR_KEY       = "SQLERR";
    public static final String DATASRC_KEY      = "DATASRC";

    static private final Object[][] contents = {
      // LOCALIZE THIS
      {TITLE_LABEL_KEY,            "Title"},
      {GREETING_KEY,               "This portlet accepts your valuable feedback"},
      {CUSTNAME_KEY,               "Customer Name"},
      {COMPNAME_KEY,               "Company Name"},
      {PROVIDE_KEY,                "Provider your feedback below"},
      {SUBMIT_KEY,                 "Submit your feedback"},
      {FBSAVED_KEY,                "Feedback saved!"},
      {FBNOTSAVED_KEY,             "Feedback not saved!"},
      {SQLERR_KEY,                 "SQL Error"},
      {DATASRC_KEY,                "Error obtaining DataSource with path "},
      // END OF MATERIAL TO LOCALIZE
    };
}

