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
@@ -177,7 +177,7 @@ msgid "The following lines are not valid ISBNs and were not imported:"
177
177
  msgstr "下面幾行是無效的 ISBN ,因此沒被匯入:"
178
178
 
179
179
  #: ../lib/alexandria/ui/callbacks.rb:122
180
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:128
180
+ #: ../lib/alexandria/ui/export_dialog.rb:128
181
181
  msgid "Export failed"
182
182
  msgstr "匯出失敗"
183
183
 
@@ -457,143 +457,143 @@ msgstr "根據評價(_R)"
457
457
  msgid "At _%s"
458
458
  msgstr "在 _%s"
459
459
 
460
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:395
460
+ #: ../lib/alexandria/ui/acquire_dialog.rb:395
461
461
  msgid "There was %d duplicate"
462
462
  msgid_plural "There were %d duplicates"
463
463
  msgstr[0] ""
464
464
  msgstr[1] ""
465
465
 
466
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:398
466
+ #: ../lib/alexandria/ui/acquire_dialog.rb:398
467
467
  #, fuzzy
468
468
  msgid "Couldn't add this book"
469
469
  msgid_plural "Couldn't add these books"
470
470
  msgstr[0] "無法加入此書"
471
471
  msgstr[1] "無法加入此書"
472
472
 
473
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:477
474
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:555
473
+ #: ../lib/alexandria/ui/acquire_dialog.rb:477
474
+ #: ../lib/alexandria/ui/new_book_dialog.rb:555
475
475
  msgid "Searching Provider '%s'..."
476
476
  msgstr ""
477
477
 
478
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:478
479
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:556
478
+ #: ../lib/alexandria/ui/acquire_dialog.rb:478
479
+ #: ../lib/alexandria/ui/new_book_dialog.rb:556
480
480
  msgid "Error while Searching Provider '%s'"
481
481
  msgstr ""
482
482
 
483
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:479
484
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:557
483
+ #: ../lib/alexandria/ui/acquire_dialog.rb:479
484
+ #: ../lib/alexandria/ui/new_book_dialog.rb:557
485
485
  msgid "Not Found at Provider '%s'"
486
486
  msgstr ""
487
487
 
488
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:480
489
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:558
488
+ #: ../lib/alexandria/ui/acquire_dialog.rb:480
489
+ #: ../lib/alexandria/ui/new_book_dialog.rb:558
490
490
  msgid "Found at Provider '%s'"
491
491
  msgstr ""
492
492
 
493
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:610
493
+ #: ../lib/alexandria/ui/acquire_dialog.rb:610
494
494
  msgid "Ready to use %s barcode scanner"
495
495
  msgstr ""
496
496
 
497
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:625
497
+ #: ../lib/alexandria/ui/acquire_dialog.rb:625
498
498
  #: ../data/alexandria/glade/acquire_dialog.glade:26
499
499
  msgid "_Barcode Scanner Ready"
500
500
  msgstr "條碼掃描器準備好了(_B)"
501
501
 
502
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:640
502
+ #: ../lib/alexandria/ui/acquire_dialog.rb:640
503
503
  msgid "Click below to scan _barcodes"
504
504
  msgstr "按下面開始掃描條碼(_B)"
505
505
 
506
- #: ../lib/alexandria/ui/dialogs/bad_isbns_dialog.rb:24
506
+ #: ../lib/alexandria/ui/bad_isbns_dialog.rb:24
507
507
  msgid "There's a problem"
508
508
  msgstr "發生了一個問題"
509
509
 
510
- #: ../lib/alexandria/ui/dialogs/new_smart_library_dialog.rb:30
510
+ #: ../lib/alexandria/ui/new_smart_library_dialog.rb:30
511
511
  msgid "New Smart Library"
512
512
  msgstr "新的聰明書庫"
513
513
 
514
- #: ../lib/alexandria/ui/dialogs/new_smart_library_dialog.rb:49
514
+ #: ../lib/alexandria/ui/new_smart_library_dialog.rb:49
515
515
  msgid "Smart Library"
516
516
  msgstr "聰明書庫"
517
517
 
518
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:106
518
+ #: ../lib/alexandria/ui/preferences_dialog.rb:106
519
519
  msgid "Preferences for %s"
520
520
  msgstr "%s 的偏好設定"
521
521
 
522
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:131
522
+ #: ../lib/alexandria/ui/preferences_dialog.rb:131
523
523
  msgid "New Provider"
524
524
  msgstr "新的提供者"
525
525
 
526
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:146
526
+ #: ../lib/alexandria/ui/preferences_dialog.rb:146
527
527
  msgid "_Name:"
528
528
  msgstr "姓名(_N):"
529
529
 
530
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:158
530
+ #: ../lib/alexandria/ui/preferences_dialog.rb:158
531
531
  msgid "_Type:"
532
532
  msgstr "種類(_T):"
533
533
 
534
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:316
535
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:339
536
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:359
534
+ #: ../lib/alexandria/ui/preferences_dialog.rb:316
535
+ #: ../lib/alexandria/ui/preferences_dialog.rb:339
536
+ #: ../lib/alexandria/ui/preferences_dialog.rb:359
537
537
  #, fuzzy
538
538
  msgid "Disable Provider"
539
539
  msgstr "新的提供者"
540
540
 
541
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:339
542
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:359
541
+ #: ../lib/alexandria/ui/preferences_dialog.rb:339
542
+ #: ../lib/alexandria/ui/preferences_dialog.rb:359
543
543
  #, fuzzy
544
544
  msgid "Enable Provider"
545
545
  msgstr "新的提供者"
546
546
 
547
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:423
547
+ #: ../lib/alexandria/ui/preferences_dialog.rb:423
548
548
  msgid "Are you sure you want to permanently delete the provider '%s'?"
549
549
  msgstr "您確定要永遠地刪除提供者 '%s' 嗎?"
550
550
 
551
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:431
551
+ #: ../lib/alexandria/ui/preferences_dialog.rb:431
552
552
  msgid ""
553
553
  "If you continue, the provider and all of its preferences will be permanently "
554
554
  "deleted."
555
555
  msgstr "如果您繼續進行, 此提供者和它所有的偏好設定會被永久地刪除。"
556
556
 
557
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:36
557
+ #: ../lib/alexandria/ui/import_dialog.rb:36
558
558
  msgid "Error while importing"
559
559
  msgstr "匯入時發生錯誤"
560
560
 
561
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:39
561
+ #: ../lib/alexandria/ui/import_dialog.rb:39
562
562
  msgid "_Continue"
563
563
  msgstr "繼續(_C)"
564
564
 
565
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:64
565
+ #: ../lib/alexandria/ui/import_dialog.rb:64
566
566
  msgid "Import a Library"
567
567
  msgstr "匯入一個書庫"
568
568
 
569
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:71
569
+ #: ../lib/alexandria/ui/import_dialog.rb:71
570
570
  msgid "_Import"
571
571
  msgstr "匯入(_I)"
572
572
 
573
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:188
573
+ #: ../lib/alexandria/ui/import_dialog.rb:188
574
574
  msgid "Couldn't import the library"
575
575
  msgstr "無法匯入書庫"
576
576
 
577
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:189
577
+ #: ../lib/alexandria/ui/import_dialog.rb:189
578
578
  msgid ""
579
579
  "The format of the file you provided is unknown. Please retry with another "
580
580
  "file."
581
581
  msgstr "無法辨識檔案格式。 請再試別的檔案。"
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 "'%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 "空白的或者衝突的條件"
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 "不論如何繼續儲存(_S)"
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. "
@@ -602,131 +602,131 @@ msgstr ""
602
602
  "此聰明書庫含有一個或多個互相衝突或空白的條件。這樣有可能會永遠找不到書。您希"
603
603
  "望就這樣儲存書庫嗎?"
604
604
 
605
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:106
605
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:106
606
606
  msgid "Match"
607
607
  msgstr "匹配"
608
608
 
609
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:109
609
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:109
610
610
  msgid "all"
611
611
  msgstr "所有"
612
612
 
613
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:109
613
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:109
614
614
  msgid "any"
615
615
  msgstr "任何一個"
616
616
 
617
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:119
617
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:119
618
618
  msgid "of the following rules:"
619
619
  msgstr "以下的規則:"
620
620
 
621
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:127
621
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:127
622
622
  msgid "Match the following rule:"
623
623
  msgstr "匹配以下的規則:"
624
624
 
625
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:114
626
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:123
625
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:114
626
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:123
627
627
  msgid "Couldn't modify the book"
628
628
  msgstr "無法修改此書"
629
629
 
630
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:115
631
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:88
630
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:115
631
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:88
632
632
  msgid "The EAN/ISBN you provided is already used in this library."
633
633
  msgstr "您提供的 EAN/ISBN 在此書庫裡已經被使用了。"
634
634
 
635
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:124
636
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:94
635
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:124
636
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:94
637
637
  msgid ""
638
638
  "Couldn't validate the EAN/ISBN you provided. Make sure it is written "
639
639
  "correcty, and try again."
640
640
  msgstr "無法驗證您提供的 EAN/ISBN 。 請確定您有正確地填寫, 然後再試一次。"
641
641
 
642
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:65
642
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:65
643
643
  msgid "Properties"
644
644
  msgstr "屬性"
645
645
 
646
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:71
646
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:71
647
647
  msgid "Author"
648
648
  msgstr "作者"
649
649
 
650
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:123
650
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:123
651
651
  msgid "Select a cover image"
652
652
  msgstr "選擇一個封面圖片"
653
653
 
654
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:127
654
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:127
655
655
  msgid "No Cover"
656
656
  msgstr "沒有封面"
657
657
 
658
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:186
658
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:186
659
659
  msgid "%d day"
660
660
  msgid_plural "%d days"
661
661
  msgstr[0] "%d 天"
662
662
  msgstr[1] "%d 天"
663
663
 
664
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:58
664
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:58
665
665
  msgid "Adding '%s'"
666
666
  msgstr "加入 '%s' 中"
667
667
 
668
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:60
668
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:60
669
669
  #: ../data/alexandria/glade/new_book_dialog.glade:8
670
670
  msgid "Adding a Book"
671
671
  msgstr "正在加入一本書"
672
672
 
673
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:81
673
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:81
674
674
  msgid "A title must be provided."
675
675
  msgstr "必須提供一個書名。"
676
676
 
677
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:102
677
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:102
678
678
  msgid "A publisher must be provided."
679
679
  msgstr "必須提供一個出版社。"
680
680
 
681
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:109
681
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:109
682
682
  msgid "A binding must be provided."
683
683
  msgstr "必須提供一個裝訂方式。"
684
684
 
685
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:115
685
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:115
686
686
  msgid "At least one author must be provided."
687
687
  msgstr "至少必須有一個作者。"
688
688
 
689
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:142
690
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:523
689
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:142
690
+ #: ../lib/alexandria/ui/new_book_dialog.rb:523
691
691
  msgid "Couldn't add the book"
692
692
  msgstr "無法加入此書"
693
693
 
694
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:25
694
+ #: ../lib/alexandria/ui/export_dialog.rb:25
695
695
  msgid "File already exists"
696
696
  msgstr "檔案已經存在"
697
697
 
698
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:28
699
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:30
698
+ #: ../lib/alexandria/ui/export_dialog.rb:28
699
+ #: ../lib/alexandria/ui/misc_dialogs.rb:30
700
700
  msgid "_Replace"
701
701
  msgstr "取代(_R)"
702
702
 
703
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:29
703
+ #: ../lib/alexandria/ui/export_dialog.rb:29
704
704
  msgid ""
705
705
  "A file named '%s' already exists. Do you want to replace it with the one "
706
706
  "you are generating?"
707
707
  msgstr "名為 '%s' 的檔案已經存在。 您想要用您產生的取代原先的嗎?"
708
708
 
709
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:52
709
+ #: ../lib/alexandria/ui/export_dialog.rb:52
710
710
  msgid "Export '%s'"
711
711
  msgstr "匯出 '%s'"
712
712
 
713
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:58
713
+ #: ../lib/alexandria/ui/export_dialog.rb:58
714
714
  msgid "_Export"
715
715
  msgstr "匯出(_E)"
716
716
 
717
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:77
717
+ #: ../lib/alexandria/ui/export_dialog.rb:77
718
718
  msgid "_Theme:"
719
719
  msgstr "主題(_T):"
720
720
 
721
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:87
721
+ #: ../lib/alexandria/ui/export_dialog.rb:87
722
722
  msgid "directory"
723
723
  msgstr "目錄"
724
724
 
725
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:100
725
+ #: ../lib/alexandria/ui/export_dialog.rb:100
726
726
  msgid "Export for_mat:"
727
727
  msgstr "匯出格式(_M):"
728
728
 
729
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:155
729
+ #: ../lib/alexandria/ui/export_dialog.rb:155
730
730
  msgid ""
731
731
  "The target, named '%s', is a regular file. A directory is needed for this "
732
732
  "operation. Please select a directory and try again."
@@ -734,19 +734,19 @@ msgstr ""
734
734
  "名為 '%s' 的目標, 是一個普通檔案。 此操作需要一個目錄。請選擇一個目錄然後在"
735
735
  "試一次。"
736
736
 
737
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:159
737
+ #: ../lib/alexandria/ui/export_dialog.rb:159
738
738
  msgid "Not a directory"
739
739
  msgstr "不是一個目錄"
740
740
 
741
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:32
741
+ #: ../lib/alexandria/ui/new_book_dialog.rb:32
742
742
  msgid "Invalid ISBN '%s'"
743
743
  msgstr "無效的 ISBN : '%s'"
744
744
 
745
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:35
745
+ #: ../lib/alexandria/ui/new_book_dialog.rb:35
746
746
  msgid "_Keep"
747
747
  msgstr "保留(_K)"
748
748
 
749
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:36
749
+ #: ../lib/alexandria/ui/new_book_dialog.rb:36
750
750
  msgid ""
751
751
  "The book titled '%s' has an invalid ISBN, but still exists in the providers "
752
752
  "libraries. Do you want to keep the book but change the ISBN or cancel the "
@@ -755,90 +755,90 @@ msgstr ""
755
755
  "書名為 '%s' 有無效的 ISBN, 卻仍然存在提供者的書庫。 您想要保留書本並且改變 "
756
756
  "ISBN 或者是取消 新增?"
757
757
 
758
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:182
758
+ #: ../lib/alexandria/ui/new_book_dialog.rb:182
759
759
  msgid "A problem occurred while downloading images"
760
760
  msgstr "下載圖片時發生了一個問題"
761
761
 
762
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:304
762
+ #: ../lib/alexandria/ui/new_book_dialog.rb:304
763
763
  msgid "Unable to find matches for your search"
764
764
  msgstr "找不到您的搜尋"
765
765
 
766
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:310
766
+ #: ../lib/alexandria/ui/new_book_dialog.rb:310
767
767
  msgid "%s, by %s"
768
768
  msgstr "%s, 由 %s 撰寫"
769
769
 
770
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:383
770
+ #: ../lib/alexandria/ui/new_book_dialog.rb:383
771
771
  msgid ""
772
772
  "Couldn't validate the EAN/ISBN you provided. Make sure it is written "
773
773
  "correctly, and try again."
774
774
  msgstr "無法驗證您提供的 EAN/ISBN 。 請確定您有正確地填寫,然後再試一次。"
775
775
 
776
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:630
776
+ #: ../lib/alexandria/ui/new_book_dialog.rb:630
777
777
  msgid "'%s' already exists in '%s' (titled '%s')."
778
778
  msgstr "'%s' 已經存在 '%s' 裏面(書名 '%s')。"
779
779
 
780
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:26
780
+ #: ../lib/alexandria/ui/misc_dialogs.rb:26
781
781
  msgid "The book '%s' already exists in '%s'. Would you like to replace it?"
782
782
  msgstr "書本: '%s' 在 '%s 已經存在。 您要取代原先的嗎?"
783
783
 
784
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:29
784
+ #: ../lib/alexandria/ui/misc_dialogs.rb:29
785
785
  msgid "_Skip"
786
786
  msgstr "略過(_S)"
787
787
 
788
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:31
788
+ #: ../lib/alexandria/ui/misc_dialogs.rb:31
789
789
  msgid "If you replace the existing book, its contents will be overwritten."
790
790
  msgstr "如果你取代已經存在的書本,原先的內容會被覆蓋掉。"
791
791
 
792
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:50
792
+ #: ../lib/alexandria/ui/misc_dialogs.rb:50
793
793
  msgid "Are you sure you want to delete '%s'?"
794
794
  msgstr "您確定要刪除 '%s' 嗎?"
795
795
 
796
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:58
796
+ #: ../lib/alexandria/ui/misc_dialogs.rb:58
797
797
  msgid "If you continue, %d book will be deleted."
798
798
  msgid_plural "If you continue, %d books will be deleted."
799
799
  msgstr[0] "如果繼續進行, %d本書會被刪除。"
800
800
  msgstr[1] "如果繼續進行, %d本書會被刪除。"
801
801
 
802
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:63
802
+ #: ../lib/alexandria/ui/misc_dialogs.rb:63
803
803
  msgid "Are you sure you want to delete '%s' from '%s'?"
804
804
  msgstr "您確定要刪除 '%s' 從 '%s' 嗎?"
805
805
 
806
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:66
806
+ #: ../lib/alexandria/ui/misc_dialogs.rb:66
807
807
  msgid "Are you sure you want to delete the selected books from '%s'?"
808
808
  msgstr "您確定要從 '%s' 刪除選定的書本嗎?"
809
809
 
810
- #: ../lib/alexandria/ui/sidepane.rb:49
810
+ #: ../lib/alexandria/ui/sidepane_manager.rb:49
811
811
  msgid "Invalid library name '%s'"
812
812
  msgstr "無效的書庫名字 '%s'"
813
813
 
814
- #: ../lib/alexandria/ui/sidepane.rb:50
814
+ #: ../lib/alexandria/ui/sidepane_manager.rb:50
815
815
  #, fuzzy
816
816
  msgid "The name provided contains the disallowed character <b>%s</b> "
817
817
  msgstr "提供的名字含有非法的字元 '<i>%s</i>'."
818
818
 
819
- #: ../lib/alexandria/ui/sidepane.rb:53
819
+ #: ../lib/alexandria/ui/sidepane_manager.rb:53
820
820
  #, fuzzy
821
821
  msgid "Invalid library name"
822
822
  msgstr "無效的書庫名字 '%s'"
823
823
 
824
- #: ../lib/alexandria/ui/sidepane.rb:54
824
+ #: ../lib/alexandria/ui/sidepane_manager.rb:54
825
825
  #, fuzzy
826
826
  msgid "The name provided contains invalid characters."
827
827
  msgstr "提供的名字含有非法的字元 '<i>%s</i>'."
828
828
 
829
- #: ../lib/alexandria/ui/sidepane.rb:60
829
+ #: ../lib/alexandria/ui/sidepane_manager.rb:60
830
830
  msgid "The library name can not be empty"
831
831
  msgstr "書庫名不可空缺"
832
832
 
833
- #: ../lib/alexandria/ui/sidepane.rb:65
833
+ #: ../lib/alexandria/ui/sidepane_manager.rb:65
834
834
  msgid "The library can not be renamed"
835
835
  msgstr "書庫不能被重新命名"
836
836
 
837
- #: ../lib/alexandria/ui/sidepane.rb:66
837
+ #: ../lib/alexandria/ui/sidepane_manager.rb:66
838
838
  msgid "There is already a library named '%s'. Please choose a different name."
839
839
  msgstr "已經存在一個名為 '%s' 的書庫。 請重新選擇一個不同的名字。"
840
840
 
841
- #: ../lib/alexandria/ui/sidepane.rb:92
841
+ #: ../lib/alexandria/ui/sidepane_manager.rb:92
842
842
  msgid "Library"
843
843
  msgstr "書庫"
844
844