426 lines
12 KiB
Plaintext
426 lines
12 KiB
Plaintext
/*************************************************************************
|
|
*
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
|
*
|
|
* $RCSfile: validate.src,v $
|
|
*
|
|
* $Revision: 1.43 $
|
|
*
|
|
* last change: $Author: hr $ $Date: 2005-09-23 15:00:43 $
|
|
*
|
|
* The Contents of this file are made available subject to
|
|
* the terms of GNU Lesser General Public License Version 2.1.
|
|
*
|
|
*
|
|
* GNU Lesser General Public License Version 2.1
|
|
* =============================================
|
|
* Copyright 2005 by Sun Microsystems, Inc.
|
|
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License version 2.1, as published by the Free Software Foundation.
|
|
*
|
|
* This library 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
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
* MA 02111-1307 USA
|
|
*
|
|
************************************************************************/
|
|
|
|
#include "validate.hrc"
|
|
|
|
|
|
TabDialog TAB_DLG_VALIDATION
|
|
{
|
|
OutputSize = TRUE ;
|
|
SVLook = TRUE ;
|
|
Size = MAP_APPFONT ( 289 , 176 ) ;
|
|
Text [ de ] = "Gültigkeit" ;
|
|
Moveable = TRUE ;
|
|
TabControl 1
|
|
{
|
|
OutputSize = TRUE ;
|
|
Size = MAP_APPFONT ( 260 , 135 ) ;
|
|
PageList =
|
|
{
|
|
PageItem
|
|
{
|
|
Identifier = TP_VALIDATION_VALUES ;
|
|
PageResID = TP_VALIDATION_VALUES ;
|
|
Text [ de ] = "Kriterien" ;
|
|
Text [ en-US ] = "Criteria";
|
|
};
|
|
PageItem
|
|
{
|
|
Identifier = TP_VALIDATION_INPUTHELP ;
|
|
PageResID = TP_VALIDATION_INPUTHELP ;
|
|
Text [ de ] = "Eingabehilfe" ;
|
|
Text [ en-US ] = "Input Help" ;
|
|
};
|
|
PageItem
|
|
{
|
|
Identifier = TP_VALIDATION_ERROR ;
|
|
PageResID = TP_VALIDATION_ERROR ;
|
|
Text [ de ] = "Fehlermeldung" ;
|
|
Text [ en-US ] = "Error Alert" ;
|
|
};
|
|
};
|
|
};
|
|
Text [ en-US ] = "Validity" ;
|
|
};
|
|
|
|
TabPage TP_VALIDATION_VALUES
|
|
{
|
|
Hide = TRUE ;
|
|
SVLook = TRUE ;
|
|
Size = MAP_APPFONT ( 260 , 185 ) ;
|
|
Text [ de ] = "Werte" ;
|
|
Text [ en-US ] = "Values" ;
|
|
FixedText FT_ALLOW
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 16 ) ;
|
|
Size = MAP_APPFONT ( 70 , 8 ) ;
|
|
Text [ de ] = "Z~ulassen" ;
|
|
Text [ en-US ] = "~Allow" ;
|
|
};
|
|
ListBox LB_ALLOW
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 80 , 14 ) ;
|
|
Size = MAP_APPFONT ( 90 , 80 ) ;
|
|
TabStop = TRUE ;
|
|
DropDown = TRUE ;
|
|
StringList [ de ] =
|
|
{
|
|
< "Jeden Wert" ; SC_VALIDDLG_ALLOW_ANY ; > ;
|
|
< "Ganze Zahl" ; SC_VALIDDLG_ALLOW_WHOLE ; > ;
|
|
< "Dezimal" ; SC_VALIDDLG_ALLOW_DECIMAL ; > ;
|
|
< "Datum" ; SC_VALIDDLG_ALLOW_DATE ; > ;
|
|
< "Zeit" ; SC_VALIDDLG_ALLOW_TIME ; > ;
|
|
< "Zellbereich" ; SC_VALIDDLG_ALLOW_RANGE ; > ;
|
|
< "Liste" ; SC_VALIDDLG_ALLOW_LIST ; > ;
|
|
< "Textlänge" ; SC_VALIDDLG_ALLOW_TEXTLEN ; > ;
|
|
};
|
|
StringList [ en-US ] =
|
|
{
|
|
< "All values" ; SC_VALIDDLG_ALLOW_ANY ; > ;
|
|
< "Whole Numbers" ; SC_VALIDDLG_ALLOW_WHOLE ; > ;
|
|
< "Decimal" ; SC_VALIDDLG_ALLOW_DECIMAL ; > ;
|
|
< "Date" ; SC_VALIDDLG_ALLOW_DATE ; > ;
|
|
< "Time" ; SC_VALIDDLG_ALLOW_TIME ; > ;
|
|
< "Cell range" ; SC_VALIDDLG_ALLOW_RANGE ; > ;
|
|
< "List" ; SC_VALIDDLG_ALLOW_LIST ; > ;
|
|
< "Text length" ; SC_VALIDDLG_ALLOW_TEXTLEN ; > ;
|
|
};
|
|
};
|
|
FixedText FT_VALUE
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 58 ) ;
|
|
Size = MAP_APPFONT ( 70 , 8 ) ;
|
|
Text [ de ] = "~Daten" ;
|
|
Text [ en-US ] = "~Data" ;
|
|
};
|
|
ListBox LB_VALUE
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 80 , 56 ) ;
|
|
Size = MAP_APPFONT ( 90 , 90 ) ;
|
|
TabStop = TRUE ;
|
|
DropDown = TRUE ;
|
|
// Reihenfolge entspricht enum ScConditionMode
|
|
StringList [ de ] =
|
|
{
|
|
< "gleich" ; SC_VALIDDLG_DATA_EQUAL ; > ;
|
|
< "kleiner als" ; SC_VALIDDLG_DATA_LESS ; > ;
|
|
< "größer als" ; SC_VALIDDLG_DATA_GREATER ; > ;
|
|
< "kleiner oder gleich" ; SC_VALIDDLG_DATA_EQLESS ; > ;
|
|
< "größer oder gleich" ; SC_VALIDDLG_DATA_EQGREATER ; > ;
|
|
< "ungleich" ; SC_VALIDDLG_DATA_NOTEQUAL ; > ;
|
|
< "zwischen" ; SC_VALIDDLG_DATA_BETWEEN ; > ;
|
|
< "nicht zwischen" ; SC_VALIDDLG_DATA_NOTBETWEEN ; > ;
|
|
};
|
|
StringList [ en-US ] =
|
|
{
|
|
< "equal" ; SC_VALIDDLG_DATA_EQUAL ; > ;
|
|
< "less than" ; SC_VALIDDLG_DATA_LESS ; > ;
|
|
< "greater than" ; SC_VALIDDLG_DATA_GREATER ; > ;
|
|
< "less than or equal" ; SC_VALIDDLG_DATA_EQLESS ; > ;
|
|
< "greater than or equal to" ; SC_VALIDDLG_DATA_EQGREATER ; > ;
|
|
< "not equal" ; SC_VALIDDLG_DATA_NOTEQUAL ; > ;
|
|
< "between" ; SC_VALIDDLG_DATA_BETWEEN ; > ;
|
|
< "not between" ; SC_VALIDDLG_DATA_NOTBETWEEN ; > ;
|
|
};
|
|
};
|
|
FixedText FT_MIN
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 76 ) ;
|
|
Size = MAP_APPFONT ( 70 , 8 ) ;
|
|
Text [ de ] = "~Minimum" ;
|
|
Text [ en-US ] = "~Minimum" ;
|
|
};
|
|
Edit EDT_MIN
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 80 , 74 ) ;
|
|
Size = MAP_APPFONT ( 174 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
};
|
|
MultiLineEdit EDT_LIST
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 80 , 74 ) ;
|
|
Size = MAP_APPFONT ( 174 , 105 ) ;
|
|
VScroll = TRUE ;
|
|
IgnoreTab = TRUE ;
|
|
};
|
|
FixedText FT_MAX
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 92 ) ;
|
|
Size = MAP_APPFONT ( 70 , 8 ) ;
|
|
Text [ de ] = "Ma~ximum" ;
|
|
Text [ en-US ] = "Ma~ximum" ;
|
|
};
|
|
Edit EDT_MAX
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 80 , 90 ) ;
|
|
Size = MAP_APPFONT ( 174 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
};
|
|
CheckBox TSB_ALLOW_BLANKS
|
|
{
|
|
Pos = MAP_APPFONT ( 80 , 30 ) ;
|
|
Size = MAP_APPFONT ( 174 , 10 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ de ] = "~Leerzellen zulassen" ;
|
|
Text [ en-US ] = "Allow ~blank cells" ;
|
|
};
|
|
CheckBox CB_SHOWLIST
|
|
{
|
|
Pos = MAP_APPFONT ( 80 , 44 ) ;
|
|
Size = MAP_APPFONT ( 174 , 10 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ de ] = "~Auswahlliste anzeigen" ;
|
|
Text [ en-US ] = "Show selection ~list" ;
|
|
};
|
|
CheckBox CB_SORTLIST
|
|
{
|
|
Pos = MAP_APPFONT ( 90 , 58 ) ;
|
|
Size = MAP_APPFONT ( 164 , 10 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ de ] = "Ein~träge aufsteigend sortieren" ;
|
|
Text [ en-US ] = "Sor~t entries ascending" ;
|
|
};
|
|
FixedText FT_SOURCEHINT
|
|
{
|
|
Pos = MAP_APPFONT ( 80 , 90 ) ;
|
|
Size = MAP_APPFONT ( 174 , 64 ) ;
|
|
WordBreak = TRUE ;
|
|
Text [ de ] = "Als Quelle ist nur eine zusammenhängende Auswahl in einer Spalte oder einer Zeile erlaubt. Bei anderer Auswahl wird nur die erste Spalte des ersten, ausgewählten Bereichs zur Auswertung herangezogen." ;
|
|
Text [ en-US ] = "A valid source can only consist of a contiguous selection in a single row or single column. If several selections are made, only the first column of the first selected range will be used for validation." ;
|
|
};
|
|
};
|
|
|
|
TabPage TP_VALIDATION_INPUTHELP
|
|
{
|
|
Hide = TRUE ;
|
|
SVLook = TRUE ;
|
|
Size = MAP_APPFONT ( 260 , 185 ) ;
|
|
Text = "Eingabehilfe" ;
|
|
TriStateBox TSB_HELP
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 6 ) ;
|
|
Size = MAP_APPFONT ( 248 , 10 ) ;
|
|
Text [ de ] = "E~ingabehilfen bei Selektion einer Zelle anbieten" ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "~Show input help when cell is selected" ;
|
|
};
|
|
FixedLine FL_CONTENT
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 22 ) ;
|
|
Size = MAP_APPFONT ( 248 , 8 ) ;
|
|
Text [ de ] = "Inhalt" ;
|
|
Text [ en-US ] = "Contents" ;
|
|
};
|
|
FixedText FT_TITLE
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 35 ) ;
|
|
Size = MAP_APPFONT ( 64 , 8 ) ;
|
|
Text [ de ] = "~Titel" ;
|
|
Text [ en-US ] = "~Title" ;
|
|
};
|
|
FixedText FT_INPUTHELP
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 53 ) ;
|
|
Size = MAP_APPFONT ( 64 , 8 ) ;
|
|
Text [ de ] = "~Eingabehilfe" ;
|
|
Text [ en-US ] = "~Input help" ;
|
|
};
|
|
Edit EDT_TITLE
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 80 , 33 ) ;
|
|
Size = MAP_APPFONT ( 171 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
};
|
|
MultiLineEdit EDT_INPUTHELP
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 80 , 51 ) ;
|
|
Size = MAP_APPFONT ( 171 , 128 ) ;
|
|
TabStop = TRUE ;
|
|
VScroll = TRUE ;
|
|
IgnoreTab = TRUE ;
|
|
};
|
|
};
|
|
|
|
TabPage TP_VALIDATION_ERROR
|
|
{
|
|
Hide = TRUE ;
|
|
SVLook = TRUE ;
|
|
Size = MAP_APPFONT ( 260 , 185 ) ;
|
|
Text [ de ] = "Fehlermeldung" ;
|
|
FixedLine FL_CONTENT
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 22 ) ;
|
|
Size = MAP_APPFONT ( 248 , 8 ) ;
|
|
Text [ de ] = "Inhalt" ;
|
|
Text [ en-US ] = "Contents" ;
|
|
};
|
|
TriStateBox TSB_SHOW
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 6 ) ;
|
|
Size = MAP_APPFONT ( 248 , 10 ) ;
|
|
Text [ de ] = "Fehler~meldung bei Eingabe ungültiger Werte anzeigen" ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "Show error ~message when invalid values are entered" ;
|
|
};
|
|
MultiLineEdit EDT_ERROR
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 80 , 69 ) ;
|
|
Size = MAP_APPFONT ( 171 , 110 ) ;
|
|
TabStop = TRUE ;
|
|
VScroll = TRUE ;
|
|
IgnoreTab = TRUE ;
|
|
};
|
|
Edit EDT_TITLE
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 80 , 51 ) ;
|
|
Size = MAP_APPFONT ( 171 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
};
|
|
FixedText FT_ERROR
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 71 ) ;
|
|
Size = MAP_APPFONT ( 64 , 8 ) ;
|
|
Text [ de ] = "~Fehlermeldung" ;
|
|
Text [ en-US ] = "~Error message" ;
|
|
};
|
|
FixedText FT_TITLE
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 53 ) ;
|
|
Size = MAP_APPFONT ( 64 , 8 ) ;
|
|
Text [ de ] = "~Titel" ;
|
|
Text [ en-US ] = "~Title" ;
|
|
};
|
|
FixedText FT_ACTION
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 35 ) ;
|
|
Size = MAP_APPFONT ( 64 , 8 ) ;
|
|
Text [ de ] = "~Aktion" ;
|
|
Text [ en-US ] = "~Action" ;
|
|
};
|
|
ListBox LB_ACTION
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 80 , 33 ) ;
|
|
Size = MAP_APPFONT ( 107 , 76 ) ;
|
|
TabStop = TRUE ;
|
|
DropDown = TRUE ;
|
|
// Reihenfolge entspricht enum ScValidErrorStyle
|
|
StringList [ de ] =
|
|
{
|
|
< "Stopp" ; Default ; > ;
|
|
< "Warnung" ; Default ; > ;
|
|
< "Information" ; Default ; > ;
|
|
< "Makro" ; Default ; > ;
|
|
};
|
|
StringList [ en-US ] =
|
|
{
|
|
< "Stop" ; Default ; > ;
|
|
< "Warning" ; Default ; > ;
|
|
< "Information" ; Default ; > ;
|
|
< "Macro" ; Default ; > ;
|
|
};
|
|
StringList [ x-comment ] =
|
|
{
|
|
< "; Stopp" ; Default ; > ;
|
|
< "; Warnung" ; Default ; > ;
|
|
< "; Information" ; Default ; > ;
|
|
< "; Makro" ; Default ; > ;
|
|
};
|
|
};
|
|
PushButton BTN_SEARCH
|
|
{
|
|
Pos = MAP_APPFONT ( 191 , 32 ) ;
|
|
Size = MAP_APPFONT ( 60 , 14 ) ;
|
|
Text [ de ] = "~Durchsuchen..." ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "~Browse..." ;
|
|
};
|
|
Text [ en-US ] = "Error Alert" ;
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|