alexandria-book-collection-manager 0.7.8 → 0.7.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +48 -53
  3. data/.rubocop.yml +18 -5
  4. data/.rubocop_todo.yml +31 -37
  5. data/.simplecov +2 -2
  6. data/CHANGELOG.md +37 -0
  7. data/ChangeLog.0 +19 -19
  8. data/INSTALL.md +3 -5
  9. data/README.md +0 -5
  10. data/Rakefile +14 -14
  11. data/alexandria-book-collection-manager.gemspec +35 -34
  12. data/doc/FAQ +2 -2
  13. data/lib/alexandria/about.rb +1 -1
  14. data/lib/alexandria/book_providers/bl_provider.rb +88 -0
  15. data/lib/alexandria/book_providers/loc_provider.rb +38 -0
  16. data/lib/alexandria/book_providers/sbn_provider.rb +108 -0
  17. data/lib/alexandria/book_providers/thalia_provider.rb +1 -1
  18. data/lib/alexandria/book_providers/web.rb +2 -2
  19. data/lib/alexandria/book_providers/worldcat.rb +9 -7
  20. data/lib/alexandria/book_providers/z3950_provider.rb +199 -0
  21. data/lib/alexandria/book_providers.rb +10 -25
  22. data/lib/alexandria/console.rb +2 -2
  23. data/lib/alexandria/default_preferences.rb +1 -1
  24. data/lib/alexandria/export_library.rb +14 -14
  25. data/lib/alexandria/image_fetcher.rb +25 -0
  26. data/lib/alexandria/import_library.rb +10 -10
  27. data/lib/alexandria/library_store.rb +4 -5
  28. data/lib/alexandria/models/book.rb +13 -0
  29. data/lib/alexandria/models/library.rb +15 -23
  30. data/lib/alexandria/preferences.rb +4 -6
  31. data/lib/alexandria/{book_providers/pseudomarc.rb → pseudo_marc_parser.rb} +2 -2
  32. data/lib/alexandria/scanners/cue_cat.rb +1 -1
  33. data/lib/alexandria/smart_library.rb +2 -2
  34. data/lib/alexandria/ui/about_dialog.rb +1 -1
  35. data/lib/alexandria/ui/acquire_dialog.rb +6 -9
  36. data/lib/alexandria/ui/alert_dialog.rb +2 -2
  37. data/lib/alexandria/ui/barcode_animation.rb +1 -1
  38. data/lib/alexandria/ui/book_properties_dialog_base.rb +5 -9
  39. data/lib/alexandria/ui/completion_models.rb +1 -5
  40. data/lib/alexandria/ui/conflict_while_copying_dialog.rb +1 -1
  41. data/lib/alexandria/ui/icons.rb +2 -2
  42. data/lib/alexandria/ui/init.rb +10 -4
  43. data/lib/alexandria/ui/listview.rb +1 -1
  44. data/lib/alexandria/ui/multi_drag_treeview.rb +1 -1
  45. data/lib/alexandria/ui/new_book_dialog.rb +11 -13
  46. data/lib/alexandria/ui/new_book_dialog_manual.rb +1 -1
  47. data/lib/alexandria/ui/preferences_dialog.rb +2 -2
  48. data/lib/alexandria/ui/provider_preferences_base_dialog.rb +1 -1
  49. data/lib/alexandria/ui/really_delete_dialog.rb +1 -1
  50. data/lib/alexandria/ui/ui_manager.rb +17 -25
  51. data/lib/alexandria/version.rb +1 -1
  52. data/lib/alexandria/web_themes.rb +1 -1
  53. data/lib/alexandria.rb +6 -5
  54. data/po/cs.po +90 -125
  55. data/po/cy.po +87 -125
  56. data/po/de.po +96 -125
  57. data/po/el.po +96 -125
  58. data/po/es.po +96 -125
  59. data/po/fr.po +90 -125
  60. data/po/ga.po +83 -124
  61. data/po/gl.po +90 -125
  62. data/po/it.po +90 -125
  63. data/po/ja.po +90 -125
  64. data/po/mk.po +96 -125
  65. data/po/nb.po +90 -125
  66. data/po/nl.po +107 -124
  67. data/po/pl.po +113 -124
  68. data/po/pt.po +90 -125
  69. data/po/pt_BR.po +90 -125
  70. data/po/ru.po +92 -124
  71. data/po/sk.po +90 -125
  72. data/po/sv.po +90 -125
  73. data/po/uk.po +90 -125
  74. data/po/zh_TW.po +90 -125
  75. data/schemas/alexandria.schemas +1 -1
  76. data/share/gnome/help/alexandria/C/adding-books.xml +3 -4
  77. data/share/gnome/help/alexandria/C/introduction.xml +0 -16
  78. data/share/gnome/help/alexandria/C/searching.xml +1 -4
  79. data/share/gnome/help/alexandria/C/settings.xml +0 -30
  80. data/share/gnome/help/alexandria/fr/alexandria.xml +4 -159
  81. data/share/gnome/help/alexandria/ja/adding-books.xml +1 -1
  82. data/share/gnome/help/alexandria/ja/introduction.xml +0 -15
  83. data/share/gnome/help/alexandria/ja/searching.xml +3 -7
  84. data/share/gnome/help/alexandria/ja/settings.xml +0 -27
  85. data/spec/alexandria/book_providers/bl_provider_spec.rb +13 -0
  86. data/spec/alexandria/book_providers/loc_provider_spec.rb +17 -0
  87. data/spec/alexandria/book_providers/sbn_provider_spec.rb +13 -0
  88. data/spec/alexandria/book_providers/thalia_provider_spec.rb +1 -1
  89. data/spec/alexandria/book_providers/world_cat_provider_spec.rb +22 -10
  90. data/spec/alexandria/book_providers_spec.rb +0 -81
  91. data/spec/alexandria/book_spec.rb +5 -3
  92. data/spec/alexandria/export_library_spec.rb +8 -8
  93. data/spec/alexandria/library_spec.rb +83 -51
  94. data/spec/alexandria/library_store_spec.rb +1 -1
  95. data/spec/alexandria/preferences_spec.rb +7 -7
  96. data/spec/alexandria/pseudo_marc_parser_spec.rb +71 -0
  97. data/spec/alexandria/scanners/cue_cat_spec.rb +11 -4
  98. data/spec/alexandria/smart_library_spec.rb +7 -5
  99. data/spec/alexandria/ui/about_dialog_spec.rb +1 -1
  100. data/spec/alexandria/ui/acquire_dialog_spec.rb +1 -1
  101. data/spec/alexandria/ui/alert_dialog_spec.rb +5 -3
  102. data/spec/alexandria/ui/bad_isbns_dialog_spec.rb +1 -1
  103. data/spec/alexandria/ui/book_properties_dialog_spec.rb +4 -4
  104. data/spec/alexandria/ui/confirm_erase_dialog_spec.rb +18 -2
  105. data/spec/alexandria/ui/conflict_while_copying_dialog_spec.rb +1 -1
  106. data/spec/alexandria/ui/error_dialog_spec.rb +13 -2
  107. data/spec/alexandria/ui/export_dialog_spec.rb +3 -3
  108. data/spec/alexandria/ui/iconview_spec.rb +1 -1
  109. data/spec/alexandria/ui/import_dialog_spec.rb +3 -3
  110. data/spec/alexandria/ui/keep_bad_isbn_dialog_spec.rb +1 -1
  111. data/spec/alexandria/ui/new_book_dialog_manual_spec.rb +4 -4
  112. data/spec/alexandria/ui/new_book_dialog_spec.rb +2 -2
  113. data/spec/alexandria/ui/new_provider_dialog_spec.rb +3 -3
  114. data/spec/alexandria/ui/new_smart_library_dialog_spec.rb +9 -7
  115. data/spec/alexandria/ui/preferences_dialog_spec.rb +1 -1
  116. data/spec/alexandria/ui/provider_preferences_dialog_spec.rb +2 -2
  117. data/spec/alexandria/ui/really_delete_dialog_spec.rb +1 -1
  118. data/spec/alexandria/ui/sidepane_manager_spec.rb +1 -1
  119. data/spec/alexandria/ui/skip_entry_dialog_spec.rb +18 -2
  120. data/spec/alexandria/ui/smart_library_properties_dialog_spec.rb +2 -2
  121. data/spec/alexandria/ui/ui_manager_spec.rb +83 -5
  122. data/spec/data/libraries/0.6.2/My Library/9780571147168.yaml +2 -0
  123. data/spec/spec_helper.rb +23 -32
  124. data/util/rake/fileinstall.rb +12 -12
  125. data/util/rake/gettextgenerate.rb +1 -1
  126. data/util/rake/omfgenerate.rb +1 -1
  127. metadata +73 -58
  128. data/lib/alexandria/book_providers/adlibris.rb +0 -191
  129. data/lib/alexandria/book_providers/amazon_aws.rb +0 -239
  130. data/lib/alexandria/book_providers/amazon_ecs_util.rb +0 -373
  131. data/lib/alexandria/book_providers/barnes_and_noble.rb +0 -209
  132. data/lib/alexandria/book_providers/proxis.rb +0 -176
  133. data/lib/alexandria/book_providers/siciliano.rb +0 -256
  134. data/lib/alexandria/book_providers/z3950.rb +0 -408
data/po/zh_TW.po CHANGED
@@ -6,7 +6,7 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: alexandria 0.6.3\n"
8
8
  "Report-Msgid-Bugs-To: \n"
9
- "POT-Creation-Date: 2020-09-13 14:52+0200\n"
9
+ "POT-Creation-Date: 2020-12-26 12:17+0100\n"
10
10
  "PO-Revision-Date: 2008-02-25 20:29+0800\n"
11
11
  "Last-Translator: Jos'e Ling <jlgdot369@gmail.com>\n"
12
12
  "Language-Team: Chinese/Traditional\n"
@@ -20,74 +20,32 @@ msgstr ""
20
20
  msgid "A program to help you manage your book collection."
21
21
  msgstr "一個幫助你管理藏書的程式。"
22
22
 
23
- #: ../lib/alexandria/book_providers.rb:91
23
+ #: ../lib/alexandria/book_providers.rb:95
24
24
  msgid "Couldn't reach the provider '%s': timeout expired."
25
25
  msgstr "無法連結到提供者 '%s': 等候時間超過。"
26
26
 
27
- #: ../lib/alexandria/book_providers.rb:95
27
+ #: ../lib/alexandria/book_providers.rb:99
28
28
  msgid "Couldn't reach the provider '%s': socket error (%s)."
29
29
  msgstr "無法連結到提供者 '%s': socket 錯誤 (%s)。"
30
30
 
31
- #: ../lib/alexandria/book_providers.rb:99
32
- #: ../lib/alexandria/book_providers.rb:104
31
+ #: ../lib/alexandria/book_providers.rb:103
33
32
  msgid ""
34
33
  "No results were found. Make sure your search criterion is spelled "
35
34
  "correctly, and try again."
36
35
  msgstr "找不到任何結果。 請確定您的搜尋尺度有正確地拼字,然後再試一試。"
37
36
 
38
- #: ../lib/alexandria/book_providers.rb:109
37
+ #: ../lib/alexandria/book_providers.rb:108
39
38
  msgid "Too many results for that search."
40
39
  msgstr "搜尋結果太多。"
41
40
 
42
- #: ../lib/alexandria/book_providers.rb:112
41
+ #: ../lib/alexandria/book_providers.rb:111
43
42
  msgid "Invalid search type."
44
43
  msgstr "搜尋種類無效"
45
44
 
46
- #: ../lib/alexandria/book_providers.rb:206
45
+ #: ../lib/alexandria/book_providers.rb:205
47
46
  msgid "Enabled"
48
47
  msgstr ""
49
48
 
50
- #: ../lib/alexandria/book_providers/adlibris.rb:111
51
- msgid "title not found on page"
52
- msgstr ""
53
-
54
- #: ../lib/alexandria/book_providers/amazon_aws.rb:26
55
- msgid "Locale"
56
- msgstr "區域設置"
57
-
58
- #: ../lib/alexandria/book_providers/amazon_aws.rb:27
59
- msgid "Access key ID"
60
- msgstr ""
61
-
62
- #: ../lib/alexandria/book_providers/amazon_aws.rb:28
63
- msgid "Secret access key"
64
- msgstr ""
65
-
66
- #: ../lib/alexandria/book_providers/amazon_aws.rb:29
67
- #, fuzzy
68
- msgid "Associate Tag"
69
- msgstr "聯繫 ID"
70
-
71
- #: ../lib/alexandria/book_providers/amazon_aws.rb:59
72
- msgid "Provide secret key for your Amazon AWS account."
73
- msgstr ""
74
-
75
- #: ../lib/alexandria/book_providers/amazon_aws.rb:149
76
- msgid "No products"
77
- msgstr ""
78
-
79
- #: ../lib/alexandria/book_providers/amazon_ecs_util.rb:102
80
- msgid "HTTP Response: %<code>s %<message>s"
81
- msgstr ""
82
-
83
- #: ../lib/alexandria/book_providers/amazon_ecs_util.rb:170
84
- msgid "Invalid country '%<country>s'"
85
- msgstr ""
86
-
87
- #: ../lib/alexandria/book_providers/barnes_and_noble.rb:59
88
- msgid "HTTP redirect too deep"
89
- msgstr ""
90
-
91
49
  #: ../lib/alexandria/book_providers/z3950.rb:22
92
50
  msgid "Hostname"
93
51
  msgstr "主機名稱"
@@ -124,7 +82,7 @@ msgstr "(美國)國會圖書館"
124
82
  msgid "British Library"
125
83
  msgstr "英國圖書館"
126
84
 
127
- #: ../lib/alexandria/book_providers/z3950.rb:376
85
+ #: ../lib/alexandria/book_providers/z3950.rb:374
128
86
  #, fuzzy
129
87
  msgid "Invalid ISBN"
130
88
  msgstr "無效的 ISBN : '%s'"
@@ -201,11 +159,11 @@ msgstr ""
201
159
  msgid "%<file>s pub year is not okay"
202
160
  msgstr ""
203
161
 
204
- #: ../lib/alexandria/models/library.rb:40
162
+ #: ../lib/alexandria/models/library.rb:42
205
163
  msgid "Untitled"
206
164
  msgstr "無書名"
207
165
 
208
- #: ../lib/alexandria/models/library.rb:288
166
+ #: ../lib/alexandria/models/library.rb:284
209
167
  msgid "Book %<isbn>s was already deleted"
210
168
  msgstr ""
211
169
 
@@ -368,92 +326,92 @@ msgstr "最後不是在"
368
326
  msgid "invalid operand klass %<klass>s"
369
327
  msgstr ""
370
328
 
371
- #: ../lib/alexandria/ui/acquire_dialog.rb:202
329
+ #: ../lib/alexandria/ui/acquire_dialog.rb:206
372
330
  msgid "There was %d duplicate"
373
331
  msgid_plural "There were %d duplicates"
374
332
  msgstr[0] ""
375
333
  msgstr[1] ""
376
334
 
377
- #: ../lib/alexandria/ui/acquire_dialog.rb:205
335
+ #: ../lib/alexandria/ui/acquire_dialog.rb:209
378
336
  #, fuzzy
379
337
  msgid "Couldn't add this book"
380
338
  msgid_plural "Couldn't add these books"
381
339
  msgstr[0] "無法加入此書"
382
340
  msgstr[1] "無法加入此書"
383
341
 
384
- #: ../lib/alexandria/ui/acquire_dialog.rb:284
385
- #: ../lib/alexandria/ui/new_book_dialog.rb:500
342
+ #: ../lib/alexandria/ui/acquire_dialog.rb:288
343
+ #: ../lib/alexandria/ui/new_book_dialog.rb:498
386
344
  msgid "Searching Provider '%s'..."
387
345
  msgstr ""
388
346
 
389
- #: ../lib/alexandria/ui/acquire_dialog.rb:285
390
- #: ../lib/alexandria/ui/new_book_dialog.rb:501
347
+ #: ../lib/alexandria/ui/acquire_dialog.rb:289
348
+ #: ../lib/alexandria/ui/new_book_dialog.rb:499
391
349
  msgid "Error while Searching Provider '%s'"
392
350
  msgstr ""
393
351
 
394
- #: ../lib/alexandria/ui/acquire_dialog.rb:286
395
- #: ../lib/alexandria/ui/new_book_dialog.rb:502
352
+ #: ../lib/alexandria/ui/acquire_dialog.rb:290
353
+ #: ../lib/alexandria/ui/new_book_dialog.rb:500
396
354
  msgid "Not Found at Provider '%s'"
397
355
  msgstr ""
398
356
 
399
- #: ../lib/alexandria/ui/acquire_dialog.rb:287
400
- #: ../lib/alexandria/ui/new_book_dialog.rb:503
357
+ #: ../lib/alexandria/ui/acquire_dialog.rb:291
358
+ #: ../lib/alexandria/ui/new_book_dialog.rb:501
401
359
  msgid "Found at Provider '%s'"
402
360
  msgstr ""
403
361
 
404
- #: ../lib/alexandria/ui/acquire_dialog.rb:406
362
+ #: ../lib/alexandria/ui/acquire_dialog.rb:403
405
363
  msgid "Ready to use %s barcode scanner"
406
364
  msgstr ""
407
365
 
408
- #: ../lib/alexandria/ui/acquire_dialog.rb:430
366
+ #: ../lib/alexandria/ui/acquire_dialog.rb:427
409
367
  msgid "Click below to scan _barcodes"
410
368
  msgstr "按下面開始掃描條碼(_B)"
411
369
 
412
- #: ../lib/alexandria/ui/book_properties_dialog.rb:112
413
- #: ../lib/alexandria/ui/book_properties_dialog.rb:122
370
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:111
371
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:121
414
372
  msgid "Couldn't modify the book"
415
373
  msgstr "無法修改此書"
416
374
 
417
- #: ../lib/alexandria/ui/book_properties_dialog.rb:113
375
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:112
418
376
  #: ../lib/alexandria/ui/new_book_dialog_manual.rb:74
419
377
  msgid ""
420
378
  "Couldn't validate the EAN/ISBN you provided. Make sure it is written "
421
379
  "correcty, and try again."
422
380
  msgstr "無法驗證您提供的 EAN/ISBN 。 請確定您有正確地填寫, 然後再試一次。"
423
381
 
424
- #: ../lib/alexandria/ui/book_properties_dialog.rb:123
382
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:122
425
383
  #: ../lib/alexandria/ui/new_book_dialog_manual.rb:79
426
384
  msgid "The EAN/ISBN you provided is already used in this library."
427
385
  msgstr "您提供的 EAN/ISBN 在此書庫裡已經被使用了。"
428
386
 
429
- #: ../lib/alexandria/ui/book_properties_dialog_base.rb:206
387
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:104
430
388
  msgid "Properties"
431
389
  msgstr "屬性"
432
390
 
433
- #: ../lib/alexandria/ui/book_properties_dialog_base.rb:208
391
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:106
434
392
  #: ../lib/alexandria/ui/smart_library_properties_dialog.rb:21
435
393
  msgid "Properties for '%s'"
436
394
  msgstr "'%s' 的屬性"
437
395
 
438
- #: ../lib/alexandria/ui/book_properties_dialog_base.rb:214
396
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:112
439
397
  msgid "Author"
440
398
  msgstr "作者"
441
399
 
442
- #: ../lib/alexandria/ui/book_properties_dialog_base.rb:263
400
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:160
443
401
  msgid "Select a cover image"
444
402
  msgstr "選擇一個封面圖片"
445
403
 
446
- #: ../lib/alexandria/ui/book_properties_dialog_base.rb:267
404
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:163
447
405
  msgid "No Cover"
448
406
  msgstr "沒有封面"
449
407
 
450
- #: ../lib/alexandria/ui/book_properties_dialog_base.rb:346
408
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:242
451
409
  msgid "%d day"
452
410
  msgid_plural "%d days"
453
411
  msgstr[0] "%d 天"
454
412
  msgstr[1] "%d 天"
455
413
 
456
- #: ../lib/alexandria/ui/book_properties_dialog_base.rb:372
414
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:268
457
415
  msgid "out of range"
458
416
  msgstr ""
459
417
 
@@ -765,31 +723,31 @@ msgstr "略過(_S)"
765
723
  msgid "If you replace the existing book, its contents will be overwritten."
766
724
  msgstr "如果你取代已經存在的書本,原先的內容會被覆蓋掉。"
767
725
 
768
- #: ../lib/alexandria/ui/export_dialog.rb:22
726
+ #: ../lib/alexandria/ui/export_dialog.rb:24
769
727
  msgid "Export '%s'"
770
728
  msgstr "匯出 '%s'"
771
729
 
772
- #: ../lib/alexandria/ui/export_dialog.rb:27
730
+ #: ../lib/alexandria/ui/export_dialog.rb:29
773
731
  msgid "_Export"
774
732
  msgstr "匯出(_E)"
775
733
 
776
- #: ../lib/alexandria/ui/export_dialog.rb:48
734
+ #: ../lib/alexandria/ui/export_dialog.rb:50
777
735
  msgid "_Theme:"
778
736
  msgstr "主題(_T):"
779
737
 
780
- #: ../lib/alexandria/ui/export_dialog.rb:60
738
+ #: ../lib/alexandria/ui/export_dialog.rb:62
781
739
  msgid "directory"
782
740
  msgstr "目錄"
783
741
 
784
- #: ../lib/alexandria/ui/export_dialog.rb:72
742
+ #: ../lib/alexandria/ui/export_dialog.rb:74
785
743
  msgid "Export for_mat:"
786
744
  msgstr "匯出格式(_M):"
787
745
 
788
- #: ../lib/alexandria/ui/export_dialog.rb:99
746
+ #: ../lib/alexandria/ui/export_dialog.rb:101
789
747
  msgid "Export failed"
790
748
  msgstr "匯出失敗"
791
749
 
792
- #: ../lib/alexandria/ui/export_dialog.rb:122
750
+ #: ../lib/alexandria/ui/export_dialog.rb:125
793
751
  msgid ""
794
752
  "The target, named '%s', is a regular file. A directory is needed for this "
795
753
  "operation. Please select a directory and try again."
@@ -797,7 +755,7 @@ msgstr ""
797
755
  "名為 '%s' 的目標, 是一個普通檔案。 此操作需要一個目錄。請選擇一個目錄然後在"
798
756
  "試一次。"
799
757
 
800
- #: ../lib/alexandria/ui/export_dialog.rb:126
758
+ #: ../lib/alexandria/ui/export_dialog.rb:129
801
759
  msgid "Not a directory"
802
760
  msgstr "不是一個目錄"
803
761
 
@@ -819,11 +777,11 @@ msgid ""
819
777
  "file."
820
778
  msgstr "無法辨識檔案格式。 請再試別的檔案。"
821
779
 
822
- #: ../lib/alexandria/ui/init.rb:69
780
+ #: ../lib/alexandria/ui/init.rb:70
823
781
  msgid "Unable to launch the help browser"
824
782
  msgstr "無法開啟求助文件瀏覽器"
825
783
 
826
- #: ../lib/alexandria/ui/init.rb:70
784
+ #: ../lib/alexandria/ui/init.rb:71
827
785
  msgid ""
828
786
  "Could not display help for Alexandria. There was an error launching the "
829
787
  "system help browser."
@@ -857,38 +815,38 @@ msgstr "新的書庫"
857
815
  msgid "Loaned To"
858
816
  msgstr "已借出的"
859
817
 
860
- #: ../lib/alexandria/ui/new_book_dialog.rb:153
818
+ #: ../lib/alexandria/ui/new_book_dialog.rb:155
861
819
  msgid "A problem occurred while downloading images"
862
820
  msgstr "下載圖片時發生了一個問題"
863
821
 
864
- #: ../lib/alexandria/ui/new_book_dialog.rb:193
822
+ #: ../lib/alexandria/ui/new_book_dialog.rb:194
865
823
  msgid "Iter is invalid! %s"
866
824
  msgstr ""
867
825
 
868
- #: ../lib/alexandria/ui/new_book_dialog.rb:267
826
+ #: ../lib/alexandria/ui/new_book_dialog.rb:266
869
827
  msgid "Unable to find matches for your search"
870
828
  msgstr "找不到您的搜尋"
871
829
 
872
- #: ../lib/alexandria/ui/new_book_dialog.rb:303
830
+ #: ../lib/alexandria/ui/new_book_dialog.rb:302
873
831
  msgid "%s, by %s"
874
832
  msgstr "%s, 由 %s 撰寫"
875
833
 
876
- #: ../lib/alexandria/ui/new_book_dialog.rb:309
834
+ #: ../lib/alexandria/ui/new_book_dialog.rb:308
877
835
  msgid "Copying %s into tree view."
878
836
  msgstr ""
879
837
 
880
- #: ../lib/alexandria/ui/new_book_dialog.rb:337
838
+ #: ../lib/alexandria/ui/new_book_dialog.rb:336
881
839
  msgid ""
882
840
  "Couldn't validate the EAN/ISBN you provided. Make sure it is written "
883
841
  "correctly, and try again."
884
842
  msgstr "無法驗證您提供的 EAN/ISBN 。 請確定您有正確地填寫,然後再試一次。"
885
843
 
886
- #: ../lib/alexandria/ui/new_book_dialog.rb:466
844
+ #: ../lib/alexandria/ui/new_book_dialog.rb:464
887
845
  #: ../lib/alexandria/ui/new_book_dialog_manual.rb:119
888
846
  msgid "Couldn't add the book"
889
847
  msgstr "無法加入此書"
890
848
 
891
- #: ../lib/alexandria/ui/new_book_dialog.rb:572
849
+ #: ../lib/alexandria/ui/new_book_dialog.rb:570
892
850
  msgid "'%s' already exists in '%s' (titled '%s')."
893
851
  msgstr "'%s' 已經存在 '%s' 裏面(書名 '%s')。"
894
852
 
@@ -1012,15 +970,15 @@ msgstr "匯入時發生錯誤"
1012
970
  msgid "_Continue"
1013
971
  msgstr "繼續(_C)"
1014
972
 
1015
- #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:96
973
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:97
1016
974
  msgid "Empty or conflictive condition"
1017
975
  msgstr "空白的或者衝突的條件"
1018
976
 
1019
- #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:99
977
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:100
1020
978
  msgid "_Save However"
1021
979
  msgstr "不論如何繼續儲存(_S)"
1022
980
 
1023
- #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:100
981
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:101
1024
982
  msgid ""
1025
983
  "This smart library contains one or more conditions which are empty or "
1026
984
  "conflict with each other. This is likely to result in never matching a book. "
@@ -1029,116 +987,116 @@ msgstr ""
1029
987
  "此聰明書庫含有一個或多個互相衝突或空白的條件。這樣有可能會永遠找不到書。您希"
1030
988
  "望就這樣儲存書庫嗎?"
1031
989
 
1032
- #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:117
990
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:118
1033
991
  msgid "Match"
1034
992
  msgstr "匹配"
1035
993
 
1036
- #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:120
994
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:121
1037
995
  msgid "all"
1038
996
  msgstr "所有"
1039
997
 
1040
- #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:120
998
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:121
1041
999
  msgid "any"
1042
1000
  msgstr "任何一個"
1043
1001
 
1044
- #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:130
1002
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:131
1045
1003
  msgid "of the following rules:"
1046
1004
  msgstr "以下的規則:"
1047
1005
 
1048
- #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:138
1006
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:139
1049
1007
  msgid "Match the following rule:"
1050
1008
  msgstr "匹配以下的規則:"
1051
1009
 
1052
- #: ../lib/alexandria/ui/ui_manager.rb:130
1010
+ #: ../lib/alexandria/ui/ui_manager.rb:132
1053
1011
  msgid "Type here the search criterion"
1054
1012
  msgstr "在這裡鍵入搜尋尺度"
1055
1013
 
1056
- #: ../lib/alexandria/ui/ui_manager.rb:141
1014
+ #: ../lib/alexandria/ui/ui_manager.rb:143
1057
1015
  msgid "Match everything"
1058
1016
  msgstr "匹對所有的"
1059
1017
 
1060
- #: ../lib/alexandria/ui/ui_manager.rb:143
1018
+ #: ../lib/alexandria/ui/ui_manager.rb:145
1061
1019
  msgid "Title contains"
1062
1020
  msgstr "書名含有"
1063
1021
 
1064
- #: ../lib/alexandria/ui/ui_manager.rb:144
1022
+ #: ../lib/alexandria/ui/ui_manager.rb:146
1065
1023
  msgid "Authors contain"
1066
1024
  msgstr "作者含有"
1067
1025
 
1068
- #: ../lib/alexandria/ui/ui_manager.rb:145
1026
+ #: ../lib/alexandria/ui/ui_manager.rb:147
1069
1027
  msgid "ISBN contains"
1070
1028
  msgstr "ISBN 含有"
1071
1029
 
1072
- #: ../lib/alexandria/ui/ui_manager.rb:146
1030
+ #: ../lib/alexandria/ui/ui_manager.rb:148
1073
1031
  msgid "Publisher contains"
1074
1032
  msgstr "出版社含有"
1075
1033
 
1076
- #: ../lib/alexandria/ui/ui_manager.rb:147
1034
+ #: ../lib/alexandria/ui/ui_manager.rb:149
1077
1035
  msgid "Notes contain"
1078
1036
  msgstr "筆記含有"
1079
1037
 
1080
- #: ../lib/alexandria/ui/ui_manager.rb:148
1038
+ #: ../lib/alexandria/ui/ui_manager.rb:150
1081
1039
  msgid "Tags contain"
1082
1040
  msgstr "標籤含有"
1083
1041
 
1084
- #: ../lib/alexandria/ui/ui_manager.rb:162
1042
+ #: ../lib/alexandria/ui/ui_manager.rb:164
1085
1043
  msgid "Change the search type"
1086
1044
  msgstr "更改搜尋種類"
1087
1045
 
1088
- #: ../lib/alexandria/ui/ui_manager.rb:167
1046
+ #: ../lib/alexandria/ui/ui_manager.rb:169
1089
1047
  msgid "View as Icons"
1090
1048
  msgstr "以圖案方式檢視"
1091
1049
 
1092
- #: ../lib/alexandria/ui/ui_manager.rb:168
1050
+ #: ../lib/alexandria/ui/ui_manager.rb:170
1093
1051
  msgid "View as List"
1094
1052
  msgstr "以清單方式檢視"
1095
1053
 
1096
- #: ../lib/alexandria/ui/ui_manager.rb:181
1054
+ #: ../lib/alexandria/ui/ui_manager.rb:184
1097
1055
  msgid "Choose how to show books"
1098
1056
  msgstr "選擇如何顯示書本"
1099
1057
 
1100
- #: ../lib/alexandria/ui/ui_manager.rb:400
1058
+ #: ../lib/alexandria/ui/ui_manager.rb:407
1101
1059
  msgid "Library '%s' selected"
1102
1060
  msgstr "書庫 '%s' 被選取"
1103
1061
 
1104
- #: ../lib/alexandria/ui/ui_manager.rb:405
1062
+ #: ../lib/alexandria/ui/ui_manager.rb:412
1105
1063
  msgid "Library '%s' selected, %d unrated book"
1106
1064
  msgid_plural "Library '%s' selected, %d unrated books"
1107
1065
  msgstr[0] "書庫 '%s' 被選取, %d 本書未被評價。"
1108
1066
  msgstr[1] "書庫 '%s' 被選取, %d 本書未被評價。"
1109
1067
 
1110
- #: ../lib/alexandria/ui/ui_manager.rb:409
1068
+ #: ../lib/alexandria/ui/ui_manager.rb:416
1111
1069
  msgid "Library '%s' selected, %d book"
1112
1070
  msgid_plural "Library '%s' selected, %d books"
1113
1071
  msgstr[0] "書庫 '%s' 被選取, 共%d本書"
1114
1072
  msgstr[1] "書庫 '%s' 被選取, 共%d本書"
1115
1073
 
1116
- #: ../lib/alexandria/ui/ui_manager.rb:413
1074
+ #: ../lib/alexandria/ui/ui_manager.rb:420
1117
1075
  msgid "Library '%s' selected, %d book, %d unrated"
1118
1076
  msgid_plural "Library '%s' selected, %d books, %d unrated"
1119
1077
  msgstr[0] "書庫 '%s' 被選取, 共%d本書,有%d本書未被評價"
1120
1078
  msgstr[1] "書庫 '%s' 被選取, 共%d本書,有%d本書未被評價"
1121
1079
 
1122
- #: ../lib/alexandria/ui/ui_manager.rb:427
1080
+ #: ../lib/alexandria/ui/ui_manager.rb:434
1123
1081
  msgid "'%s' selected"
1124
1082
  msgstr "'%s' 被選取"
1125
1083
 
1126
- #: ../lib/alexandria/ui/ui_manager.rb:429
1084
+ #: ../lib/alexandria/ui/ui_manager.rb:436
1127
1085
  msgid "%d book selected"
1128
1086
  msgid_plural "%d books selected"
1129
1087
  msgstr[0] "%d 本書被選取"
1130
1088
  msgstr[1] "%d 本書被選取"
1131
1089
 
1132
- #: ../lib/alexandria/ui/ui_manager.rb:545
1090
+ #: ../lib/alexandria/ui/ui_manager.rb:552
1133
1091
  msgid "unrecognized update event"
1134
1092
  msgstr ""
1135
1093
 
1136
- #: ../lib/alexandria/ui/ui_manager.rb:590
1094
+ #: ../lib/alexandria/ui/ui_manager.rb:597
1137
1095
  #, fuzzy
1138
1096
  msgid "Loading libraries..."
1139
1097
  msgstr "載入 '%s' 中..."
1140
1098
 
1141
- #: ../lib/alexandria/ui/ui_manager.rb:607
1099
+ #: ../lib/alexandria/ui/ui_manager.rb:614
1142
1100
  msgid ""
1143
1101
  "The data files for the following books are malformed or empty. Do you wish "
1144
1102
  "to attempt to download new information for them from the online book "
@@ -1147,15 +1105,15 @@ msgstr ""
1147
1105
  "下列書本的資料檔案是空的或不正常的。你希望嘗試從書本提供者那裡為它們下載新的"
1148
1106
  "資訊嗎?\n"
1149
1107
 
1150
- #: ../lib/alexandria/ui/ui_manager.rb:659
1108
+ #: ../lib/alexandria/ui/ui_manager.rb:666
1151
1109
  msgid "Added '%s' to library '%s'"
1152
1110
  msgstr "已增加 '%s' 到 '%s'"
1153
1111
 
1154
- #: ../lib/alexandria/ui/ui_manager.rb:808
1112
+ #: ../lib/alexandria/ui/ui_manager.rb:815
1155
1113
  msgid "Loading '%s'..."
1156
1114
  msgstr "載入 '%s' 中..."
1157
1115
 
1158
- #: ../lib/alexandria/ui/ui_manager.rb:1038
1116
+ #: ../lib/alexandria/ui/ui_manager.rb:1045
1159
1117
  msgid "In '_%s'"
1160
1118
  msgstr "在 '_%s'"
1161
1119
 
@@ -1404,6 +1362,13 @@ msgstr "藏書管理小幫手"
1404
1362
  msgid "Manage your book collection"
1405
1363
  msgstr "管理你的藏書"
1406
1364
 
1365
+ #~ msgid "Locale"
1366
+ #~ msgstr "區域設置"
1367
+
1368
+ #, fuzzy
1369
+ #~ msgid "Associate Tag"
1370
+ #~ msgstr "聯繫 ID"
1371
+
1407
1372
  #~ msgid "Unable to launch the web browser"
1408
1373
  #~ msgstr "無法開啟網頁瀏覽器"
1409
1374
 
@@ -300,7 +300,7 @@
300
300
  <owner>alexandria</owner>
301
301
  <type>list</type>
302
302
  <list_type>string</list_type>
303
- <default>[Amazon, BarnesAndNoble, AdLibris, Proxis, Thalia, Siciliano, WorldCat, LOC, BL, SBN]</default>
303
+ <default>[Thalia, WorldCat, LOC, BL, SBN]</default>
304
304
  <!-- BROKEN [Webster_it, Thalia, IBS_it, ] -->
305
305
  <locale name="C">
306
306
  <short>Providers priority</short>
@@ -110,10 +110,9 @@
110
110
 
111
111
  <para>If you do not know the ISBN of the book you wish to add, you
112
112
  can specify either the Title, the Authors or the Keywords, and
113
- &app; will search your online information provider, such as
114
- Amazon, for books that match. You can then select the desired book
115
- from the displayed list and click <guibutton>Add</guibutton> to
116
- the book to the selected library.</para>
113
+ &app; will search your online information provider for books that match.
114
+ You can then select the desired book from the displayed list and click
115
+ <guibutton>Add</guibutton> to the book to the selected library.</para>
117
116
 
118
117
  <para>With the <guilabel>Adding a Book</guilabel> dialog open,
119
118
  click on the <guilabel>Search</guilabel> checkbox then choose
@@ -28,22 +28,6 @@
28
28
  retrieves and displays book information (sometimes with cover
29
29
  pictures) from several online libraries and bookshops, such as
30
30
  <itemizedlist>
31
- <listitem>
32
- <para>
33
- <ulink url="http://www.amazon.com">Amazon</ulink>
34
- (searches .co.uk, .fr, .de, .jp and .ca websites, as
35
- well as amazon.com)
36
- </para>
37
- </listitem>
38
-
39
- <listitem>
40
- <para><ulink url="http://www.proxis.be">Proxis</ulink></para>
41
- </listitem>
42
-
43
- <listitem>
44
- <para><ulink url="http://www.barnesandnoble.com">Barnes and Noble</ulink></para>
45
- </listitem>
46
-
47
31
  <listitem>
48
32
  <para><ulink url="http://www.thalia.de">Thalia</ulink></para>
49
33
  </listitem>
@@ -79,10 +79,7 @@
79
79
  <!-- ========= Finding out more online =========== -->
80
80
  <section id="searching-more-online">
81
81
  <title>Finding out more information about your books online</title>
82
- <para>If you want to find out more information about your book, you can use &app; to open the web page of Amazon, Barnes and Noble, or one of the other online information providers and be taken directly to the relevant book. Simply select the book you wish to know more about, right-click on it, and from the menu <guimenuitem>Display Online Information</guimenuitem>, choose from either Amazon, Barnes and Nobel, Proxis, Spanish Culture Ministry, Amadeus Buch or Internet Bookshop Italia.</para>
83
- <tip>
84
- <para>The <menuchoice><guimenu>Display Online Information</guimenu><guimenuitem>At Amazon</guimenuitem></menuchoice> choice will take you to the Amazon .com, .co.uk, .de, or jp site, as set up in the <xref linkend="alexandria-amazon-prefs"/>.</para>
85
- </tip>
82
+ <para>If you want to find out more information about your book, you can use &app; to open the web page of one of the online information providers and be taken directly to the relevant book. Simply select the book you wish to know more about, right-click on it, and from the menu <guimenuitem>Display Online Information</guimenuitem>, choose from either Amadeus Buch or Internet Bookshop Italia.</para>
86
83
  <caution>
87
84
  <para>Not every online information source has a complete list of books and you may have to try several different providers to find the information you want.</para>
88
85
  </caution>
@@ -39,10 +39,6 @@
39
39
  <title>Online information providers</title>
40
40
  <para>&app; can download information from a variety of different online sources; some of these sources have additional options to control how the information is downloaded. &app; will search each of the sources in turn, in the order displayed in the list. You can change the order in which the sources are searched by moving each source up or down using the <guibutton>Up</guibutton> and <guibutton>Down</guibutton> buttons.
41
41
  <itemizedlist>
42
- <listitem><para><xref linkend="alexandria-amazon-prefs"/></para></listitem>
43
- <listitem><para><xref linkend="alexandria-proxis-prefs"/></para></listitem>
44
- <listitem><para>The Spanish Culture Ministry</para></listitem>
45
- <listitem><para>Barnes and Noble</para></listitem>
46
42
  <listitem><para>Amadeus Buch</para></listitem>
47
43
  <listitem><para>Internet Bookshop Italia</para></listitem>
48
44
  <listitem><para><xref linkend="alexandria-britlib-prefs"/></para></listitem>
@@ -56,32 +52,6 @@
56
52
  </itemizedlist>
57
53
  </para>
58
54
 
59
-
60
- <sect3 id="alexandria-amazon-prefs">
61
- <title>Amazon preferences</title>
62
- <para>In order to use the Amazon provider, you must sign up for a free <ulink url="http://aws.amazon.com/">Amazon AWS</ulink> account, and enter your <guilabel>Access Key Id</guilabel> <guilabel>Secret Access Key</guilabel>. You can find these "Access Identifiers" under the link to "Your Account" on the AWS website.</para>
63
- <note>
64
- <para>Previous versions of &app; included an Amazon AWS Access
65
- Key ID. From August 15 2009, Amazon have changed their
66
- "Product Advertising API" so each request must be
67
- authenticated, requiring a Secret Access Key. It is not
68
- possible for us to distribute secret keys to users. So, in
69
- order to continue using the Amazon provider you will need to
70
- sign up for your own free AWS account.</para>
71
- <para>You don't require an Amazon AWS account in order to use
72
- &app;'s other providers. So, if you don't want to sign up for
73
- an AWS account, you can leave these settings blank, and &app;
74
- will simply not search Amazon when looking up books. </para>
75
- </note>
76
- <para>&app; can download book information from different amazon websites - currently, amazon.com, .co.uk, .fr, .de, .ca and .jp . To change which site to use, select Amazon from the Provider list, and click on <guibutton>Setup</guibutton>. Then choose either <guilabel>ca, de, fr, jp, uk</guilabel> or <guilabel>us</guilabel> from the drop-down menu.</para>
77
- </sect3>
78
-
79
-
80
- <sect3 id="alexandria-proxis-prefs">
81
- <title>Proxis preferences</title>
82
- <para>&app; can search the Proxis website for books in either English, French or Dutch. To change which language to use, select Proxis from the Provider list, and click on <guibutton>Setup</guibutton>. Then chose either <guilabel>en, fr</guilabel> or <guilabel>nl</guilabel> from the drop-down menu.</para>
83
- </sect3>
84
-
85
55
  <sect3 id="alexandria-britlib-prefs">
86
56
  <title>British Library preferences</title>
87
57
  <para>If you have an account with the British Library, you can use this dialogue to specify your username and password for the z39.50 service. You can also choose which database to connect to.</para>