1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#include "resource/mozab_res.hrc"
25#include "resource/macab_res.hrc"
26#include "resource/calc_res.hrc"
27#include "resource/ado_res.hrc"
28#include "resource/dbase_res.hrc"
29#include "resource/file_res.hrc"
30#include "resource/evoab2_res.hrc"
31#include "resource/kab_res.hrc"
32#include "resource/adabas_res.hrc"
33#include "resource/hsqldb_res.hrc"
34
35// ============================================================================
36// = the mozab driver's resource strings
37// ============================================================================
38
39String STR_MOZILLA_ADDRESSBOOKS
40{
41    Text [ en-US ] = "Mozilla/Seamonkey Addressbook Directory";
42};
43
44String STR_THUNDERBIRD_ADDRESSBOOKS
45{
46    Text [ en-US ] = "Thunderbird Addressbook Directory";
47};
48
49String STR_OE_ADDRESSBOOK
50{
51    Text [ en-US ] = "Outlook Express Addressbook";
52};
53
54String STR_OUTLOOK_MAPI_ADDRESSBOOK
55{
56    Text [ en-US ] = "Outlook (MAPI) Addressbook";
57};
58
59String STR_NO_TABLE_CREATION_SUPPORT
60{
61    Text [ en-US ] = "Creating tables is not supported for this kind of address books.";
62};
63
64String STR_MOZILLA_IS_RUNNING
65{
66    Text [ en-US ] = "Cannot create new address books while Mozilla is running.";
67};
68
69String STR_COULD_NOT_RETRIEVE_AB_ENTRY
70{
71    Text [ en-US ] = "An address book entry could not be retrieved, an unknown error occurred.";
72};
73
74String STR_COULD_NOT_GET_DIRECTORY_NAME
75{
76    Text [ en-US ] = "An address book directory name could not be retrieved, an unknown error occurred.";
77};
78
79String STR_TIMEOUT_WAITING
80{
81    Text [ en-US ] = "Timed out while waiting for the result.";
82};
83
84String STR_ERR_EXECUTING_QUERY
85{
86    Text [ en-US ] = "An error occurred while executing the query.";
87};
88
89String STR_MOZILLA_IS_RUNNIG_NO_CHANGES
90{
91    Text [ en-US ] = "You can't make any changes to mozilla address book when mozilla is running.";
92};
93
94String STR_FOREIGN_PROCESS_CHANGED_AB
95{
96    Text [ en-US ] = "Mozilla Address Book has been changed out of this process, we can't modify it in this condition.";
97};
98
99String STR_CANT_FIND_ROW
100{
101    Text [ en-US ] = "Can't find the requested row.";
102};
103
104String STR_CANT_FIND_CARD_FOR_ROW
105{
106    Text [ en-US ] = "Can't find the card for the requested row.";
107};
108
109String STR_QUERY_AT_LEAST_ONE_TABLES
110{
111    Text [ en-US ] = "The query can not be executed. It needs at least one table.";
112};
113
114String STR_NO_COUNT_SUPPORT
115{
116    Text [ en-US ] = "The driver does not support the 'COUNT' function.";
117};
118
119String STR_STMT_TYPE_NOT_SUPPORTED
120{
121    Text [ en-US ] = "This statement type not supported by this database driver.";
122};
123
124String STR_UNSPECIFIED_ERROR
125{
126    Text [ en-US ] = "An unknown error occured.";
127};
128
129String STR_COULD_NOT_CREATE_ADDRESSBOOK
130{
131    Text [ en-US ] = "Could not create a new address book. Mozilla error code is $1$.";
132};
133
134String STR_COULD_NOT_LOAD_LIB
135{
136    Text [ en-US ] = "The library '$libname$' could not be loaded.";
137};
138
139String STR_ERROR_REFRESH_ROW
140{
141    Text [ en-US ] = "An error occured while refreshing the current row.";
142};
143
144String STR_ERROR_GET_ROW
145{
146    Text [ en-US ] = "An error occured while getting the current row.";
147};
148
149String STR_CAN_NOT_CANCEL_ROW_UPDATE
150{
151    Text [ en-US ] = "The row update can not be canceled.";
152};
153
154String STR_CAN_NOT_CREATE_ROW
155{
156    Text [ en-US ] = "A new row can not be created.";
157};
158
159String STR_QUERY_INVALID_IS_NULL_COLUMN
160{
161    Text [ en-US ] = "The query can not be executed. The 'IS NULL' can only be used with a column name.";
162};
163
164String STR_ILLEGAL_MOVEMENT
165{
166    Text [ en-US ] = "Illegal cursor movement occured.";
167};
168
169String STR_COMMIT_ROW
170{
171    Text [ en-US ] = "Please commit row '$position$' before update rows or insert new rows.";
172};
173
174String STR_INVALID_ROW_UPDATE
175{
176    Text [ en-US ] = "The update call can not be executed. The row is invalid.";
177};
178
179String STR_ROW_CAN_NOT_SAVE
180{
181    Text [ en-US ] = "The current row can not be saved.";
182};
183
184String STR_NO_HOSTNAME
185{
186    Text [ en-US ] = "No hostname was provided.";
187};
188
189String STR_NO_BASEDN
190{
191    Text [ en-US ] = "No Base DN was provided.";
192};
193
194String STR_COULD_NOT_CONNECT_LDAP
195{
196    Text [ en-US ] = "The connection to the LDAP server could not be established.";
197};
198
199// ============================================================================
200// = common strings
201// ============================================================================
202String STR_NO_CONNECTION_GIVEN
203{
204    Text [ en-US ] = "It doesn't exist a connection to the database.";
205};
206String STR_WRONG_PARAM_INDEX
207{
208    Text [ en-US ] = "You tried to set a parameter at position '$pos$' but there is/are only '$count$' parameter(s) allowed. One reason may be that the property \"ParameterNameSubstitution\" is not set to TRUE in the data source.";
209};
210String STR_INPUTSTREAM_WRONG_LEN
211{
212    Text [ en-US ] = "End of InputStream reached before satisfying length specified when InputStream was set.";
213};
214String STR_NO_INPUTSTREAM
215{
216    Text [ en-US ] = "The input stream was not set.";
217};
218String STR_NO_ELEMENT_NAME
219{
220    Text [ en-US ] = "There is no element named '$name$'.";
221};
222String STR_INVALID_BOOKMARK
223{
224    Text [ en-US ] = "Invalid bookmark value";
225};
226String STR_PRIVILEGE_NOT_GRANTED
227{
228    Text [ en-US ] = "Privilege not granted: Only table privileges can be granted.";
229};
230String STR_PRIVILEGE_NOT_REVOKED
231{
232    Text [ en-US ] = "Privilege not revoked: Only table privileges can be revoked.";
233};
234
235String STR_UNKNOWN_COLUMN_NAME
236{
237    Text [ en-US ] = "The column name '$columnname$' is unknown.";
238};
239String STR_ERRORMSG_SEQUENCE
240{
241    Text [ en-US ] = "Function sequence error.";
242};
243String STR_INVALID_INDEX
244{
245    Text [ en-US ] = "Invalid descriptor index.";
246};
247String STR_UNSUPPORTED_FUNCTION
248{
249    Text [ en-US ] = "The driver does not support the function '$functionname$'.";
250};
251String STR_UNSUPPORTED_FEATURE
252{
253    Text [ en-US ] = "The driver does not support the functionality for '$featurename$'. It is not implemented.";
254};
255String STR_FORMULA_WRONG
256{
257    Text [ en-US ] = "The formula for TypeInfoSettings is wrong!";
258};
259String STR_STRING_LENGTH_EXCEEDED
260{
261    Text [ en-US ] = "The string '$string$' exceeds the maximum length of $maxlen$ characters when converted to the target character set '$charset$'.";
262};
263
264String STR_CANNOT_CONVERT_STRING
265{
266    Text [ en-US ] = "The string '$string$' cannot be converted using the encoding '$charset$'.";
267};
268
269String STR_URI_SYNTAX_ERROR
270{
271    Text [ en-US ] = "The connection URL is invalid.";
272};
273
274String STR_QUERY_TOO_COMPLEX
275{
276    Text [ en-US ] = "The query can not be executed. It is too complex.";
277};
278String STR_OPERATOR_TOO_COMPLEX
279{
280    Text [ en-US ] = "The query can not be executed. The operator is too complex.";
281};
282String STR_QUERY_INVALID_LIKE_COLUMN
283{
284    Text [ en-US ] = "The query can not be executed. You cannot use 'LIKE' with columns of this type.";
285};
286String STR_QUERY_INVALID_LIKE_STRING
287{
288    Text [ en-US ] = "The query can not be executed. 'LIKE' can be used with a string argument only.";
289};
290String STR_QUERY_NOT_LIKE_TOO_COMPLEX
291{
292    Text [ en-US ] = "The query can not be executed. The 'NOT LIKE' condition is too complex.";
293};
294String STR_QUERY_LIKE_WILDCARD
295{
296    Text [ en-US ] = "The query can not be executed. The 'LIKE' condition contains wildcard in the middle.";
297};
298String STR_QUERY_LIKE_WILDCARD_MANY
299{
300    Text [ en-US ] = "The query can not be executed. The 'LIKE' condition contains too many wildcards.";
301};
302String STR_INVALID_COLUMNNAME
303{
304    Text [ en-US ] = "The column name '$columnname$' is not valid.";
305};
306String STR_INVALID_COLUMN_SELECTION
307{
308    Text [ en-US ] = "The statement contains an invalid selection of columns.";
309};
310String STR_COLUMN_NOT_UPDATEABLE
311{
312    Text [ en-US ] = "The column at position '$position$' could not be updated.";
313};
314
315String STR_COULD_NOT_LOAD_FILE
316{
317    Text [ en-US ] = "The file $filename$ could not be loaded.";
318};
319
320String STR_LOAD_FILE_ERROR_MESSAGE
321{
322    Text [ en-US ] = "The attempt to load the file resulted in the following error message ($exception_type$):\n\n$error_message$";
323};
324
325// ============================================================================
326// = the ado driver's resource strings
327// ============================================================================
328String STR_TYPE_NOT_CONVERT
329{
330    Text [ en-US ] = "The type could not be converted.";
331};
332String STR_INVALID_COLUMN_DESCRIPTOR_ERROR
333{
334    Text [ en-US ] = "Could not append column: invalid column descriptor.";
335};
336
337String STR_INVALID_GROUP_DESCRIPTOR_ERROR
338{
339    Text [ en-US ] = "Could not create group: invalid object descriptor.";
340};
341String STR_INVALID_INDEX_DESCRIPTOR_ERROR
342{
343    Text [ en-US ] = "Could not create index: invalid object descriptor.";
344};
345String STR_INVALID_KEY_DESCRIPTOR_ERROR
346{
347    Text [ en-US ] = "Could not create key: invalid object descriptor.";
348};
349
350String STR_INVALID_TABLE_DESCRIPTOR_ERROR
351{
352    Text [ en-US ] = "Could not create table: invalid object descriptor.";
353};
354
355String STR_INVALID_USER_DESCRIPTOR_ERROR
356{
357    Text [ en-US ] = "Could not create user: invalid object descriptor.";
358};
359
360String STR_INVALID_VIEW_DESCRIPTOR_ERROR
361{
362    Text [ en-US ] = "Could not create view: invalid object descriptor.";
363};
364
365String STR_VIEW_NO_COMMAND_ERROR
366{
367    Text [ en-US ] = "Could not create view: no command object.";
368};
369
370String STR_NO_CONNECTION
371{
372    Text [ en-US ] = "The connection could not be created. May be the necessary data provider is not installed.";
373};
374
375// dbase
376String STR_COULD_NOT_DELETE_INDEX
377{
378    Text [ en-US ] = "The index could not be deleted. An unknown error while accessing the file system occured.";
379};
380String STR_ONL_ONE_COLUMN_PER_INDEX
381{
382    Text [ en-US ] = "The index could not be created. Only one column per index is allowed.";
383};
384String STR_COULD_NOT_CREATE_INDEX_NOT_UNIQUE
385{
386    Text [ en-US ] = "The index could not be created. The values are not unique.";
387};
388
389String STR_COULD_NOT_CREATE_INDEX
390{
391    Text [ en-US ] = "The index could not be created. An unknown error appeared.";
392};
393String STR_COULD_NOT_CREATE_INDEX_NAME
394{
395    Text [ en-US ] = "The index could not be created. The file '$filename$' is used by an other index.";
396};
397String STR_COULD_NOT_CREATE_INDEX_KEYSIZE
398{
399    Text [ en-US ] = "The index could not be created. The size of the chosen column is too big.";
400};
401
402String STR_SQL_NAME_ERROR
403{
404    Text [ en-US ] = "The name '$name$' doesn't match SQL naming constraints.";
405};
406String STR_COULD_NOT_DELETE_FILE
407{
408    Text [ en-US ] = "The file $filename$ could not be deleted.";
409};
410
411String STR_INVALID_COLUMN_TYPE
412{
413    Text [ en-US ] = "Invalid column type for column '$columnname$'.";
414};
415String STR_INVALID_COLUMN_PRECISION
416{
417    Text [ en-US ] = "Invalid precision for column '$columnname$'.";
418};
419
420String STR_INVALID_PRECISION_SCALE
421{
422    Text [ en-US ] = "Precision is less than scale for column '$columnname$'.";
423};
424
425String STR_INVALID_COLUMN_NAME_LENGTH
426{
427    Text [ en-US ] = "Invalid column name length for column '$columnname$'.";
428};
429
430String STR_DUPLICATE_VALUE_IN_COLUMN
431{
432    Text [ en-US ] = "Duplicate value found in column '$columnname$'.";
433};
434
435String STR_INVALID_COLUMN_DECIMAL_VALUE
436{
437    Text [ en-US ] = "The '$columnname$' column has been defined as a \"Decimal\" type, the max. length is $precision$ characters (with $scale$ decimal places).\n\nThe specified value \"$value$ is longer than the number of digits allowed.";
438};
439
440String STR_COLUMN_NOT_ALTERABLE
441{
442    Text [ en-US ] = "The column '$columnname$' could not be altered. May be the file system is write protected.";
443};
444String STR_INVALID_COLUMN_VALUE
445{
446    Text [ en-US ] = "The column '$columnname$' could not be updated. The value is invalid for that column.";
447};
448String STR_COLUMN_NOT_ADDABLE
449{
450    Text [ en-US ] = "The column '$columnname$' could not be added. May be the file system is write protected.";
451};
452String STR_COLUMN_NOT_DROP
453{
454    Text [ en-US ] = "The column at position '$position$' could not be dropped. May be the file system is write protected.";
455};
456String STR_TABLE_NOT_DROP
457{
458    Text [ en-US ] = "The table '$tablename$' could not be dropped. May be the file system is write protected.";
459};
460String STR_COULD_NOT_ALTER_TABLE
461{
462    Text [ en-US ] = "The table could not be altered.";
463};
464
465String STR_INVALID_DBASE_FILE
466{
467    Text [ en-US ] = "The file '$filename$' is an invalid (or unrecognized) dBase file.";
468};
469
470// Evoab2
471
472String STR_CANNOT_OPEN_BOOK
473{
474    Text [ en-US ] = "Cannot open Evolution address book.";
475};
476
477String STR_SORT_BY_COL_ONLY
478{
479    Text [ en-US ] = "Can only sort by table columns.";
480};
481
482// File
483String STR_QUERY_COMPLEX_COUNT
484{
485    Text [ en-US ] = "The query can not be executed. It is too complex. Only \"COUNT(*)\" is supported.";
486};
487String STR_QUERY_INVALID_BETWEEN
488{
489    Text [ en-US ] = "The query can not be executed. The 'BETWEEN' arguments are not correct.";
490};
491String STR_QUERY_FUNCTION_NOT_SUPPORTED
492{
493    Text [ en-US ] = "The query can not be executed. The function is not supported.";
494};
495String STR_TABLE_READONLY
496{
497    Text [ en-US ] = "The table can not be changed. It is read only.";
498};
499String STR_DELETE_ROW
500{
501    Text [ en-US ] = "The row could not be deleted. The option \"Display inactive records\" is set.";
502};
503String STR_ROW_ALREADY_DELETED
504{
505    Text [ en-US ] = "The row could not be deleted. It is already deleted.";
506};
507String STR_QUERY_MORE_TABLES
508{
509    Text [ en-US ] = "The query can not be executed. It contains more than one table.";
510};
511String STR_QUERY_NO_TABLE
512{
513    Text [ en-US ] = "The query can not be executed. It contains no valid table.";
514};
515String STR_QUERY_NO_COLUMN
516{
517    Text [ en-US ] = "The query can not be executed. It contains no valid columns.";
518};
519String STR_INVALID_PARA_COUNT
520{
521    Text [ en-US ] = "The count of the given parameter values doesn't match the parameters.";
522};
523String STR_NO_VALID_FILE_URL
524{
525    Text [ en-US ] = "The URL '$URL$' is not valid. A connection can not be created.";
526};
527
528
529String STR_NO_CLASSNAME
530{
531    Text [ en-US ] = "The driver class '$classname$' could not be loaded.";
532};
533String STR_NO_JAVA
534{
535    Text [ en-US ] = "No Java installation could be found. Please check your installation.";
536};
537String STR_NO_RESULTSET
538{
539    Text [ en-US ] = "The execution of the query doesn't return a valid result set.";
540};
541String STR_NO_ROWCOUNT
542{
543    Text [ en-US ] = "The execution of the update statement doesn't effect any rows.";
544};
545
546String STR_NO_CLASSNAME_PATH
547{
548    Text [ en-US ] = "The additional driver class path is '$classpath$'.";
549};
550String STR_UNKNOWN_PARA_TYPE
551{
552    Text [ en-US ] = "The type of parameter at position '$position$' is unknown.";
553};
554String STR_UNKNOWN_COLUMN_TYPE
555{
556    Text [ en-US ] = "The type of column at position '$position$' is unknown.";
557};
558
559// KAB
560
561String STR_NO_KDE_INST
562{
563    Text [ en-US ] = "No suitable KDE installation was found.";
564};
565
566String STR_KDE_VERSION_TOO_OLD
567{
568    Text [ en-US ] = "KDE version $major$.$minor$ or higher is required to access the KDE Address Book.";
569};
570String STR_KDE_VERSION_TOO_NEW
571{
572    Text [ en-US ] = "The found KDE version is too new. Only KDE up to version $major$.$minor$ is known to work with this product.\n";
573};
574String STR_KDE_VERSION_TOO_NEW_WORK_AROUND
575{
576    Text [ en-US ] = "If you are sure that your KDE version works, you might execute the following Basic macro to disable this version check:\n\n";
577};
578String STR_PARA_ONLY_PREPARED
579{
580    Text [ en-US ] = "Parameters can appear only in prepared statements.";
581};
582
583// MACAB
584String STR_NO_TABLE
585{
586    Text [ en-US ] = "No such table!";
587};
588
589String STR_NO_MAC_OS_FOUND
590{
591    Text [ en-US ] = "No suitable Mac OS installation was found.";
592};
593
594// ADABAS D
595String STR_NO_DISK_SPACE
596{
597    Text [ en-US ] = "The database file '$filename$' could not be created. Please check your disk space.";
598};
599
600String STR_COMMAND_NOT_FOUND
601{
602    Text [ en-US ] = "The database '$databasename$' could not be started because the command '$progname$' could not be executed.";
603};
604String STR_DATABASE_NEEDS_CONVERTING
605{
606    Text [ en-US ] = "The current database need to be converted. Please insert control user  and password.";
607};
608String STR_USER_NO_DELETE
609{
610    Text [ en-US ] = "This user couldn't be deleted. Otherwise the database stays in a inconsistent state.";
611};
612// hsqldb
613String STR_NO_STROAGE
614{
615    Text [ en-US ] = "The connection can not be established. No storage or URL was given.";
616};
617String STR_INVALID_FILE_URL
618{
619    Text [ en-US ] = "The given URL contains no valid local file system path. Please check the location of your database file.";
620};
621String STR_NO_TABLE_CONTAINER
622{
623    Text [ en-US ] = "An error occured while obtaining the connection's table container.";
624};
625String STR_NO_TABLE_EDITOR_DIALOG
626{
627    Text [ en-US ] = "An error occured while creating the table editor dialog.";
628};
629String STR_NO_TABLENAME
630{
631    Text [ en-US ] = "There is no table named '$tablename$'.";
632};
633String STR_NO_DOCUMENTUI
634{
635    Text [ en-US ] = "The provided DocumentUI is not allowed to be NULL.";
636};
637String STR_ERROR_NEW_VERSION
638{
639    Text = "The connection could not be established. The database was created by a newer version of %PRODUCTNAME.";
640};
641
642