~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_handler_errors.h

  • Committer: Monty Taylor
  • Date: 2008-08-04 19:37:18 UTC
  • mto: (261.2.2 codestyle)
  • mto: This revision was merged to the branch mainline in revision 262.
  • Revision ID: monty@inaugust.com-20080804193718-f0rz13uli4429ozb
Changed gettext_noop() to N_()

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
static const char *handler_error_messages[]=
8
8
{
9
9
  /* HA_ERR_KEY_NOT_FOUND */
10
 
  gettext_noop("Didn't find key on read or update"),
 
10
  N_("Didn't find key on read or update"),
11
11
  /* HA_ERR_FOUND_DUPP_KEY */
12
 
  gettext_noop("Duplicate key on write or update"),
 
12
  N_("Duplicate key on write or update"),
13
13
  /* HA_ERR_INTERNAL_ERROR */
14
 
  gettext_noop("Internal (unspecified) error in handler"),
 
14
  N_("Internal (unspecified) error in handler"),
15
15
  /* HA_ERR_RECORD_CHANGED */
16
 
  gettext_noop("Someone has changed the row since it was read (while the table was locked to prevent it)"),
 
16
  N_("Someone has changed the row since it was read (while the table was locked to prevent it)"),
17
17
  /* HA_ERR_WRONG_INDEX */
18
 
  gettext_noop("Wrong index given to function"),
 
18
  N_("Wrong index given to function"),
19
19
  /* empty */
20
 
  gettext_noop("Undefined handler error 125"),
 
20
  N_("Undefined handler error 125"),
21
21
  /* HA_ERR_CRASHED */
22
 
  gettext_noop("Index file is crashed"),
 
22
  N_("Index file is crashed"),
23
23
  /* HA_ERR_WRONG_IN_RECORD */
24
 
  gettext_noop("Record file is crashed"),
 
24
  N_("Record file is crashed"),
25
25
  /* HA_ERR_OUT_OF_MEM */
26
 
  gettext_noop("Out of memory in engine"),
 
26
  N_("Out of memory in engine"),
27
27
  /* empty */
28
 
  gettext_noop("Undefined handler error 129"),
 
28
  N_("Undefined handler error 129"),
29
29
  /* HA_ERR_NOT_A_TABLE */
30
 
  gettext_noop("Incorrect file format"),
 
30
  N_("Incorrect file format"),
31
31
  /* HA_ERR_WRONG_COMMAND */
32
 
  gettext_noop("Command not supported by database"),
 
32
  N_("Command not supported by database"),
33
33
  /* HA_ERR_OLD_FILE */
34
 
  gettext_noop("Old database file"),
 
34
  N_("Old database file"),
35
35
  /* HA_ERR_NO_ACTIVE_RECORD */
36
 
  gettext_noop("No record read before update"),
 
36
  N_("No record read before update"),
37
37
  /* HA_ERR_RECORD_DELETED */
38
 
  gettext_noop("Record was already deleted (or record file crashed)"),
 
38
  N_("Record was already deleted (or record file crashed)"),
39
39
  /* HA_ERR_RECORD_FILE_FULL */
40
 
  gettext_noop("No more room in record file"),
 
40
  N_("No more room in record file"),
41
41
  /* HA_ERR_INDEX_FILE_FULL */
42
 
  gettext_noop("No more room in index file"),
 
42
  N_("No more room in index file"),
43
43
  /* HA_ERR_END_OF_FILE */
44
 
  gettext_noop("No more records (read after end of file)"),
 
44
  N_("No more records (read after end of file)"),
45
45
  /* HA_ERR_UNSUPPORTED */
46
 
  gettext_noop("Unsupported extension used for table"),
 
46
  N_("Unsupported extension used for table"),
47
47
  /* HA_ERR_TO_BIG_ROW */
48
 
  gettext_noop("Too big row"),
 
48
  N_("Too big row"),
49
49
  /* HA_WRONG_CREATE_OPTION */
50
 
  gettext_noop("Wrong create options"),
 
50
  N_("Wrong create options"),
51
51
  /* HA_ERR_FOUND_DUPP_UNIQUE */
52
 
  gettext_noop("Duplicate unique key or constraint on write or update"),
 
52
  N_("Duplicate unique key or constraint on write or update"),
53
53
  /* HA_ERR_UNKNOWN_CHARSET */
54
 
  gettext_noop("Unknown character set used in table"),
 
54
  N_("Unknown character set used in table"),
55
55
  /* HA_ERR_WRONG_MRG_TABLE_DEF */
56
 
  gettext_noop("Conflicting table definitions in sub-tables of MERGE table"),
 
56
  N_("Conflicting table definitions in sub-tables of MERGE table"),
57
57
  /* HA_ERR_CRASHED_ON_REPAIR */
58
 
  gettext_noop("Table is crashed and last repair failed"),
 
58
  N_("Table is crashed and last repair failed"),
59
59
  /* HA_ERR_CRASHED_ON_USAGE */
60
 
  gettext_noop("Table was marked as crashed and should be repaired"),
 
60
  N_("Table was marked as crashed and should be repaired"),
61
61
  /* HA_ERR_LOCK_WAIT_TIMEOUT */
62
 
  gettext_noop("Lock timed out; Retry transaction"),
 
62
  N_("Lock timed out; Retry transaction"),
63
63
  /* HA_ERR_LOCK_TABLE_FULL */
64
 
  gettext_noop("Lock table is full;  Restart program with a larger locktable"),
 
64
  N_("Lock table is full;  Restart program with a larger locktable"),
65
65
  /* HA_ERR_READ_ONLY_TRANSACTION */
66
 
  gettext_noop("Updates are not allowed under a read only transactions"),
 
66
  N_("Updates are not allowed under a read only transactions"),
67
67
  /* HA_ERR_LOCK_DEADLOCK */
68
 
  gettext_noop("Lock deadlock; Retry transaction"),
 
68
  N_("Lock deadlock; Retry transaction"),
69
69
  /* HA_ERR_CANNOT_ADD_FOREIGN */
70
 
  gettext_noop("Foreign key constraint is incorrectly formed"),
 
70
  N_("Foreign key constraint is incorrectly formed"),
71
71
  /* HA_ERR_NO_REFERENCED_ROW */
72
 
  gettext_noop("Cannot add a child row"),
 
72
  N_("Cannot add a child row"),
73
73
  /* HA_ERR_ROW_IS_REFERENCED */
74
 
  gettext_noop("Cannot delete a parent row"),
 
74
  N_("Cannot delete a parent row"),
75
75
  /* HA_ERR_NO_SAVEPOINT */
76
 
  gettext_noop("No savepoint with that name"),
 
76
  N_("No savepoint with that name"),
77
77
  /* HA_ERR_NON_UNIQUE_BLOCK_SIZE */
78
 
  gettext_noop("Non unique key block size"),
 
78
  N_("Non unique key block size"),
79
79
  /* HA_ERR_NO_SUCH_TABLE */
80
 
  gettext_noop("The table does not exist in engine"),
 
80
  N_("The table does not exist in engine"),
81
81
  /* HA_ERR_TABLE_EXIST */
82
 
  gettext_noop("The table already existed in storage engine"),
 
82
  N_("The table already existed in storage engine"),
83
83
  /* HA_ERR_NO_CONNECTION */
84
 
  gettext_noop("Could not connect to storage engine"),
 
84
  N_("Could not connect to storage engine"),
85
85
  /* HA_ERR_NULL_IN_SPATIAL */
86
 
  gettext_noop("Unexpected null pointer found when using spatial index"),
 
86
  N_("Unexpected null pointer found when using spatial index"),
87
87
  /* HA_ERR_TABLE_DEF_CHANGED */
88
 
  gettext_noop("The table changed in storage engine"),
 
88
  N_("The table changed in storage engine"),
89
89
  /* HA_ERR_NO_PARTITION_FOUND */
90
 
  gettext_noop("There's no partition in table for the given value"),
 
90
  N_("There's no partition in table for the given value"),
91
91
  /* HA_ERR_RBR_LOGGING_FAILED */
92
 
  gettext_noop("Row-based binlogging of row failed"),
 
92
  N_("Row-based binlogging of row failed"),
93
93
  /* HA_ERR_DROP_INDEX_FK */
94
 
  gettext_noop("Index needed in foreign key constraint"),
 
94
  N_("Index needed in foreign key constraint"),
95
95
  /* HA_ERR_FOREIGN_DUPLICATE_KEY */
96
 
  gettext_noop("Upholding foreign key constraints would lead to a duplicate key error"),
 
96
  N_("Upholding foreign key constraints would lead to a duplicate key error"),
97
97
  /* HA_ERR_TABLE_NEEDS_UPGRADE */
98
 
  gettext_noop("Table needs to be upgraded before it can be used"),
 
98
  N_("Table needs to be upgraded before it can be used"),
99
99
  /* HA_ERR_TABLE_READONLY */
100
 
  gettext_noop("Table is read only"),
 
100
  N_("Table is read only"),
101
101
  /* HA_ERR_AUTOINC_READ_FAILED */
102
 
  gettext_noop("Failed to get next auto increment value"),
 
102
  N_("Failed to get next auto increment value"),
103
103
  /* HA_ERR_AUTOINC_ERANGE */
104
 
  gettext_noop("Failed to set row auto increment value"),
 
104
  N_("Failed to set row auto increment value"),
105
105
  /* HA_ERR_GENERIC */
106
 
  gettext_noop("Unknown (generic) error from engine"),
 
106
  N_("Unknown (generic) error from engine"),
107
107
  /* HA_ERR_RECORD_IS_THE_SAME */
108
 
  gettext_noop("Record is the same"),
 
108
  N_("Record is the same"),
109
109
  /* HA_ERR_LOGGING_IMPOSSIBLE */
110
 
  gettext_noop("It is not possible to log this statement"),
 
110
  N_("It is not possible to log this statement"),
111
111
  /* HA_ERR_TABLESPACE_EXIST */
112
 
  gettext_noop("Tablespace exists"),
 
112
  N_("Tablespace exists"),
113
113
  /* HA_ERR_CORRUPT_EVENT */
114
 
  gettext_noop("The event was corrupt, leading to illegal data being read"),
 
114
  N_("The event was corrupt, leading to illegal data being read"),
115
115
  /* HA_ERR_NEW_FILE */
116
 
  gettext_noop("The table is of a new format not supported by this version"),
 
116
  N_("The table is of a new format not supported by this version"),
117
117
  /* HA_ERR_ROWS_EVENT_APPLY */
118
 
  gettext_noop("The event could not be processed no other hanlder error happened"),
 
118
  N_("The event could not be processed no other hanlder error happened"),
119
119
  /* HA_ERR_INITIALIZATION */
120
 
  gettext_noop("Got a fatal error during initialzaction of handler"),
 
120
  N_("Got a fatal error during initialzaction of handler"),
121
121
  /* HA_ERR_FILE_TOO_SHORT */
122
 
  gettext_noop("File to short; Expected more data in file"),
 
122
  N_("File to short; Expected more data in file"),
123
123
  /* HA_ERR_WRONG_CRC */
124
 
  gettext_noop("Read page with wrong checksum"),
 
124
  N_("Read page with wrong checksum"),
125
125
  /* HA_ERR_LOCK_OR_ACTIVE_TRANSACTION */
126
 
  gettext_noop("Lock or active transaction"), /* TODO: get a better message */
 
126
  N_("Lock or active transaction"), /* TODO: get a better message */
127
127
  /* HA_ERR_NO_SUCH_TABLESPACE */
128
 
  gettext_noop("No such table space"), /* TODO: get a better message */
 
128
  N_("No such table space"), /* TODO: get a better message */
129
129
  /* HA_ERR_TABLESPACE_NOT_EMPTY */
130
 
  gettext_noop("Tablespace not empty") /* TODO: get a better message */
 
130
  N_("Tablespace not empty") /* TODO: get a better message */
131
131
};
132
132