package ui.view;

public class Languages {

	static int languageVar = 0;

	static String[] arrayEN = {
			// ToolBar (0-16)
			"File", "New", "Open", "Save", "Edit", "Undo", "Redo", "Find/Replace", "Edit showed Information", "Options",
			"Reset Categories", "View", "View Size", "Help", "About Us", "Edit Edges", "Language",
			// Tables (17-24)
			"Object", "Nr.", "Device", "Energy", "Quantity", "Activated", "Field", "Information",
			// Graph (25-26)
			"None ", "Reset",
			// Warning PopUps (27-30)
			"Warning", "Do you want to save your current data?", "Do you really want to delete the Category ",
			"Please select a Category or an Object in order to delete something.",
			// Edit Edges Pop Up
			"Edit Showed Informations", "Show Total Energy of Objects", "Show Connection Properties", "Cancel" };

	static String[] arrayES = {
			// ToolBar (0-16)
			"Archivo", "Nuevo", "Abrir", "Guardar", "Editar", "Deshacer", "Rehacer", "Buscar/Reemplazar",
			"Editar Informacion a mostrar", "Opciones", "Resetear Categorias", "Vista", "Tamano de Vista", "Ayuda",
			"Sobre Nosotros", "Editar Conexiones", "Idiomas",
			// Tables (17-24)
			"Objeto", "Nr.", "Equipo", "Enegia", "Cantidad", "Activo", "Campo", "Informacion",
			// Graph (25-26)
			"Vacio ", "Resetear",
			// Warning PopUps(27-30)
			"Atencion", "Desea guardar su progreso?", "Esta seguro que quiere eliminar la categoria ",
			"Por favor seleccione una categoria o un objecto para poder proceder a eliminarlo.",
			// Edit Edges Pop Up
			"Editar informacion a mostrar", "Mostrar energia total de los objetos",
			"Mostrar propiedades de las conexiones", "Cancelar" };

	static String[] arrayDE = {
			// ToolBar (0-16)
			"File", "New", "Open", "Save", "Edit", "Undo", "Redo", "Find/Replace", "Edit showed Information", "Options",
			"Reset Categories", "View", "View Size", "Help", "About Us", "Edit Edges", "Language",
			// Tables (17-24)
			"Object", "Nr.", "Device", "Energy", "Quantity", "Activated", "Field", "Information",
			// Graph (25-26)
			"None ", "Reset",
			// Warning PopUps(27-30)
			"Warning", "Do you want to save your current data?", "Do you really want to delete the Category ",
			"Please select a Category or an Object in order to delete something.",
			// Edit Edges Pop Up
			"Edit Showed Informations", "Show Total Energy of Objects", "Show Connection Properties", "Cancel" };

	static String[] arrayCZ = {
			// ToolBar (0-16)
			"File", "New", "Open", "Save", "Edit", "Undo", "Redo", "Find/Replace", "Edit showed Information", "Options",
			"Reset Categories", "View", "View Size", "Help", "About Us", "Edit Edges", "Language",
			// Tables (17-24)
			"Object", "Nr.", "Device", "Energy", "Quantity", "Activated", "Field", "Information",
			// Graph (25-26)
			"None ", "Reset",
			// Warning PopUps(27-30)
			"Warning", "Do you want to save your current data?", "Do you really want to delete the Category ",
			"Please select a Category or an Object in order to delete something.",
			// Edit Edges Pop Up
			"Edit Showed Informations", "Show Total Energy of Objects", "Show Connection Properties", "Cancel" };

	static String[] arrayZH = {
			// ToolBar (0-16)
			"File", "New", "Open", "Save", "Edit", "Undo", "Redo", "Find/Replace", "Edit showed Information", "Options",
			"Reset Categories", "View", "View Size", "Help", "About Us", "Edit Edges", "Language",
			// Tables (17-24)
			"Object", "Nr.", "Device", "Energy", "Quantity", "Activated", "Field", "Information",
			// Graph (25-26)
			"None ", "Reset",
			// Warning PopUps(27-30)
			"Warning", "Do you want to save your current data?", "Do you really want to delete the Category ",
			"Please select a Category or an Object in order to delete something.",
			// Edit Edges Pop Up
			"Edit Showed Informations", "Show Total Energy of Objects", "Show Connection Properties", "Cancel" };

	public static String[] getLanguage() {
		switch (languageVar) {
		case 0:
			return arrayEN;
		case 1:
			return arrayES;
		case 2:
			return arrayDE;
		case 3:
			return arrayCZ;
		case 4:
			return arrayZH;
		default:
			return arrayEN;
		}
	}

	public static void setLanguage(int i) {
		languageVar = i;
	}
}
