/* * $Id: fallback.c,v 1.29 2000/08/10 21:02:50 danny Exp $ * * This file is part of Oleo, a free spreadsheet. * * Copyright © 1998-2000 Free Software Foundation, Inc. * Written by Danny Backx * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #ifdef WITH_DMALLOC #include #endif #include #include char *fallback[] = { /* Global */ "*oleo.title: Oleo", "*oleo.geometry: 800x600", "*Oleo.geometry: 800x600", "*tearOffModel: XmTEAR_OFF_ENABLED", #if 0 /* FIX ME */ "oleo.rows: 65536", "oleo.columns: 65536", #else "oleo.rows: 1000", "oleo.columns: 1000", #endif "*XmMainWindow.showSeparator: true", "*background: #AAAAAA", "*bae.background: #CCCCCC", /* "*bae.cellShadowType: shadow_etched_in", */ "*bae.gridType: grid_cell_shadow", "*formula.columns: 80", "*splash*fontList: -b&h-lucidatypewriter-bold-r-normal-sans-24-*-*-*-*-*-iso8859-1=large,-b&h-lucida-medium-i-normal-sans-18-*-*-*-*-*-iso8859-1=small", "*splash*background: #AAAAAA", "*splash*foreground: red", "*messagesSW.height: 70", /* BaeMatrix */ "*bae.allowColumnResize: True", "*bae.columnLabelColor: dark slate blue", "*bae.rowLabelColor: dark slate blue", "*bae.translations: #override\\n" /* ": SelectCell(start)\\n" */ ": SelectCell(end)\\n" ": SelectCell(move)", /* Menu System */ /* File */ "*filecascade.labelString: File", "*new.labelString: New", "*new.sensitive: false", "*open.labelString: Open", "*close.labelString: Close", "*save.labelString: Save", "*saveas.labelString: Save As", "*print.labelString: Print", "*quit.labelString: Quit", /* Edit */ "*editcascade.labelString: Edit", "*undo.labelString: Undo", "*undo.sensitive: no", "*copy.labelString: Copy", "*copy.sensitive: no", "*cut.labelString: Cut", "*cut.sensitive: no", "*paste.labelString: Paste", "*paste.sensitive: no", "*insert.labelString: Insert", "*delete.labelString: Delete", "*move.labelString: Move", "*sort.labelString: Sort", "*sort.sensitive: no", "*copyregion.labelString: Copy Region", "*copyvalues.labelString: Copy Values", "*recalculate.labelString: Recalculate", "*setregion.labelString: Set Region", "*setregion.sensitive: no", "*markcell.labelString: Mark Cell", "*markregion.labelString: Mark Region", "*setmark.labelString: Set Mark", "*gotocell.labelString: Goto Cell", "*gotocell.sensitive: no", /* Style */ "*stylecascade.labelString: Style", "*format.labelString: Format", "*format.sensitive: no", "*alignment.labelString: Alignment", "*alignment.sensitive: no", "*font.labelString: Font", "*font.sensitive: no", "*width.labelString: Width", "*width.sensitive: no", "*height.labelString: Height", "*height.sensitive: no", "*protection.labelString: Protection", "*protection.sensitive: no", /* Options */ "*optionscascade.labelString: Options", "*a0.labelString: Represent Columns as A0", "*edges.labelString: Edges", "*autorecalc.labelString: Automatically Recalculate", "*autorecalc.sensitive: no", "*loadhooks.labelString: Run load hooks", "*statusline.labelString: Status line on top", "*backup.labelString: Backup old file when saving", "*backupcopy.labelString: Backup by copy, not rename", "*formats.labelString: Formats", "*defaultformat.labelString: Set Default Format/Precision", "*printoptions.labelString: Print Options", "*defaultfileformat.labelString: Default File Format", "*setvariable.labelString: Set Variable", "*setvariable.sensitive: no", "*showvariable.labelString: Show Variable", "*showvariable.sensitive: no", "*listvariables.labelString: List Variables", "*listvariables.sensitive: no", "*showoptions.labelString: Show Options", "*showoptions.sensitive: no", "*userpreferences.labelString: User Preferences", "*saveuserpreferences.labelString: Save User Preferences", /* Graph */ "*graphcascade.labelString: Graph", "*graphmenu.define.labelString: Define Graph", "*graphmenu.show.labelString: Show SciPlot Graph", "*graphmenu.print.labelString: Print SciPlot Graph", "*graphmenu.pulabel.labelString: GNU Plotutils", "*graphmenu.pushowpie.labelString: Show Pie Chart", "*graphmenu.pushowbar.labelString: Show Bar Chart", "*graphmenu.pushowxy.labelString: Show XY Chart", "*graphmenu.puprintpie.labelString: Print Pie Chart", "*graphmenu.puprintbar.labelString: Print Bar Chart", "*graphmenu.puprintxy.labelString: Print XY Chart", /* Database */ "*dbcascade.labelString: Database", "*dbcascade.mnemonic: D", "*configuremysql.labelString: Configure MySQL Access", "*mySQLDialog_popup.title: Configure MySQL Access", "*dbmenu*readmysql.labelString: Read MySQL", "*dbmenu*writemysql.labelString: Write MySQL", "*dbmenu*readxbase.labelString: Read Xbase", "*dbmenu*writexbase.labelString: Write Xbase", "*dbmenu*nodbms.labelString: No database access linked in", "*dbhostlabel.labelString: DBMS Server Host", "*dbnamelabel.labelString: Database Name", "*dbuserlabel.labelString: User Name", /* Test */ "*testcascade.labelString: Test", "*testcascade.mnemonic: T", /* Help */ "*helpcascade.labelString: Help", "*about.labelString: About Oleo", "*version.labelString: Version", "*using.labelString: Using Oleo", "*math.labelString: Math Functions", "*trig.labelString: Trigonometric Functions", "*stats.labelString: Statistical Functions", "*bool.labelString: Boolean Functions", "*string.labelString: String Functions", "*struct.labelString: Structure Functions", "*search.labelString: Search Functions", "*bus.labelString: Business Functions", "*date.labelString: Date Functions", "*expr.labelString: Expressions", "*error.labelString: Error Values", "*helpmenu.format.labelString: Formats", "*helpmenu.option.labelString: Options", /* Dialog titles */ "*selectfile_popup.title: Select a file to load or save", "*versionD_popup.title: Oleo Version Dialog", "*helpShell.title: Oleo Help Window", "*UserPreferences_popup.title: Oleo User Preferences", /* User Preferences */ "*matrixfontlabel.labelString: Matrix Font ", "*fontlabel.labelString: General Font", "*matrixfontbutton.labelString: Select Font ...", "*fontbutton.labelString: Select Font ...", "*matrixfonttf.columns: 50", "*fonttf.columns: 50", "*encodingLabel.labelString: Character encoding", "*encodingTf.columns: 50", "*matrixfontlabel.alignment: alignment_beginning", "*fontlabel.alignment: alignment_beginning", "*encodingLabel.alignment: alignment_beginning", /* Help Dialog */ "*versionD*Help*labelString: GPL", /* Configuration Dialogs */ "*configureGraph_popup*.title: Configure the Graph", "*configureGraph*xlog.labelString: Logarithmic Axes", "*configureGraph*ylog.labelString: Logarithmic Axes", "*configureGraph*l1.labelString: X Axis", "*configureGraph*l2.labelString: Data 1", "*configureGraph*l3.labelString: Data 2", "*configureGraph*l4.labelString: Data 3", "*configureGraph*l5.labelString: Data 4", "*configureGraph*s1.labelString: ", "*configureGraph*s2.labelString: ", "*configureGraph*s3.labelString: ", "*configureGraph*s4.labelString: ", "*configureGraph*s5.labelString: ", "*configureGraph*l0.labelString: ", "*configureGraph*r0.labelString: Data Range", "*configureGraph*t0.labelString: Data Set Name", "*configureGraph*s0.labelString: Dotted Lines", "*configureGraph*xl.labelString: X Axis Title", "*configureGraph*yl.labelString: Y Axis Title", /* Copy dialog */ "*copyDialog*cap1.labelString: From :", "*copyDialog*cap2.labelString: To :", /* Mnemonics */ "*filecascade.mnemonic: F", "*new.mnemonic: N", "*open.mnemonic: O", "*quit.mnemonic: Q", "*close.mnemonic: C", "*save.mnemonic: S", "*saveas.mnemonic: A", "*filemenu.print.mnemonic: P", "*editcascade.mnemonic: E", "*undo.mnemonic: U", "*copy.mnemonic: C", "*cut.mnemonic: t", "*paste.mnemonic: P", "*stylecascade.mnemonic: S", "*optionscascade.mnemonic: O", "*graphcascade.mnemonic: G", "*helpcascade.mnemonic: H", /* Accelerators */ "*new.accelerator: Ctrln", "*open.accelerator: Ctrlo", "*close.accelerator: Ctrlx", "*save.accelerator: Ctrls", "*saveas.accelerator: Ctrla", "*filemenu.print.accelerator: Ctrlp", "*quit.accelerator: Ctrlq", "*undo.accelerator: Ctrlu", "*copy.accelerator: CtrlosfInsert", #ifndef LESSTIF_VERSION "*cut.accelerator: ShiftosfDelete", #endif "*paste.accelerator: CtrlosfInsert", "*insert.accelerator: Ctrlplus", "*gotocell.accelerator: F5", "*format.accelerator: CtrlF", /* Accelerator Texts */ "*new.acceleratorText: Ctrl-N", "*open.acceleratorText: Ctrl-O", "*save.acceleratorText: Ctrl-S", "*saveas.acceleratorText: Ctrl-A", "*close.acceleratorText: Ctrl-X", "*print.acceleratorText: Ctrl-P", "*quit.acceleratorText: Ctrl-Q", "*undo.acceleratorText: Ctrl-U", "*copy.acceleratorText: Ctrl-Insert", "*cut.acceleratorText: Shift-Delete", "*paste.acceleratorText: Ctrl-Insert", "*insert.acceleratorText: Ctrl-+", "*gotocell.acceleratorText: F5", "*format.acceleratorText: Ctrl-F", /* Print Dialog */ "*printDestinationFrameTitle.labelString: Print Destination", "*printPaperFrameTitle.labelString: Paper Size", "*printForm*printer.labelString: Printer", "*printForm*file.labelString: File", "*printForm*program.labelString: Program", "*printForm*fileTFBrowse.labelString: Browse ...", "*printForm*printRangeFrameTitle.labelString: Print Range", "*printShell.title: Print Dialog", /* Default File Dialog */ "*listSeparatorFrameTitle.labelString: List File Separator", "*defaultFileShell.title: Default File Format Dialog", "*defaultFormatFrameTitle.labelString: Default File Format", /* Generic dialog buttons */ "*ok.labelString: OK", "*cancel.labelString: Cancel", "*help.labelString: Help", "*dismiss.labelString: Dismiss", /* Formats Dialog */ "*formatsDialog_popup.title: Formats Dialog", "*formatsFrameTitle.labelString: Cell Format", "*formatsFrame*formatsL.labelString: Cell Range", "*formatsFrame*precisionL.labelString: Precision", /* Print Options Dialog */ "*showLabels.labelString: Show Labels", "*showBorders.labelString: Show Border", "*showRaster.labelString: Show Raster", "*PrintZoomScale.titleString: Zoom Percentage :", /* Quit Dialog */ "*quitMB_popup.title: Quit Oleo ?", "*quitMB*OK.labelString: Quit", "*quitMB*Cancel.labelString: Don't quit", /* XY Chart Dialog */ "*datatab.labelString: General Chart Data", /* XY Chart Dialog */ "*XYTab.labelString: XY Chart", "*configureXYChartFrameTitle.labelString: Configure XY Charts", "*xAutoToggle.labelString: Automatic X Axis", "*xMinLabel.labelString: Minimum X :", "*xMaxLabel.labelString: Maximum X :", "*yAutoToggle.labelString: Automatic Y Axis", "*yMinLabel.labelString: Minimum Y :", "*yMaxLabel.labelString: Maximum Y :", "*lineToOffscreen.labelString: Draw line to offscreen data points", "*xLogToggle.labelString: Logarithmic Scale", "*yLogToggle.labelString: Logarithmic Scale", "*xtickdefault.labelString: Default", "*xticknone.labelString: None", "*xtickprintf.labelString: Printf", "*xtickstrftime.labelString: Strftime", "*ytickdefault.labelString: Default", "*yticknone.labelString: None", "*ytickprintf.labelString: Printf", "*ytickstrftime.labelString: Strftime", /* Bar Chart Dialog */ "*BarTab.labelString: Bar Chart", "*configureBarChartFrameTitle.labelString: Configure Bar Charts", "*stackToggle.labelString: Stacking Bar Chart", /* Pie Chart Dialog */ "*PieTab.labelString: Pie Chart", "*configurePieChartFrameTitle.labelString: Configure Pie Charts", "*pie3d.labelString: 3D Pie Chart", /* Graph Print Dialog */ "*printDialog_popup.title: Print Dialog", "*puselectfile_popup.title: Select a file to print to", /* End */ NULL };