-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathostrings.h
1184 lines (1172 loc) · 47.8 KB
/
ostrings.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* Copyright (c) 2022 by Peter Gulutzan. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
This file has strings that include English text,
such as error messages, menu headings, and color names.
Ocelot's policy is to keep strings containing English text
separate from ocelotgui.cpp, so translations to other
languages will be easier.
Languages: There are two languages: english (the default) and french.
To set language to french, say ocelotgui --ocelot_language='french'.
French has translations (thanks google).
French is not tested, so we don't document it.
It's just to illustrate how easy it is to add a language:
(1) in string_languages[], add new language's English name,
after "french", before "", and add new language's
name for itself, after "français", before "".
(2) add the new language's strings in er_strings,
er_colors, and er_menu. Important: the number
of strings must be the same as for english and french,
and the %d and %s markers in strings must be preserved,
or ocelotgui will crash.
(3) translating color names: color names must not begin
with "#" or be blank. We accept SET ..._color = 'bleu';
etc. even if language='english' because
canonical_color_name() searches all s_color_list.
Color names should be short, watch MAX_COLOR_NAME_WIDTH.
Probably French names don't have to be in the same order
as English names, but I haven't tested that carefully.
(4) rebuild from source.
Of course ocelotgui does not translate messages from the server,
for that you need to read
https://dev.mysql.com/doc/refman/5.7/en/error-message-language.html
*/
/*
Todo: many string literals haven't been moved yet.
Todo: help and documentation are still pure English.
Todo: add english/canadian, with correct spelling "colour", eh?
Todo: fontMetrics().boundingRect("LightGoldenrodYellow").width());
Todo: During initialization, check validity of everything in ostrings.
*/
#ifndef OSTRINGS_H
#define OSTRINGS_H
static const char *string_languages[]=
{
"english",
"french",
"",
"anglais",
"français",
""
};
/*
Error / Warning messages
Usually we make messages with:
make_and_put_message_in_result(int, int, char*)
Example:
make_and_put_message_in_result(ER_OK, 0, "");
But if there is more than one %d or %s we call sprintf() instead.
*/
#define ER_OK 0
#define ER_NOT_CONNECTED 1
#define ER_ONE_DATABASE 2
#define ER_UNKNOWN_COLOR 3
#define ER_UNKNOWN_FONT_SIZE 4
#define ER_UNKNOWN_FONT_WEIGHT 5
#define ER_UNKNOWN_FONT_STYLE 6
#define ER_DELETE_STATEMENT 7
#define ER_SKIP_STATEMENT 8
#define ER_SOURCE_STATEMENT 9
#define ER_EXECUTE_STATEMENT 10
#define ER_DEBUG_NOT_DONE 11
#define ER_REHASH_IS_NOT_SUPPORTED 12
#define ER_SELECT_FAILED 13
#define ER_MYSQL_STORE_RESULT_FAILED 14
#define ER_0_ROWS_RETURNED 15
#define ER_NO_DATABASE_SELECTED 16
#define ER_OK_REHASH 17
#define ER_USE 18
#define ER_DATABASE_CHANGED 19
#define ER_SOURCE 20
#define ER_FILE_OPEN 21
#define ER_DELIMITER 22
#define ER_HELP 23
#define ER_CHARSET 24
#define ER_EDIT 25
#define ER_EGO 26
#define ER_GO 27
#define ER_NOPAGER 28
#define ER_PAGER 29
#define ER_PRINT 30
#define ER_OK_PLUS 31
#define ER_SYNTAX 32
#define ER_FORMAT_STATEMENT 33
#define ER_FORMAT_CLAUSE 34
#define ER_FORMAT_RULE 35
#define ER_UNKNOWN_CELL_HEIGHT 36
#define ER_UNKNOWN_CELL_BORDER_SIZE 37
#define ER_UNKNOWN_CELL_WIDTH 38
#define ER_ILLEGAL_VALUE 39
#define ER_FAILED_TO_CONNECT 40
#define ER_POPEN_FAILED 41
#define ER_PCLOSE_FAILED 42
#define ER_FAILED_TO_CONNECT_TO_TARANTOOL 43
#define ER_FAILED_TO_CONNECT_TO_TARANTOOL_FOR_SERVER 44
#define ER_SETUP 45
#define ER_COULD_NOT_GET 46
#define ER_STATUS 47
#define ER_ROUTINE_HAS_STOPPED 48
#define ER_DEBUGGER_REQUIRES 49
#define ER_MISSING_ROUTINE_NAMES 50
#define ER_MISSING_ROUTINE_NAME 51
#define ER_DEBUG_IS_ALREADY_RUNNING 52
#define ER_SURROGATE 53
#define ER_SURROGATE_NOT_FOUND 54
#define ER_COULD_NOT_FIND_A_ROUTINE 55
#define ER_ROUTINE_IS_MISSING 56
#define ER_DEBUGGEE_NOT_RESPONDING 57
#define ER_NO_DEBUG_SESSION 58
#define ER_BREAKPOINT_SYNTAX 59
#define ER_TBREAKPOINT_SYNTAX 60
#define ER_CLEAR_SYNTAX 61
#define ER_OVERFLOW 62
#define ER_DEBUGGEE_WAIT_LOOP 63
#define ER_DEBUGGEE_WAIT_LOOP_IS_NOT 64
#define ER_I_STATUS_FAILED 65
#define ER_I_STATUS_FAILED_NOT_SEVERE 66
#define ER_MYSQL_FETCH_ROW_FAILED 67
#define ER_MYSQL_NUM_FIELDS 68
#define ER_MYSQL_LIBRARY_INIT_FAILED 69
#define ER_LIBMYSQLCLIENT_DOES_NOT_HAVE 70
#define ER_LIBMYSQLCLIENT_WAS_NOT_FOUND 71
#define ER_MYSQL_QUERY_FAILED 72
#define ER_ROWS_AFFECTED 73
#define ER_WARNING 74
#define ER_ERROR 75
#define ER_THE_SYNTAX_CHECKER_THINKS 76
#define ER_DO_YOU_WANT_TO_CONTINUE 77
#define ER_YES 78
#define ER_NO 79
#define ER_CREATE_SERVER 80
#define ER_EMPTY_LITERAL 81
#define ER_START_OF_SESSION 82
#define ER_CREATE_SERVER_SYNTAX 83
#define ER_8372 84
#define ER_DUPLICATE 85
#define ER_END 86
#define ER_MAX_LENGTH 1024
static const char *er_strings[]=
{
/* ENGLISH */
"OK", /* ER_OK */
"ERROR not connected", /* ER_NOT_CONNECTED */
"ERROR due to --one-database", /* ER_ONE_DATABASE */
"Unknown color", /* ER_UNKNOWN_COLOR */
"Unknown font size", /* ER_UNKNOWN_FONT_SIZE */
"Unknown font weight", /* ER_UNKNOWN_FONT_WEIGHT */
"Unknown font style", /* ER_UNKNOWN_FONT_STYLE */
"The $DELETE statement is not supported at this time", /* ER_DELETE_STATEMENT */
"The $SKIP statement is not supported at this time", /* ER_SKIP_STATEMENT */
"The $SOURCE statement is not supported at this time", /* ER_SOURCE_STATEMENT */
"The $EXECUTE statement is not supported at this time", /* ER_EXECUTE_STATEMENT */
"$DEBUG not done", /* ER_DEBUG_NOT_DONE */
/* Todo: ER_REHASH_IS_NOT_SUPPORTED is obsolete */
"Error: rehash is not supported for Tarantool", /* ER_REHASH_IS_NOT_SUPPORTED */
"Error: select failed", /* ER_SELECT_FAILED */
"Error: mysql_store_result failed", /* ER_MYSQL_STORE_RESULT_FAILED */
"Error: 0 rows returned", /* ER_0_ROWS_RETURNED */
"Error: no database selected", /* ER_NO_DATABASE_SELECTED */
"OK. database=%s. tables=%d. columns=%d. functions=%d. procedures=%d. triggers=%d. events=%d. indexes=%d.", /* ER_OK_REHASH */
"Error. USE statement has no argument.", /* ER_USE */
"Database changed", /* ER_DATABASE_CHANGED */
"Error, SOURCE statement has no argument", /* ER_SOURCE */
"Error, file open(%s) failed", /* ER_FILE_OPEN */ /* Could be QFile, could be fopen */
"Error, delimiter should not be blank", /* ER_DELIMITER */
"For HELP, use the Help menu items. For example click: Help | The Manual.", /* ER_HELP */
"CHARSET not implemented",
"EDIT not implemented",
"EGO does nothing unless it's on its own line after an executable statement, and --named-commands is true.", /* ER_EGO */
"GO does nothing unless it's on its own line after an executable statement, and --named-commands is true.", /* ER_GO */
"NOPAGER not implemented", /* ER_NOPAGER */
"PAGER not implemented", /* ER_PAGER */
"PRINT not implemented", /* ER_PRINT */
"OK %s", /* ER_OK_PLUS */ /* For example with file-open show the full file name */
"Syntax checker value must be between 0 and 7", /* ER_SYNTAX */ /* assume OCELOT_EXTENDER == 1 */
"Format statement indent value must be between 0 and 8", /* ER_FORMAT_STATEMENT */
"Format clause indent value must be between 0 and 8", /* ER_FORMAT_CLAUSE */
"Syntax checker value must be 1 or 3 or 7 (Menu item Settings | Statement widget)'", /* ER_FORMAT_RULE */ /* assume OCELOT_EXTENDER == 1 */
"Unknown cell height", /* ER_UNKNOWN_CELL_HEIGHT */
"Unknown cell border size", /* ER_UNKNOWN_CELL_BORDER_SIZE */
"Unknown cell width", /* ER_UNKNOWN_CELL_WIDTH */
"Illegal value", /* ER_ILLEGAL_VALUE */
" Failed to connect. Use menu item File|Connect to try again", /* ER_FAILED_TO_CONNECT */
" popen() failed", /* ER_POPEN_FAILED */
" pclose() failed", /* ER_PCLOSE_FAILED */
" Failed to connect to Tarantool server. Use menu item File|Connect to try again", /* ER_FAILED_TO_CONNECT_TO_TARANTOOL */
" Failed to connect to Tarantool server. Server not created", /* ER_FAILED_TO_CONNECT_TO_TARANTOOL_FOR_SERVER */
"$setup generated %d surrogates but the current maximum is %d'", /* ER_SETUP */
"Could not get a routine definition for %s.%s. Are you the routine creator and/or do you have SELECT privilege for mysql.proc?", /* ER_COULD_NOT_GET */
"DBMS version = %s Host = %s Port = %s", /* ER_STATUS */
"Routine has stopped. Suggested next step is: $EXIT", /* ER_ROUTINE_HAS_STOPPED */
"Debugger requires MySQL version 5.5 or later", /* ER_DEBUGGER_REQUIRES */
"Missing routine name(s). Expected syntax is: $setup routine-name [, routine-name ...]", /* ER_MISSING_ROUTINE_NAMES */
"Missing routine name", /* ER_MISSING_ROUTINE_NAME */
"Debug is already running. Use Debug|exit to stop it. This could be temporary.", /* ER_DEBUG_IS_ALREADY_RUNNING */
"Surrogate not found. Probably $setup wasn't done for a group including this routine.", /* ER_SURROGATE */
"Surrogate not found. Perhaps $setup was not done?", /* ER_SURROGATE_NOT_FOUND */
"%s Could not find a routine in the $setup group: %s.%s", /* ER_COULD_NOT_FIND_A_ROUTINE */
"Routine is missing", /* ER_ROUTINE_IS_MISSING */
"Debuggee not responding. Code = %d. Thread has not been stopped.\n", /* ER_DEBUGGEE_NOT_RESPONDING */
"No debug session in progress", /* ER_NO_DEBUG_SESSION */
"Error, correct statement format is $breakpoint [schema_identifier.].routine_identifier] line_number_minimum [-line_number_maximum]", /* ER_BREAKPOINT_SYNTAX */
"Error, correct statement format is $tbreakpoint [schema_identifier.].routine_identifier] line_number_minimum [-line_number_maximum]", /* ER_TBREAKPOINT_SYNTAX */
"Error, correct statement format is $clear [schema_identifier.].routine_identifier] line_number_minimum [-line_number_maximum]", /* ER_CLEAR_SYNTAX */
"Overflow", /* ER_OVERFLOW */
"%s. maybe a new $SETUP needed? cannot continue. Suggested next step is: $EXIT", /* ER_DEBUGGEE_WAIT_LOOP */
"debuggee_wait_loop() is not happening", /* ER_DEBUGGEE_WAIT_LOOP_IS_NOT */
"i status command failed", /* ER_I_STATUS_FAILED */
"i status command failed (this is not always a severe error)", /* ER_I_STATUS_FAILED_NOT_SEVERE */
"mysql_fetch row failed", /* ER_MYSQL_FETCH_ROW_FAILED */
"mysql_num_fields < 14", /* ER_MYSQL_NUM_FIELDS */
"Error, mysql_library_init() failed", /* ER_MYSQL_LIBRARY_INIT_FAILED */
"Severe error: libmysqlclient does not have these names: %s. Close ocelotgui, restart with a better libmysqlclient. See Help|libmysqlclient for tips. For tips about making sure ocelotgui finds the right libmysqlclient, click Help|libmysqlclient", /* ER_LIBMYSQLCLIENT_DOES_NOT_HAVE */
"Error, libmysqlclient was not found or a loading error occurred. Message was: %s. For tips about making sure ocelotgui finds libmysqlclient, click Help|libmysqlclient", /* ER_LIBMYSQLCLIENT_WAS_NOT_FOUND */
"(mysql_query failed)", /* ER_MYSQL_QUERY_FAILED */
" %llu rows affected", /* ER_ROWS_AFFECTED */
", %d warning", /* ER_WARNING */
"Error ", /* ER_ERROR */
"The Syntax Checker thinks there might be a syntax error. ", /* ER_THE_SYNTAX_CHECKER_THINKS */
"Do you want to continue?", /* ER_DO_YOU_WANT_TO_CONTINUE */
"Yes", /* ER_YES */
"No", /* ER_NO */
"CREATE SERVER not done for this name", /* ER_CREATE_SERVER */
"Empty literal", /* ER_EMPTY_LITERAL */
"/* Start of Session */", /* ER_START_OF_SESSION */
"CREATE SERVER syntax", /* ER_CREATE_SERVER_SYNTAX */
"Deferred till commit/rollback", /* ER_8372 */
"Duplicate", /* ER_DUPLICATE */
/* FRENCH */
"OK", /* ER_OK */
"Erreur non connecté", /* ER_NOT_CONNECTED */
"Erreur due à --one-database", /* ER_ONE_DATABASE */
"Couleur inconnue", /* ER_UNKNOWN_COLOR */
"Inconnu taille de la police", /* ER_UNKNOWN_FONT_SIZE */
"Inconnu poids de la police", /* ER_UNKNOWN_FONT_WEIGHT */
"Inconnue style de police", /* ER_UNKNOWN_FONT_STYLE */
"L'instruction $DELETE est pas pris en charge à ce moment", /* ER_DELETE_STATEMENT */
"L'instruction $SKIP est pas pris en charge à ce moment", /* ER_SKIP_STATEMENT */
"L'instruction $SOURCE est pas pris en charge à ce moment", /* ER_SOURCE_STATEMENT */
"L'instruction $EXECUTE est pas pris en charge à ce moment", /* ER_EXECUTE_STATEMENT */
"$DEBUG n'a pas été fait", /* ER_DEBUG_NOT_DONE */
"Erreur: rehash est pas pris en charge pour Tarantool", /* ER_REHASH_IS_NOT_SUPPORTED */
"Erreur: select échoué", /* ER_SELECT_FAILED */
"Erreur: mysql_store_result échoué", /* ER_MYSQL_STORE_RESULT_FAILED */
"Erreur: 0 lignes retournées", /* ER_0_ROWS_RETURNED */
"Erreur: aucune base de données sélectionnée", /* ER_NO_DATABASE_SELECTED */
"OK. base de données =% s. tables =% d. colonnes =% d. fonctions =% et. procédures =% et. = déclenche% et. events =% d. index =% d", /* ER_OK_REHASH */
"Erreur. instruction USE n'a pas d'argument.", /* ER_USE */
"Base de données changée.", /* ER_DATABASE_CHANGED */
"Erreur. instruction SOURCE n'a pas d'argument.", /* ER_SOURCE */
"Erreur: file_open(%s) échoué", /* ER_FILE_OPEN */
"Erreur, delimiter ne doit pas être vide", /* ER_DELIMITER */
"Pour HELP, utiliser les éléments du menu Aide. Illustration: cliquez sur: Aide | Le manuel.", /* ER_HELP */
"CHARSET pas mis en oeuvre",
"EDIT pas mis en oeuvre",
"EGO ne fait rien à moins que son sur sa propre ligne après une instruction exécutable, et --named-commandes est vrai.", /* ER_EGO */
"GO ne fait rien à moins que son sur sa propre ligne après une instruction exécutable, et --named-commandes est vrai..", /* ER_GO */
"NOPAGER pas mis en œuvre", /* ER_NOPAGER */
"PAGER pas mis en oeuvre", /* ER_PAGER */
"PRINT pas mis en oeuvre", /* ER_PRINT */
"OK %s", /* ER_OK_PLUS */ /* For example this could show file name. Compare ER_OK_REHASH. */
"Syntaxe valeur (pour vérificateur de syntaxe) doit être comprise entre 0 et 7", /* ER_SYNTAX */ /* assume OCELOT_EXTENDER == 1 */
"Format déclaration valeur de retrait doit être comprise entre 0 et 8", /* ER_FORMAT_STATEMENT */
"Format clause valeur de retrait doit être comprise entre 0 et 8", /* ER_FORMAT_CLAUSE */
"Syntaxe valeur (pour vérificateur de syntaxe) doit être 1 ou 3 ou 7", /* FORMAT_RULE */ /* assume OCELOT_EXTENDER == 1 */
"Taille de hauteur cellulaire inconnu", /* ER_UNKNOWN_CELL_HEIGHT */
"Taille de la bordure de la cellule inconnu ", /* ER_UNKNOWN_CELL_BORDER_SIZE */
"Taille de largeur cellulaire inconnu", /* ER_UNKNOWN_CELL_WIDTH */
"Valeur illégale", /* ER_ILLEGAL_VALUE */
" Échec de connexion. Utilisez le menu Fichier|Connexion pour essayer de nouveau", /* ER_FAILED_TO_CONNECT */
" popen() échoué", /* ER_POPEN_FAILED */
" pclose() échoué", /* ER_PCLOSE_FAILED */
" Échec de connexion au serveur Tarantool. Utilisez le menu Fichier|Connexion pour essayer de nouveau", /* ER_FAILED_TO_CONNECT_TO_TARANTOOL */
" Échec de connexion au serveur Tarantool. Serveur pas créé", /* ER_FAILED_TO_CONNECT_TO_TARANTOOL_FOR_SERVER */
"$setup a généré %d substituts, mais le courant maximum est %d'", /* ER_SETUP */
"Impossible d'obtenir une définition de routine pour %s.%s. Êtes-vous le créateur de routine et / ou avez-vous le privilège SELECT pour mysql.proc?", /* ER_COULD_NOT_GET */
"SGBD version = %s Hôte = %s Port = %s", /* ER_STATUS */
"Routine est arrêté. Suggérée étape suivante est: $EXIT", /* ER_ROUTINE_HAS_STOPPED */
"Debugger nécessite la version MySQL 5.5 ou version ultérieure", /* ER_DEBUGGER_REQUIRES */
"Nom(s) de routine(s) manquant(s). syntaxe attendue est: $setup nom-routine [, nom-routine ...]", /* ER_MISSING_ROUTINE_NAMES */
"Nom de routine manquant", /* ER_MISSING_ROUTINE_NAME */
"Debug est déjà en cours d'exécution. Utilisez Debug | sortie pour l'arrêter. Ceci pourrait être temporaire.", /* ER_DEBUG_IS_ALREADY_RUNNING */
"Surrogate pas trouvé. Probablement $setup n'a pas été fait pour un groupe, y compris cette routine.", /* ER_SURROGATE */
"Surrogate pas trouvé. Peut-être $setup n'a pas été fait?", /* ER_SURROGATE_NOT_FOUND */
"%s n'a pas pu trouver une routine dans le groupe de $setup: %s.%s", /* ER_COULD_NOT_FIND_A_ROUTINE */
"Routine is missing", /* ER_ROUTINE_IS_MISSING */
"Debuggee ne répond pas. Code =%d. Sujet n'a pas été arrêté.\n", /* ER_DEBUGGEE_NOT_RESPONDING */
"Aucune session de débogage en cours", /* ER_NO_DEBUG_SESSION */
"Erreur, le format de l'instruction correcte est $breakpoint [schema_identifier.].routine_identifier] line_number_minimum [-line_number_maximum]", /* ER_BREAKPOINT_SYNTAX */
"Erreur, le format de l'instruction correcte est $tbreakpoint [schema_identifier.].routine_identifier] line_number_minimum [-line_number_maximum]", /* ER_TBREAKPOINT_SYNTAX */
"Erreur, le format de l'instruction correcte est $clear [schema_identifier.].routine_identifier] line_number_minimum [-line_number_maximum]", /* ER_CLEAR_SYNTAX */
"Débordement", /* ER_OVERFLOW */
"%s. peut-être une nouvelle $SETUP nécessaire? ne peut pas continuer. Suggérée étape suivante est: $EXIT", /* ER_DEBUGGEE_WAIT_LOOP */
"debuggee_wait_loop() ne se produit pas", /* ER_DEBUGGEE_WAIT_LOOP_IS_NOT */
"i status commande a échoué", /* ER_I_STATUS_FAILED */
"i status commande a échoué (ceci n'est pas toujours une erreur grave)", /* ER_I_STATUS_FAILED_NOT_SEVERE */
"mysql_fetch row échoué", /* ER_MYSQL_FETCH_ROW_FAILED */
"mysql_num_fields < 14", /* ER_MYSQL_NUM_FIELDS */
"Erreur, mysql_library_init() échoué", /* ER_MYSQL_LIBRARY_INIT_FAILED */
"Severe error: libmysqlclient n'a pas ces noms: %s. Fermer ocelotgui, redémarrez avec une meilleure libmysqlclient. Voir Aide|libmysqlclient pour obtenir des conseils. Pour des conseils sur comment ocelotgui cherche le correct libmysqlclient, cliquez sur Aide|libmysqlclient", /* ER_LIBMYSQLCLIENT_DOES_NOT_HAVE */
"Erreur, libmysqlclient n'a pas été trouvé ou une erreur de chargement est produite. Message était: %s. Pour des conseils sur comment ocelotgui cherche le correct libmysqlclient, cliquez sur Aide|libmysqlclient", /* ER_LIBMYSQLCLIENT_WAS_NOT_FOUND */
"(mysql_query échoué)", /* ER_MYSQL_QUERY_FAILED */
" %llu lignes affectées", /* ER_ROWS_AFFECTED */
", %d avertissement", /* ER_WARNING */
"Erreur ", /* ER_ERROR */
"Le vérificateur de syntaxe pense qu'il pourrait y avoir une erreur de syntaxe.", /* ER_THE_SYNTAX_CHECKER_THINKS */
"Voulez-vous continuer?", /* ER_DO_YOU_WANT_TO_CONTINUE */
"Oui", /* ER_YES */
"Non", /* ER_NO */
"CREATE SERVER pas fait pour ce nom", /* ER_CREATE_SERVER */
"Vide constant", /* ER_EMPTY_LITERAL */
"/* Début de Session */", /* ER_START_OF_SESSION */
"CREATE SERVER syntaxe", /* ER_CREATE_SERVER_SYNTAX */
"Retardé jusqu'à commit/rollback", /* ER_8372 */
"Doublon", /* ER_DUPLICATE */
};
/*
We use s_color_list only twice, when checking command-line parameters
and then to copy its data to q_color_list,
which will be what we actually use for handle_combo_box_for_color_pick_*
in the Settings class. This list of color names prefers W3C names
http://www.w3.org/wiki/CSS/Properties/color/keywords
but also includes all X11 color names and hex values, a commonly-available list,
example = https://en.wikipedia.org/wiki/X11_color_names#Color_name_chart
(including webGray, webGreen, webMaroon, webPurple, and eight
others that Qt would reject), and adds GrayX11 GreenX11 MaroonX11 PurpleX11.
Doubtless this has been done many times before, but I couldn't find examples.
*/
#define COLOR_ALICEBLUE 0
#define COLOR_ANTIQUEWHITE 1
#define COLOR_AQUA 2
#define COLOR_AQUAMARINE 3
#define COLOR_AZURE 4
#define COLOR_BEIGE 5
#define COLOR_BISQUE 6
#define COLOR_BLACK 7
#define COLOR_BLANCHEDALMOND 8
#define COLOR_BLUE 9
#define COLOR_BLUEVIOLET 10
#define COLOR_BROWN 11
#define COLOR_BURLYWOOD 12
#define COLOR_CADETBLUE 13
#define COLOR_CHARTREUSE 14
#define COLOR_CHOCOLATE 15
#define COLOR_CORAL 16
#define COLOR_CORNFLOWERBLUE 17
#define COLOR_CORNSILK 18
#define COLOR_CRIMSON 19
#define COLOR_CYAN 20
#define COLOR_DARKBLUE 21
#define COLOR_DARKCYAN 22
#define COLOR_DARKGOLDENROD 23
#define COLOR_DARKGRAY 24
#define COLOR_DARKGREEN 25
#define COLOR_DARKKHAKI 26
#define COLOR_DARKMAGENTA 27
#define COLOR_DARKOLIVEGREEN 28
#define COLOR_DARKORANGE 29
#define COLOR_DARKORCHID 30
#define COLOR_DARKRED 31
#define COLOR_DARKSALMON 32
#define COLOR_DARKSEAGREEN 33
#define COLOR_DARKSLATEBLUE 34
#define COLOR_DARKSLATEGRAY 35
#define COLOR_DARKTURQUOISE 36
#define COLOR_DARKVIOLET 37
#define COLOR_DEEPPINK 38
#define COLOR_DEEPSKYBLUE 39
#define COLOR_DIMGRAY 40
#define COLOR_DODGERBLUE 41
#define COLOR_FIREBRICK 42
#define COLOR_FLORALWHITE 43
#define COLOR_FORESTGREEN 44
#define COLOR_FUCHSIA 45
#define COLOR_GAINSBORO 46
#define COLOR_GHOSTWHITE 47
#define COLOR_GOLD 48
#define COLOR_GOLDENROD 49
#define COLOR_GRAY 50
#define COLOR_GRAYX11 51
#define COLOR_GREEN 52
#define COLOR_GREENX11 53
#define COLOR_GREENYELLOW 54
#define COLOR_HONEYDEW 55
#define COLOR_HOTPINK 56
#define COLOR_INDIANRED 57
#define COLOR_INDIGO 58
#define COLOR_IVORY 59
#define COLOR_KHAKI 60
#define COLOR_LAVENDER 61
#define COLOR_LAVENDERBLUSH 62
#define COLOR_LAWNGREEN 63
#define COLOR_LEMONCHIFFON 64
#define COLOR_LIGHTBLUE 65
#define COLOR_LIGHTCORAL 66
#define COLOR_LIGHTCYAN 67
#define COLOR_LIGHTGOLDENRODYELLOW 68
#define COLOR_LIGHTGRAY 69
#define COLOR_LIGHTGREEN 70
#define COLOR_LIGHTPINK 71
#define COLOR_LIGHTSALMON 72
#define COLOR_LIGHTSEAGREEN 73
#define COLOR_LIGHTSKYBLUE 74
#define COLOR_LIGHTSLATEGRAY 75
#define COLOR_LIGHTSTEELBLUE 76
#define COLOR_LIGHTYELLOW 77
#define COLOR_LIME 78
#define COLOR_LIMEGREEN 79
#define COLOR_LINEN 80
#define COLOR_MAGENTA 81
#define COLOR_MAROON 82
#define COLOR_MAROONX11 83
#define COLOR_MEDIUMAQUAMARINE 84
#define COLOR_MEDIUMBLUE 85
#define COLOR_MEDIUMORCHID 86
#define COLOR_MEDIUMPURPLE 87
#define COLOR_MEDIUMSEAGREEN 88
#define COLOR_MEDIUMSLATEBLUE 89
#define COLOR_MEDIUMSPRINGGREEN 90
#define COLOR_MEDIUMTURQUOISE 91
#define COLOR_MEDIUMVIOLETRED 92
#define COLOR_MIDNIGHTBLUE 93
#define COLOR_MINTCREAM 94
#define COLOR_MISTYROSE 95
#define COLOR_MOCCASIN 96
#define COLOR_NAVAJOWHITE 97
#define COLOR_NAVY 98
#define COLOR_OLDLACE 99
#define COLOR_OLIVE 100
#define COLOR_OLIVEDRAB 101
#define COLOR_ORANGE 102
#define COLOR_ORANGERED 103
#define COLOR_ORCHID 104
#define COLOR_PALEGOLDENROD 105
#define COLOR_PALEGREEN 106
#define COLOR_PALETURQUOISE 107
#define COLOR_PALEVIOLETRED 108
#define COLOR_PAPAYAWHIP 109
#define COLOR_PEACHPUFF 110
#define COLOR_PERU 111
#define COLOR_PINK 112
#define COLOR_PLUM 113
#define COLOR_POWDERBLUE 114
#define COLOR_PURPLE 115
#define COLOR_PURPLEX11 116
#define COLOR_REBECCAPURPLE 117
#define COLOR_RED 118
#define COLOR_ROSYBROWN 119
#define COLOR_ROYALBLUE 120
#define COLOR_SADDLEBROWN 121
#define COLOR_SALMON 122
#define COLOR_SANDYBROWN 123
#define COLOR_SEAGREEN 124
#define COLOR_SEASHELL 125
#define COLOR_SIENNA 126
#define COLOR_SILVER 127
#define COLOR_SKYBLUE 128
#define COLOR_SLATEBLUE 129
#define COLOR_SLATEGRAY 130
#define COLOR_SNOW 131
#define COLOR_SPRINGGREEN 132
#define COLOR_STEELBLUE 133
#define COLOR_TAN 134
#define COLOR_TEAL 135
#define COLOR_THISTLE 136
#define COLOR_TOMATO 137
#define COLOR_TURQUOISE 138
#define COLOR_VIOLET 139
#define COLOR_WEBGRAY 140
#define COLOR_WEBGREEN 141
#define COLOR_WEBMAROON 142
#define COLOR_WEBPURPLE 143
#define COLOR_WHEAT 144
#define COLOR_WHITE 145
#define COLOR_WHITESMOKE 146
#define COLOR_YELLOW 147
#define COLOR_YELLOWGREEN 148
#define COLOR_END 300
static const char *s_color_list[]=
{
/* ENGLISH */
"AliceBlue","#F0F8FF",
"AntiqueWhite","#FAEBD7",
"Aqua","#00FFFF",
"Aquamarine","#7FFFD4",
"Azure","#F0FFFF",
"Beige","#F5F5DC",
"Bisque","#FFE4C4",
"Black","#000000",
"BlanchedAlmond","#FFEBCD",
"Blue","#0000FF",
"BlueViolet","#8A2BE2",
"Brown","#A52A2A",
"Burlywood","#DEB887",
"CadetBlue","#5F9EA0",
"Chartreuse","#7FFF00",
"Chocolate","#D2691E",
"Coral","#FF7F50",
"CornflowerBlue","#6495ED",
"Cornsilk","#FFF8DC",
"Crimson","#DC143C",
"Cyan","#00FFFF", /* same as aqua */
"DarkBlue","#00008B",
"DarkCyan","#008B8B",
"DarkGoldenrod","#B8860B",
"DarkGray","#A9A9A9",
"DarkGreen","#006400",
"DarkKhaki","#BDB76B",
"DarkMagenta","#8B008B",
"DarkOliveGreen","#556B2F",
"DarkOrange","#FF8C00",
"DarkOrchid","#9932CC",
"DarkRed","#8B0000",
"DarkSalmon","#E9967A",
"DarkSeaGreen","#8FBC8F",
"DarkSlateBlue","#483D8B",
"DarkSlateGray","#2F4F4F",
"DarkTurquoise","#00CED1",
"DarkViolet","#9400D3",
"DeepPink","#FF1493",
"DeepSkyBlue","#00BFFF",
"DimGray","#696969",
"DodgerBlue","#1E90FF",
"Firebrick","#B22222",
"FloralWhite","#FFFAF0",
"ForestGreen","#228B22",
"Fuchsia","#FF00FF",
"Gainsboro","#DCDCDC",
"GhostWhite","#F8F8FF",
"Gold","#FFD700",
"Goldenrod","#DAA520",
"Gray","#808080",
"GrayX11","#BEBEBE",
"Green","#008000",
"GreenX11","#00FF00",
"GreenYellow","#ADFF2F",
"Honeydew","#F0FFF0",
"HotPink","#FF69B4",
"IndianRed","#CD5C5C",
"Indigo","#4B0082",
"Ivory","#FFFFF0",
"Khaki","#F0E68C",
"Lavender","#E6E6FA",
"LavenderBlush","#FFF0F5",
"LawnGreen","#7CFC00",
"LemonChiffon","#FFFACD",
"LightBlue","#ADD8E6",
"LightCoral","#F08080",
"LightCyan","#E0FFFF",
"LightGoldenrodYellow","#FAFAD2",
"LightGray","#D3D3D3",
"LightGreen","#90EE90",
"LightPink","#FFB6C1",
"LightSalmon","#FFA07A",
"LightSeaGreen","#20B2AA",
"LightSkyBlue","#87CEFA",
"LightSlateGray","#778899",
"LightSteelBlue","#B0C4DE",
"LightYellow","#FFFFE0",
"Lime","#00FF00", /* same RGB as greenx11 */
"LimeGreen","#32CD32",
"Linen","#FAF0E6",
"Magenta","#FF00FF", /* same RGB as Fuchsia so display will say Fuchsia */
"Maroon","#800000",
"MaroonX11","#B03060",
"MediumAquamarine","#66CDAA",
"MediumBlue","#0000CD",
"MediumOrchid","#BA55D3",
"MediumPurple","#9370DB",
"MediumSeaGreen","#3CB371",
"MediumSlateBlue","#7B68EE",
"MediumSpringGreen","#00FA9A",
"MediumTurquoise","#48D1CC",
"MediumVioletRed","#C71585",
"MidnightBlue","#191970",
"MintCream","#F5FFFA",
"MistyRose","#FFE4E1",
"Moccasin","#FFE4B5",
"NavajoWhite","#FFDEAD",
"Navy","#000080",
"OldLace","#FDF5E6",
"Olive","#808000",
"OliveDrab","#6B8E23",
"Orange","#FFA500",
"OrangeRed","#FF4500",
"Orchid","#DA70D6",
"PaleGoldenrod","#EEE8AA",
"PaleGreen","#98FB98",
"PaleTurquoise","#AFEEEE",
"PaleVioletRed","#DB7093",
"PapayaWhip","#FFEFD5",
"PeachPuff","#FFDAB9",
"Peru","#CD853F",
"Pink","#FFC0CB",
"Plum","#DDA0DD",
"PowderBlue","#B0E0E6",
"Purple","#800080",
"PurpleX11","#A020F0",
"RebeccaPurple","#663399",
"Red","#FF0000",
"RosyBrown","#BC8F8F",
"RoyalBlue","#4169E1",
"SaddleBrown","#8B4513",
"Salmon","#FA8072",
"SandyBrown","#F4A460",
"SeaGreen","#2E8B57",
"Seashell","#FFF5EE",
"Sienna","#A0522D",
"Silver","#C0C0C0",
"SkyBlue","#87CEEB",
"SlateBlue","#6A5ACD",
"SlateGray","#708090",
"Snow","#FFFAFA",
"SpringGreen","#00FF7F",
"SteelBlue","#4682B4",
"Tan","#D2B48C",
"Teal","#008080",
"Thistle","#D8BFD8",
"Tomato","#FF6347",
"Turquoise","#40E0D0",
"Violet","#EE82EE",
"WebGray","#808080",
"WebGreen","#008000",
"WebMaroon","#7F0000",
"WebPurple","#7F007F",
"Wheat","#F5DEB3",
"White","#FFFFFF",
"WhiteSmoke","#F5F5F5",
"Yellow","#FFFF00",
"YellowGreen","#9ACD32",
"","",
/* FRENCH */ /* Some French colors are from an uncopyrighted web page */
"Bleu Gris","#F0F8FF",
"Blanc antique","#FAEBD7",
"Bleu-vert","#00FFFF",
"Aigue-Marine","#7FFFD4",
"Bleu Azur","#F0FFFF",
"Beige","#F5F5DC",
"Beige rosé","#FFE4C4",
"Noir","#000000",
"Coquille d'oeuf","#FFEBCD",
"Bleu","#0000FF",
"Bleu-violet","#8A2BE2",
"Brun","#A52A2A",
"Bois précieux","#DEB887",
"Bleu pétrole","#5F9EA0",
"Vert vif","#7FFF00",
"Chocolat","#D2691E",
"Corail","#FF7F50",
"Bleuet","#6495ED",
"Vanille","#FFF8DC",
"Cramoisi","#DC143C",
"Cyan","#00FFFF",
"Bleu foncé","#00008B",
"Cyan foncé","#008B8B",
"Jaune paille foncé","#B8860B",
"Gris foncé","#A9A9A9",
"Vert foncé","#006400",
"Kaki foncé","#BDB76B",
"Magenta foncé","#8B008B",
"Olive foncé","#556B2F",
"Orange foncé","#FF8C00",
"Orchidée foncé","#9932CC",
"Rouge foncé","#8B0000",
"Saumon foncé","#E9967A",
"Vert d'eau foncé","#8FBC8F",
"Bleu ardoise foncé","#483D8B",
"Gris ardoise foncé","#2F4F4F",
"Turquoise foncé","#00CED1",
"Violet foncé","#9400D3",
"Rose soutenu","#FF1493",
"Bleu ciel soutenu","#00BFFF",
"Gris soutenu","#696969",
"Bleu France","#1E90FF",
"Rouge brique","#B22222",
"Lys","#FFFAF0",
"Vert sapin","#228B22",
"Fuchsia","#FF00FF",
"Gris Souris","#DCDCDC",
"Blanc laiteux","#F8F8FF",
"Or","#FFD700",
"Jaune paille","#DAA520",
"Gris","#808080",
"GrisX11","#BEBEBE",
"Vert","#008000",
"VertX11","#00FF00",
"Vert-jaune","#ADFF2F",
"Opalin","#F0FFF0",
"Rose Intense","#FF69B4",
"Rouge indien","#CD5C5C",
"Indigo","#4B0082",
"Ivoire","#FFFFF0",
"Kaki","#F0E68C",
"Lavande","#E6E6FA",
"Lavandin","#FFF0F5",
"Vert prairie","#7CFC00",
"Mousse de citron","#FFFACD",
"Bleu clair","#ADD8E6",
"Corail clair","#F08080",
"Cyan clair","#E0FFFF",
"Jaune paille clair","#FAFAD2",
"Gris clair","#D3D3D3",
"Vert clair","#90EE90",
"Rose clair","#FFB6C1",
"Saumon clair","#FFA07A",
"Vert d'eau clair","#20B2AA",
"Bleu ciel clair","#87CEFA",
"Gris ardoise clair","#778899",
"Bleu acier clair","#B0C4DE",
"Jaune clair","#FFFFE0",
"Vert citron","#00FF00",
"Citron vert","#32CD32",
"Écru","#FAF0E6",
"Magenta","#FF00FF",
"Marron","#800000",
"Marron Medium X11","#B03060",
"Aigue-marine moyen","#66CDAA",
"Bleu moyen","#0000CD",
"Lilas moyen","#BA55D3",
"Pourpre moyen","#9370DB",
"Vert d'eau moyen","#3CB371",
"Bleu ardoise moyen","#7B68EE",
"Vert printemps moyen","#00FA9A",
"Turquoise moyen","#48D1CC",
"Rouge violacé moyen","#C71585",
"Bleu nuit","#191970",
"Crème de menthe","#F5FFFA",
"Rose pâle","#FFE4E1",
"Chamois","#FFE4B5",
"Chair","#FFDEAD",
"Bleu marine","#000080",
"Blanc cassé","#FDF5E6",
"Olive","#808000",
"Brun verdâtre","#6B8E23",
"Orange","#FFA500",
"Rouge orangé","#FF4500",
"Lilas","#DA70D6",
"Jaune paille pâle","#EEE8AA",
"Vert pâle","#98FB98",
"Turquoise pâle","#AFEEEE",
"Rouge violacé pâle","#DB7093",
"Crème de papaye","#FFEFD5",
"Pêche","#FFDAB9",
"Caramel","#CD853F",
"Rose","#FFC0CB",
"Prune","#DDA0DD",
"Bleu léger","#B0E0E6",
"Pourpre","#800080",
"PourpreX11","#A020F0",
"Rebecca Pourpre","#663399",
"Rouge","#FF0000",
"Vieux rose","#BC8F8F",
"Bleu roi","#4169E1",
"Brun cuir","#8B4513",
"Saumon","#FA8072",
"Sable","#F4A460",
"Vert d'eau","#2E8B57",
"Coquillage","#FFF5EE",
"Terre de Sienne","#A0522D",
"Argent","#C0C0C0",
"Bleu ciel","#87CEEB",
"Bleu ardoise","#6A5ACD",
"Gris ardoise","#708090",
"Neige","#FFFAFA",
"Vert printemps","#00FF7F",
"Bleu acier","#4682B4",
"Grège","#D2B48C",
"Sarcelle","#008080",
"Chardon","#D8BFD8",
"Tomate","#FF6347",
"Turquoise","#40E0D0",
"Violet","#EE82EE",
"WebGris","#808080",
"WebGris","#008000",
"WebMarron","#7F0000",
"WebPourpre","#7F007F",
"Blé","#F5DEB3",
"Blanc","#FFFFFF",
"Blanc cendré","#F5F5F5",
"Jaune","#FFFF00",
"Vert jaunâtre","#9ACD32",
"",""
};
#define MENU_FILE 0
#define MENU_FILE_CONNECT 1
#define MENU_FILE_EXIT 2
#define MENU_EDIT 3
#define MENU_EDIT_UNDO 4
#define MENU_EDIT_REDO 5
#define MENU_EDIT_CUT 6
#define MENU_EDIT_COPY 7
#define MENU_EDIT_PASTE 8
#define MENU_EDIT_SELECT_ALL 9
#define MENU_EDIT_PREVIOUS_STATEMENT 10
#define MENU_EDIT_NEXT_STATEMENT 11
#define MENU_EDIT_FORMAT 12
#define MENU_EDIT_ZOOMIN 13
#define MENU_EDIT_ZOOMOUT 14
#define MENU_EDIT_AUTOCOMPLETE 15
#define MENU_EDIT_FIND 16 /* unused, reserved */
#define MENU_EDIT_REPLACE 17 /* unused, reserved */
#define MENU_EDIT_CLIPBOARD 18 /* unused, reserved */
#define MENU_EDIT_GO 19 /* unused, reserved */
#define MENU_RUN 20
#define MENU_RUN_EXECUTE 21
#define MENU_RUN_KILL 22
#define MENU_SETTINGS 23
#define MENU_SETTINGS_MENU 24
#define MENU_SETTINGS_HISTORY_WIDGET 25
#define MENU_SETTINGS_GRID_WIDGET 26
#define MENU_SETTINGS_STATEMENT_WIDGET 27
#define MENU_SETTINGS_DEBUG_WIDGET 28
#define MENU_SETTINGS_EXTRA_RULE_1 29
#define MENU_SETTINGS_EXPLORER_WIDGET 30
#define MENU_OPTIONS 31
#define MENU_OPTIONS_DETACH_HISTORY_WIDGET 32
#define MENU_OPTIONS_DETACH_RESULT_GRID_WIDGET 33
#define MENU_OPTIONS_DETACH_DEBUG_WIDGET 34
#define MENU_OPTIONS_DETACH_STATEMENT_WIDGET 35
#define MENU_OPTIONS_DETACH_EXPLORER_WIDGET 36
#define MENU_OPTIONS_NEXT_WINDOW 37
#define MENU_OPTIONS_PREVIOUS_WINDOW 38
#define MENU_OPTIONS_RESULT_DISPLAY_HORIZONTAL 39
#define MENU_OPTIONS_RESULT_DISPLAY_VERTICAL 40
#define MENU_OPTIONS_RESULT_DISPLAY_HTML 41
#define MENU_OPTIONS_RESULT_DISPLAY_XML 42
#define MENU_OPTIONS_RESULT_DISPLAY_RAW 43
#define MENU_OPTIONS_RESULT_DISPLAY_BATCH 44
#define MENU_OPTIONS_RESULT_DISPLAY_HTMLRAW 45
#define MENU_OPTIONS_RESULT_DISPLAY_BAR 46
#define MENU_OPTIONS_RESULT_DISPLAY_LINE 47
#define MENU_OPTIONS_RESULT_DISPLAY_PIE 48
#define MENU_OPTIONS_RESULT_DISPLAY_NONE 49
#define MENU_DEBUG 50
#define MENU_DEBUG_INSTALL 51
#define MENU_DEBUG_SETUP 52
#define MENU_DEBUG_DEBUG 53
#define MENU_DEBUG_BREAKPOINT 54
#define MENU_DEBUG_CONTINUE 55
#define MENU_DEBUG_LEAVE 56
#define MENU_DEBUG_NEXT 57
#define MENU_DEBUG_SKIP 58
#define MENU_DEBUG_STEP 59
#define MENU_DEBUG_CLEAR 60
#define MENU_DEBUG_DELETE 61
#define MENU_DEBUG_EXIT 62
#define MENU_DEBUG_INFORMATION 63
#define MENU_DEBUG_REFRESH_SERVER_VARIABLES 64
#define MENU_DEBUG_REFRESH_USER_VARIABLES 65
#define MENU_DEBUG_REFRESH_VARIABLES 66
#define MENU_DEBUG_REFRESH_CALL_STACK 67
#define MENU_HELP 68
#define MENU_HELP_ABOUT 69
#define MENU_HELP_THE_MANUAL 70
#define MENU_HELP_LIBMYSQLCLIENT 71
#define MENU_HELP_SETTINGS 72
#define MENU_STATEMENT_TEXT_COLOR 73
#define MENU_STATEMENT_BACKGROUND_COLOR 74
#define MENU_STATEMENT_HIGHLIGHT_LITERAL_COLOR 75
#define MENU_STATEMENT_HIGHLIGHT_IDENTIFIER_COLOR 76
#define MENU_STATEMENT_HIGHLIGHT_COMMENT_COLOR 77
#define MENU_STATEMENT_HIGHLIGHT_OPERATOR_COLOR 78
#define MENU_STATEMENT_HIGHLIGHT_KEYWORD_COLOR 79
#define MENU_STATEMENT_PROMPT_BACKGROUND_COLOR 80
#define MENU_STATEMENT_BORDER_COLOR 81
#define MENU_STATEMENT_HIGHLIGHT_CURRENT_LINE_COLOR 82
#define MENU_STATEMENT_HIGHLIGHT_FUNCTION_COLOR 83
#define MENU_GRID_TEXT_COLOR 84
#define MENU_GRID_BACKGROUND_COLOR 85
#define MENU_GRID_CELL_BORDER_COLOR 86
#define MENU_GRID_OUTER_COLOR 87
#define MENU_GRID_HEADER_BACKGROUND_COLOR 88
#define MENU_GRID_FOCUS_CELL_BACKGROUND_COLOR 89
#define MENU_GRID_CELL_HEIGHT 90
#define MENU_GRID_CELL_BORDER_SIZE 91
#define MENU_GRID_CELL_WIDTH 92
#define MENU_HISTORY_TEXT_COLOR 93
#define MENU_HISTORY_BACKGROUND_COLOR 94
#define MENU_HISTORY_BORDER_COLOR 95
#define MENU_MENU_TEXT_COLOR 96
#define MENU_MENU_BACKGROUND_COLOR 97
#define MENU_MENU_BORDER_COLOR 98
#define MENU_FONT 99
#define MENU_MAX_ROW_COUNT 100
#define MENU_SYNTAX_CHECKER 101
#define MENU_DETACHED 102
#define MENU_TOP 103
#define MENU_LEFT 104
#define MENU_WIDTH 105
#define MENU_HEIGHT 106
#define MENU_CONDITION 107
#define MENU_DISPLAY_AS 108
#define MENU_CANCEL 109
#define MENU_OK 110
#define MENU_SETTINGS_FOR_MENU 111
#define MENU_SETTINGS_FOR_HISTORY 112
#define MENU_SETTINGS_FOR_GRID 113
#define MENU_SETTINGS_FOR_STATEMENT 114
#define MENU_SETTINGS_FOR_DEBUG 115
#define MENU_SETTINGS_FOR_EXTRA_RULE_1 116
#define MENU_SETTINGS_FOR_EXPLORER 117
#define MENU_GRID_HTML_EFFECTS 118 /* was MENU_PICK_NEW_FONT 111 until version 1.5 */
#define MENU_CONNECTION_DIALOG_BOX 119
#define MENU_FILE_CONNECT_HEADING 120
#define MENU_END 121
static const char *menu_strings[]=
{
/* ENGLISH */
"File", /* MENU_FILE */
"Connect", /* MENU_FILE_CONNECT */
"Exit", /* MENU_FILE_EXIT */
"Edit", /* MENU_EDIT */
"Undo", /* MENU_EDIT_UNDO */
"Redo", /* MENU_EDIT_REDO */
"Cut", /* MENU_EDIT_CUT */
"Copy", /* MENU_EDIT_COPY */
"Paste", /* MENU_EDIT_PASTE */
"Select All", /* MENU_EDIT_SELECT_ALL */
"Previous statement", /* MENU_EDIT_PREVIOUS_STATEMENT */
"Next statement", /* MENU_EDIT_NEXT_STATEMENT */
"Format", /* MENU_EDIT_FORMAT */
"Zoom In", /* MENU_EDIT_ZOOMIN */
"Zoom Out", /* MENU_EDIT_ZOOMOUT */
"Autocomplete", /* MENU_EDIT_AUTOCOMPLETE */
"Find", /* MENU_EDIT_FIND */
"", /* MENU_EDIT_REPLACE */
"", /* MENU_EDIT_CLIPBOARD */
"", /* MENU_EDIT_GO */
"Run", /* MENU_RUN */
"Execute", /* MENU_RUN_EXECUTE */
"Kill", /* MENU_RUN_KILL */
"Settings", /* MENU_SETTINGS */
"Menu", /* MENU_SETTINGS_MENU */
"History Widget", /* MENU_SETTINGS_HISTORY_WIDGET */
"Grid Widget", /* MENU_SETTINGS_GRID_WIDGET */
"Statement Widget", /* MENU_SETTINGS_STATEMENT_WIDGET */
"Debug Widget", /* MENU_SETTINGS_DEBUG_WIDGET */
"Extra Rule 1", /* MENU_SETTINGS_EXTRA_RULE_1 */
"Explorer Widget", /* MENU_SETTINGS_EXPLORER_WIDGET */
"Options", /* MENU_OPTIONS */
"detach history widget", /* MENU_OPTIONS_DETACH_HISTORY_WIDGET */
"detach result grid widget", /* MENU_OPTIONS_DETACH_RESULT_GRID_WIDGET */
"detach debug widget", /* MENU_OPTIONS_DETACH_DEBUG_WIDGET */
"detach statement widget", /* MENU_OPTIONS_DETACH_STATEMENT_WIDGET */
"detach explorer widget", /* MENU_OPTIONS_DETACH_EXPLORER_WIDGET */
"next window", /* MENU_OPTIONS_NEXT_WINDOW */
"previous window", /* MENU_OPTIONS_PREVIOUS_WINDOW */
"result display = ''horizontal''", /* MENU_OPTIONS_RESULT_DISPLAY_HORIZONTAL */
"result display = ''vertical''", /* MENU_OPTIONS_RESULT_DISPLAY_VERTICAL */
"result display = ''html''", /* MENU_OPTIONS_RESULT_DISPLAY_HTML */
"result display = ''xml''", /* MENU_OPTIONS_RESULT_DISPLAY_XML */
"result display = ''raw''", /* MENU_OPTIONS_RESULT_DISPLAY_RAW */
"result display = ''batch''", /* MENU_OPTIONS_RESULT_DISPLAY_BATCH */
"result display = ''htmlraw''", /* MENU_OPTIONS_RESULT_DISPLAY_HTMLRAW */
"result display = ''bar''", /* MENU_OPTIONS_RESULT_DISPLAY_BAR */
"result display = ''line''", /* MENU_OPTIONS_RESULT_DISPLAY_LINE */
"result display = ''pie''", /* MENU_OPTIONS_RESULT_DISPLAY_PIE */
"result display = ''''''", /* MENU_OPTIONS_RESULT_DISPLAY_NONE */
"Debug", /* MENU_DEBUG */
"Install", /* MENU_DEBUG_INSTALL */
"Setup", /* MENU_DEBUG_SETUP */
"Debug", /* MENU_DEBUG_DEBUG */
"Breakpoint", /* MENU_DEBUG_BREAKPOINT */
"Continue", /* MENU_DEBUG_CONTINUE */
"Leave", /* MENU_DEBUG_LEAVE */
"Next", /* MENU_DEBUG_NEXT */
"Skip", /* MENU_DEBUG_SKIP */
"Step", /* MENU_DEBUG_STEP */
"Clear", /* MENU_DEBUG_CLEAR */
"Delete", /* MENU_DEBUG_DELETE */
"Exit", /* MENU_DEBUG_EXIT */