bump product version to 4.1.6.2
[LibreOffice.git] / dbaccess / source / ui / tabledesign / table.src
bloba842d23f645863fbfb844bc7c3507cc95589aee9
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  *   Licensed to the Apache Software Foundation (ASF) under one or more
12  *   contributor license agreements. See the NOTICE file distributed
13  *   with this work for additional information regarding copyright
14  *   ownership. The ASF licenses this file to you under the Apache
15  *   License, Version 2.0 (the "License"); you may not use this file
16  *   except in compliance with the License. You may obtain a copy of
17  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
20 #include "dbu_tbl.hrc"
21 #include "dbaccess_helpid.hrc"
22 #include "dbaccess_slotid.hrc"
23 #include "browserids.hxx"
24 #include <svx/globlmn.hrc>
25 #include "toolbox.hrc"
27 #define MN_EDIT     20
28 #define MN_VIEW     21
29 #define MN_EXTRA    22
30 #define MN_WIN      30
31 #define MN_HELP     31
33 String STR_TABLEDESIGN_DBFIELDTYPES
35     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;Bit (fix)";
38 String STR_TABLEDESIGN_UNDO_PRIMKEY
40     Text [ en-US ] = "Insert/remove primary key" ;
43 String STR_VALUE_YES
45     Text [ en-US ] = "Yes" ;
48 String STR_VALUE_NO
50     Text [ en-US ] = "No" ;
53 String STR_VALUE_ASC
55     Text [ en-US ] = "Ascending" ;
58 String STR_VALUE_DESC
60     Text [ en-US ] = "Descending" ;
63 String STR_VALUE_NONE
65     // Bemerkung : sollte auch in anderen Sprachen irgendwie zum Wort 'Wert' passen : Wert - keiner ....
66     Text [ en-US ] = "<none>";
69 String STR_TAB_FIELD_NAME
71     Text [ en-US ] = "Field name" ;
74 String STR_TAB_FIELD_COLUMN_NAME
76     Text [ en-US ] = "Field Name" ;
79 String STR_TAB_FIELD_DATATYPE
81     Text [ en-US ] = "Field ~type" ;
84 String STR_TAB_FIELD_COLUMN_DATATYPE
86     Text [ en-US ] = "Field Type" ;
89 String STR_TAB_FIELD_LENGTH
91     Text [ en-US ] = "Field length" ;
94 String STR_TAB_HELP_TEXT
96     Text [ en-US ] = "Description" ;
99 String STR_COLUMN_DESCRIPTION
101     Text [ en-US ] = "Column Description" ;
104 String STR_TAB_FIELD_NULLABLE
106     Text [ en-US ] = "Input required" ;
109 String STR_FIELD_AUTOINCREMENT
111     Text [ en-US ] = "~AutoValue";
114 String STR_TAB_PROPERTIES
116     Text [ en-US ] = "Field Properties" ;
119 String STR_TABPAGE_GENERAL
121     Text [ en-US ] = "General" ;
124 String STR_TAB_TABLE_DESCRIPTION
126     Text [ en-US ] = "Description:";
129 String STR_TAB_TABLE_PROPERTIES
131     Text [ en-US ] = "Table properties";
134 Control RID_DB_TAB_EDITOR
136     Pos = MAP_APPFONT ( 0 , 0 ) ;
137     Size = MAP_APPFONT ( 40 , 12 ) ;
138     TabStop = TRUE ;
139     SvLook = TRUE ;
140     Hide = TRUE ;
141     HelpId = HID_TABDESIGN_BACKGROUND ;
144 ErrorBox ERR_INVALID_LISTBOX_ENTRY
146     Message [ en-US ] = "The text you entered is not a list element. " ;
149 Menu RID_TABLEDESIGNROWPOPUPMENU
151     ItemList =
152     {
153         MenuItem
154         {
155             ITEM_EDIT_CUT
156         };
157         MenuItem
158         {
159             ITEM_EDIT_COPY
160         };
161         MenuItem
162         {
163             ITEM_EDIT_PASTE
164         };
165         MenuItem
166         {
167             ITEM_EDIT_DELETE
168         };
169         MenuItem
170         {
171             Identifier = SID_TABLEDESIGN_INSERTROWS ;
172             HelpID = HID_TABLEDESIGN_INSERTROWS ;
173             Text [ en-US ] = "Insert Rows" ;
174         };
175         MenuItem
176         {
177             Separator = TRUE ;
178         };
179         MenuItem
180         {
181             Identifier = SID_TABLEDESIGN_TABED_PRIMARYKEY ;
182             HelpID = HID_TABLEDESIGN_TABED_PRIMARYKEY ;
183             Checkable = TRUE ;
184             Text [ en-US ] = "Primary Key" ;
185         };
186     };
189 String STR_TABED_UNDO_CELLMODIFIED
191     Text [ en-US ] = "Modify cell" ;
194 String STR_TABED_UNDO_ROWDELETED
196     Text [ en-US ] = "Delete row" ;
199 String STR_TABED_UNDO_TYPE_CHANGED
201     Text [ en-US ] = "Modify field type";
204 String STR_TABED_UNDO_ROWINSERTED
206     Text [ en-US ] = "Insert row" ;
209 String STR_TABED_UNDO_NEWROWINSERTED
211     Text [ en-US ] = "Insert new row" ;
214 String STR_TABED_UNDO_PRIMKEY
216     Text [ en-US ] = "Insert/remove primary key" ;
219 String STR_DEFAULT_VALUE
221     Text [ en-US ] = "~Default value" ;
224 String STR_FIELD_REQUIRED
226     Text [ en-US ] = "~Entry required" ;
229 String STR_TEXT_LENGTH
231     Text [ en-US ] = "~Length" ;
234 String STR_NUMERIC_TYPE
236     Text [ en-US ] = "~Type" ;
239 String STR_LENGTH
241     Text [ en-US ] = "~Length" ;
244 String STR_SCALE
246     Text [ en-US ] = "Decimal ~places" ;
249 String STR_FORMAT
251     Text [ en-US ] = "Format example";
254 String STR_HELP_BOOL_DEFAULT
256     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.";
259 String STR_HELP_DEFAULT_VALUE
261     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." ;
264 String STR_HELP_FIELD_REQUIRED
266     Text [ en-US ] = "Activate this option if this field cannot contain NULL values, i.e. the user must always enter data." ;
269 String STR_HELP_TEXT_LENGTH
271     Text [ en-US ] = "Enter the maximum text length permitted." ;
274 String STR_HELP_NUMERIC_TYPE
276     Text [ en-US ] = "Enter the number format." ;
279 String STR_HELP_LENGTH
281     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." ;
284 String STR_HELP_SCALE
286     Text [ en-US ] = "Specify the number of decimal places permitted in this field." ;
289 String STR_HELP_FORMAT_CODE
291     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).";
294 String STR_HELP_FORMAT_BUTTON
296     Text [ en-US ] = "This is where you determine the output format of the data.";
299 String STR_HELP_AUTOINCREMENT
301     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)." ;
304 PushButton PB_FORMAT
306     TabStop = TRUE ;
307     Text [ en-US ] = "~...";
310 String STR_TABLEDESIGN_DUPLICATE_NAME
312     Text [ en-US ] = "The table cannot be saved because column name \"$column$\" was assigned twice.";
315 String STR_TBL_COLUMN_IS_KEYCOLUMN
317     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?";
320 String STR_TBL_COLUMN_IS_KEYCOLUMN_TITLE
322     Text [ en-US ] = "Primary Key Affected";
325 String STR_COLUMN_NAME
327     Text [ en-US ] = "Column";
330 String STR_QRY_CONTINUE
332     Text [ en-US ] = "Continue anyway?" ;
335 String STR_STAT_WARNING
337     Text [ en-US ] = "Warning!" ;
340 QueryBox TABLE_DESIGN_SAVEMODIFIED
342     Buttons = WB_YES_NO_CANCEL ;
343     DefButton = WB_DEF_YES ;
344     Message [ en-US ] = "The table has been changed.\nDo you want to save the changes?" ;
347 QueryBox TABLE_QUERY_CONNECTION_LOST
349     Buttons = WB_YES_NO ;
350     Message [ en-US ] = "The connection to the database was lost! The table design can only be used with limited functionality without a connection.\nReconnect?" ;
353 String STR_TABLEDESIGN_CONNECTION_MISSING
355     Text [ en-US ] = "The table could not be saved due to problems connecting to the database.";
358 String STR_TABLEDESIGN_DATASOURCE_DELETED
360     Text [ en-US ] = "The table filter could not be adjusted because the data source has been deleted.";
363 QueryBox QUERY_SAVE_TABLE_EDIT_INDEXES
365     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?";
367     Buttons = WB_YES_NO ;
370 String STR_TABLEDESIGN_NO_PRIM_KEY_HEAD
372     Text [ en-US ] = "No primary key" ;
375 String STR_TABLEDESIGN_NO_PRIM_KEY
377     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?" ;
381 String STR_TABLEDESIGN_TITLE
383     Text [ en-US ] = " - %PRODUCTNAME Base: Table Design";
387   The menubar resource has become obsolete - you can now find the menubar definition at: <project>/uiconfig/dbtable/menubar/menubar.xml
390 String STR_TABLEDESIGN_ALTER_ERROR
392     Text [ en-US ] = "The column \"$column$\" could not be changed. Should the column instead be deleted and the new format appended?" ;
395 String STR_TABLEDESIGN_SAVE_ERROR
397     Text [ en-US ] = "Error while saving the table design";
400 String STR_TABLEDESIGN_COULD_NOT_DROP_COL
402     Text [ en-US ] = "The column $column$ could not be deleted.";
405 QueryBox TABLE_DESIGN_ALL_ROWS_DELETED
407     Buttons = WB_YES_NO_CANCEL ;
408     DefButton = WB_DEF_YES ;
409     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.";
412 String STR_AUTOINCREMENT_VALUE
414     Text [ en-US ] = "A~uto-increment statement";
417 String STR_HELP_AUTOINCREMENT_VALUE
419     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.";
422 String STR_NO_TYPE_INFO_AVAILABLE
424     Text [ en-US ] = "No type information could be retrieved from the database.\nThe table design mode is not available for this data source.";
427 String STR_CHANGE_COLUMN_NAME
429     Text [ en-US ] = "change field name";
432 String STR_CHANGE_COLUMN_TYPE
434     Text [ en-US ] = "change field type";
437 String STR_CHANGE_COLUMN_DESCRIPTION
439     Text [ en-US ] = "change field description";
442 String STR_CHANGE_COLUMN_ATTRIBUTE
444     Text [ en-US ] = "change field attribute";
447 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */