~vcs-imports/bibletime/trunk

« back to all changes in this revision

Viewing changes to bibletime/util/cresmgr.cpp

  • Committer: mgruner
  • Date: 2007-05-08 15:51:07 UTC
  • Revision ID: vcs-imports@canonical.com-20070508155107-0rj7jdmm5ivf8685
-imported source and data files to new svn module
-this is where KDE4-based development will take place

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*********
 
2
*
 
3
* This file is part of BibleTime's source code, http://www.bibletime.info/.
 
4
*
 
5
* Copyright 1999-2006 by the BibleTime developers.
 
6
* The BibleTime source code is licensed under the GNU General Public License version 2.0.
 
7
*
 
8
**********/
 
9
 
 
10
 
 
11
 
 
12
//own includes
 
13
#include "cresmgr.h"
 
14
 
 
15
#include "backend/cswordbackend.h"
 
16
 
 
17
//KDE includes
 
18
#include <kglobal.h>
 
19
#include <klocale.h>
 
20
 
 
21
namespace CResMgr {
 
22
        namespace modules {
 
23
                namespace bible {
 
24
                        const QString icon_unlocked  = "bt_bible";
 
25
                        const QString icon_locked    = "bt_bible_locked";
 
26
                        const QString icon_add       = "bt_bible_add";
 
27
                }
 
28
                namespace commentary {
 
29
                        const QString icon_unlocked  = "bt_commentary";
 
30
                        const QString icon_locked    = "bt_commentary_locked";
 
31
                        const QString icon_add       = "bt_commentary_add";
 
32
                }
 
33
                namespace lexicon {
 
34
                        const QString icon_unlocked  = "bt_lexicon";
 
35
                        const QString icon_locked    = "bt_lexicon_locked";
 
36
                        const QString icon_add       = "bt_lexicon_add";
 
37
                }
 
38
                namespace book {
 
39
                        const QString icon_unlocked  = "bt_book";
 
40
                        const QString icon_locked    = "bt_book_locked";
 
41
                        const QString icon_add       = "bt_book_add";
 
42
                }
 
43
        }
 
44
 
 
45
        namespace mainMenu { //Main menu
 
46
                namespace file { //Main menu->File
 
47
                        namespace print { //a standard action
 
48
                                QString tooltip;
 
49
 
 
50
                        }
 
51
                        namespace quit { //a standard action
 
52
                                QString tooltip;
 
53
 
 
54
                        }
 
55
                }
 
56
 
 
57
                namespace view { //Main menu->View
 
58
                        namespace showMainIndex {
 
59
                                QString tooltip;
 
60
 
 
61
                                const QString icon        = "view_sidetree";
 
62
                                const KShortcut accel     = Qt::Key_F9;
 
63
                                const char* actionName    = "viewMainIndex_action";
 
64
                        }
 
65
                        namespace showInfoDisplay {
 
66
                                QString tooltip;
 
67
 
 
68
                                const QString icon        = "view_sidetree";
 
69
                                const KShortcut accel     = Qt::Key_F8;
 
70
                                const char* actionName    = "viewInfoDisplay_action";
 
71
                        }
 
72
                        namespace showToolBar { //a standard action
 
73
                                QString tooltip;
 
74
 
 
75
                        }
 
76
                }
 
77
 
 
78
                namespace mainIndex { //Main menu->Settings
 
79
                        namespace search {
 
80
                                QString tooltip;
 
81
 
 
82
                                const QString icon        = "find";
 
83
                                const KShortcut accel     = Qt::CTRL + Qt::Key_O;
 
84
                                const char* actionName    = "mainindex_search_action";
 
85
                        }
 
86
                        namespace searchdefaultbible {
 
87
                                QString tooltip;
 
88
 
 
89
                                const QString icon        = "find";
 
90
                                const KShortcut accel     = Qt::CTRL + Qt::ALT + Qt::Key_F;
 
91
                                const char* actionName    = "mainindex_searchdefaultbible_action";
 
92
                        }
 
93
                }
 
94
 
 
95
                namespace window { //Main menu->Window
 
96
                        namespace loadProfile {
 
97
                                QString tooltip;
 
98
 
 
99
                                const QString icon        = "view_sidetree";
 
100
                                const char* actionName    = "windowLoadProfile_action";
 
101
                        }
 
102
                        namespace saveProfile {
 
103
                                QString tooltip;
 
104
 
 
105
                                const QString icon        = "view_sidetree";
 
106
                                const char* actionName    = "windowSaveProfile_action";
 
107
                        }
 
108
                        namespace saveToNewProfile {
 
109
                                QString tooltip;
 
110
 
 
111
                                const QString icon        = "view_sidetree";
 
112
                                const KShortcut accel     = Qt::CTRL + Qt::ALT + Qt::Key_S;
 
113
                                const char* actionName    = "windowSaveToNewProfile_action";
 
114
                        }
 
115
                        namespace deleteProfile {
 
116
                                QString tooltip;
 
117
 
 
118
                                const QString icon        = "view_sidetree";
 
119
                                const char* actionName    = "windowDeleteProfile_action";
 
120
                        }
 
121
                        namespace showFullscreen {
 
122
                                QString tooltip;
 
123
 
 
124
                                const QString icon        = "window_fullscreen";
 
125
                                const KShortcut accel     = Qt::CTRL + Qt::SHIFT + Qt::Key_F;
 
126
                                const char* actionName    = "windowFullscreen_action";
 
127
                        }
 
128
                        namespace arrangementMode {
 
129
                                QString tooltip;
 
130
 
 
131
                                const QString icon        = "bt_cascade_auto";
 
132
                                const KShortcut accel     = KKeySequence();
 
133
                                const char* actionName    = "windowArrangementMode_action";
 
134
 
 
135
                                namespace manual {
 
136
                                        QString tooltip;
 
137
 
 
138
                                        const QString icon        = "bt_tile";
 
139
                                        const KShortcut accel     = Qt::CTRL + Qt::ALT + Qt::Key_M;
 
140
                                        const char* actionName    = "windowArrangementManual_action";
 
141
                                }
 
142
                                namespace autoTileHorizontal {
 
143
                                        QString tooltip;
 
144
 
 
145
                                        const QString icon        = "bt_tile_auto";
 
146
                                        const KShortcut accel     = Qt::CTRL + Qt::ALT + Qt::Key_H;
 
147
                                        const char* actionName    = "windowAutoTileHorizontal_action";
 
148
                                }
 
149
                                namespace autoTileVertical {
 
150
                                        QString tooltip;
 
151
 
 
152
                                        const QString icon        = "bt_tile_auto";
 
153
                                        const KShortcut accel     = Qt::CTRL + Qt::ALT + Qt::Key_G;
 
154
                                        const char* actionName    = "windowAutoTileVertical_action";
 
155
                                }
 
156
                                namespace autoCascade {
 
157
                                        QString tooltip;
 
158
 
 
159
                                        const QString icon        = "bt_cascade_auto";
 
160
                                        const KShortcut accel     = Qt::CTRL + Qt::ALT + Qt::Key_J;
 
161
                                        const char* actionName    = "windowAutoCascade_action";
 
162
                                }
 
163
                        }
 
164
                        namespace tileHorizontal {
 
165
                                QString tooltip;
 
166
 
 
167
                                const QString icon        = "bt_tile";
 
168
                                const KShortcut accel     = Qt::CTRL + Qt::Key_H;
 
169
                                const char* actionName    = "windowTileHorizontal_action";
 
170
                        }
 
171
                        namespace tileVertical {
 
172
                                QString tooltip;
 
173
 
 
174
                                const QString icon        = "bt_tile";
 
175
                                const KShortcut accel     = Qt::CTRL + Qt::Key_G;
 
176
                                const char* actionName    = "windowTileVertical_action";
 
177
                        }
 
178
                        namespace cascade {
 
179
                                QString tooltip;
 
180
 
 
181
                                const QString icon        = "bt_cascade";
 
182
                                const KShortcut accel     = Qt::CTRL + Qt::Key_J;
 
183
                                const char* actionName    = "windowCascade_action";
 
184
                        }
 
185
                        namespace closeAll {
 
186
                                QString tooltip;
 
187
 
 
188
                                const QString icon        = "fileclose";
 
189
                                const KShortcut accel     = Qt::CTRL + Qt::ALT + Qt::Key_W;
 
190
                                const char* actionName    = "windowCloseAll_action";
 
191
                        }
 
192
                }
 
193
 
 
194
                namespace settings { //Main menu->Settings
 
195
                        namespace editToolBar { // available as KStdAction
 
196
                                QString tooltip;
 
197
 
 
198
                        }
 
199
                        namespace optionsDialog { // available as KStdAction
 
200
                                QString tooltip;
 
201
 
 
202
                        }
 
203
                        namespace swordSetupDialog {
 
204
                                QString tooltip;
 
205
 
 
206
                                const QString icon        = "bt_swordconfig";
 
207
                                const KShortcut accel     = Qt::Key_F4;
 
208
                                const char* actionName    = "options_sword_setup";
 
209
                        }
 
210
 
 
211
                }
 
212
 
 
213
                namespace help { //Main menu->Help
 
214
                        namespace handbook {
 
215
                                QString tooltip;
 
216
 
 
217
                                const QString icon        = "contents";
 
218
                                const KShortcut accel     = Qt::Key_F1;
 
219
                                const char* actionName    = "helpHandbook_action";
 
220
                        }
 
221
                        namespace bibleStudyHowTo {
 
222
                                QString tooltip;
 
223
 
 
224
                                const QString icon        = "contents";
 
225
                                const KShortcut accel     = Qt::Key_F2;
 
226
                                const char* actionName    = "helpHowTo_action";
 
227
                        }
 
228
                        namespace bugreport { // available as KStdAction
 
229
                                QString tooltip;
 
230
 
 
231
                        }
 
232
                        namespace dailyTip {
 
233
                                QString tooltip;
 
234
 
 
235
                                const QString icon        = "idea";
 
236
                                const KShortcut accel     = Qt::Key_F3;
 
237
                                const char* actionName    = "helpDailyTip_action";
 
238
                        }
 
239
                        namespace aboutBibleTime { // available as KStdAction
 
240
                                QString tooltip;
 
241
 
 
242
                        }
 
243
                        namespace aboutKDE { // available as KStdAction
 
244
                                QString tooltip;
 
245
 
 
246
                        }
 
247
                }
 
248
        }  //end of main menu
 
249
 
 
250
        namespace searchdialog {
 
251
                const QString icon = "find";
 
252
 
 
253
                namespace searchButton {
 
254
                        QString tooltip;
 
255
 
 
256
                }
 
257
                namespace cancelSearchButton {
 
258
                        QString tooltip;
 
259
 
 
260
                }
 
261
 
 
262
                namespace options {
 
263
                        namespace moduleChooserButton {
 
264
                                QString tooltip;
 
265
 
 
266
                        }
 
267
                        namespace searchedText {
 
268
                                QString tooltip;
 
269
 
 
270
                        }
 
271
                        namespace searchType {
 
272
                                namespace multipleWords_and {
 
273
                                        QString tooltip;
 
274
 
 
275
                                }
 
276
                                namespace multipleWords_or {
 
277
                                        QString tooltip;
 
278
 
 
279
                                }
 
280
                                namespace exactMatch {
 
281
                                        QString tooltip;
 
282
 
 
283
                                }
 
284
                                namespace regExp {
 
285
                                        QString tooltip;
 
286
 
 
287
                                }
 
288
                        }
 
289
 
 
290
                        namespace searchOptions {
 
291
                                namespace caseSensitive {
 
292
                                        QString tooltip;
 
293
 
 
294
                                }
 
295
                        }
 
296
                        namespace chooseScope {
 
297
                                QString tooltip;
 
298
 
 
299
                        }
 
300
                        namespace scopeEditor {
 
301
                                namespace rangeList {
 
302
                                        QString tooltip;
 
303
 
 
304
                                }
 
305
                                namespace nameEdit {
 
306
                                        QString tooltip;
 
307
 
 
308
                                }
 
309
                                namespace editRange {
 
310
                                        QString tooltip;
 
311
 
 
312
                                }
 
313
                                namespace parsedResult {
 
314
                                        QString tooltip;
 
315
 
 
316
                                }
 
317
                                namespace addNewRange {
 
318
                                        QString tooltip;
 
319
 
 
320
                                }
 
321
                                namespace deleteCurrentRange {
 
322
                                        QString tooltip;
 
323
 
 
324
                                }
 
325
 
 
326
                        }
 
327
                }
 
328
                namespace result {
 
329
                        namespace moduleList {
 
330
                                QString tooltip;
 
331
 
 
332
 
 
333
                                namespace copyMenu {
 
334
                                        const QString icon = "editcopy";
 
335
                                }
 
336
                                namespace saveMenu {
 
337
                                        const QString icon = "filesave";
 
338
                                }
 
339
                                namespace printMenu {
 
340
                                        const QString icon = "fileprint";
 
341
                                }
 
342
                        }
 
343
                        namespace foundItems {
 
344
                                QString tooltip;
 
345
 
 
346
 
 
347
                                namespace copyMenu {
 
348
                                        const QString icon = "editcopy";
 
349
                                }
 
350
                                namespace saveMenu {
 
351
                                        const QString icon = "filesave";
 
352
                                }
 
353
                                namespace printMenu {
 
354
                                        const QString icon = "fileprint";
 
355
                                }
 
356
                        }
 
357
                        namespace textPreview {
 
358
                                QString tooltip;
 
359
 
 
360
                        }
 
361
                }
 
362
        }
 
363
 
 
364
        namespace workspace {}
 
365
 
 
366
        namespace displaywindows {
 
367
/*              namespace transliteration {
 
368
                        const QString icon = "bt_displaytranslit";
 
369
                }*/
 
370
                namespace displaySettings {
 
371
                        const QString icon = "bt_displayconfig";
 
372
                }
 
373
 
 
374
                namespace general {
 
375
                        namespace scrollButton {
 
376
                                QString tooltip;
 
377
                        }
 
378
 
 
379
                        namespace search {
 
380
                                QString tooltip;
 
381
 
 
382
                                const QString icon        = "find";
 
383
                                const KShortcut accel     = Qt::CTRL + Qt::Key_L;
 
384
                                const char* actionName    = "window_search_action";
 
385
                        }
 
386
 
 
387
                        namespace backInHistory {
 
388
                                QString tooltip;
 
389
 
 
390
                                const QString icon        = "previous";
 
391
                                const KShortcut accel     = Qt::ALT + Qt::Key_Left;
 
392
                                const char* actionName    = "window_history_back_action";
 
393
                        }
 
394
                        namespace forwardInHistory {
 
395
                                QString tooltip;
 
396
 
 
397
                                const QString icon        = "next";
 
398
                                const KShortcut accel     = Qt::ALT + Qt::Key_Right;
 
399
                                const char* actionName    = "window_history_forward_action";
 
400
                        }
 
401
                        namespace findStrongs {
 
402
                                QString tooltip;
 
403
 
 
404
                                const QString icon        = "bt_findstrongs";
 
405
                                const KShortcut accel     = KShortcut(0);
 
406
                                const char* actionName    = "window_find_strongs_action";
 
407
                        }
 
408
 
 
409
                }
 
410
                namespace bibleWindow {
 
411
                        namespace bookList {
 
412
                                QString tooltip;
 
413
 
 
414
                        }
 
415
                        namespace nextBook {
 
416
                                QString tooltip;
 
417
 
 
418
                                const KShortcut accel = Qt::CTRL + Qt::Key_Y;
 
419
                        }
 
420
                        namespace previousBook {
 
421
                                QString tooltip;
 
422
 
 
423
                                const KShortcut accel = Qt::CTRL + Qt::SHIFT + Qt::Key_Y;
 
424
                        }
 
425
 
 
426
                        namespace chapterList {
 
427
                                QString tooltip;
 
428
                        }
 
429
                        namespace nextChapter {
 
430
                                QString tooltip;
 
431
                                const KShortcut accel = Qt::CTRL + Qt::Key_X;
 
432
                        }
 
433
                        namespace previousChapter {
 
434
                                QString tooltip;
 
435
                                const KShortcut accel = Qt::CTRL + Qt::SHIFT + Qt::Key_X;
 
436
                        }
 
437
                        namespace verseList {
 
438
                                QString tooltip;
 
439
                        }
 
440
                        namespace nextVerse {
 
441
                                QString tooltip;
 
442
                                const KShortcut accel = Qt::CTRL + Qt::Key_V;
 
443
                        }
 
444
                        namespace previousVerse {
 
445
                                QString tooltip;
 
446
                                const KShortcut accel = Qt::CTRL + Qt::SHIFT + Qt::Key_V;
 
447
                        }
 
448
 
 
449
                        namespace copyMenu {
 
450
                                const QString icon = "editcopy";
 
451
                        }
 
452
                        namespace saveMenu {
 
453
                                const QString icon = "filesave";
 
454
                        }
 
455
                        namespace printMenu {
 
456
                                const QString icon = "fileprint";
 
457
                        }
 
458
                }
 
459
                namespace commentaryWindow {
 
460
                        namespace syncWindow {
 
461
                                QString tooltip;
 
462
                                const QString icon   = "bt_sync";
 
463
                                const KShortcut accel  = KKeySequence();
 
464
                                const char* actionName = "commentary_syncWindow";
 
465
                        }
 
466
                }
 
467
                namespace lexiconWindow {
 
468
                        namespace entryList {
 
469
                                QString tooltip;
 
470
                        }
 
471
                        namespace nextEntry {
 
472
                                QString tooltip;
 
473
                                const KShortcut accel = Qt::CTRL + Qt::Key_V;
 
474
                        }
 
475
                        namespace previousEntry {
 
476
                                QString tooltip;
 
477
                                const KShortcut accel = Qt::CTRL + Qt::SHIFT + Qt::Key_V;
 
478
                        }
 
479
 
 
480
                        namespace copyMenu {
 
481
                                const QString icon = "editcopy";
 
482
                        }
 
483
                        namespace saveMenu {
 
484
                                const QString icon = "filesave";
 
485
                        }
 
486
                        namespace printMenu {
 
487
                                const QString icon = "fileprint";
 
488
                        }
 
489
                }
 
490
                namespace bookWindow {
 
491
                        namespace toggleTree {
 
492
                                const QString icon = "view_sidetree";
 
493
                                const KShortcut accel = KKeySequence();
 
494
                        }
 
495
                }
 
496
 
 
497
                namespace writeWindow {
 
498
                        namespace saveText {
 
499
                                QString tooltip;
 
500
 
 
501
                                const QString icon      = "filesave";
 
502
                                const KShortcut accel   = KKeySequence();
 
503
                                const char* actionName  = "writeWindow_saveText";
 
504
                        }
 
505
                        namespace restoreText {
 
506
                                QString tooltip;
 
507
 
 
508
                                const QString icon      = "undo";
 
509
                                const KShortcut accel   = KKeySequence();
 
510
                                const char* actionName  = "writeWindow_restoreText";
 
511
                        }
 
512
                        namespace deleteEntry {
 
513
                                QString tooltip;
 
514
 
 
515
                                const QString icon      = "editdelete";
 
516
                                const KShortcut accel   = KKeySequence();
 
517
                                const char* actionName  = "writeWindow_deleteEntry";
 
518
                        }
 
519
 
 
520
                        //formatting buttons
 
521
                        namespace boldText {
 
522
                                QString tooltip;
 
523
 
 
524
                                const QString icon      = "text_bold";
 
525
                                const KShortcut accel   = KKeySequence();
 
526
                                const char* actionName  = "writeWindow_boldText";
 
527
                        }
 
528
                        namespace italicText {
 
529
                                QString tooltip;
 
530
 
 
531
                                const QString icon      = "text_italic";
 
532
                                const KShortcut accel   = KKeySequence();
 
533
                                const char* actionName  = "writeWindow_italicText";
 
534
                        }
 
535
                        namespace underlinedText {
 
536
                                QString tooltip;
 
537
 
 
538
                                const QString icon      = "text_under";
 
539
                                const KShortcut accel   = KKeySequence();
 
540
                                const char* actionName  = "writeWindow_underlineText";
 
541
                        }
 
542
 
 
543
                        namespace alignLeft {
 
544
                                QString tooltip;
 
545
 
 
546
                                const QString icon      = "text_left";
 
547
                                const KShortcut accel   = KKeySequence();
 
548
                                const char* actionName  = "writeWindow_alignLeft";
 
549
                        }
 
550
                        namespace alignCenter {
 
551
                                QString tooltip;
 
552
 
 
553
                                const QString icon      = "text_center";
 
554
                                const KShortcut accel   = KKeySequence();
 
555
                                const char* actionName  = "writeWindow_alignCenter";
 
556
                        }
 
557
                        namespace alignRight {
 
558
                                QString tooltip;
 
559
 
 
560
                                const QString icon      = "rightjust";
 
561
                                const KShortcut accel   = KKeySequence();
 
562
                                const char* actionName  = "writeWindow_alignRight";
 
563
                        }
 
564
                        namespace alignJustify {
 
565
                                QString tooltip;
 
566
 
 
567
                                const QString icon      = "text_block";
 
568
                                const KShortcut accel   = KKeySequence();
 
569
                                const char* actionName = "writeWindow_alignJustify";
 
570
                        }
 
571
 
 
572
                        namespace fontFamily {
 
573
                                QString tooltip;
 
574
 
 
575
                                const KShortcut accel   = KKeySequence();
 
576
                                const char* actionName = "writeWindow_fontFamily";
 
577
                        }
 
578
                        namespace fontSize {
 
579
                                QString tooltip;
 
580
 
 
581
                                const KShortcut accel   = KKeySequence();
 
582
                                const char* actionName = "writeWindow_fontSize";
 
583
                        }
 
584
                        namespace fontColor {
 
585
                                QString tooltip;
 
586
                        }
 
587
                }
 
588
        }
 
589
 
 
590
        namespace settings {
 
591
                namespace startup {
 
592
                        const QString icon = "bt_startconfig";
 
593
                        namespace dailyTip {
 
594
                                QString tooltip;
 
595
                        }
 
596
                        namespace showLogo {
 
597
                                QString tooltip;
 
598
                        }
 
599
                        namespace restoreWorkingArea {
 
600
                                QString tooltip;
 
601
                        }
 
602
                }
 
603
                namespace fonts {
 
604
                        const QString icon = "fonts";
 
605
 
 
606
                        namespace typeChooser {
 
607
                                QString tooltip;
 
608
                        }
 
609
                }
 
610
                namespace profiles {
 
611
                        const QString icon = "view_sidetree";
 
612
 
 
613
                        namespace list {
 
614
                                QString tooltip;
 
615
                        }
 
616
                        namespace createNew {
 
617
                                QString tooltip;
 
618
                        }
 
619
                        namespace deleteCurrent {
 
620
                                QString tooltip;
 
621
                        }
 
622
                        namespace renameCurrent {
 
623
                                QString tooltip;
 
624
                        }
 
625
                }
 
626
                namespace sword {
 
627
                        const QString icon = "bt_swordconfig";
 
628
 
 
629
                        namespace general {
 
630
                                namespace language {
 
631
                                        QString tooltip;
 
632
                                }
 
633
                        }
 
634
                        namespace modules {
 
635
                                namespace bible {
 
636
                                        QString tooltip;
 
637
                                }
 
638
                                namespace commentary {
 
639
                                        QString tooltip;
 
640
                                }
 
641
                                namespace lexicon {
 
642
                                        QString tooltip;
 
643
 
 
644
                                }
 
645
                                namespace dailyDevotional {
 
646
                                        QString tooltip;
 
647
                                }
 
648
                                namespace hebrewStrongs {
 
649
                                        QString tooltip;
 
650
                                }
 
651
                                namespace greekStrongs {
 
652
                                        QString tooltip;
 
653
                                }
 
654
                                namespace hebrewMorph {
 
655
                                        QString tooltip;
 
656
                                }
 
657
                                namespace greekMorph {
 
658
                                        QString tooltip;
 
659
                                }
 
660
                        }
 
661
                }
 
662
                namespace keys {
 
663
                        const QString icon = "key_bindings";
 
664
                }
 
665
        }
 
666
 
 
667
        namespace mainIndex { //Main menu->Settings
 
668
                namespace search {
 
669
                        QString tooltip;
 
670
 
 
671
                        const QString icon        = "find";
 
672
                        const KShortcut accel     = Qt::CTRL + Qt::ALT + Qt::Key_M;
 
673
                        const char* actionName    = "GMsearch_action";
 
674
                }
 
675
                namespace newFolder {
 
676
                        const QString icon = "folder_new";
 
677
                }
 
678
                namespace changeFolder {
 
679
                        const QString icon = "folder";
 
680
                }
 
681
                namespace openedFolder {
 
682
                        const QString icon = "folder_open";
 
683
                }
 
684
                namespace closedFolder {
 
685
                        const QString icon = "folder";
 
686
                }
 
687
 
 
688
                namespace bookmark {
 
689
                        const QString icon = "bookmark";
 
690
                }
 
691
                namespace changeBookmark {
 
692
                        const QString icon = "bookmark";
 
693
                }
 
694
                namespace importBookmarks {
 
695
                        const QString icon = "bookmark";
 
696
                }
 
697
                namespace exportBookmarks {
 
698
                        const QString icon = "bookmark";
 
699
                }
 
700
                namespace printBookmarks {
 
701
                        const QString icon = "fileprint";
 
702
                }
 
703
                namespace deleteItems {
 
704
                        const QString icon = "filedelete";
 
705
                }
 
706
 
 
707
                namespace editModuleMenu {
 
708
                        const QString icon = "pencil";
 
709
                }
 
710
                namespace editModulePlain {
 
711
                        const QString icon = "pencil";
 
712
                }
 
713
                namespace editModuleHTML {
 
714
                        const QString icon = "pencil";
 
715
                }
 
716
 
 
717
                namespace unlockModule {
 
718
                        const QString icon = "unlock";
 
719
                }
 
720
                namespace aboutModule {
 
721
                        const QString icon = "info";
 
722
                }
 
723
        }
 
724
}
 
725
 
 
726
 
 
727
 
 
728
namespace CResMgr {
 
729
        void init_i18n() {
 
730
                using namespace CResMgr;
 
731
                {
 
732
                        using namespace mainMenu;
 
733
                        {
 
734
                                using namespace file;
 
735
                                {
 
736
                                        using namespace print;
 
737
                                        tooltip     = i18n ("Open the printer dialog of BibleTime, where you can edit the print queue, assign styles to the items and print them.") ;
 
738
                                }
 
739
                                {
 
740
                                        using namespace quit;
 
741
                                        tooltip     = i18n ("Close BibleTime and save the settings.") ;
 
742
                                }
 
743
 
 
744
                                {
 
745
                                        using namespace view;
 
746
                                        {
 
747
                                                using namespace showMainIndex;
 
748
                                                tooltip     = i18n ("Show or hide the bookshelf.") ;
 
749
                                        }
 
750
                                        {
 
751
                                                using namespace showToolBar;
 
752
                                                tooltip     = i18n ("Toggle the main toolbar view.") ;
 
753
                                        }
 
754
                                }
 
755
 
 
756
                                {
 
757
                                        using namespace mainMenu::mainIndex;
 
758
                                        {
 
759
                                                using namespace search;
 
760
                                                tooltip     = i18n ("Open the search dialog to search in all works that are currently open.") ;
 
761
                                        }
 
762
                                        {
 
763
                                                using namespace searchdefaultbible;
 
764
                                                tooltip     = i18n ("Open the search dialog to search in the standard Bible.") ;
 
765
                                        }
 
766
                                };
 
767
 
 
768
                                {
 
769
                                        using namespace window;
 
770
                                        {
 
771
                                                using namespace loadProfile;
 
772
                                                tooltip     = i18n ("Restore a saved BibleTime session.") ;
 
773
                                        }
 
774
                                        {
 
775
                                                using namespace saveProfile;
 
776
                                                tooltip     = i18n ("Save current BibleTime session so that it can be reused later.") ;
 
777
                                        }
 
778
                                        {
 
779
                                                using namespace saveToNewProfile;
 
780
                                                tooltip     = i18n ("Create and save a new session.") ;
 
781
                                        }
 
782
                                        {
 
783
                                                using namespace deleteProfile;
 
784
                                                tooltip     = i18n ("Delete a BibleTime session.") ;
 
785
                                        }
 
786
                                        {
 
787
                                                using namespace showFullscreen;
 
788
                                                tooltip     = i18n ("Toggle fullscreen mode of the main window.") ;
 
789
                                        }
 
790
                                        {
 
791
                                                using namespace tileVertical;
 
792
                                                tooltip     = i18n ("Vertically tile the open windows.") ;
 
793
                                        }
 
794
                                        {
 
795
                                                using namespace tileHorizontal;
 
796
                                                tooltip     = i18n ("Horizontally tile the open windows.") ;
 
797
                                        }
 
798
                                        {
 
799
                                                using namespace cascade;
 
800
                                                tooltip     = i18n ("Cascade the open windows.") ;
 
801
                                        }
 
802
                                        {
 
803
                                                {
 
804
                                                        using namespace arrangementMode;
 
805
                                                        tooltip     = i18n ("Choose the way that is used to arrange the windows.") ;
 
806
                                                }
 
807
                                                {
 
808
                                                        using namespace arrangementMode::autoTileVertical;
 
809
                                                        tooltip     = i18n ("Automatically tile the open windows vertically.") ;
 
810
                                                }
 
811
                                                {
 
812
                                                        using namespace arrangementMode::autoTileHorizontal;
 
813
                                                        tooltip     = i18n ("Automatically tile the open windows horizontally.") ;
 
814
                                                }
 
815
                                                {
 
816
                                                        using namespace arrangementMode::autoCascade;
 
817
                                                        tooltip     = i18n ("Automatically cascade the open windows.") ;
 
818
                                                }
 
819
                                        }
 
820
                                        {
 
821
                                                using namespace closeAll;
 
822
                                                tooltip     = i18n ("Close all open windows.") ;
 
823
                                        }
 
824
                                }
 
825
 
 
826
                                {
 
827
                                        using namespace mainMenu::settings;
 
828
                                        {
 
829
                                                using namespace editToolBar;
 
830
                                                tooltip     = i18n ("Open BibleTime's toolbar editor.") ;
 
831
                                        }
 
832
                                        {
 
833
                                                using namespace optionsDialog;
 
834
                                                tooltip     = i18n ("Open the dialog to set most of BibleTime's preferences.") ;
 
835
                                        };
 
836
                                        {
 
837
                                                using namespace swordSetupDialog;
 
838
                                                tooltip     = i18n ("Open the dialog to configure your bookshelf and install/update/remove works.") ;
 
839
                                        }
 
840
 
 
841
                                }
 
842
 
 
843
                                {
 
844
                                        using namespace help;
 
845
                                        {
 
846
                                                using namespace handbook;
 
847
                                                tooltip     = i18n ("Open BibleTime's handbook in the KDE helpbrowser.") ;
 
848
                                        }
 
849
                                        {
 
850
                                                using namespace bibleStudyHowTo;
 
851
                                                tooltip     = i18n ("Open the Bible study HowTo included with BibleTime in the KDE helpbrowser. <BR>This HowTo is an introduction on how to study the Bible in an efficient way.") ;
 
852
                                        }
 
853
                                        {
 
854
                                                using namespace bugreport;
 
855
                                                tooltip     = i18n ("Send a bugreport to the developers of BibleTime.") ;
 
856
                                        }
 
857
                                        {
 
858
                                                using namespace dailyTip;
 
859
                                                tooltip     = i18n ("Show a daily tip each time BibleTime starts. <BR>The tips contain important Bible quotations and helpful tips for using BibleTime.") ;
 
860
                                        }
 
861
                                        {
 
862
                                                using namespace aboutBibleTime;
 
863
                                                tooltip     = i18n ("Show detailed information about BibleTime.") ;
 
864
                                        }
 
865
                                        {
 
866
                                                using namespace aboutKDE;
 
867
                                                tooltip     = i18n ("Show detailed information about the KDE project.") ;
 
868
                                        }
 
869
                                }
 
870
                        }
 
871
                }
 
872
 
 
873
                {
 
874
                        using namespace searchdialog;
 
875
                        {
 
876
                                using namespace searchButton;
 
877
                                tooltip     = i18n ("Start to search the text in each of the chosen work(s).") ;
 
878
                        }
 
879
                        {
 
880
                                using namespace cancelSearchButton;
 
881
                                tooltip     = i18n ("Stop the active search.") ;
 
882
                        }
 
883
 
 
884
                        {
 
885
                                using namespace options;
 
886
                                {
 
887
                                        using namespace moduleChooserButton;
 
888
                                        tooltip     = i18n ("Open a dialog to choose work(s) for the search.") ;
 
889
                                }
 
890
                                {
 
891
                                        using namespace searchedText;
 
892
                                        tooltip     = i18n ("Enter the text you want to search in the chosen work(s) here.") ;
 
893
                                }
 
894
                                {
 
895
                                        using namespace searchType;
 
896
                                        {
 
897
                                                using namespace multipleWords_and;
 
898
                                                tooltip     = i18n ("Treat the search text as multiple words. A text must contain all of the words to match. The order of the words is unimportant.") ;
 
899
                                        }
 
900
                                        {
 
901
                                                using namespace multipleWords_or;
 
902
                                                tooltip     = i18n ("Treat the search text as multiple words. A text must contain one or more words of to match. The order is unimportant.") ;
 
903
                                        }
 
904
                                        {
 
905
                                                using namespace exactMatch;
 
906
                                                tooltip     = i18n ("The search text will be used exactly as entered.") ;
 
907
                                        }
 
908
                                        {
 
909
                                                using namespace regExp;
 
910
                                                tooltip     = i18n ("Treat the search string as a GNU regular expression. The BibleTime handbook contains an introduction to regular expressions.") ;
 
911
                                        }
 
912
                                }
 
913
 
 
914
                                {
 
915
                                        using namespace searchOptions;
 
916
                                        {
 
917
                                                using namespace caseSensitive;
 
918
                                                tooltip     = i18n ("If you choose this option the search will distinguish between upper and lowercase characters.") ;
 
919
                                        }
 
920
                                }
 
921
                                {
 
922
                                        using namespace chooseScope;
 
923
                                        tooltip     = i18n ("Choose a scope from the list. \
 
924
Select the first item to use no scope, the second one is to use each work's last search result as search scope. \
 
925
The others are user defined search scopes.");
 
926
                                }
 
927
                                {
 
928
                                        using namespace scopeEditor;
 
929
                                        {
 
930
                                                using namespace rangeList;
 
931
                                                tooltip     = i18n ("Select an item from the list to edit the search scope.") ;
 
932
                                        }
 
933
                                        {
 
934
                                                using namespace nameEdit;
 
935
                                                tooltip     = i18n ("Change the name of the selected search scope.") ;
 
936
                                        }
 
937
                                        {
 
938
                                                using namespace editRange;
 
939
                                                tooltip     = i18n ("Change the search ranges of the selected search scope item. Have a look at the predefined search scopes to see how search ranges are constructed.") ;
 
940
                                        }
 
941
                                        {
 
942
                                                using namespace parsedResult;
 
943
                                                tooltip     = i18n ("Contains the search ranges which will be used for the search.") ;
 
944
                                        }
 
945
                                        {
 
946
                                                using namespace addNewRange;
 
947
                                                tooltip     = i18n ("Add a new search scope. First enter an appropriate name, then edit the search ranges.") ;
 
948
                                        }
 
949
                                        {
 
950
                                                using namespace deleteCurrentRange;
 
951
                                                tooltip     = i18n ("Deletes the selected search scope. If you close the dialog using Cancel the settings won't be saved.") ;
 
952
                                        }
 
953
                                }
 
954
                        }
 
955
                        {
 
956
                                using namespace result;
 
957
                                {
 
958
                                        using namespace moduleList;
 
959
                                        tooltip     = i18n ("The list of works chosen for the search.") ;
 
960
                                }
 
961
                                {
 
962
                                        using namespace foundItems;
 
963
                                        tooltip     = i18n ("This list contains the search result of the selected work.") ;
 
964
                                }
 
965
                                {
 
966
                                        using namespace textPreview;
 
967
                                        tooltip     = i18n ("The text preview of the selected search result item.") ;
 
968
                                }
 
969
                        }
 
970
                }
 
971
 
 
972
                {
 
973
                        using namespace displaywindows;
 
974
                        {
 
975
                                using namespace general;
 
976
                                {
 
977
                                        {
 
978
                                                using namespace scrollButton;
 
979
                                                tooltip = i18n ("This button is useful to scroll through the entries of the list. Press the button and move the mouse to increase or decrease the item.") ;
 
980
                                        }
 
981
                                        {
 
982
                                                using namespace search;
 
983
                                                tooltip = i18n ("This button opens the search dialog with the work(s) of this window.") ;
 
984
 
 
985
                                        }
 
986
                                        {
 
987
                                                using namespace backInHistory;
 
988
                                                tooltip = i18n ("Go back one item in the display history.") ;
 
989
                                        }
 
990
                                        {
 
991
                                                using namespace forwardInHistory;
 
992
                                                tooltip = i18n ("Go forward one item in the display history.") ;
 
993
 
 
994
                                        }
 
995
                                        {
 
996
                                                using namespace findStrongs;
 
997
                                                tooltip = i18n ("Show all occurences of the Strong number currently under the mouse cursor.") ;
 
998
                                        }
 
999
                                }
 
1000
                                using namespace bibleWindow;
 
1001
                                {
 
1002
                                        using namespace bookList;
 
1003
                                        tooltip = i18n ("This list contains the books which are available in this work.") ;
 
1004
                                }
 
1005
                                {
 
1006
                                        using namespace nextBook;
 
1007
                                        tooltip = i18n ("Show the next book of this work.") ;
 
1008
                                }
 
1009
                                {
 
1010
                                        using namespace previousBook;
 
1011
                                        tooltip = i18n ("Show the previous book of this work.") ;
 
1012
                                }
 
1013
                                {
 
1014
                                        using namespace chapterList;
 
1015
                                        tooltip = i18n ("This list contains the chapters which are available in the current book.") ;
 
1016
                                }
 
1017
                                {
 
1018
                                        using namespace nextChapter;
 
1019
                                        tooltip = i18n ("Show the next chapter of the work.") ;
 
1020
                                }
 
1021
                                {
 
1022
                                        using namespace previousChapter;
 
1023
                                        tooltip = i18n ("Show the previous chapter of the work.") ;
 
1024
                                }
 
1025
                                {
 
1026
                                        using namespace verseList;
 
1027
                                        tooltip = i18n ("This list contains the verses which are available in the current chapter.") ;
 
1028
                                }
 
1029
                                {
 
1030
                                        using namespace nextVerse;
 
1031
                                        tooltip = i18n ("In  Bible texts, the next verse will be highlighted. In commentaries, the next entry will be shown.") ;
 
1032
 
 
1033
                                }
 
1034
                                {
 
1035
                                        using namespace previousVerse;
 
1036
                                        tooltip = i18n ("In Bible texts, the previous verse will be highlighted. In commentaries, the previous entry will be shown.") ;
 
1037
                                }
 
1038
                        }
 
1039
                        {
 
1040
                                using namespace commentaryWindow;
 
1041
                                {
 
1042
                                        using namespace syncWindow;
 
1043
                                        tooltip = i18n ("Synchronize the displayed entry of this work with the active Bible window.") ;
 
1044
                                }
 
1045
                        }
 
1046
                        {
 
1047
                                using namespace lexiconWindow;
 
1048
                                {
 
1049
                                        using namespace entryList;
 
1050
                                        tooltip = i18n ("This list contains the entries of the current work.") ;
 
1051
                                }
 
1052
                                {
 
1053
                                        using namespace nextEntry;
 
1054
                                        tooltip = i18n ("The next entry of the work will be shown.") ;
 
1055
                                }
 
1056
                                {
 
1057
                                        using namespace previousEntry;
 
1058
                                        tooltip = i18n ("The previous entry of the work will be shown.") ;
 
1059
                                }
 
1060
                        }
 
1061
 
 
1062
                        {
 
1063
                                using namespace writeWindow;
 
1064
                                {
 
1065
                                        using namespace saveText;
 
1066
                                        tooltip   = i18n ("Save the curent text into the work. The old text will be overwritten.") ;
 
1067
                                }
 
1068
                                {
 
1069
                                        using namespace restoreText;
 
1070
                                        tooltip   = i18n ("Loads the old text from the work and loads it into the edit area. The unsaved text will be lost.") ;
 
1071
                                }
 
1072
                                {
 
1073
                                        using namespace deleteEntry;
 
1074
                                        tooltip   = i18n ("Deletes the current entry out of the work. The text will be lost.") ;
 
1075
                                }
 
1076
 
 
1077
                                //formatting buttons
 
1078
                                {
 
1079
                                        using namespace boldText;
 
1080
                                        tooltip   = i18n ("Toggle bold formatting of the selected text.") ;
 
1081
                                }
 
1082
                                {
 
1083
                                        using namespace italicText;
 
1084
                                        tooltip   = i18n ("Toggle italic formatting of the selected text.") ;
 
1085
                                }
 
1086
                                {
 
1087
                                        using namespace underlinedText;
 
1088
                                        tooltip   = i18n ("Toggle underlined formatting of the selected text.") ;
 
1089
                                }
 
1090
 
 
1091
                                {
 
1092
                                        using namespace alignLeft;
 
1093
                                        tooltip   = i18n ("The text will be aligned on the left side of the page.") ;
 
1094
                                }
 
1095
                                {
 
1096
                                        using namespace alignCenter;
 
1097
                                        tooltip   = i18n ("Centers the text horizontally.") ;
 
1098
                                }
 
1099
                                {
 
1100
                                        using namespace alignRight;
 
1101
                                        tooltip   = i18n ("Aligns the text on the right side of the page.") ;
 
1102
                                }
 
1103
                                {
 
1104
                                        using namespace alignJustify;
 
1105
                                        tooltip   = i18n ("Justifies the text on the page.") ;
 
1106
                                }
 
1107
 
 
1108
                                {
 
1109
                                        using namespace fontFamily;
 
1110
                                        tooltip   = i18n ("Choose a new font for the selected text.") ;
 
1111
                                }
 
1112
                                { using namespace fontSize;
 
1113
                                        tooltip   = i18n ("Choose a new font size for the selected text.") ;
 
1114
                                }
 
1115
                                { using namespace fontColor;
 
1116
                                        tooltip   = i18n ("Choose a new color for the selected text.") ;
 
1117
                                }
 
1118
                        }
 
1119
                }
 
1120
                {
 
1121
                        using namespace settings;
 
1122
                        {
 
1123
                                using namespace startup;
 
1124
                                {
 
1125
                                        using namespace dailyTip;
 
1126
                                        tooltip   = i18n ("Activate this box to see a daily tip on startup.") ;
 
1127
                                }
 
1128
                                {
 
1129
                                        using namespace showLogo;
 
1130
                                        tooltip   = i18n ("Activate this to see the BibleTime logo on startup.") ;
 
1131
                                }
 
1132
                                {
 
1133
                                        using namespace restoreWorkingArea;
 
1134
                                        tooltip   = i18n ("Save the user's session when BibleTime is closed and restore it on the next startup.") ;
 
1135
                                }
 
1136
                        }
 
1137
                        {
 
1138
                                using namespace fonts;
 
1139
                                {
 
1140
                                        using namespace typeChooser;
 
1141
                                        tooltip   = i18n ("The font selection below will apply to all texts in this language.") ;
 
1142
                                }
 
1143
                        }
 
1144
                        {
 
1145
                                using namespace settings::sword;
 
1146
                                {
 
1147
                                        using namespace general;
 
1148
                                        {
 
1149
                                                using namespace language;
 
1150
                                                tooltip   = i18n ("Contains the languages which can be used for the biblical booknames.") ;
 
1151
                                        }
 
1152
                                }
 
1153
                                {
 
1154
                                        using namespace settings::sword::modules;
 
1155
                                        {
 
1156
                                                using namespace bible;
 
1157
                                                tooltip   = i18n ("The standard Bible is used when a hyperlink into a Bible is clicked.") ;
 
1158
                                        }
 
1159
                                        {
 
1160
                                                using namespace commentary;
 
1161
                                                tooltip   = i18n ("The standard commentary is used when a hyperlink into a commentary is clicked.") ;
 
1162
                                        }
 
1163
                                        {
 
1164
                                                using namespace lexicon;
 
1165
                                                tooltip   = i18n ("The standard lexicon is used when a hyperlink into a lexicon is clicked.") ;
 
1166
                                        }
 
1167
                                        {
 
1168
                                                using namespace dailyDevotional;
 
1169
                                                tooltip   = i18n ("The standard devotional will be used to display a short start up devotional.") ;
 
1170
                                        }
 
1171
                                        {
 
1172
                                                using namespace hebrewStrongs;
 
1173
                                                tooltip   = i18n ("The standard Hebrew lexicon is used when a hyperlink into a Hebrew lexicon is clicked.") ;
 
1174
                                        }
 
1175
                                        {
 
1176
                                                using namespace greekStrongs;
 
1177
                                                tooltip   = i18n ("The standard Greek lexicon is used when a hyperlink into a Greek lexicon is clicked.") ;
 
1178
                                        }
 
1179
                                        {
 
1180
                                                using namespace hebrewMorph;
 
1181
                                                tooltip   = i18n ("The standard morphological lexicon for Hebrew texts is used when a hyperlink of a morphological tag in a Hebrew text is clicked.") ;
 
1182
                                        }
 
1183
                                        {
 
1184
                                                using namespace greekMorph;
 
1185
                                                tooltip   = i18n ("The standard morphological lexicon for Greek texts is used when a hyperlink of a morphological tag in a Greek text is clicked.") ;
 
1186
                                        }
 
1187
                                }
 
1188
                        }
 
1189
                }
 
1190
                {
 
1191
                        using namespace mainIndex;
 
1192
                        {
 
1193
                                using namespace search;
 
1194
                                tooltip     = i18n ("Opens the search dialog to search in the work(s) that are currently open.") ;
 
1195
                        }
 
1196
                }
 
1197
        }
 
1198
}