1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: table.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
32 #include "dbu_tbl.hrc"
34 #ifndef _DBA_DBACCESS_HELPID_HRC_
35 #include "dbaccess_helpid.hrc"
37 #ifndef _DBACCESS_SLOTID_HRC_
38 #include "dbaccess_slotid.hrc"
40 #ifndef DBACCESS_UI_BROWSER_ID_HXX
41 #include "browserids.hxx"
44 #include <svx/globlmn.hrc>
46 #ifndef DBAUI_TOOLBOX_HXX
47 #include "toolbox.hrc"
57 String STR_TABLEDESIGN_DBFIELDTYPES
59 Text [ en-US ] = "Unknown;Text;Number;Date/Time;Date;Time;Yes/No;Currency;Memo;Counter;Image;Text (fix);Decimal;Binary (fix);Binary;BigInt;Double;Float;Real;Integer;Small Integer;Tiny Integer;SQL Null;Object;Distinct;Structure;Field;BLOB;CLOB;REF;OTHER";
62 String STR_TABLEDESIGN_UNDO_PRIMKEY
64 Text [ en-US ] = "Insert/remove primary key" ;
69 Text [ en-US ] = "Yes" ;
73 Text [ en-US ] = "No" ;
77 Text [ en-US ] = "Ascending" ;
81 Text [ en-US ] = "Descending" ;
85 // Bemerkung : sollte auch in anderen Sprachen irgendwie zum Wort 'Wert' passen : Wert - keiner ....
86 Text [ en-US ] = "<none>";
89 String STR_TAB_FIELD_NAME
91 Text [ en-US ] = "Field name" ;
93 String STR_TAB_FIELD_COLUMN_NAME
95 Text [ en-US ] = "Field Name" ;
97 String STR_TAB_FIELD_DATATYPE
99 Text [ en-US ] = "Field ~type" ;
101 String STR_TAB_FIELD_COLUMN_DATATYPE
103 Text [ en-US ] = "Field Type" ;
105 String STR_TAB_FIELD_LENGTH
107 Text [ en-US ] = "Field length" ;
109 String STR_TAB_FIELD_DESCR
111 Text [ en-US ] = "Description" ;
113 String STR_TAB_FIELD_NULLABLE
115 Text [ en-US ] = "Input required" ;
117 String STR_FIELD_AUTOINCREMENT
119 Text [ en-US ] = "~AutoValue";
121 String STR_TAB_PROPERTIES
123 Text [ en-US ] = "Field Properties" ;
125 String STR_TABPAGE_GENERAL
127 Text [ en-US ] = "General" ;
129 String STR_TAB_TABLE_DESCRIPTION
131 Text [ en-US ] = "Description:";
134 String STR_TAB_TABLE_PROPERTIES
136 Text [ en-US ] = "Table properties";
139 Control RID_DB_TAB_EDITOR
141 Pos = MAP_APPFONT ( 0 , 0 ) ;
142 Size = MAP_APPFONT ( 40 , 12 ) ;
146 HelpId = HID_TABDESIGN_BACKGROUND ;
149 ErrorBox ERR_INVALID_LISTBOX_ENTRY
151 Message [ en-US ] = "The text you entered is not a list element. " ;
154 Menu RID_TABLEDESIGNROWPOPUPMENU
176 Identifier = SID_TABLEDESIGN_INSERTROWS ;
177 HelpID = SID_TABLEDESIGN_INSERTROWS ;
178 Text [ en-US ] = "Insert Rows" ;
186 Identifier = SID_TABLEDESIGN_TABED_PRIMARYKEY ;
187 HelpID = SID_TABLEDESIGN_TABED_PRIMARYKEY ;
189 Text [ en-US ] = "Primary Key" ;
193 String STR_TABED_UNDO_CELLMODIFIED
195 Text [ en-US ] = "Modify cell" ;
197 String STR_TABED_UNDO_ROWDELETED
199 Text [ en-US ] = "Delete row" ;
201 String STR_TABED_UNDO_TYPE_CHANGED
203 Text [ en-US ] = "Modify field type";
205 String STR_TABED_UNDO_ROWINSERTED
207 Text [ en-US ] = "Insert row" ;
209 String STR_TABED_UNDO_NEWROWINSERTED
211 Text [ en-US ] = "Insert new row" ;
213 String STR_TABED_UNDO_PRIMKEY
215 Text [ en-US ] = "Insert/remove primary key" ;
218 String STR_DEFAULT_VALUE
220 Text [ en-US ] = "~Default value" ;
222 String STR_FIELD_REQUIRED
224 Text [ en-US ] = "~Entry required" ;
226 String STR_TEXT_LENGTH
228 Text [ en-US ] = "~Length" ;
230 String STR_NUMERIC_TYPE
232 Text [ en-US ] = "~Type" ;
236 Text [ en-US ] = "~Length" ;
240 Text [ en-US ] = "Decimal ~places" ;
244 Text [ en-US ] = "Format example";
246 String STR_HELP_BOOL_DEFAULT
248 Text [ en-US ] = "Select a value that is to appear in all new records as default.\nIf the field is not to have a default value, select the empty string.";
250 String STR_HELP_DEFAULT_VALUE
252 Text [ en-US ] = "Enter a default value for this field.\n\nWhen you later enter data in the table, this string will be used in each new record for the field selected. It should, therefore, correspond to the cell format that needs to be entered below." ;
254 String STR_HELP_FIELD_REQUIRED
256 Text [ en-US ] = "Activate this option if this field cannot contain NULL values, i.e. the user must always enter data." ;
258 String STR_HELP_TEXT_LENGTH
260 Text [ en-US ] = "Enter the maximum text length permitted." ;
262 String STR_HELP_NUMERIC_TYPE
264 Text [ en-US ] = "Enter the number format." ;
266 String STR_HELP_LENGTH
268 Text [ en-US ] = "Determine the length data can have in this field.\n\nIf decimal fields, then the maximum length of the number to be entered, if binary fields, then the length of the data block.\nThe value will be corrected accordingly when it exceeds the maximum for this database." ;
270 String STR_HELP_SCALE
272 Text [ en-US ] = "Specify the number of decimal places permitted in this field." ;
274 String STR_HELP_FORMAT_CODE
276 Text [ en-US ] = "This is where you see how the data would be displayed in the current format (use the button on the right to modify the format).";
278 String STR_HELP_FORMAT_BUTTON
280 Text [ en-US ] = "This is where you determine the output format of the data.";
282 String STR_HELP_AUTOINCREMENT
284 Text [ en-US ] = "Choose if this field should contain AutoIncrement values.\n\nYou can not enter data in fields of this type. An intrinsic value will be assigned to each new record automatically (resulting from the increment of the previous record)." ;
289 Text [ en-US ] = "~...";
291 String STR_TABLEDESIGN_DUPLICATE_NAME
293 Text [ en-US ] = "The table cannot be saved because column name \"$column$\" was assigned twice.";
295 String STR_TBL_COLUMN_IS_KEYCOLUMN
297 Text [ en-US ] = "The column \"$column$\" belongs to the primary key. If the column is deleted, the primary key will also be deleted. Do you really want to continue?";
299 String STR_TBL_COLUMN_IS_KEYCOLUMN_TITLE
301 Text [ en-US ] = "Primary Key Affected";
303 String STR_COLUMN_NAME
305 Text [ en-US ] = "Column";
307 String STR_QRY_CONTINUE
309 Text [ en-US ] = "Continue anyway?" ;
311 String STR_STAT_WARNING
313 Text [ en-US ] = "Warning!" ;
315 QueryBox TABLE_DESIGN_SAVEMODIFIED
317 Buttons = WB_YES_NO_CANCEL ;
318 DefButton = WB_DEF_YES ;
319 Message [ en-US ] = "The table has been changed.\nDo you want to save the changes?" ;
321 QueryBox TABLE_QUERY_CONNECTION_LOST
323 Buttons = WB_YES_NO ;
324 Message [ en-US ] = "The connection to the database was lost! The table design can only be used with limited functionality without a connection.\nReconnect?" ;
326 String STR_TABLEDESIGN_CONNECTION_MISSING
328 Text [ en-US ] = "The table could not be saved due to problems connecting to the database.";
330 String STR_TABLEDESIGN_DATASOURCE_DELETED
332 Text [ en-US ] = "The table filter could not be adjusted because the data source has been deleted.";
335 QueryBox QUERY_SAVE_TABLE_EDIT_INDEXES
337 Message [ en-US ] = "Before you can edit the indexes of a table, you have to save it.\nDo you want to save the changes now?";
339 Buttons = WB_YES_NO ;
341 String STR_TABLEDESIGN_NO_PRIM_KEY_HEAD
343 Text [ en-US ] = "No primary key" ;
345 String STR_TABLEDESIGN_NO_PRIM_KEY
347 Text [ en-US ] = "A unique index or primary key is required for data record identification in this database.\nYou can only enter data into this table when one of these two structural conditions has been met.\n\nShould a primary key be created now?" ;
349 String STR_TABLEDESIGN_TITLE
351 Text [ en-US ] = " - %PRODUCTNAME Base: Table Design";
355 The menubar resource has become obsolete - you can now find the menubar definition at: <project>/uiconfig/dbtable/menubar/menubar.xml
358 String STR_TABLEDESIGN_ALTER_ERROR
360 Text [ en-US ] = "The column \"$column$\" could not be changed. Should the column instead be deleted and the new format appended?" ;
363 String STR_TABLEDESIGN_SAVE_ERROR
365 Text [ en-US ] = "Error while saving the table design";
368 String STR_TABLEDESIGN_COULD_NOT_DROP_COL
370 Text [ en-US ] = "The column $column$ could not be deleted.";
373 QueryBox TABLE_DESIGN_ALL_ROWS_DELETED
375 Buttons = WB_YES_NO_CANCEL ;
376 DefButton = WB_DEF_YES ;
377 Message [ en-US ] = "You are trying to delete all the columns in the table. A table cannot exist without columns. Should the table be deleted from the database? If not, the table will remain unchanged.";
380 String STR_AUTOINCREMENT_VALUE
382 Text [ en-US ] = "A~uto-increment statement";
384 String STR_HELP_AUTOINCREMENT_VALUE
386 Text [ en-US ] = "Enter an SQL statement for the auto-increment field.\n\nThis statement will be directly transferred to the database when the table is created.";
389 String STR_NO_TYPE_INFO_AVAILABLE
391 Text [ en-US ] = "No type information could be retrieved from the database.\nThe table design mode is not available for this data source.";
394 String STR_CHANGE_COLUMN_NAME
396 Text [ en-US ] = "change field name";
399 String STR_CHANGE_COLUMN_TYPE
401 Text [ en-US ] = "change field type";
404 String STR_CHANGE_COLUMN_DESCRIPTION
406 Text [ en-US ] = "change field description";
409 String STR_CHANGE_COLUMN_ATTRIBUTE
411 Text [ en-US ] = "change field attribute";