// Copyright (c) 2000 Oracle Corporation

package oracle.portal.sample.v1.devguide.helloworld.resource;

/**
 * A Class class.
 * <P>
 * @author Michael Freedman
 */

import java.util.*;
import oracle.portal.provider.v1.PortletConstants;

public class HelloWorldBundle extends ListResourceBundle {

    public static String DEFAULT_MSG = "DefaultMessage";
    public static String SESSION_MSG = "SessionMessage";
    public static String LANGUAGE_MSG = "LanguageMessage";
    public static String CLEAR_MSG = "ClearSession";
    public static String HELP_TITLE = "HelpTitle";
    public static String HELP_CONTENT = "HelpContent";
    public static String ABOUT_TITLE = "AboutTitle";
    public static String ABOUT_CONTENT = "AboutContent";

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

    static private final Object[][] contents = {
        // LOCALIZE THIS
        {PortletConstants.NAME, "HelloWorld"},
        {PortletConstants.TITLE, "Hello World Portlet"},
        {PortletConstants.DESCRIPTION, "This is the hello world portlet."},
        {PortletConstants.TIMEOUTMSG, "HelloWorld Portlet could not be contacted"},

        {DEFAULT_MSG, "Welcome {0} to Oracle Portal Introductory Example!"},
        {SESSION_MSG, "This portlet has rendered {0,number,integer} times in this session."},
        {LANGUAGE_MSG, "The current language setting is {0}."},
        {CLEAR_MSG, "Clear count"},

        {HELP_TITLE, "Help"},
        {HELP_CONTENT, "<center>Help information goes here!</center>"},
        {ABOUT_TITLE, "About"},
        {ABOUT_CONTENT, "<center>About information goes here!</center>"}


        // END OF MATERIAL TO LOCALIZE
    };
}

