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/sv.po CHANGED
@@ -179,7 +179,7 @@ msgid "The following lines are not valid ISBNs and were not imported:"
179
179
  msgstr "Följande rader är inte giltiga ISBN:er och importerades ej:"
180
180
 
181
181
  #: ../lib/alexandria/ui/callbacks.rb:122
182
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:128
182
+ #: ../lib/alexandria/ui/export_dialog.rb:128
183
183
  msgid "Export failed"
184
184
  msgstr "Misslyckades att exportera"
185
185
 
@@ -459,98 +459,98 @@ msgstr "Efter bet_yg"
459
459
  msgid "At _%s"
460
460
  msgstr "hos _%s"
461
461
 
462
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:395
462
+ #: ../lib/alexandria/ui/acquire_dialog.rb:395
463
463
  msgid "There was %d duplicate"
464
464
  msgid_plural "There were %d duplicates"
465
465
  msgstr[0] ""
466
466
  msgstr[1] ""
467
467
 
468
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:398
468
+ #: ../lib/alexandria/ui/acquire_dialog.rb:398
469
469
  #, fuzzy
470
470
  msgid "Couldn't add this book"
471
471
  msgid_plural "Couldn't add these books"
472
472
  msgstr[0] "Kunde inte lägga till boken"
473
473
  msgstr[1] "Kunde inte lägga till boken"
474
474
 
475
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:477
476
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:555
475
+ #: ../lib/alexandria/ui/acquire_dialog.rb:477
476
+ #: ../lib/alexandria/ui/new_book_dialog.rb:555
477
477
  msgid "Searching Provider '%s'..."
478
478
  msgstr ""
479
479
 
480
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:478
481
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:556
480
+ #: ../lib/alexandria/ui/acquire_dialog.rb:478
481
+ #: ../lib/alexandria/ui/new_book_dialog.rb:556
482
482
  msgid "Error while Searching Provider '%s'"
483
483
  msgstr ""
484
484
 
485
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:479
486
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:557
485
+ #: ../lib/alexandria/ui/acquire_dialog.rb:479
486
+ #: ../lib/alexandria/ui/new_book_dialog.rb:557
487
487
  msgid "Not Found at Provider '%s'"
488
488
  msgstr ""
489
489
 
490
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:480
491
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:558
490
+ #: ../lib/alexandria/ui/acquire_dialog.rb:480
491
+ #: ../lib/alexandria/ui/new_book_dialog.rb:558
492
492
  msgid "Found at Provider '%s'"
493
493
  msgstr ""
494
494
 
495
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:610
495
+ #: ../lib/alexandria/ui/acquire_dialog.rb:610
496
496
  msgid "Ready to use %s barcode scanner"
497
497
  msgstr ""
498
498
 
499
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:625
499
+ #: ../lib/alexandria/ui/acquire_dialog.rb:625
500
500
  #: ../data/alexandria/glade/acquire_dialog.glade:26
501
501
  msgid "_Barcode Scanner Ready"
502
502
  msgstr "_Streckkodsläsaren redo"
503
503
 
504
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:640
504
+ #: ../lib/alexandria/ui/acquire_dialog.rb:640
505
505
  msgid "Click below to scan _barcodes"
506
506
  msgstr "Klicka nedan för att scanna streckkoder"
507
507
 
508
- #: ../lib/alexandria/ui/dialogs/bad_isbns_dialog.rb:24
508
+ #: ../lib/alexandria/ui/bad_isbns_dialog.rb:24
509
509
  msgid "There's a problem"
510
510
  msgstr "Det uppstod ett problem"
511
511
 
512
- #: ../lib/alexandria/ui/dialogs/new_smart_library_dialog.rb:30
512
+ #: ../lib/alexandria/ui/new_smart_library_dialog.rb:30
513
513
  msgid "New Smart Library"
514
514
  msgstr "Nytt intelligent bibliotek"
515
515
 
516
- #: ../lib/alexandria/ui/dialogs/new_smart_library_dialog.rb:49
516
+ #: ../lib/alexandria/ui/new_smart_library_dialog.rb:49
517
517
  msgid "Smart Library"
518
518
  msgstr "Intelligent bibliotek"
519
519
 
520
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:106
520
+ #: ../lib/alexandria/ui/preferences_dialog.rb:106
521
521
  msgid "Preferences for %s"
522
522
  msgstr "Inställningar för %s"
523
523
 
524
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:131
524
+ #: ../lib/alexandria/ui/preferences_dialog.rb:131
525
525
  msgid "New Provider"
526
526
  msgstr "Ny förmedlare"
527
527
 
528
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:146
528
+ #: ../lib/alexandria/ui/preferences_dialog.rb:146
529
529
  msgid "_Name:"
530
530
  msgstr "_Namn:"
531
531
 
532
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:158
532
+ #: ../lib/alexandria/ui/preferences_dialog.rb:158
533
533
  msgid "_Type:"
534
534
  msgstr "_Typ:"
535
535
 
536
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:316
537
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:339
538
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:359
536
+ #: ../lib/alexandria/ui/preferences_dialog.rb:316
537
+ #: ../lib/alexandria/ui/preferences_dialog.rb:339
538
+ #: ../lib/alexandria/ui/preferences_dialog.rb:359
539
539
  #, fuzzy
540
540
  msgid "Disable Provider"
541
541
  msgstr "Ny förmedlare"
542
542
 
543
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:339
544
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:359
543
+ #: ../lib/alexandria/ui/preferences_dialog.rb:339
544
+ #: ../lib/alexandria/ui/preferences_dialog.rb:359
545
545
  #, fuzzy
546
546
  msgid "Enable Provider"
547
547
  msgstr "Ny förmedlare"
548
548
 
549
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:423
549
+ #: ../lib/alexandria/ui/preferences_dialog.rb:423
550
550
  msgid "Are you sure you want to permanently delete the provider '%s'?"
551
551
  msgstr "Är du säker på att du permanent vill radera förmedlaren \"%s\"?"
552
552
 
553
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:431
553
+ #: ../lib/alexandria/ui/preferences_dialog.rb:431
554
554
  msgid ""
555
555
  "If you continue, the provider and all of its preferences will be permanently "
556
556
  "deleted."
@@ -558,27 +558,27 @@ msgstr ""
558
558
  "Om du fortsätter kommer förmedlaren och alla dess inställningar att raderas "
559
559
  "permanent."
560
560
 
561
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:36
561
+ #: ../lib/alexandria/ui/import_dialog.rb:36
562
562
  msgid "Error while importing"
563
563
  msgstr "Fel vid import"
564
564
 
565
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:39
565
+ #: ../lib/alexandria/ui/import_dialog.rb:39
566
566
  msgid "_Continue"
567
567
  msgstr "_Fortsätt"
568
568
 
569
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:64
569
+ #: ../lib/alexandria/ui/import_dialog.rb:64
570
570
  msgid "Import a Library"
571
571
  msgstr "Importera ett bibliotek"
572
572
 
573
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:71
573
+ #: ../lib/alexandria/ui/import_dialog.rb:71
574
574
  msgid "_Import"
575
575
  msgstr "_Importera"
576
576
 
577
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:188
577
+ #: ../lib/alexandria/ui/import_dialog.rb:188
578
578
  msgid "Couldn't import the library"
579
579
  msgstr "Kunde inte importera biblioteket"
580
580
 
581
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:189
581
+ #: ../lib/alexandria/ui/import_dialog.rb:189
582
582
  msgid ""
583
583
  "The format of the file you provided is unknown. Please retry with another "
584
584
  "file."
@@ -586,20 +586,20 @@ msgstr ""
586
586
  "Formatet på filen du tillhandahållit är okänt. Var god försök igen med en "
587
587
  "annan fil."
588
588
 
589
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog.rb:30
590
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:63
589
+ #: ../lib/alexandria/ui/smart_library_properties_dialog.rb:30
590
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:63
591
591
  msgid "Properties for '%s'"
592
592
  msgstr "Egenskaper för %s"
593
593
 
594
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:83
594
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:83
595
595
  msgid "Empty or conflictive condition"
596
596
  msgstr "Tomt eller motstridigt tillstånd"
597
597
 
598
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:86
598
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:86
599
599
  msgid "_Save However"
600
600
  msgstr "Spara ändå"
601
601
 
602
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:87
602
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:87
603
603
  msgid ""
604
604
  "This smart library contains one or more conditions which are empty or "
605
605
  "conflict with each other. This is likely to result in never matching a book. "
@@ -609,38 +609,38 @@ msgstr ""
609
609
  "eller motstridiga. Detta innebär troligtvis att ingen bok kommer matchas. Är "
610
610
  "du säker på att du vill spara detta bibliotek?"
611
611
 
612
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:106
612
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:106
613
613
  msgid "Match"
614
614
  msgstr "Matcha"
615
615
 
616
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:109
616
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:109
617
617
  msgid "all"
618
618
  msgstr "alla"
619
619
 
620
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:109
620
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:109
621
621
  msgid "any"
622
622
  msgstr "vilken som helst"
623
623
 
624
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:119
624
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:119
625
625
  msgid "of the following rules:"
626
626
  msgstr "av följande regler:"
627
627
 
628
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:127
628
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:127
629
629
  msgid "Match the following rule:"
630
630
  msgstr "Matcha följande regel:"
631
631
 
632
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:114
633
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:123
632
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:114
633
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:123
634
634
  msgid "Couldn't modify the book"
635
635
  msgstr "Kunde inte ändra boken"
636
636
 
637
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:115
638
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:88
637
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:115
638
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:88
639
639
  msgid "The EAN/ISBN you provided is already used in this library."
640
640
  msgstr "Det EAN/ISBN du angivit finns redan i det här biblioteket."
641
641
 
642
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:124
643
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:94
642
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:124
643
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:94
644
644
  msgid ""
645
645
  "Couldn't validate the EAN/ISBN you provided. Make sure it is written "
646
646
  "correcty, and try again."
@@ -648,95 +648,95 @@ msgstr ""
648
648
  "Kunde inte bekräfta det EAN/ISBN du angivit. Kontrollera att det är korrekt "
649
649
  "inmatat och försök igen."
650
650
 
651
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:65
651
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:65
652
652
  msgid "Properties"
653
653
  msgstr "Egenskaper"
654
654
 
655
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:71
655
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:71
656
656
  msgid "Author"
657
657
  msgstr "Författare"
658
658
 
659
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:123
659
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:123
660
660
  msgid "Select a cover image"
661
661
  msgstr "Välj en omslagsbild"
662
662
 
663
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:127
663
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:127
664
664
  msgid "No Cover"
665
665
  msgstr "Inget omslag"
666
666
 
667
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:186
667
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:186
668
668
  msgid "%d day"
669
669
  msgid_plural "%d days"
670
670
  msgstr[0] "%d dag"
671
671
  msgstr[1] "%d dagar"
672
672
 
673
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:58
673
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:58
674
674
  msgid "Adding '%s'"
675
675
  msgstr "till \"%s\""
676
676
 
677
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:60
677
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:60
678
678
  #: ../data/alexandria/glade/new_book_dialog.glade:8
679
679
  msgid "Adding a Book"
680
680
  msgstr "Lägger till en bok"
681
681
 
682
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:81
682
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:81
683
683
  msgid "A title must be provided."
684
684
  msgstr "En titel måste anges."
685
685
 
686
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:102
686
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:102
687
687
  msgid "A publisher must be provided."
688
688
  msgstr "Ett förlag måste anges."
689
689
 
690
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:109
690
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:109
691
691
  msgid "A binding must be provided."
692
692
  msgstr "En bindning måste anges."
693
693
 
694
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:115
694
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:115
695
695
  msgid "At least one author must be provided."
696
696
  msgstr "Minst en författare måste anges."
697
697
 
698
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:142
699
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:523
698
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:142
699
+ #: ../lib/alexandria/ui/new_book_dialog.rb:523
700
700
  msgid "Couldn't add the book"
701
701
  msgstr "Kunde inte lägga till boken"
702
702
 
703
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:25
703
+ #: ../lib/alexandria/ui/export_dialog.rb:25
704
704
  msgid "File already exists"
705
705
  msgstr "Filen finns redan"
706
706
 
707
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:28
708
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:30
707
+ #: ../lib/alexandria/ui/export_dialog.rb:28
708
+ #: ../lib/alexandria/ui/misc_dialogs.rb:30
709
709
  msgid "_Replace"
710
710
  msgstr "E_rsätt"
711
711
 
712
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:29
712
+ #: ../lib/alexandria/ui/export_dialog.rb:29
713
713
  msgid ""
714
714
  "A file named '%s' already exists. Do you want to replace it with the one "
715
715
  "you are generating?"
716
716
  msgstr ""
717
717
  "En fil med namnet \"%s\" finns redan. Vill du ersätta den med den du skapar?"
718
718
 
719
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:52
719
+ #: ../lib/alexandria/ui/export_dialog.rb:52
720
720
  msgid "Export '%s'"
721
721
  msgstr "Exportera \"%s\""
722
722
 
723
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:58
723
+ #: ../lib/alexandria/ui/export_dialog.rb:58
724
724
  msgid "_Export"
725
725
  msgstr "E_xportera"
726
726
 
727
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:77
727
+ #: ../lib/alexandria/ui/export_dialog.rb:77
728
728
  msgid "_Theme:"
729
729
  msgstr "_Tema:"
730
730
 
731
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:87
731
+ #: ../lib/alexandria/ui/export_dialog.rb:87
732
732
  msgid "directory"
733
733
  msgstr "katalog"
734
734
 
735
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:100
735
+ #: ../lib/alexandria/ui/export_dialog.rb:100
736
736
  msgid "Export for_mat:"
737
737
  msgstr "Exportfor_mat:"
738
738
 
739
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:155
739
+ #: ../lib/alexandria/ui/export_dialog.rb:155
740
740
  msgid ""
741
741
  "The target, named '%s', is a regular file. A directory is needed for this "
742
742
  "operation. Please select a directory and try again."
@@ -744,19 +744,19 @@ msgstr ""
744
744
  "Målfilen, med namnet \"%s\", är en normal fil. En katalog behövs för den här "
745
745
  "operationen. Var god ange en katalog och försök igen."
746
746
 
747
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:159
747
+ #: ../lib/alexandria/ui/export_dialog.rb:159
748
748
  msgid "Not a directory"
749
749
  msgstr "Ej en katalog"
750
750
 
751
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:32
751
+ #: ../lib/alexandria/ui/new_book_dialog.rb:32
752
752
  msgid "Invalid ISBN '%s'"
753
753
  msgstr "Ogiltigt ISBN \"%s\""
754
754
 
755
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:35
755
+ #: ../lib/alexandria/ui/new_book_dialog.rb:35
756
756
  msgid "_Keep"
757
757
  msgstr "_Behåll"
758
758
 
759
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:36
759
+ #: ../lib/alexandria/ui/new_book_dialog.rb:36
760
760
  msgid ""
761
761
  "The book titled '%s' has an invalid ISBN, but still exists in the providers "
762
762
  "libraries. Do you want to keep the book but change the ISBN or cancel the "
@@ -765,19 +765,19 @@ msgstr ""
765
765
  "Boken med titeln \"%s\" har ett ogiltigt ISBN, men finns ändå i förmedlarens "
766
766
  "bibliotek. Vill du behålla boken, men ändra ISBN, eller vill du avbryta?"
767
767
 
768
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:182
768
+ #: ../lib/alexandria/ui/new_book_dialog.rb:182
769
769
  msgid "A problem occurred while downloading images"
770
770
  msgstr "Ett problem uppstod vid bildnedladdning"
771
771
 
772
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:304
772
+ #: ../lib/alexandria/ui/new_book_dialog.rb:304
773
773
  msgid "Unable to find matches for your search"
774
774
  msgstr "Din sökning gav inga träffar"
775
775
 
776
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:310
776
+ #: ../lib/alexandria/ui/new_book_dialog.rb:310
777
777
  msgid "%s, by %s"
778
778
  msgstr "%s, av %s"
779
779
 
780
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:383
780
+ #: ../lib/alexandria/ui/new_book_dialog.rb:383
781
781
  msgid ""
782
782
  "Couldn't validate the EAN/ISBN you provided. Make sure it is written "
783
783
  "correctly, and try again."
@@ -785,75 +785,75 @@ msgstr ""
785
785
  "Kunde inte bekräfta det EAN/ISBN du angivit. Kontrollera att det är korrekt "
786
786
  "inmatat och försök igen."
787
787
 
788
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:630
788
+ #: ../lib/alexandria/ui/new_book_dialog.rb:630
789
789
  msgid "'%s' already exists in '%s' (titled '%s')."
790
790
  msgstr "\"%s\" existerar redan i \"%s\" (med titeln \"%s\")."
791
791
 
792
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:26
792
+ #: ../lib/alexandria/ui/misc_dialogs.rb:26
793
793
  msgid "The book '%s' already exists in '%s'. Would you like to replace it?"
794
794
  msgstr "Boken \"%s\" existerar redan i \"%s\". Vill du ersätta den?"
795
795
 
796
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:29
796
+ #: ../lib/alexandria/ui/misc_dialogs.rb:29
797
797
  msgid "_Skip"
798
798
  msgstr "_Hoppa över"
799
799
 
800
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:31
800
+ #: ../lib/alexandria/ui/misc_dialogs.rb:31
801
801
  msgid "If you replace the existing book, its contents will be overwritten."
802
802
  msgstr ""
803
803
  "Om du ersätter den existerande boken, kommer dess innehåll att skrivas över."
804
804
 
805
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:50
805
+ #: ../lib/alexandria/ui/misc_dialogs.rb:50
806
806
  msgid "Are you sure you want to delete '%s'?"
807
807
  msgstr "Är du säker på att du permanent vill radera \"%s\"?"
808
808
 
809
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:58
809
+ #: ../lib/alexandria/ui/misc_dialogs.rb:58
810
810
  msgid "If you continue, %d book will be deleted."
811
811
  msgid_plural "If you continue, %d books will be deleted."
812
812
  msgstr[0] "Om du fortsätter kommer %d bok att raderas permanent."
813
813
  msgstr[1] "Om du fortsätter kommer %d böcker att raderas permanent."
814
814
 
815
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:63
815
+ #: ../lib/alexandria/ui/misc_dialogs.rb:63
816
816
  msgid "Are you sure you want to delete '%s' from '%s'?"
817
817
  msgstr "Är du säker på att du vill radera \"%s\" permanent från \"%s\"?"
818
818
 
819
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:66
819
+ #: ../lib/alexandria/ui/misc_dialogs.rb:66
820
820
  msgid "Are you sure you want to delete the selected books from '%s'?"
821
821
  msgstr ""
822
822
  "Är du säker på att du vill radera de valda böckerna permanent från \"%s\"?"
823
823
 
824
- #: ../lib/alexandria/ui/sidepane.rb:49
824
+ #: ../lib/alexandria/ui/sidepane_manager.rb:49
825
825
  msgid "Invalid library name '%s'"
826
826
  msgstr "Ogiltigt biblioteksnamn \"%s\""
827
827
 
828
- #: ../lib/alexandria/ui/sidepane.rb:50
828
+ #: ../lib/alexandria/ui/sidepane_manager.rb:50
829
829
  #, fuzzy
830
830
  msgid "The name provided contains the disallowed character <b>%s</b> "
831
831
  msgstr "Namnet innehåller det ogiltiga tecknet \"<i>%s</i>\"."
832
832
 
833
- #: ../lib/alexandria/ui/sidepane.rb:53
833
+ #: ../lib/alexandria/ui/sidepane_manager.rb:53
834
834
  #, fuzzy
835
835
  msgid "Invalid library name"
836
836
  msgstr "Ogiltigt biblioteksnamn \"%s\""
837
837
 
838
- #: ../lib/alexandria/ui/sidepane.rb:54
838
+ #: ../lib/alexandria/ui/sidepane_manager.rb:54
839
839
  #, fuzzy
840
840
  msgid "The name provided contains invalid characters."
841
841
  msgstr "Namnet innehåller det ogiltiga tecknet \"<i>%s</i>\"."
842
842
 
843
- #: ../lib/alexandria/ui/sidepane.rb:60
843
+ #: ../lib/alexandria/ui/sidepane_manager.rb:60
844
844
  msgid "The library name can not be empty"
845
845
  msgstr "Bibliotekets namn kan ej vara tomt"
846
846
 
847
- #: ../lib/alexandria/ui/sidepane.rb:65
847
+ #: ../lib/alexandria/ui/sidepane_manager.rb:65
848
848
  msgid "The library can not be renamed"
849
849
  msgstr "Biblioteket kan ej döpas om"
850
850
 
851
- #: ../lib/alexandria/ui/sidepane.rb:66
851
+ #: ../lib/alexandria/ui/sidepane_manager.rb:66
852
852
  msgid "There is already a library named '%s'. Please choose a different name."
853
853
  msgstr ""
854
854
  "Det finns redan ett bibliotek med namnet \"%s\". Var god välj ett annat namn."
855
855
 
856
- #: ../lib/alexandria/ui/sidepane.rb:92
856
+ #: ../lib/alexandria/ui/sidepane_manager.rb:92
857
857
  msgid "Library"
858
858
  msgstr "Bibliotek"
859
859