alexandria-book-collection-manager 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +28 -25
  3. data/.rubocop_todo.yml +87 -67
  4. data/CHANGELOG.md +12 -1
  5. data/Gemfile +4 -3
  6. data/README.md +16 -6
  7. data/Rakefile +71 -72
  8. data/alexandria-book-collection-manager.gemspec +44 -44
  9. data/bin/alexandria +12 -12
  10. data/lib/alexandria.rb +22 -22
  11. data/lib/alexandria/about.rb +50 -50
  12. data/lib/alexandria/book_providers.rb +50 -50
  13. data/lib/alexandria/book_providers/adlibris.rb +28 -44
  14. data/lib/alexandria/book_providers/amazon_aws.rb +64 -64
  15. data/lib/alexandria/book_providers/amazon_ecs_util.rb +52 -78
  16. data/lib/alexandria/book_providers/barnes_and_noble.rb +34 -34
  17. data/lib/alexandria/book_providers/douban.rb +21 -37
  18. data/lib/alexandria/book_providers/proxis.rb +24 -24
  19. data/lib/alexandria/book_providers/pseudomarc.rb +19 -19
  20. data/lib/alexandria/book_providers/renaud.rb +44 -57
  21. data/lib/alexandria/book_providers/siciliano.rb +39 -39
  22. data/lib/alexandria/book_providers/thalia.rb +33 -33
  23. data/lib/alexandria/book_providers/web.rb +5 -5
  24. data/lib/alexandria/book_providers/worldcat.rb +44 -69
  25. data/lib/alexandria/book_providers/z3950.rb +94 -109
  26. data/lib/alexandria/config.rb +1 -1
  27. data/lib/alexandria/console.rb +3 -3
  28. data/lib/alexandria/export_format.rb +8 -8
  29. data/lib/alexandria/export_library.rb +112 -113
  30. data/lib/alexandria/import_library.rb +45 -45
  31. data/lib/alexandria/import_library_csv.rb +30 -30
  32. data/lib/alexandria/library_collection.rb +4 -4
  33. data/lib/alexandria/library_sort_order.rb +1 -1
  34. data/lib/alexandria/library_store.rb +14 -14
  35. data/lib/alexandria/logging.rb +5 -5
  36. data/lib/alexandria/models/book.rb +1 -1
  37. data/lib/alexandria/models/library.rb +36 -36
  38. data/lib/alexandria/net.rb +5 -5
  39. data/lib/alexandria/preferences.rb +32 -32
  40. data/lib/alexandria/scanners/{cuecat.rb → cue_cat.rb} +13 -13
  41. data/lib/alexandria/scanners/keyboard.rb +5 -5
  42. data/lib/alexandria/smart_library.rb +53 -53
  43. data/lib/alexandria/ui.rb +15 -15
  44. data/lib/alexandria/ui/{dialogs/about_dialog.rb → about_dialog.rb} +1 -1
  45. data/lib/alexandria/ui/{dialogs/acquire_dialog.rb → acquire_dialog.rb} +66 -65
  46. data/lib/alexandria/ui/{dialogs/alert_dialog.rb → alert_dialog.rb} +1 -16
  47. data/lib/alexandria/ui/{dialogs/bad_isbns_dialog.rb → bad_isbns_dialog.rb} +0 -0
  48. data/lib/alexandria/ui/{dialogs/barcode_animation.rb → barcode_animation.rb} +7 -7
  49. data/lib/alexandria/ui/{dialogs/book_properties_dialog.rb → book_properties_dialog.rb} +25 -37
  50. data/lib/alexandria/ui/{dialogs/book_properties_dialog_base.rb → book_properties_dialog_base.rb} +38 -37
  51. data/lib/alexandria/ui/builder_base.rb +1 -1
  52. data/lib/alexandria/ui/callbacks.rb +95 -91
  53. data/lib/alexandria/ui/completion_models.rb +7 -21
  54. data/lib/alexandria/ui/confirm_erase_dialog.rb +33 -0
  55. data/lib/alexandria/ui/conflict_while_copying_dialog.rb +34 -0
  56. data/lib/alexandria/ui/dndable.rb +7 -7
  57. data/lib/alexandria/ui/error_dialog.rb +25 -0
  58. data/lib/alexandria/ui/{dialogs/export_dialog.rb → export_dialog.rb} +22 -42
  59. data/lib/alexandria/ui/icons.rb +6 -6
  60. data/lib/alexandria/ui/iconview.rb +7 -7
  61. data/lib/alexandria/ui/iconview_tooltips.rb +6 -6
  62. data/lib/alexandria/ui/{dialogs/import_dialog.rb → import_dialog.rb} +14 -32
  63. data/lib/alexandria/ui/init.rb +16 -29
  64. data/lib/alexandria/ui/{dialogs/keep_bad_isbn_dialog.rb → keep_bad_isbn_dialog.rb} +6 -4
  65. data/lib/alexandria/ui/libraries_combo.rb +7 -7
  66. data/lib/alexandria/ui/listview.rb +40 -40
  67. data/lib/alexandria/ui/main_app.rb +22 -24
  68. data/lib/alexandria/ui/misc_dialogs.rb +10 -0
  69. data/lib/alexandria/ui/multi_drag_treeview.rb +4 -4
  70. data/lib/alexandria/ui/{dialogs/new_book_dialog.rb → new_book_dialog.rb} +46 -45
  71. data/lib/alexandria/ui/{dialogs/new_book_dialog_manual.rb → new_book_dialog_manual.rb} +20 -19
  72. data/lib/alexandria/ui/new_provider_dialog.rb +99 -0
  73. data/lib/alexandria/ui/{dialogs/new_smart_library_dialog.rb → new_smart_library_dialog.rb} +4 -4
  74. data/lib/alexandria/ui/{dialogs/preferences_dialog.rb → preferences_dialog.rb} +44 -235
  75. data/lib/alexandria/ui/provider_preferences_base_dialog.rb +90 -0
  76. data/lib/alexandria/ui/provider_preferences_dialog.rb +35 -0
  77. data/lib/alexandria/ui/{dialogs/misc_dialogs.rb → really_delete_dialog.rb} +6 -27
  78. data/lib/alexandria/ui/{sidepane.rb → sidepane_manager.rb} +27 -25
  79. data/lib/alexandria/ui/skip_entry_dialog.rb +32 -0
  80. data/lib/alexandria/ui/{dialogs/smart_library_properties_dialog.rb → smart_library_properties_dialog.rb} +2 -2
  81. data/lib/alexandria/ui/{dialogs/smart_library_properties_dialog_base.rb → smart_library_properties_dialog_base.rb} +30 -30
  82. data/lib/alexandria/ui/sound.rb +8 -8
  83. data/lib/alexandria/ui/ui_manager.rb +136 -135
  84. data/lib/alexandria/version.rb +4 -19
  85. data/lib/alexandria/web_themes.rb +8 -8
  86. data/po/cs.po +97 -97
  87. data/po/cy.po +97 -97
  88. data/po/de.po +97 -97
  89. data/po/el.po +97 -97
  90. data/po/es.po +97 -97
  91. data/po/fr.po +97 -97
  92. data/po/ga.po +97 -97
  93. data/po/gl.po +97 -97
  94. data/po/it.po +97 -97
  95. data/po/ja.po +97 -97
  96. data/po/mk.po +97 -97
  97. data/po/nb.po +97 -97
  98. data/po/nl.po +97 -97
  99. data/po/pl.po +97 -97
  100. data/po/pt.po +97 -97
  101. data/po/pt_BR.po +97 -97
  102. data/po/ru.po +97 -97
  103. data/po/sk.po +97 -97
  104. data/po/sv.po +97 -97
  105. data/po/uk.po +97 -97
  106. data/po/zh_TW.po +97 -97
  107. data/schemas/alexandria.schemas +24 -2
  108. data/spec/alexandria/book_providers_spec.rb +65 -82
  109. data/spec/alexandria/book_spec.rb +12 -10
  110. data/spec/alexandria/console_spec.rb +9 -9
  111. data/spec/alexandria/export_library_spec.rb +31 -31
  112. data/spec/alexandria/library_spec.rb +86 -86
  113. data/spec/alexandria/library_store_spec.rb +8 -8
  114. data/spec/alexandria/preferences_spec.rb +18 -17
  115. data/spec/alexandria/scanners/cue_cat_spec.rb +52 -0
  116. data/spec/alexandria/smart_library_spec.rb +15 -15
  117. data/spec/alexandria/ui/about_dialog_spec.rb +14 -0
  118. data/spec/alexandria/ui/acquire_dialog_spec.rb +14 -0
  119. data/spec/alexandria/ui/alert_dialog_spec.rb +16 -0
  120. data/spec/alexandria/ui/bad_isbns_dialog_spec.rb +14 -0
  121. data/spec/alexandria/ui/book_properties_dialog_spec.rb +17 -0
  122. data/spec/alexandria/ui/confirm_erase_dialog_spec.rb +14 -0
  123. data/spec/alexandria/ui/conflict_while_copying_dialog_spec.rb +16 -0
  124. data/spec/alexandria/ui/error_dialog_spec.rb +14 -0
  125. data/spec/alexandria/ui/export_dialog_spec.rb +15 -0
  126. data/spec/alexandria/ui/iconview_spec.rb +7 -21
  127. data/spec/alexandria/ui/import_dialog_spec.rb +14 -0
  128. data/spec/alexandria/ui/keep_bad_isbn_dialog_spec.rb +17 -0
  129. data/spec/alexandria/ui/main_app_spec.rb +6 -6
  130. data/spec/alexandria/ui/new_book_dialog_manual_spec.rb +15 -0
  131. data/spec/alexandria/ui/{dialogs/new_book_dialog_spec.rb → new_book_dialog_spec.rb} +4 -4
  132. data/spec/alexandria/ui/new_provider_dialog_spec.rb +14 -0
  133. data/spec/alexandria/ui/new_smart_library_dialog_spec.rb +14 -0
  134. data/spec/alexandria/ui/preferences_dialog_spec.rb +14 -0
  135. data/spec/alexandria/ui/provider_preferences_dialog_spec.rb +19 -0
  136. data/spec/alexandria/ui/really_delete_dialog_spec.rb +15 -0
  137. data/spec/alexandria/ui/sidepane_manager_spec.rb +15 -0
  138. data/spec/alexandria/ui/skip_entry_dialog_spec.rb +14 -0
  139. data/spec/alexandria/ui/smart_library_properties_dialog_spec.rb +18 -0
  140. data/spec/alexandria/ui/sound_spec.rb +2 -2
  141. data/spec/alexandria/ui/ui_manager_spec.rb +6 -20
  142. data/spec/alexandria/ui/ui_utilities_spec.rb +9 -9
  143. data/spec/alexandria/utilities_spec.rb +6 -6
  144. data/spec/end_to_end/basic_run_spec.rb +24 -36
  145. data/spec/spec_helper.rb +9 -9
  146. data/tasks/dogtail.rake +1 -1
  147. data/tasks/setup.rb +2 -2
  148. data/tasks/spec.rake +11 -11
  149. data/util/rake/fileinstall.rb +25 -25
  150. data/util/rake/gettextgenerate.rb +7 -7
  151. data/util/rake/omfgenerate.rb +7 -7
  152. metadata +59 -33
  153. data/spec/alexandria/scanners/cuecat_spec.rb +0 -67
  154. data/spec/alexandria/ui/dialogs_spec.rb +0 -162
  155. data/spec/alexandria/ui/sidepane_spec.rb +0 -29
data/po/cy.po CHANGED
@@ -181,7 +181,7 @@ msgid "The following lines are not valid ISBNs and were not imported:"
181
181
  msgstr ""
182
182
 
183
183
  #: ../lib/alexandria/ui/callbacks.rb:122
184
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:128
184
+ #: ../lib/alexandria/ui/export_dialog.rb:128
185
185
  msgid "Export failed"
186
186
  msgstr "Methwyd allforio"
187
187
 
@@ -469,192 +469,192 @@ msgstr "Yn Ôl _Barn"
469
469
  msgid "At _%s"
470
470
  msgstr "At _%s"
471
471
 
472
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:395
472
+ #: ../lib/alexandria/ui/acquire_dialog.rb:395
473
473
  msgid "There was %d duplicate"
474
474
  msgid_plural "There were %d duplicates"
475
475
  msgstr[0] ""
476
476
  msgstr[1] ""
477
477
 
478
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:398
478
+ #: ../lib/alexandria/ui/acquire_dialog.rb:398
479
479
  #, fuzzy
480
480
  msgid "Couldn't add this book"
481
481
  msgid_plural "Couldn't add these books"
482
482
  msgstr[0] "Methwyd ychwanegu'r llyfr"
483
483
  msgstr[1] "Methwyd ychwanegu'r llyfr"
484
484
 
485
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:477
486
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:555
485
+ #: ../lib/alexandria/ui/acquire_dialog.rb:477
486
+ #: ../lib/alexandria/ui/new_book_dialog.rb:555
487
487
  msgid "Searching Provider '%s'..."
488
488
  msgstr ""
489
489
 
490
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:478
491
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:556
490
+ #: ../lib/alexandria/ui/acquire_dialog.rb:478
491
+ #: ../lib/alexandria/ui/new_book_dialog.rb:556
492
492
  msgid "Error while Searching Provider '%s'"
493
493
  msgstr ""
494
494
 
495
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:479
496
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:557
495
+ #: ../lib/alexandria/ui/acquire_dialog.rb:479
496
+ #: ../lib/alexandria/ui/new_book_dialog.rb:557
497
497
  msgid "Not Found at Provider '%s'"
498
498
  msgstr ""
499
499
 
500
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:480
501
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:558
500
+ #: ../lib/alexandria/ui/acquire_dialog.rb:480
501
+ #: ../lib/alexandria/ui/new_book_dialog.rb:558
502
502
  msgid "Found at Provider '%s'"
503
503
  msgstr ""
504
504
 
505
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:610
505
+ #: ../lib/alexandria/ui/acquire_dialog.rb:610
506
506
  msgid "Ready to use %s barcode scanner"
507
507
  msgstr ""
508
508
 
509
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:625
509
+ #: ../lib/alexandria/ui/acquire_dialog.rb:625
510
510
  #: ../data/alexandria/glade/acquire_dialog.glade:26
511
511
  msgid "_Barcode Scanner Ready"
512
512
  msgstr ""
513
513
 
514
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:640
514
+ #: ../lib/alexandria/ui/acquire_dialog.rb:640
515
515
  msgid "Click below to scan _barcodes"
516
516
  msgstr ""
517
517
 
518
- #: ../lib/alexandria/ui/dialogs/bad_isbns_dialog.rb:24
518
+ #: ../lib/alexandria/ui/bad_isbns_dialog.rb:24
519
519
  msgid "There's a problem"
520
520
  msgstr ""
521
521
 
522
- #: ../lib/alexandria/ui/dialogs/new_smart_library_dialog.rb:30
522
+ #: ../lib/alexandria/ui/new_smart_library_dialog.rb:30
523
523
  #, fuzzy
524
524
  msgid "New Smart Library"
525
525
  msgstr "Mewnforio Llyfrgell"
526
526
 
527
- #: ../lib/alexandria/ui/dialogs/new_smart_library_dialog.rb:49
527
+ #: ../lib/alexandria/ui/new_smart_library_dialog.rb:49
528
528
  #, fuzzy
529
529
  msgid "Smart Library"
530
530
  msgstr "Mewnforio Llyfrgell"
531
531
 
532
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:106
532
+ #: ../lib/alexandria/ui/preferences_dialog.rb:106
533
533
  msgid "Preferences for %s"
534
534
  msgstr "Hoffteray ar gyfer %s"
535
535
 
536
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:131
536
+ #: ../lib/alexandria/ui/preferences_dialog.rb:131
537
537
  #, fuzzy
538
538
  msgid "New Provider"
539
539
  msgstr "Darparwyr"
540
540
 
541
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:146
541
+ #: ../lib/alexandria/ui/preferences_dialog.rb:146
542
542
  #, fuzzy
543
543
  msgid "_Name:"
544
544
  msgstr "_Thema:"
545
545
 
546
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:158
546
+ #: ../lib/alexandria/ui/preferences_dialog.rb:158
547
547
  #, fuzzy
548
548
  msgid "_Type:"
549
549
  msgstr "_Thema:"
550
550
 
551
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:316
552
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:339
553
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:359
551
+ #: ../lib/alexandria/ui/preferences_dialog.rb:316
552
+ #: ../lib/alexandria/ui/preferences_dialog.rb:339
553
+ #: ../lib/alexandria/ui/preferences_dialog.rb:359
554
554
  #, fuzzy
555
555
  msgid "Disable Provider"
556
556
  msgstr "Darparwyr"
557
557
 
558
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:339
559
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:359
558
+ #: ../lib/alexandria/ui/preferences_dialog.rb:339
559
+ #: ../lib/alexandria/ui/preferences_dialog.rb:359
560
560
  #, fuzzy
561
561
  msgid "Enable Provider"
562
562
  msgstr "Darparwyr"
563
563
 
564
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:423
564
+ #: ../lib/alexandria/ui/preferences_dialog.rb:423
565
565
  #, fuzzy
566
566
  msgid "Are you sure you want to permanently delete the provider '%s'?"
567
567
  msgstr "Ydych chi'n siŵr eich bod chi am ddileu '%s'?"
568
568
 
569
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:431
569
+ #: ../lib/alexandria/ui/preferences_dialog.rb:431
570
570
  #, fuzzy
571
571
  msgid ""
572
572
  "If you continue, the provider and all of its preferences will be permanently "
573
573
  "deleted."
574
574
  msgstr "Os ydych chi'n mynd ymlaen, caiff y dewis ei ddileu."
575
575
 
576
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:36
576
+ #: ../lib/alexandria/ui/import_dialog.rb:36
577
577
  msgid "Error while importing"
578
578
  msgstr "Gwall wrth fewnforio"
579
579
 
580
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:39
580
+ #: ../lib/alexandria/ui/import_dialog.rb:39
581
581
  msgid "_Continue"
582
582
  msgstr "_Mynd Ymlaen"
583
583
 
584
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:64
584
+ #: ../lib/alexandria/ui/import_dialog.rb:64
585
585
  msgid "Import a Library"
586
586
  msgstr "Mewnforio Llyfrgell"
587
587
 
588
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:71
588
+ #: ../lib/alexandria/ui/import_dialog.rb:71
589
589
  #, fuzzy
590
590
  msgid "_Import"
591
591
  msgstr "Mewnforio"
592
592
 
593
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:188
593
+ #: ../lib/alexandria/ui/import_dialog.rb:188
594
594
  msgid "Couldn't import the library"
595
595
  msgstr "Methwyd mewnforio'r llyfrgell"
596
596
 
597
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:189
597
+ #: ../lib/alexandria/ui/import_dialog.rb:189
598
598
  msgid ""
599
599
  "The format of the file you provided is unknown. Please retry with another "
600
600
  "file."
601
601
  msgstr ""
602
602
  "Mae fformat y ffeil fe rhoddoch yn anhysbys. Ceisiwch eto gyda ffeil arall."
603
603
 
604
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog.rb:30
605
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:63
604
+ #: ../lib/alexandria/ui/smart_library_properties_dialog.rb:30
605
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:63
606
606
  #, fuzzy
607
607
  msgid "Properties for '%s'"
608
608
  msgstr "Hoffteray ar gyfer %s"
609
609
 
610
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:83
610
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:83
611
611
  msgid "Empty or conflictive condition"
612
612
  msgstr ""
613
613
 
614
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:86
614
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:86
615
615
  msgid "_Save However"
616
616
  msgstr ""
617
617
 
618
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:87
618
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:87
619
619
  msgid ""
620
620
  "This smart library contains one or more conditions which are empty or "
621
621
  "conflict with each other. This is likely to result in never matching a book. "
622
622
  "Are you sure you want to save this library?"
623
623
  msgstr ""
624
624
 
625
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:106
625
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:106
626
626
  msgid "Match"
627
627
  msgstr ""
628
628
 
629
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:109
629
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:109
630
630
  msgid "all"
631
631
  msgstr ""
632
632
 
633
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:109
633
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:109
634
634
  msgid "any"
635
635
  msgstr ""
636
636
 
637
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:119
637
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:119
638
638
  msgid "of the following rules:"
639
639
  msgstr ""
640
640
 
641
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:127
641
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:127
642
642
  msgid "Match the following rule:"
643
643
  msgstr ""
644
644
 
645
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:114
646
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:123
645
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:114
646
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:123
647
647
  msgid "Couldn't modify the book"
648
648
  msgstr "Methwyd newid y llyfr"
649
649
 
650
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:115
651
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:88
650
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:115
651
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:88
652
652
  msgid "The EAN/ISBN you provided is already used in this library."
653
653
  msgstr ""
654
654
  "Mae llyfr a'r EAN/ISBN a rhoddoch yn bodoli yn y llyfrgell hwn eisioes."
655
655
 
656
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:124
657
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:94
656
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:124
657
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:94
658
658
  msgid ""
659
659
  "Couldn't validate the EAN/ISBN you provided. Make sure it is written "
660
660
  "correcty, and try again."
@@ -662,71 +662,71 @@ msgstr ""
662
662
  "Methwyd dilysu yr EAN/ISBN a rhoddwyd. Sicrhewch ei fod wedi ei ysgrifennu'n "
663
663
  "gywir, a ceisiwch eto."
664
664
 
665
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:65
665
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:65
666
666
  #, fuzzy
667
667
  msgid "Properties"
668
668
  msgstr "_Priodweddau"
669
669
 
670
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:71
670
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:71
671
671
  msgid "Author"
672
672
  msgstr "Awdur"
673
673
 
674
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:123
674
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:123
675
675
  msgid "Select a cover image"
676
676
  msgstr "Dewis delwedd gorchydd"
677
677
 
678
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:127
678
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:127
679
679
  #, fuzzy
680
680
  msgid "No Cover"
681
681
  msgstr "_Gorchydd:"
682
682
 
683
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:186
683
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:186
684
684
  msgid "%d day"
685
685
  msgid_plural "%d days"
686
686
  msgstr[0] "%d diwrnod"
687
687
  msgstr[1] "%d ddiwrnod"
688
688
 
689
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:58
689
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:58
690
690
  #, fuzzy
691
691
  msgid "Adding '%s'"
692
692
  msgstr "Yn '_%s'"
693
693
 
694
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:60
694
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:60
695
695
  #: ../data/alexandria/glade/new_book_dialog.glade:8
696
696
  msgid "Adding a Book"
697
697
  msgstr "Ychwanegu Llyfr"
698
698
 
699
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:81
699
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:81
700
700
  msgid "A title must be provided."
701
701
  msgstr "Rhaid penodi teitl."
702
702
 
703
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:102
703
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:102
704
704
  msgid "A publisher must be provided."
705
705
  msgstr "Rhaid penodi cyhoeddwr."
706
706
 
707
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:109
707
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:109
708
708
  msgid "A binding must be provided."
709
709
  msgstr "Rhaid penodi rhwymiad."
710
710
 
711
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:115
711
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:115
712
712
  msgid "At least one author must be provided."
713
713
  msgstr "Rhaid penodi o leiaf un awdur."
714
714
 
715
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:142
716
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:523
715
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:142
716
+ #: ../lib/alexandria/ui/new_book_dialog.rb:523
717
717
  msgid "Couldn't add the book"
718
718
  msgstr "Methwyd ychwanegu'r llyfr"
719
719
 
720
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:25
720
+ #: ../lib/alexandria/ui/export_dialog.rb:25
721
721
  msgid "File already exists"
722
722
  msgstr "Mae'r ffeil yn bodoli eisioes"
723
723
 
724
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:28
725
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:30
724
+ #: ../lib/alexandria/ui/export_dialog.rb:28
725
+ #: ../lib/alexandria/ui/misc_dialogs.rb:30
726
726
  msgid "_Replace"
727
727
  msgstr "_Amnewid"
728
728
 
729
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:29
729
+ #: ../lib/alexandria/ui/export_dialog.rb:29
730
730
  msgid ""
731
731
  "A file named '%s' already exists. Do you want to replace it with the one "
732
732
  "you are generating?"
@@ -734,27 +734,27 @@ msgstr ""
734
734
  "Mae ffeil o'r enw '%s' yn bodoli eisioes. A hoffech ei amnewid â'r un rydych "
735
735
  "chi'n ei gynhyrchu?"
736
736
 
737
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:52
737
+ #: ../lib/alexandria/ui/export_dialog.rb:52
738
738
  msgid "Export '%s'"
739
739
  msgstr "Allforio '%s'"
740
740
 
741
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:58
741
+ #: ../lib/alexandria/ui/export_dialog.rb:58
742
742
  msgid "_Export"
743
743
  msgstr "_Allforio"
744
744
 
745
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:77
745
+ #: ../lib/alexandria/ui/export_dialog.rb:77
746
746
  msgid "_Theme:"
747
747
  msgstr "_Thema:"
748
748
 
749
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:87
749
+ #: ../lib/alexandria/ui/export_dialog.rb:87
750
750
  msgid "directory"
751
751
  msgstr "cyfeiriadur"
752
752
 
753
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:100
753
+ #: ../lib/alexandria/ui/export_dialog.rb:100
754
754
  msgid "Export for_mat:"
755
755
  msgstr "_Fformat allforio:"
756
756
 
757
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:155
757
+ #: ../lib/alexandria/ui/export_dialog.rb:155
758
758
  msgid ""
759
759
  "The target, named '%s', is a regular file. A directory is needed for this "
760
760
  "operation. Please select a directory and try again."
@@ -762,19 +762,19 @@ msgstr ""
762
762
  "Mae'r targed, a enwir '%s', yn ffeil. Mynnir cyfeiriadur ar gyfer y weithred "
763
763
  "hon. Dewiswch gyfeiriadur a cheisiwch eto."
764
764
 
765
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:159
765
+ #: ../lib/alexandria/ui/export_dialog.rb:159
766
766
  msgid "Not a directory"
767
767
  msgstr "Nid yw'n gyfeiriadur"
768
768
 
769
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:32
769
+ #: ../lib/alexandria/ui/new_book_dialog.rb:32
770
770
  msgid "Invalid ISBN '%s'"
771
771
  msgstr "ISBN annilys '%s'"
772
772
 
773
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:35
773
+ #: ../lib/alexandria/ui/new_book_dialog.rb:35
774
774
  msgid "_Keep"
775
775
  msgstr "_Cadw"
776
776
 
777
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:36
777
+ #: ../lib/alexandria/ui/new_book_dialog.rb:36
778
778
  msgid ""
779
779
  "The book titled '%s' has an invalid ISBN, but still exists in the providers "
780
780
  "libraries. Do you want to keep the book but change the ISBN or cancel the "
@@ -784,19 +784,19 @@ msgstr ""
784
784
  "llyfrgellau'r darparwyr. A ydyh chi am gadw'r llyfr ond newid yr ISBN neu "
785
785
  "ddiddymu ychwanegu'r llyfr?"
786
786
 
787
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:182
787
+ #: ../lib/alexandria/ui/new_book_dialog.rb:182
788
788
  msgid "A problem occurred while downloading images"
789
789
  msgstr ""
790
790
 
791
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:304
791
+ #: ../lib/alexandria/ui/new_book_dialog.rb:304
792
792
  msgid "Unable to find matches for your search"
793
793
  msgstr "Methwyd canfod canlyniadau ar gyfer eich ymchwil"
794
794
 
795
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:310
795
+ #: ../lib/alexandria/ui/new_book_dialog.rb:310
796
796
  msgid "%s, by %s"
797
797
  msgstr "%s, gan %s"
798
798
 
799
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:383
799
+ #: ../lib/alexandria/ui/new_book_dialog.rb:383
800
800
  #, fuzzy
801
801
  msgid ""
802
802
  "Couldn't validate the EAN/ISBN you provided. Make sure it is written "
@@ -805,77 +805,77 @@ msgstr ""
805
805
  "Methwyd dilysu yr EAN/ISBN a rhoddwyd. Sicrhewch ei fod wedi ei ysgrifennu'n "
806
806
  "gywir, a ceisiwch eto."
807
807
 
808
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:630
808
+ #: ../lib/alexandria/ui/new_book_dialog.rb:630
809
809
  msgid "'%s' already exists in '%s' (titled '%s')."
810
810
  msgstr "Mae '%s' yn bodoli yn '%s' eisioes (gyda'r teitl '%s')."
811
811
 
812
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:26
812
+ #: ../lib/alexandria/ui/misc_dialogs.rb:26
813
813
  msgid "The book '%s' already exists in '%s'. Would you like to replace it?"
814
814
  msgstr "Mae '%s' yn bodoli yn '%s' eisioes. A hoffech ei amnewid?"
815
815
 
816
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:29
816
+ #: ../lib/alexandria/ui/misc_dialogs.rb:29
817
817
  msgid "_Skip"
818
818
  msgstr "_Hepgor"
819
819
 
820
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:31
820
+ #: ../lib/alexandria/ui/misc_dialogs.rb:31
821
821
  msgid "If you replace the existing book, its contents will be overwritten."
822
822
  msgstr ""
823
823
  "Os ydych chi'n amnewid y llyfr sy'n bodoli, caiff ei gynnwys eu trosysgrifo."
824
824
 
825
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:50
825
+ #: ../lib/alexandria/ui/misc_dialogs.rb:50
826
826
  #, fuzzy
827
827
  msgid "Are you sure you want to delete '%s'?"
828
828
  msgstr "Ydych chi'n siŵr eich bod chi am ddileu '%s'?"
829
829
 
830
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:58
830
+ #: ../lib/alexandria/ui/misc_dialogs.rb:58
831
831
  #, fuzzy
832
832
  msgid "If you continue, %d book will be deleted."
833
833
  msgid_plural "If you continue, %d books will be deleted."
834
834
  msgstr[0] "Os ydych chi'n mynd ymlaen, caiff y dewis ei ddileu."
835
835
  msgstr[1] "Os ydych chi'n mynd ymlaen, caiff y dewis ei ddileu."
836
836
 
837
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:63
837
+ #: ../lib/alexandria/ui/misc_dialogs.rb:63
838
838
  #, fuzzy
839
839
  msgid "Are you sure you want to delete '%s' from '%s'?"
840
840
  msgstr "Ydych chi'n siŵr eich bod chi am ddileu '%s' o '%s'?"
841
841
 
842
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:66
842
+ #: ../lib/alexandria/ui/misc_dialogs.rb:66
843
843
  #, fuzzy
844
844
  msgid "Are you sure you want to delete the selected books from '%s'?"
845
845
  msgstr "Ydych chi'n siŵr eich bod chi am ddileu'r llyfrau dewisiedug o '%s'?"
846
846
 
847
- #: ../lib/alexandria/ui/sidepane.rb:49
847
+ #: ../lib/alexandria/ui/sidepane_manager.rb:49
848
848
  msgid "Invalid library name '%s'"
849
849
  msgstr "Enw llyfrgell annilys '%s'"
850
850
 
851
- #: ../lib/alexandria/ui/sidepane.rb:50
851
+ #: ../lib/alexandria/ui/sidepane_manager.rb:50
852
852
  #, fuzzy
853
853
  msgid "The name provided contains the disallowed character <b>%s</b> "
854
854
  msgstr "Mae'r enw a rhoddwyd yn cynnwys y nod annilys '<i>%s</i>'."
855
855
 
856
- #: ../lib/alexandria/ui/sidepane.rb:53
856
+ #: ../lib/alexandria/ui/sidepane_manager.rb:53
857
857
  #, fuzzy
858
858
  msgid "Invalid library name"
859
859
  msgstr "Enw llyfrgell annilys '%s'"
860
860
 
861
- #: ../lib/alexandria/ui/sidepane.rb:54
861
+ #: ../lib/alexandria/ui/sidepane_manager.rb:54
862
862
  #, fuzzy
863
863
  msgid "The name provided contains invalid characters."
864
864
  msgstr "Mae'r enw a rhoddwyd yn cynnwys y nod annilys '<i>%s</i>'."
865
865
 
866
- #: ../lib/alexandria/ui/sidepane.rb:60
866
+ #: ../lib/alexandria/ui/sidepane_manager.rb:60
867
867
  msgid "The library name can not be empty"
868
868
  msgstr "Ni chaiff new'r llyfrgell fod yn wag"
869
869
 
870
- #: ../lib/alexandria/ui/sidepane.rb:65
870
+ #: ../lib/alexandria/ui/sidepane_manager.rb:65
871
871
  msgid "The library can not be renamed"
872
872
  msgstr "Ni ellir ailenwi'r llyfrgell"
873
873
 
874
- #: ../lib/alexandria/ui/sidepane.rb:66
874
+ #: ../lib/alexandria/ui/sidepane_manager.rb:66
875
875
  msgid "There is already a library named '%s'. Please choose a different name."
876
876
  msgstr "Mae llyfrgell o'r enw '%s' eisioes. Dewiswch enw gwahanol."
877
877
 
878
- #: ../lib/alexandria/ui/sidepane.rb:92
878
+ #: ../lib/alexandria/ui/sidepane_manager.rb:92
879
879
  msgid "Library"
880
880
  msgstr "Llyfrgell"
881
881