/*
  i-net software provides programming examples for illustration only, without warranty
  either expressed or implied, including, but not limited to, the implied warranties
  of merchantability and/or fitness for a particular purpose. This programming example
  assumes that you are familiar with the programming language being demonstrated and
  the tools used to create and debug procedures. i-net software support professionals
  can help explain the functionality of a particular procedure, but they will not modify
  these examples to provide added functionality or construct procedures to meet your
  specific needs.
  © i-net software 1998-2010
*/

package samples.language_resource;

import java.util.ListResourceBundle;

/**
 * To test this sample you need to compile it and then copy the *.class files with 
 * package (samples) in the i-net Clear Reports directory.
 * 
 * Add the value "samples.LangResource" to the property "Language Resource" 
 * in the configuration using Configuration Manager.
 * 
 * Create a report with text fields using the above strings.
 * 
 * Please note that the labels in the left column need to have their counterparts 
 * in the right column in the language that you would like to employ.
 */
public class LangResource extends ListResourceBundle {
    
    static final Object[][] CONTENTS = {
        // LOCALIZE THIS
        {"busy",        "busy"},
        
        {"Page",        "Page"},
        {"of",          "of"},
        
        {"All",         "All"},
        {"from",        "from"},
        {"to",          "to"},
        {"Current Page",    "Current page"},
        {"Ok",          "OK"},
        {"Cancel",      "Cancel"},
        {"Abort Printing ...",  "Abort printing ..."},

        // END OF MATERIAL TO LOCALIZE
    };
    
    /**
     * Returns the content of this language resource 
     * @return language resource content
     */
    public Object[][] getContents() {
 		return CONTENTS;
 	}
}
