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/pt.po CHANGED
@@ -181,7 +181,7 @@ msgid "The following lines are not valid ISBNs and were not imported:"
181
181
  msgstr "As linhas que se seguem não são ISBN válidos e não foram imortados:"
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 "A exportação falhou"
187
187
 
@@ -461,98 +461,98 @@ msgstr "Por _Classificação"
461
461
  msgid "At _%s"
462
462
  msgstr "Sobre _%s"
463
463
 
464
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:395
464
+ #: ../lib/alexandria/ui/acquire_dialog.rb:395
465
465
  msgid "There was %d duplicate"
466
466
  msgid_plural "There were %d duplicates"
467
467
  msgstr[0] ""
468
468
  msgstr[1] ""
469
469
 
470
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:398
470
+ #: ../lib/alexandria/ui/acquire_dialog.rb:398
471
471
  #, fuzzy
472
472
  msgid "Couldn't add this book"
473
473
  msgid_plural "Couldn't add these books"
474
474
  msgstr[0] "Não consegue adicionar o livro"
475
475
  msgstr[1] "Não consegue adicionar o livro"
476
476
 
477
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:477
478
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:555
477
+ #: ../lib/alexandria/ui/acquire_dialog.rb:477
478
+ #: ../lib/alexandria/ui/new_book_dialog.rb:555
479
479
  msgid "Searching Provider '%s'..."
480
480
  msgstr ""
481
481
 
482
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:478
483
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:556
482
+ #: ../lib/alexandria/ui/acquire_dialog.rb:478
483
+ #: ../lib/alexandria/ui/new_book_dialog.rb:556
484
484
  msgid "Error while Searching Provider '%s'"
485
485
  msgstr ""
486
486
 
487
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:479
488
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:557
487
+ #: ../lib/alexandria/ui/acquire_dialog.rb:479
488
+ #: ../lib/alexandria/ui/new_book_dialog.rb:557
489
489
  msgid "Not Found at Provider '%s'"
490
490
  msgstr ""
491
491
 
492
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:480
493
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:558
492
+ #: ../lib/alexandria/ui/acquire_dialog.rb:480
493
+ #: ../lib/alexandria/ui/new_book_dialog.rb:558
494
494
  msgid "Found at Provider '%s'"
495
495
  msgstr ""
496
496
 
497
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:610
497
+ #: ../lib/alexandria/ui/acquire_dialog.rb:610
498
498
  msgid "Ready to use %s barcode scanner"
499
499
  msgstr ""
500
500
 
501
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:625
501
+ #: ../lib/alexandria/ui/acquire_dialog.rb:625
502
502
  #: ../data/alexandria/glade/acquire_dialog.glade:26
503
503
  msgid "_Barcode Scanner Ready"
504
504
  msgstr "_Scanner de barra de códigos pronto"
505
505
 
506
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:640
506
+ #: ../lib/alexandria/ui/acquire_dialog.rb:640
507
507
  msgid "Click below to scan _barcodes"
508
508
  msgstr "Clique em baixo para fazer o scanner das barras de código"
509
509
 
510
- #: ../lib/alexandria/ui/dialogs/bad_isbns_dialog.rb:24
510
+ #: ../lib/alexandria/ui/bad_isbns_dialog.rb:24
511
511
  msgid "There's a problem"
512
512
  msgstr "Há um problema"
513
513
 
514
- #: ../lib/alexandria/ui/dialogs/new_smart_library_dialog.rb:30
514
+ #: ../lib/alexandria/ui/new_smart_library_dialog.rb:30
515
515
  msgid "New Smart Library"
516
516
  msgstr "Nova biblioteca inteligente"
517
517
 
518
- #: ../lib/alexandria/ui/dialogs/new_smart_library_dialog.rb:49
518
+ #: ../lib/alexandria/ui/new_smart_library_dialog.rb:49
519
519
  msgid "Smart Library"
520
520
  msgstr "Biblioteca inteligente"
521
521
 
522
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:106
522
+ #: ../lib/alexandria/ui/preferences_dialog.rb:106
523
523
  msgid "Preferences for %s"
524
524
  msgstr "Preferências para %s"
525
525
 
526
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:131
526
+ #: ../lib/alexandria/ui/preferences_dialog.rb:131
527
527
  msgid "New Provider"
528
528
  msgstr "Novo Fornecedor"
529
529
 
530
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:146
530
+ #: ../lib/alexandria/ui/preferences_dialog.rb:146
531
531
  msgid "_Name:"
532
532
  msgstr "_Nome:"
533
533
 
534
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:158
534
+ #: ../lib/alexandria/ui/preferences_dialog.rb:158
535
535
  msgid "_Type:"
536
536
  msgstr "_Tipo:"
537
537
 
538
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:316
539
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:339
540
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:359
538
+ #: ../lib/alexandria/ui/preferences_dialog.rb:316
539
+ #: ../lib/alexandria/ui/preferences_dialog.rb:339
540
+ #: ../lib/alexandria/ui/preferences_dialog.rb:359
541
541
  #, fuzzy
542
542
  msgid "Disable Provider"
543
543
  msgstr "Novo Fornecedor"
544
544
 
545
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:339
546
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:359
545
+ #: ../lib/alexandria/ui/preferences_dialog.rb:339
546
+ #: ../lib/alexandria/ui/preferences_dialog.rb:359
547
547
  #, fuzzy
548
548
  msgid "Enable Provider"
549
549
  msgstr "Novo Fornecedor"
550
550
 
551
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:423
551
+ #: ../lib/alexandria/ui/preferences_dialog.rb:423
552
552
  msgid "Are you sure you want to permanently delete the provider '%s'?"
553
553
  msgstr "Quer mesmo apagar definitivamente o fornecedor '%s'?"
554
554
 
555
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:431
555
+ #: ../lib/alexandria/ui/preferences_dialog.rb:431
556
556
  msgid ""
557
557
  "If you continue, the provider and all of its preferences will be permanently "
558
558
  "deleted."
@@ -560,27 +560,27 @@ msgstr ""
560
560
  "Se continuar, o fornecedor e o conteúdo da selecção serão apagados "
561
561
  "permanentemente."
562
562
 
563
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:36
563
+ #: ../lib/alexandria/ui/import_dialog.rb:36
564
564
  msgid "Error while importing"
565
565
  msgstr "Erro de importação"
566
566
 
567
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:39
567
+ #: ../lib/alexandria/ui/import_dialog.rb:39
568
568
  msgid "_Continue"
569
569
  msgstr "_Continuar"
570
570
 
571
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:64
571
+ #: ../lib/alexandria/ui/import_dialog.rb:64
572
572
  msgid "Import a Library"
573
573
  msgstr "Importar uma biblioteca"
574
574
 
575
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:71
575
+ #: ../lib/alexandria/ui/import_dialog.rb:71
576
576
  msgid "_Import"
577
577
  msgstr "_Importar"
578
578
 
579
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:188
579
+ #: ../lib/alexandria/ui/import_dialog.rb:188
580
580
  msgid "Couldn't import the library"
581
581
  msgstr "Impossí­vel importar o livro"
582
582
 
583
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:189
583
+ #: ../lib/alexandria/ui/import_dialog.rb:189
584
584
  msgid ""
585
585
  "The format of the file you provided is unknown. Please retry with another "
586
586
  "file."
@@ -588,20 +588,20 @@ msgstr ""
588
588
  "O formato do ficheiro que forneceu é desconhecido. Queira tentar novamente "
589
589
  "com um outro ficheiro."
590
590
 
591
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog.rb:30
592
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:63
591
+ #: ../lib/alexandria/ui/smart_library_properties_dialog.rb:30
592
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:63
593
593
  msgid "Properties for '%s'"
594
594
  msgstr "Propriedades para %s"
595
595
 
596
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:83
596
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:83
597
597
  msgid "Empty or conflictive condition"
598
598
  msgstr "Vazio ou em estado de conflito"
599
599
 
600
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:86
600
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:86
601
601
  msgid "_Save However"
602
602
  msgstr "_Gravar, ainda assim"
603
603
 
604
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:87
604
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:87
605
605
  msgid ""
606
606
  "This smart library contains one or more conditions which are empty or "
607
607
  "conflict with each other. This is likely to result in never matching a book. "
@@ -611,38 +611,38 @@ msgstr ""
611
611
  "ou em conflito entre elas. Isso é causado provavelmente por um livro que "
612
612
  "nunca terá correspondência. Tem a certeza que quer gravar esta biblioteca ?"
613
613
 
614
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:106
614
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:106
615
615
  msgid "Match"
616
616
  msgstr "Corresponde"
617
617
 
618
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:109
618
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:109
619
619
  msgid "all"
620
620
  msgstr "todas"
621
621
 
622
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:109
622
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:109
623
623
  msgid "any"
624
624
  msgstr "nenhumas"
625
625
 
626
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:119
626
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:119
627
627
  msgid "of the following rules:"
628
628
  msgstr "das regras seguintes:"
629
629
 
630
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:127
630
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:127
631
631
  msgid "Match the following rule:"
632
632
  msgstr "Corresponde à regra seguinte:"
633
633
 
634
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:114
635
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:123
634
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:114
635
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:123
636
636
  msgid "Couldn't modify the book"
637
637
  msgstr "Impossí­vel editar as propriedades do livro"
638
638
 
639
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:115
640
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:88
639
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:115
640
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:88
641
641
  msgid "The EAN/ISBN you provided is already used in this library."
642
642
  msgstr "O EAN/ISBN fornecido já foi utilizado nesta biblioteca."
643
643
 
644
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:124
645
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:94
644
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:124
645
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:94
646
646
  msgid ""
647
647
  "Couldn't validate the EAN/ISBN you provided. Make sure it is written "
648
648
  "correcty, and try again."
@@ -650,68 +650,68 @@ msgstr ""
650
650
  "Impossí­vel validar o EAN/ISBN. Verifique se está escrito correctamente, e "
651
651
  "tente de novo."
652
652
 
653
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:65
653
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:65
654
654
  msgid "Properties"
655
655
  msgstr "Propriedades"
656
656
 
657
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:71
657
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:71
658
658
  msgid "Author"
659
659
  msgstr "Autor"
660
660
 
661
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:123
661
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:123
662
662
  msgid "Select a cover image"
663
663
  msgstr "Seleccione uma imagem de capa"
664
664
 
665
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:127
665
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:127
666
666
  msgid "No Cover"
667
667
  msgstr "Nenhuma capa"
668
668
 
669
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:186
669
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:186
670
670
  msgid "%d day"
671
671
  msgid_plural "%d days"
672
672
  msgstr[0] "%d dia"
673
673
  msgstr[1] "%d dias"
674
674
 
675
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:58
675
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:58
676
676
  msgid "Adding '%s'"
677
677
  msgstr "A adicionar '%s'"
678
678
 
679
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:60
679
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:60
680
680
  #: ../data/alexandria/glade/new_book_dialog.glade:8
681
681
  msgid "Adding a Book"
682
682
  msgstr "Entrada de um livro"
683
683
 
684
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:81
684
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:81
685
685
  msgid "A title must be provided."
686
686
  msgstr "Deve ser dado um tí­tulo."
687
687
 
688
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:102
688
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:102
689
689
  msgid "A publisher must be provided."
690
690
  msgstr "Deve ser indicado um editor."
691
691
 
692
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:109
692
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:109
693
693
  msgid "A binding must be provided."
694
694
  msgstr "Deve ser indicada uma edição."
695
695
 
696
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:115
696
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:115
697
697
  msgid "At least one author must be provided."
698
698
  msgstr "Deve ser indicado pelo menos, um autor."
699
699
 
700
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:142
701
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:523
700
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:142
701
+ #: ../lib/alexandria/ui/new_book_dialog.rb:523
702
702
  msgid "Couldn't add the book"
703
703
  msgstr "Não consegue adicionar o livro"
704
704
 
705
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:25
705
+ #: ../lib/alexandria/ui/export_dialog.rb:25
706
706
  msgid "File already exists"
707
707
  msgstr "O ficheiro já existe"
708
708
 
709
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:28
710
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:30
709
+ #: ../lib/alexandria/ui/export_dialog.rb:28
710
+ #: ../lib/alexandria/ui/misc_dialogs.rb:30
711
711
  msgid "_Replace"
712
712
  msgstr "_Substituir"
713
713
 
714
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:29
714
+ #: ../lib/alexandria/ui/export_dialog.rb:29
715
715
  msgid ""
716
716
  "A file named '%s' already exists. Do you want to replace it with the one "
717
717
  "you are generating?"
@@ -719,27 +719,27 @@ msgstr ""
719
719
  "Já existe no sistema um ficheiro chamado '%s'. Quer substituí­-lo pelo que "
720
720
  "está a criar?"
721
721
 
722
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:52
722
+ #: ../lib/alexandria/ui/export_dialog.rb:52
723
723
  msgid "Export '%s'"
724
724
  msgstr "Exportar '%s'"
725
725
 
726
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:58
726
+ #: ../lib/alexandria/ui/export_dialog.rb:58
727
727
  msgid "_Export"
728
728
  msgstr "_Exportar"
729
729
 
730
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:77
730
+ #: ../lib/alexandria/ui/export_dialog.rb:77
731
731
  msgid "_Theme:"
732
732
  msgstr "_Tema:"
733
733
 
734
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:87
734
+ #: ../lib/alexandria/ui/export_dialog.rb:87
735
735
  msgid "directory"
736
736
  msgstr "directoria"
737
737
 
738
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:100
738
+ #: ../lib/alexandria/ui/export_dialog.rb:100
739
739
  msgid "Export for_mat:"
740
740
  msgstr "For_mato de exportação:"
741
741
 
742
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:155
742
+ #: ../lib/alexandria/ui/export_dialog.rb:155
743
743
  msgid ""
744
744
  "The target, named '%s', is a regular file. A directory is needed for this "
745
745
  "operation. Please select a directory and try again."
@@ -747,19 +747,19 @@ msgstr ""
747
747
  "O objecto, chamado '%s', é um ficheiro regular. É necessária uma directoria "
748
748
  "para esta operação. Queira seleccionar uma directoria e tentar novamente."
749
749
 
750
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:159
750
+ #: ../lib/alexandria/ui/export_dialog.rb:159
751
751
  msgid "Not a directory"
752
752
  msgstr "Directoria necessária"
753
753
 
754
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:32
754
+ #: ../lib/alexandria/ui/new_book_dialog.rb:32
755
755
  msgid "Invalid ISBN '%s'"
756
756
  msgstr "ISBN '%s' inválido"
757
757
 
758
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:35
758
+ #: ../lib/alexandria/ui/new_book_dialog.rb:35
759
759
  msgid "_Keep"
760
760
  msgstr "_Manter"
761
761
 
762
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:36
762
+ #: ../lib/alexandria/ui/new_book_dialog.rb:36
763
763
  msgid ""
764
764
  "The book titled '%s' has an invalid ISBN, but still exists in the providers "
765
765
  "libraries. Do you want to keep the book but change the ISBN or cancel the "
@@ -768,19 +768,19 @@ msgstr ""
768
768
  "O livro chamado '%s' tem um ISBN inválido, mas existe nas bibliotecas dos "
769
769
  "fornecedores. Deseja manter o livro, modificando o ISBN ou anular a entrada?"
770
770
 
771
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:182
771
+ #: ../lib/alexandria/ui/new_book_dialog.rb:182
772
772
  msgid "A problem occurred while downloading images"
773
773
  msgstr "Ocorreu um erro ao fazer o download das imagens"
774
774
 
775
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:304
775
+ #: ../lib/alexandria/ui/new_book_dialog.rb:304
776
776
  msgid "Unable to find matches for your search"
777
777
  msgstr "Não consegue encontrar as correspondências para a sua pesquisa"
778
778
 
779
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:310
779
+ #: ../lib/alexandria/ui/new_book_dialog.rb:310
780
780
  msgid "%s, by %s"
781
781
  msgstr "%s, por %s"
782
782
 
783
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:383
783
+ #: ../lib/alexandria/ui/new_book_dialog.rb:383
784
784
  msgid ""
785
785
  "Couldn't validate the EAN/ISBN you provided. Make sure it is written "
786
786
  "correctly, and try again."
@@ -788,75 +788,75 @@ msgstr ""
788
788
  "Impossí­vel validar o EAN/ISBN fornecido. Verifique se o número está "
789
789
  "correctamente escrito e tente de novo."
790
790
 
791
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:630
791
+ #: ../lib/alexandria/ui/new_book_dialog.rb:630
792
792
  msgid "'%s' already exists in '%s' (titled '%s')."
793
793
  msgstr "'%s' já existe em '%s' (intitulado '%s')."
794
794
 
795
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:26
795
+ #: ../lib/alexandria/ui/misc_dialogs.rb:26
796
796
  msgid "The book '%s' already exists in '%s'. Would you like to replace it?"
797
797
  msgstr "O livro '%s' já existe em '%s'. Quer substituí­-lo?"
798
798
 
799
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:29
799
+ #: ../lib/alexandria/ui/misc_dialogs.rb:29
800
800
  msgid "_Skip"
801
801
  msgstr "_Passar"
802
802
 
803
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:31
803
+ #: ../lib/alexandria/ui/misc_dialogs.rb:31
804
804
  msgid "If you replace the existing book, its contents will be overwritten."
805
805
  msgstr "Se substituir o livro existente, o seu conteúdo será apagado."
806
806
 
807
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:50
807
+ #: ../lib/alexandria/ui/misc_dialogs.rb:50
808
808
  msgid "Are you sure you want to delete '%s'?"
809
809
  msgstr "Tem a certeza que quer apagar definitivamente'%s'?"
810
810
 
811
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:58
811
+ #: ../lib/alexandria/ui/misc_dialogs.rb:58
812
812
  msgid "If you continue, %d book will be deleted."
813
813
  msgid_plural "If you continue, %d books will be deleted."
814
814
  msgstr[0] "Se continuar, %d será apagado definitivamente."
815
815
  msgstr[1] "Se continuar, o conteúdo da selecção será apagado permanentemente."
816
816
 
817
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:63
817
+ #: ../lib/alexandria/ui/misc_dialogs.rb:63
818
818
  msgid "Are you sure you want to delete '%s' from '%s'?"
819
819
  msgstr "Tem a certeza que quer mesmo apagar definitivamente '%s' de '%s'?"
820
820
 
821
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:66
821
+ #: ../lib/alexandria/ui/misc_dialogs.rb:66
822
822
  msgid "Are you sure you want to delete the selected books from '%s'?"
823
823
  msgstr ""
824
824
  "Tem a certeza que quer mesmo apagar definitivamente os livros seleccionados "
825
825
  "de '%s'?"
826
826
 
827
- #: ../lib/alexandria/ui/sidepane.rb:49
827
+ #: ../lib/alexandria/ui/sidepane_manager.rb:49
828
828
  msgid "Invalid library name '%s'"
829
829
  msgstr "Nome de biblioteca inválido '%s'"
830
830
 
831
- #: ../lib/alexandria/ui/sidepane.rb:50
831
+ #: ../lib/alexandria/ui/sidepane_manager.rb:50
832
832
  #, fuzzy
833
833
  msgid "The name provided contains the disallowed character <b>%s</b> "
834
834
  msgstr "O nome inserido contem o caractere inválido '<i>%s</i>'."
835
835
 
836
- #: ../lib/alexandria/ui/sidepane.rb:53
836
+ #: ../lib/alexandria/ui/sidepane_manager.rb:53
837
837
  #, fuzzy
838
838
  msgid "Invalid library name"
839
839
  msgstr "Nome de biblioteca inválido '%s'"
840
840
 
841
- #: ../lib/alexandria/ui/sidepane.rb:54
841
+ #: ../lib/alexandria/ui/sidepane_manager.rb:54
842
842
  #, fuzzy
843
843
  msgid "The name provided contains invalid characters."
844
844
  msgstr "O nome inserido contem o caractere inválido '<i>%s</i>'."
845
845
 
846
- #: ../lib/alexandria/ui/sidepane.rb:60
846
+ #: ../lib/alexandria/ui/sidepane_manager.rb:60
847
847
  msgid "The library name can not be empty"
848
848
  msgstr "O nome da biblioteca não pode estar em branco"
849
849
 
850
- #: ../lib/alexandria/ui/sidepane.rb:65
850
+ #: ../lib/alexandria/ui/sidepane_manager.rb:65
851
851
  msgid "The library can not be renamed"
852
852
  msgstr "A biblioteca não pode ser renomeada"
853
853
 
854
- #: ../lib/alexandria/ui/sidepane.rb:66
854
+ #: ../lib/alexandria/ui/sidepane_manager.rb:66
855
855
  msgid "There is already a library named '%s'. Please choose a different name."
856
856
  msgstr ""
857
857
  "Já existe uma biblioteca com o nome '%s'. Queira escolher um nome diferente."
858
858
 
859
- #: ../lib/alexandria/ui/sidepane.rb:92
859
+ #: ../lib/alexandria/ui/sidepane_manager.rb:92
860
860
  msgid "Library"
861
861
  msgstr "Biblioteca"
862
862