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/nb.po CHANGED
@@ -173,7 +173,7 @@ msgid "The following lines are not valid ISBNs and were not imported:"
173
173
  msgstr "Følgende linjer er ikke gyldige ISBN-nummer og ble ikke importert:"
174
174
 
175
175
  #: ../lib/alexandria/ui/callbacks.rb:122
176
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:128
176
+ #: ../lib/alexandria/ui/export_dialog.rb:128
177
177
  msgid "Export failed"
178
178
  msgstr "Eksporten mislyktes"
179
179
 
@@ -453,98 +453,98 @@ msgstr "Etter _rating"
453
453
  msgid "At _%s"
454
454
  msgstr "hos _%s"
455
455
 
456
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:395
456
+ #: ../lib/alexandria/ui/acquire_dialog.rb:395
457
457
  msgid "There was %d duplicate"
458
458
  msgid_plural "There were %d duplicates"
459
459
  msgstr[0] ""
460
460
  msgstr[1] ""
461
461
 
462
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:398
462
+ #: ../lib/alexandria/ui/acquire_dialog.rb:398
463
463
  #, fuzzy
464
464
  msgid "Couldn't add this book"
465
465
  msgid_plural "Couldn't add these books"
466
466
  msgstr[0] "Kunne ikke legge til boken"
467
467
  msgstr[1] "Kunne ikke legge til boken"
468
468
 
469
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:477
470
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:555
469
+ #: ../lib/alexandria/ui/acquire_dialog.rb:477
470
+ #: ../lib/alexandria/ui/new_book_dialog.rb:555
471
471
  msgid "Searching Provider '%s'..."
472
472
  msgstr ""
473
473
 
474
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:478
475
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:556
474
+ #: ../lib/alexandria/ui/acquire_dialog.rb:478
475
+ #: ../lib/alexandria/ui/new_book_dialog.rb:556
476
476
  msgid "Error while Searching Provider '%s'"
477
477
  msgstr ""
478
478
 
479
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:479
480
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:557
479
+ #: ../lib/alexandria/ui/acquire_dialog.rb:479
480
+ #: ../lib/alexandria/ui/new_book_dialog.rb:557
481
481
  msgid "Not Found at Provider '%s'"
482
482
  msgstr ""
483
483
 
484
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:480
485
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:558
484
+ #: ../lib/alexandria/ui/acquire_dialog.rb:480
485
+ #: ../lib/alexandria/ui/new_book_dialog.rb:558
486
486
  msgid "Found at Provider '%s'"
487
487
  msgstr ""
488
488
 
489
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:610
489
+ #: ../lib/alexandria/ui/acquire_dialog.rb:610
490
490
  msgid "Ready to use %s barcode scanner"
491
491
  msgstr ""
492
492
 
493
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:625
493
+ #: ../lib/alexandria/ui/acquire_dialog.rb:625
494
494
  #: ../data/alexandria/glade/acquire_dialog.glade:26
495
495
  msgid "_Barcode Scanner Ready"
496
496
  msgstr "Strekkodeleser klar"
497
497
 
498
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:640
498
+ #: ../lib/alexandria/ui/acquire_dialog.rb:640
499
499
  msgid "Click below to scan _barcodes"
500
500
  msgstr "Klikk nedenunder for å skanne strekkoder"
501
501
 
502
- #: ../lib/alexandria/ui/dialogs/bad_isbns_dialog.rb:24
502
+ #: ../lib/alexandria/ui/bad_isbns_dialog.rb:24
503
503
  msgid "There's a problem"
504
504
  msgstr "Det har oppstått et problem"
505
505
 
506
- #: ../lib/alexandria/ui/dialogs/new_smart_library_dialog.rb:30
506
+ #: ../lib/alexandria/ui/new_smart_library_dialog.rb:30
507
507
  msgid "New Smart Library"
508
508
  msgstr "Importer et bibliotek"
509
509
 
510
- #: ../lib/alexandria/ui/dialogs/new_smart_library_dialog.rb:49
510
+ #: ../lib/alexandria/ui/new_smart_library_dialog.rb:49
511
511
  msgid "Smart Library"
512
512
  msgstr "Importer et bibliotek"
513
513
 
514
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:106
514
+ #: ../lib/alexandria/ui/preferences_dialog.rb:106
515
515
  msgid "Preferences for %s"
516
516
  msgstr "Innstillinger for %s"
517
517
 
518
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:131
518
+ #: ../lib/alexandria/ui/preferences_dialog.rb:131
519
519
  msgid "New Provider"
520
520
  msgstr "Ny tilbyder"
521
521
 
522
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:146
522
+ #: ../lib/alexandria/ui/preferences_dialog.rb:146
523
523
  msgid "_Name:"
524
524
  msgstr "_Navn:"
525
525
 
526
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:158
526
+ #: ../lib/alexandria/ui/preferences_dialog.rb:158
527
527
  msgid "_Type:"
528
528
  msgstr "_Type:"
529
529
 
530
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:316
531
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:339
532
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:359
530
+ #: ../lib/alexandria/ui/preferences_dialog.rb:316
531
+ #: ../lib/alexandria/ui/preferences_dialog.rb:339
532
+ #: ../lib/alexandria/ui/preferences_dialog.rb:359
533
533
  #, fuzzy
534
534
  msgid "Disable Provider"
535
535
  msgstr "Ny tilbyder"
536
536
 
537
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:339
538
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:359
537
+ #: ../lib/alexandria/ui/preferences_dialog.rb:339
538
+ #: ../lib/alexandria/ui/preferences_dialog.rb:359
539
539
  #, fuzzy
540
540
  msgid "Enable Provider"
541
541
  msgstr "Ny tilbyder"
542
542
 
543
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:423
543
+ #: ../lib/alexandria/ui/preferences_dialog.rb:423
544
544
  msgid "Are you sure you want to permanently delete the provider '%s'?"
545
545
  msgstr "Er du sikker på at du ønsker å slette tilbyder \"%s\" for godt?"
546
546
 
547
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:431
547
+ #: ../lib/alexandria/ui/preferences_dialog.rb:431
548
548
  msgid ""
549
549
  "If you continue, the provider and all of its preferences will be permanently "
550
550
  "deleted."
@@ -552,27 +552,27 @@ msgstr ""
552
552
  "Om du fortsetter kommer tilbyder og alle innstillingene for denne å bli "
553
553
  "slettet permanent."
554
554
 
555
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:36
555
+ #: ../lib/alexandria/ui/import_dialog.rb:36
556
556
  msgid "Error while importing"
557
557
  msgstr "Feil under import"
558
558
 
559
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:39
559
+ #: ../lib/alexandria/ui/import_dialog.rb:39
560
560
  msgid "_Continue"
561
561
  msgstr "Fortsett"
562
562
 
563
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:64
563
+ #: ../lib/alexandria/ui/import_dialog.rb:64
564
564
  msgid "Import a Library"
565
565
  msgstr "Importer et bibliotek"
566
566
 
567
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:71
567
+ #: ../lib/alexandria/ui/import_dialog.rb:71
568
568
  msgid "_Import"
569
569
  msgstr "_Importer"
570
570
 
571
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:188
571
+ #: ../lib/alexandria/ui/import_dialog.rb:188
572
572
  msgid "Couldn't import the library"
573
573
  msgstr "Kunne ikke importere biblioteket"
574
574
 
575
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:189
575
+ #: ../lib/alexandria/ui/import_dialog.rb:189
576
576
  msgid ""
577
577
  "The format of the file you provided is unknown. Please retry with another "
578
578
  "file."
@@ -580,20 +580,20 @@ msgstr ""
580
580
  "Formatet på filen du brukte er ukjent. Vennligst forsøk igjen med en annen "
581
581
  "fil."
582
582
 
583
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog.rb:30
584
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:63
583
+ #: ../lib/alexandria/ui/smart_library_properties_dialog.rb:30
584
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:63
585
585
  msgid "Properties for '%s'"
586
586
  msgstr "Innstillinger for '%s'"
587
587
 
588
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:83
588
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:83
589
589
  msgid "Empty or conflictive condition"
590
590
  msgstr "Tom eller selvmotsigende betingelse"
591
591
 
592
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:86
592
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:86
593
593
  msgid "_Save However"
594
594
  msgstr "_Lagre imidlertid"
595
595
 
596
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:87
596
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:87
597
597
  msgid ""
598
598
  "This smart library contains one or more conditions which are empty or "
599
599
  "conflict with each other. This is likely to result in never matching a book. "
@@ -603,38 +603,38 @@ msgstr ""
603
603
  "tomme, eller er i konflikt med hverandre. Sannsynligvis vil dette føre til "
604
604
  "at en bok ikke kan gjenfinnes."
605
605
 
606
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:106
606
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:106
607
607
  msgid "Match"
608
608
  msgstr "Treff"
609
609
 
610
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:109
610
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:109
611
611
  msgid "all"
612
612
  msgstr "alle"
613
613
 
614
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:109
614
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:109
615
615
  msgid "any"
616
616
  msgstr "hvilken som helst"
617
617
 
618
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:119
618
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:119
619
619
  msgid "of the following rules:"
620
620
  msgstr "av de følgende reglene:"
621
621
 
622
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:127
622
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:127
623
623
  msgid "Match the following rule:"
624
624
  msgstr "Match følgende regel:"
625
625
 
626
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:114
627
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:123
626
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:114
627
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:123
628
628
  msgid "Couldn't modify the book"
629
629
  msgstr "Kunne ikke endre boken"
630
630
 
631
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:115
632
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:88
631
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:115
632
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:88
633
633
  msgid "The EAN/ISBN you provided is already used in this library."
634
634
  msgstr "Det EAN/ISBN du anga finnes allerede i dette biblioteket."
635
635
 
636
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:124
637
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:94
636
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:124
637
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:94
638
638
  msgid ""
639
639
  "Couldn't validate the EAN/ISBN you provided. Make sure it is written "
640
640
  "correcty, and try again."
@@ -642,68 +642,68 @@ msgstr ""
642
642
  "Kunde ikke bekrefte det EAN/ISBN du anga. Kontroller at det er korrekt "
643
643
  "angitt og forsøk igjen"
644
644
 
645
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:65
645
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:65
646
646
  msgid "Properties"
647
647
  msgstr "Egenskaper"
648
648
 
649
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:71
649
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:71
650
650
  msgid "Author"
651
651
  msgstr "Forfatter"
652
652
 
653
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:123
653
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:123
654
654
  msgid "Select a cover image"
655
655
  msgstr "Velg et omslagsbilde"
656
656
 
657
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:127
657
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:127
658
658
  msgid "No Cover"
659
659
  msgstr "Ikke noe omslag"
660
660
 
661
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:186
661
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:186
662
662
  msgid "%d day"
663
663
  msgid_plural "%d days"
664
664
  msgstr[0] "%d dag"
665
665
  msgstr[1] "%d dager"
666
666
 
667
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:58
667
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:58
668
668
  msgid "Adding '%s'"
669
669
  msgstr "Legger til \"_%s\""
670
670
 
671
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:60
671
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:60
672
672
  #: ../data/alexandria/glade/new_book_dialog.glade:8
673
673
  msgid "Adding a Book"
674
674
  msgstr "Legger til en bok"
675
675
 
676
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:81
676
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:81
677
677
  msgid "A title must be provided."
678
678
  msgstr "Det må angis en tittel."
679
679
 
680
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:102
680
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:102
681
681
  msgid "A publisher must be provided."
682
682
  msgstr "Det må angis en utgiver."
683
683
 
684
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:109
684
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:109
685
685
  msgid "A binding must be provided."
686
686
  msgstr "Det må angis en innbinding."
687
687
 
688
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:115
688
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:115
689
689
  msgid "At least one author must be provided."
690
690
  msgstr "Minst en forfatter må angis."
691
691
 
692
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:142
693
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:523
692
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:142
693
+ #: ../lib/alexandria/ui/new_book_dialog.rb:523
694
694
  msgid "Couldn't add the book"
695
695
  msgstr "Kunne ikke legge til boken"
696
696
 
697
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:25
697
+ #: ../lib/alexandria/ui/export_dialog.rb:25
698
698
  msgid "File already exists"
699
699
  msgstr "Filen finnes allerede"
700
700
 
701
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:28
702
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:30
701
+ #: ../lib/alexandria/ui/export_dialog.rb:28
702
+ #: ../lib/alexandria/ui/misc_dialogs.rb:30
703
703
  msgid "_Replace"
704
704
  msgstr "E_rstatt"
705
705
 
706
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:29
706
+ #: ../lib/alexandria/ui/export_dialog.rb:29
707
707
  msgid ""
708
708
  "A file named '%s' already exists. Do you want to replace it with the one "
709
709
  "you are generating?"
@@ -711,27 +711,27 @@ msgstr ""
711
711
  "En fil med navnet \"%s\" finnes allerede. Vill du erstatte den med den du "
712
712
  "genererer?"
713
713
 
714
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:52
714
+ #: ../lib/alexandria/ui/export_dialog.rb:52
715
715
  msgid "Export '%s'"
716
716
  msgstr "Eksporter \"%s\""
717
717
 
718
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:58
718
+ #: ../lib/alexandria/ui/export_dialog.rb:58
719
719
  msgid "_Export"
720
720
  msgstr "_Eksporter"
721
721
 
722
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:77
722
+ #: ../lib/alexandria/ui/export_dialog.rb:77
723
723
  msgid "_Theme:"
724
724
  msgstr "_Tema:"
725
725
 
726
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:87
726
+ #: ../lib/alexandria/ui/export_dialog.rb:87
727
727
  msgid "directory"
728
728
  msgstr "katalog"
729
729
 
730
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:100
730
+ #: ../lib/alexandria/ui/export_dialog.rb:100
731
731
  msgid "Export for_mat:"
732
732
  msgstr "Eksportfor_mat:"
733
733
 
734
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:155
734
+ #: ../lib/alexandria/ui/export_dialog.rb:155
735
735
  msgid ""
736
736
  "The target, named '%s', is a regular file. A directory is needed for this "
737
737
  "operation. Please select a directory and try again."
@@ -739,19 +739,19 @@ msgstr ""
739
739
  "Målfilen, med navnet \"%s\", er en vanlig fil. En katalog er nødvendig for "
740
740
  "denne operasjonen. Vennligst velg en katalog og forsøk igjen."
741
741
 
742
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:159
742
+ #: ../lib/alexandria/ui/export_dialog.rb:159
743
743
  msgid "Not a directory"
744
744
  msgstr "Ikke en katalog"
745
745
 
746
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:32
746
+ #: ../lib/alexandria/ui/new_book_dialog.rb:32
747
747
  msgid "Invalid ISBN '%s'"
748
748
  msgstr "Ugyldig ISBN '%s'"
749
749
 
750
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:35
750
+ #: ../lib/alexandria/ui/new_book_dialog.rb:35
751
751
  msgid "_Keep"
752
752
  msgstr "Behold"
753
753
 
754
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:36
754
+ #: ../lib/alexandria/ui/new_book_dialog.rb:36
755
755
  msgid ""
756
756
  "The book titled '%s' has an invalid ISBN, but still exists in the providers "
757
757
  "libraries. Do you want to keep the book but change the ISBN or cancel the "
@@ -761,19 +761,19 @@ msgstr ""
761
761
  "bibliotekene. Ønsker du å beholde boken, men endre ISBN-nummeret eller "
762
762
  "kansellere oppdateringen?"
763
763
 
764
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:182
764
+ #: ../lib/alexandria/ui/new_book_dialog.rb:182
765
765
  msgid "A problem occurred while downloading images"
766
766
  msgstr "Det oppsto et problem ved nedlastingen av bilder"
767
767
 
768
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:304
768
+ #: ../lib/alexandria/ui/new_book_dialog.rb:304
769
769
  msgid "Unable to find matches for your search"
770
770
  msgstr "Søket ga ingen treff"
771
771
 
772
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:310
772
+ #: ../lib/alexandria/ui/new_book_dialog.rb:310
773
773
  msgid "%s, by %s"
774
774
  msgstr "%s, av %s"
775
775
 
776
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:383
776
+ #: ../lib/alexandria/ui/new_book_dialog.rb:383
777
777
  msgid ""
778
778
  "Couldn't validate the EAN/ISBN you provided. Make sure it is written "
779
779
  "correctly, and try again."
@@ -781,76 +781,76 @@ msgstr ""
781
781
  "Kunne ikke bekrefte det EAN/ISBN du anga. Kontroller at det er angitt riktig "
782
782
  "og forsøk igjen."
783
783
 
784
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:630
784
+ #: ../lib/alexandria/ui/new_book_dialog.rb:630
785
785
  msgid "'%s' already exists in '%s' (titled '%s')."
786
786
  msgstr "\"%s\" eksisterer allerede i \"%s\" (med tittel \"%s\")."
787
787
 
788
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:26
788
+ #: ../lib/alexandria/ui/misc_dialogs.rb:26
789
789
  msgid "The book '%s' already exists in '%s'. Would you like to replace it?"
790
790
  msgstr "Boken \"%s\" eksisterer allerede i \"%s\". Vil du erstatte den?"
791
791
 
792
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:29
792
+ #: ../lib/alexandria/ui/misc_dialogs.rb:29
793
793
  msgid "_Skip"
794
794
  msgstr "Hopp over"
795
795
 
796
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:31
796
+ #: ../lib/alexandria/ui/misc_dialogs.rb:31
797
797
  msgid "If you replace the existing book, its contents will be overwritten."
798
798
  msgstr ""
799
799
  "Om du erstatter den eksisterende boken, kommer innholdet til å bli "
800
800
  "overskrevet."
801
801
 
802
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:50
802
+ #: ../lib/alexandria/ui/misc_dialogs.rb:50
803
803
  msgid "Are you sure you want to delete '%s'?"
804
804
  msgstr "Er du sikker på at du vil slette \"%s\"?"
805
805
 
806
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:58
806
+ #: ../lib/alexandria/ui/misc_dialogs.rb:58
807
807
  msgid "If you continue, %d book will be deleted."
808
808
  msgid_plural "If you continue, %d books will be deleted."
809
809
  msgstr[0] "Om du fortsetter kommer utvalget til å slettes permanent."
810
810
  msgstr[1] "Om du fortsetter kommer utvalget til å slettes permanent."
811
811
 
812
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:63
812
+ #: ../lib/alexandria/ui/misc_dialogs.rb:63
813
813
  msgid "Are you sure you want to delete '%s' from '%s'?"
814
814
  msgstr "Er du sikker på at du ønsker å slette \"%s\" fra \"%s\"?"
815
815
 
816
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:66
816
+ #: ../lib/alexandria/ui/misc_dialogs.rb:66
817
817
  msgid "Are you sure you want to delete the selected books from '%s'?"
818
818
  msgstr "Er du sikker på at du vil slette de valgte bøkene fra \"%s\"?"
819
819
 
820
- #: ../lib/alexandria/ui/sidepane.rb:49
820
+ #: ../lib/alexandria/ui/sidepane_manager.rb:49
821
821
  msgid "Invalid library name '%s'"
822
822
  msgstr "Ugyldig biblioteksnavn \"%s\""
823
823
 
824
- #: ../lib/alexandria/ui/sidepane.rb:50
824
+ #: ../lib/alexandria/ui/sidepane_manager.rb:50
825
825
  #, fuzzy
826
826
  msgid "The name provided contains the disallowed character <b>%s</b> "
827
827
  msgstr "Navnet inneholder det ugyldige tegnet \"<i>%s</i>\"."
828
828
 
829
- #: ../lib/alexandria/ui/sidepane.rb:53
829
+ #: ../lib/alexandria/ui/sidepane_manager.rb:53
830
830
  #, fuzzy
831
831
  msgid "Invalid library name"
832
832
  msgstr "Ugyldig biblioteksnavn \"%s\""
833
833
 
834
- #: ../lib/alexandria/ui/sidepane.rb:54
834
+ #: ../lib/alexandria/ui/sidepane_manager.rb:54
835
835
  #, fuzzy
836
836
  msgid "The name provided contains invalid characters."
837
837
  msgstr "Navnet inneholder det ugyldige tegnet \"<i>%s</i>\"."
838
838
 
839
- #: ../lib/alexandria/ui/sidepane.rb:60
839
+ #: ../lib/alexandria/ui/sidepane_manager.rb:60
840
840
  msgid "The library name can not be empty"
841
841
  msgstr "Navnet på biblioteket kan ikke være tomt"
842
842
 
843
- #: ../lib/alexandria/ui/sidepane.rb:65
843
+ #: ../lib/alexandria/ui/sidepane_manager.rb:65
844
844
  msgid "The library can not be renamed"
845
845
  msgstr "Biblioteket kan ikke gis nytt navn"
846
846
 
847
- #: ../lib/alexandria/ui/sidepane.rb:66
847
+ #: ../lib/alexandria/ui/sidepane_manager.rb:66
848
848
  msgid "There is already a library named '%s'. Please choose a different name."
849
849
  msgstr ""
850
850
  "Det finnes allerede et bibliotek med navnetg \"%s\". Vennligst velg et annet "
851
851
  "navn."
852
852
 
853
- #: ../lib/alexandria/ui/sidepane.rb:92
853
+ #: ../lib/alexandria/ui/sidepane_manager.rb:92
854
854
  msgid "Library"
855
855
  msgstr "Bibliotek"
856
856