alexandria-book-collection-manager 0.7.5 → 0.7.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/.github/dependabot.yml +9 -0
  3. data/.github/workflows/ruby.yml +72 -0
  4. data/.gitignore +4 -1
  5. data/.rubocop.yml +65 -30
  6. data/.rubocop_todo.yml +49 -165
  7. data/.simplecov +5 -2
  8. data/CHANGELOG.md +64 -0
  9. data/ChangeLog.0 +19 -19
  10. data/INSTALL.md +26 -16
  11. data/README.md +31 -35
  12. data/Rakefile +18 -16
  13. data/alexandria-book-collection-manager.gemspec +35 -29
  14. data/doc/FAQ +2 -2
  15. data/doc/dependency_decisions.yml +22 -3
  16. data/lib/alexandria/about.rb +1 -1
  17. data/lib/alexandria/book_providers/bl_provider.rb +88 -0
  18. data/lib/alexandria/book_providers/douban.rb +2 -2
  19. data/lib/alexandria/book_providers/loc_provider.rb +38 -0
  20. data/lib/alexandria/book_providers/pseudomarc.rb +61 -71
  21. data/lib/alexandria/book_providers/sbn_provider.rb +108 -0
  22. data/lib/alexandria/book_providers/{thalia.rb → thalia_provider.rb} +37 -74
  23. data/lib/alexandria/book_providers/web.rb +2 -2
  24. data/lib/alexandria/book_providers/worldcat.rb +34 -38
  25. data/lib/alexandria/book_providers/z3950_provider.rb +199 -0
  26. data/lib/alexandria/book_providers.rb +48 -65
  27. data/lib/alexandria/default_preferences.rb +2 -1
  28. data/lib/alexandria/execution_queue.rb +13 -12
  29. data/lib/alexandria/export_library.rb +21 -22
  30. data/lib/alexandria/image_fetcher.rb +25 -0
  31. data/lib/alexandria/import_library.rb +46 -70
  32. data/lib/alexandria/import_library_csv.rb +16 -16
  33. data/lib/alexandria/library_sort_order.rb +3 -1
  34. data/lib/alexandria/library_store.rb +19 -20
  35. data/lib/alexandria/logging.rb +5 -9
  36. data/lib/alexandria/models/book.rb +15 -2
  37. data/lib/alexandria/models/library.rb +31 -35
  38. data/lib/alexandria/net.rb +1 -2
  39. data/lib/alexandria/preferences.rb +27 -33
  40. data/lib/alexandria/scanners/cue_cat.rb +6 -6
  41. data/lib/alexandria/scanners/keyboard.rb +1 -1
  42. data/lib/alexandria/scanners.rb +2 -2
  43. data/lib/alexandria/smart_library.rb +22 -26
  44. data/lib/alexandria/ui/about_dialog.rb +1 -1
  45. data/lib/alexandria/ui/acquire_dialog.rb +15 -19
  46. data/lib/alexandria/ui/alert_dialog.rb +36 -19
  47. data/lib/alexandria/ui/bad_isbns_dialog.rb +13 -9
  48. data/lib/alexandria/ui/barcode_animation.rb +6 -6
  49. data/lib/alexandria/ui/book_properties_dialog.rb +2 -3
  50. data/lib/alexandria/ui/book_properties_dialog_base.rb +35 -137
  51. data/lib/alexandria/ui/calendar_popup.rb +58 -0
  52. data/lib/alexandria/ui/callbacks.rb +144 -123
  53. data/lib/alexandria/ui/completion_models.rb +2 -6
  54. data/lib/alexandria/ui/confirm_erase_dialog.rb +1 -1
  55. data/lib/alexandria/ui/conflict_while_copying_dialog.rb +2 -2
  56. data/lib/alexandria/ui/error_dialog.rb +1 -1
  57. data/lib/alexandria/ui/export_dialog.rb +19 -18
  58. data/lib/alexandria/ui/icons.rb +34 -40
  59. data/lib/alexandria/ui/iconview_tooltips.rb +40 -53
  60. data/lib/alexandria/ui/import_dialog.rb +49 -48
  61. data/lib/alexandria/ui/init.rb +14 -12
  62. data/lib/alexandria/ui/keep_bad_isbn_dialog.rb +2 -2
  63. data/lib/alexandria/ui/libraries_combo.rb +10 -9
  64. data/lib/alexandria/ui/listview.rb +6 -7
  65. data/lib/alexandria/ui/main_app.rb +2 -2
  66. data/lib/alexandria/ui/multi_drag_treeview.rb +5 -7
  67. data/lib/alexandria/ui/new_book_dialog.rb +63 -65
  68. data/lib/alexandria/ui/new_book_dialog_manual.rb +1 -1
  69. data/lib/alexandria/ui/new_provider_dialog.rb +12 -11
  70. data/lib/alexandria/ui/new_smart_library_dialog.rb +39 -27
  71. data/lib/alexandria/ui/preferences_dialog.rb +25 -84
  72. data/lib/alexandria/ui/provider_preferences_base_dialog.rb +10 -6
  73. data/lib/alexandria/ui/provider_preferences_dialog.rb +5 -5
  74. data/lib/alexandria/ui/really_delete_dialog.rb +2 -2
  75. data/lib/alexandria/ui/sidepane_manager.rb +38 -38
  76. data/lib/alexandria/ui/skip_entry_dialog.rb +3 -2
  77. data/lib/alexandria/ui/smart_library_properties_dialog.rb +35 -36
  78. data/lib/alexandria/ui/smart_library_properties_dialog_base.rb +61 -244
  79. data/lib/alexandria/ui/smart_library_rule_box.rb +119 -0
  80. data/lib/alexandria/ui/sound.rb +4 -6
  81. data/lib/alexandria/ui/ui_manager.rb +80 -83
  82. data/lib/alexandria/ui.rb +7 -7
  83. data/lib/alexandria/version.rb +2 -2
  84. data/lib/alexandria/web_themes.rb +15 -15
  85. data/lib/alexandria.rb +2 -2
  86. data/po/cs.po +947 -865
  87. data/po/cy.po +913 -864
  88. data/po/de.po +961 -865
  89. data/po/el.po +956 -861
  90. data/po/es.po +952 -857
  91. data/po/fr.po +950 -865
  92. data/po/ga.po +866 -819
  93. data/po/gl.po +946 -861
  94. data/po/it.po +945 -858
  95. data/po/ja.po +921 -836
  96. data/po/mk.po +953 -858
  97. data/po/nb.po +932 -847
  98. data/po/nl.po +955 -849
  99. data/po/pl.po +999 -963
  100. data/po/pt.po +946 -850
  101. data/po/pt_BR.po +944 -859
  102. data/po/ru.po +959 -868
  103. data/po/sk.po +950 -863
  104. data/po/sv.po +944 -859
  105. data/po/uk.po +925 -846
  106. data/po/zh_TW.po +926 -841
  107. data/schemas/alexandria.schemas +1 -1
  108. data/share/alexandria/glade/main_app__builder.glade +6 -21
  109. data/share/gnome/help/alexandria/C/adding-books.xml +3 -4
  110. data/share/gnome/help/alexandria/C/introduction.xml +0 -16
  111. data/share/gnome/help/alexandria/C/searching.xml +1 -4
  112. data/share/gnome/help/alexandria/C/settings.xml +0 -30
  113. data/share/gnome/help/alexandria/C/smart-libraries.xml +2 -2
  114. data/share/gnome/help/alexandria/C/working-with-libraries.xml +1 -1
  115. data/share/gnome/help/alexandria/fr/alexandria.xml +5 -160
  116. data/share/gnome/help/alexandria/ja/adding-books.xml +1 -1
  117. data/share/gnome/help/alexandria/ja/introduction.xml +0 -15
  118. data/share/gnome/help/alexandria/ja/searching.xml +3 -7
  119. data/share/gnome/help/alexandria/ja/settings.xml +0 -27
  120. data/share/gnome/help/alexandria/ja/smart-libraries.xml +1 -1
  121. data/spec/alexandria/book_providers/bl_provider_spec.rb +13 -0
  122. data/spec/alexandria/book_providers/loc_provider_spec.rb +17 -0
  123. data/spec/alexandria/book_providers/sbn_provider_spec.rb +13 -0
  124. data/spec/alexandria/book_providers/thalia_provider_spec.rb +119 -0
  125. data/spec/alexandria/book_providers/world_cat_provider_spec.rb +160 -0
  126. data/spec/alexandria/book_providers_spec.rb +0 -154
  127. data/spec/alexandria/console_spec.rb +0 -5
  128. data/spec/alexandria/export_library_spec.rb +27 -38
  129. data/spec/alexandria/library_spec.rb +76 -46
  130. data/spec/alexandria/preferences_spec.rb +29 -3
  131. data/spec/alexandria/scanners/cue_cat_spec.rb +1 -1
  132. data/spec/alexandria/ui/about_dialog_spec.rb +1 -1
  133. data/spec/alexandria/ui/acquire_dialog_spec.rb +1 -1
  134. data/spec/alexandria/ui/alert_dialog_spec.rb +1 -1
  135. data/spec/alexandria/ui/bad_isbns_dialog_spec.rb +1 -1
  136. data/spec/alexandria/ui/book_properties_dialog_spec.rb +47 -5
  137. data/spec/alexandria/ui/confirm_erase_dialog_spec.rb +1 -1
  138. data/spec/alexandria/ui/conflict_while_copying_dialog_spec.rb +1 -1
  139. data/spec/alexandria/ui/error_dialog_spec.rb +1 -1
  140. data/spec/alexandria/ui/export_dialog_spec.rb +25 -4
  141. data/spec/alexandria/ui/icons_spec.rb +26 -0
  142. data/spec/alexandria/ui/iconview_spec.rb +1 -1
  143. data/spec/alexandria/ui/import_dialog_spec.rb +35 -3
  144. data/spec/alexandria/ui/keep_bad_isbn_dialog_spec.rb +1 -1
  145. data/spec/alexandria/ui/main_app_spec.rb +1 -1
  146. data/spec/alexandria/ui/new_book_dialog_manual_spec.rb +39 -3
  147. data/spec/alexandria/ui/new_provider_dialog_spec.rb +19 -3
  148. data/spec/alexandria/ui/new_smart_library_dialog_spec.rb +28 -3
  149. data/spec/alexandria/ui/preferences_dialog_spec.rb +2 -2
  150. data/spec/alexandria/ui/provider_preferences_dialog_spec.rb +23 -8
  151. data/spec/alexandria/ui/really_delete_dialog_spec.rb +1 -1
  152. data/spec/alexandria/ui/sidepane_manager_spec.rb +2 -2
  153. data/spec/alexandria/ui/skip_entry_dialog_spec.rb +1 -1
  154. data/spec/alexandria/ui/smart_library_properties_dialog_spec.rb +37 -6
  155. data/spec/alexandria/ui/ui_manager_spec.rb +116 -2
  156. data/spec/data/libraries/0.6.2/My Library/9780571147168.yaml +2 -0
  157. data/spec/end_to_end/basic_run_spec.rb +3 -8
  158. data/spec/fixtures/cover.jpg +0 -0
  159. data/spec/spec_helper.rb +47 -3
  160. data/tasks/spec.rake +3 -5
  161. data/util/rake/fileinstall.rb +16 -15
  162. data/util/rake/omfgenerate.rb +1 -1
  163. metadata +141 -52
  164. data/.travis.yml +0 -39
  165. data/lib/alexandria/book_providers/adlibris.rb +0 -196
  166. data/lib/alexandria/book_providers/amazon_aws.rb +0 -252
  167. data/lib/alexandria/book_providers/amazon_ecs_util.rb +0 -388
  168. data/lib/alexandria/book_providers/barnes_and_noble.rb +0 -209
  169. data/lib/alexandria/book_providers/proxis.rb +0 -175
  170. data/lib/alexandria/book_providers/siciliano.rb +0 -257
  171. data/lib/alexandria/book_providers/z3950.rb +0 -415
  172. data/spec/alexandria/ui/ui_utilities_spec.rb +0 -62
  173. data/spec/alexandria/utilities_spec.rb +0 -52
@@ -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>
@@ -1,9 +1,12 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- Generated with glade 3.22.0 -->
2
+ <!-- Generated with glade 3.22.2 -->
3
3
  <interface>
4
4
  <requires lib="gtk+" version="3.0"/>
5
5
  <object class="GtkWindow" id="main_app">
6
6
  <property name="can_focus">False</property>
7
+ <child type="titlebar">
8
+ <placeholder/>
9
+ </child>
7
10
  <child>
8
11
  <object class="GtkBox" id="vbox1">
9
12
  <property name="visible">True</property>
@@ -135,14 +138,7 @@
135
138
  </object>
136
139
  </child>
137
140
  <child type="tab">
138
- <object class="GtkLabel" id="label2">
139
- <property name="visible">True</property>
140
- <property name="can_focus">False</property>
141
- <property name="label" translatable="yes">label</property>
142
- </object>
143
- <packing>
144
- <property name="tab_fill">False</property>
145
- </packing>
141
+ <placeholder/>
146
142
  </child>
147
143
  <child>
148
144
  <object class="GtkScrolledWindow" id="scrolledwindow4">
@@ -165,15 +161,7 @@
165
161
  </packing>
166
162
  </child>
167
163
  <child type="tab">
168
- <object class="GtkLabel" id="label3">
169
- <property name="visible">True</property>
170
- <property name="can_focus">False</property>
171
- <property name="label" translatable="yes">label</property>
172
- </object>
173
- <packing>
174
- <property name="position">1</property>
175
- <property name="tab_fill">False</property>
176
- </packing>
164
+ <placeholder/>
177
165
  </child>
178
166
  </object>
179
167
  <packing>
@@ -228,8 +216,5 @@
228
216
  </child>
229
217
  </object>
230
218
  </child>
231
- <child type="titlebar">
232
- <placeholder/>
233
- </child>
234
219
  </object>
235
220
  </interface>
@@ -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>
@@ -18,7 +18,7 @@
18
18
 
19
19
  <para>
20
20
  Smart Libraries are listed beneath the actual libraries in the
21
- application side pane. They do not actually contain books, but
21
+ application sidepane. They do not actually contain books, but
22
22
  rather a set of rules describing which books you wish to see. The
23
23
  books from all libraries which satisfy the set of rules will be
24
24
  displayed. You cannot directly add books to a Smart Library.
@@ -58,7 +58,7 @@
58
58
  <para>
59
59
  An example will illustrate the use of Smart Libraries. Let us
60
60
  suppose you have a large collections of books by Terry
61
- Practchett and you add the tag <quote>discworld</quote> to all
61
+ Pratchett and you add the tag <quote>discworld</quote> to all
62
62
  the books in the Discworld series. Let us create a Smart Library
63
63
  for all his non-Discworld books.
64
64
  </para>
@@ -12,7 +12,7 @@
12
12
  <para>Books stored in &app; can be grouped into different collections, called libraries. For instance, you may have
13
13
  one library for all your novels, and other for your programming manuals. &app; allows you to create, edit, and move books
14
14
  between libraries.</para>
15
- <para>Available libraries are listed in the <guilabel>Library pane</guilabel> at the left of the main &app; window. If you cannot see the library pane, open it with <menuchoice><guimenu>View</guimenu><guimenuitem>Side Pane</guimenuitem></menuchoice>. You can close it again with the same menu option, or by clicking the <guibutton>Close</guibutton> icon in the top right of the library pane.</para>
15
+ <para>Available libraries are listed in the <guilabel>Library pane</guilabel> at the left of the main &app; window. If you cannot see the library pane, open it with <menuchoice><guimenu>View</guimenu><guimenuitem>Sidepane</guimenuitem></menuchoice>. You can close it again with the same menu option, or by clicking the <guibutton>Close</guibutton> icon in the top right of the library pane.</para>
16
16
  <figure id="library-pane-fig">
17
17
  <title>An &app; list of libraries</title>
18
18
  <screenshot>
@@ -165,27 +165,6 @@ Date : 30 décembre 2005
165
165
  <!--retrieves and displays book information (including cover pictures) from online libraries:-->
166
166
  </para>
167
167
  <itemizedlist>
168
- <listitem>
169
- <para>
170
- <orgname>Amazon</orgname> (.com, .co.uk, .de et .jp)&nbsp;;
171
- </para>
172
- </listitem>
173
- <listitem>
174
- <para>
175
- <orgname>Proxis</orgname>&nbsp;;
176
- </para>
177
- </listitem>
178
- <listitem>
179
- <para>
180
- <orgname>Barnes and Noble</orgname>&nbsp;;
181
- </para>
182
- </listitem>
183
- <listitem>
184
- <para>
185
- <orgname>Ministère de la Culture espagnole</orgname>&nbsp;;
186
- <!--the Spanish Ministry of Culture-->
187
- </para>
188
- </listitem>
189
168
  <listitem>
190
169
  <para>
191
170
  <orgname>Amadeus Buch</orgname>&nbsp;;
@@ -618,15 +597,14 @@ Date : 30 décembre 2005
618
597
  ajouter, vous pouvez rechercher par le titre,
619
598
  les auteurs ou des mots clés.
620
599
  &app; recherche les livres qui correspondent aux critères définis
621
- à partir de fournisseurs d&#8217;informations en ligne tel
622
- qu&#8217;<ulink url="http://www.amazon.fr">Amazon</ulink>.
600
+ à partir de fournisseurs d&#8217;informations en ligne.
623
601
  Vous pouvez ensuite sélectionner le livre désiré à partir de la liste
624
602
  affichée et cliquer sur le bouton
625
603
  <guibutton>A<accel>j</accel>outer</guibutton> pour
626
604
  l&#8217;intégrer à votre bibliothèque.
627
605
  <!--If you do not know the ISBN of the book you wish to add, you can specify
628
606
  either the Title, the Authors or the Keywords, and &app; will search
629
- your online information provider, such as Amazon, for books that match.
607
+ your online information provider for books that match.
630
608
  You can then select the desired book from the displayed list and
631
609
  click <guibutton>Add</guibutton> to the book to the selected library.-->
632
610
  </para>
@@ -1240,7 +1218,7 @@ Date : 30 décembre 2005
1240
1218
  open it with
1241
1219
  <menuchoice>
1242
1220
  <guimenu>View</guimenu>
1243
- <guimenuitem>Side Pane</guimenuitem>
1221
+ <guimenuitem>Sidepane</guimenuitem>
1244
1222
  </menuchoice>.
1245
1223
  You can close it again with the same menu option, or by clicking
1246
1224
  the <guibutton>Close</guibutton> icon in the top right of the
@@ -1610,55 +1588,21 @@ Date : 30 décembre 2005
1610
1588
  </title>
1611
1589
  <para>
1612
1590
  Pour trouver plus d&#8217;informations au sujet de vos livres, vous
1613
- pouvez utiliser &app; pour ouvrir une page web sur
1614
- <orgname>Amazon</orgname>, <orgname>Barnes and Noble</orgname>
1615
- ou chez l&#8217;un des autres fournisseurs d&#8217;informations en ligne
1591
+ pouvez utiliser &app; pour ouvrir une page web
1592
+ chez l&#8217;un des fournisseurs d&#8217;informations en ligne
1616
1593
  et être dirigé directement à la page du livre concerné.
1617
1594
  Pour cela, sélectionnez le livre, cliquez dessus avec le bouton
1618
1595
  <mousebutton>droit</mousebutton> de la souris,
1619
1596
  et à partir du menu contextuel choisissez
1620
1597
  <guimenu>Afficher les <accel>i</accel>nformations en ligne</guimenu>
1621
1598
  puis sélectionnez le fournisseur dans la liste présentée.
1622
- <!--If you want to find out more information about your book, you
1623
- can use &app; to open the web page of Amazon, Barnes and Noble,
1624
- or one of the other online information providers and be
1625
- taken directly to the relevant book. Simply select the book you
1626
- wish to know more about, right-click on it, and from the menu
1627
- <guimenuitem>Display Online Information</guimenuitem>, choose
1628
- from either Amazon, Barnes and Nobel, Proxis,
1629
- Spanish Culture Ministry, Amadeus Buch, or
1630
- Internet Bookshop Italia.-->
1631
1599
  </para>
1632
- <tip>
1633
- <para>
1634
- Le menu
1635
- <menuchoice>
1636
- <guimenu>Afficher les <accel>i</accel>nformations en ligne</guimenu>
1637
- <guimenuitem>Sur <accel>A</accel>mazon</guimenuitem>
1638
- </menuchoice>
1639
- vous envoie sur le site d&#8217;<orgname>Amazon</orgname> .com,
1640
- .ca, .co.uk, .de, .fr, ou .jp en fonction de votre
1641
- configuration pour ce fournisseur (voir
1642
- <xref linkend="alexandria-amazon-prefs"/>).
1643
- <!--The
1644
- <menuchoice>
1645
- <guimenu>Display Online Information</guimenu>
1646
- <guimenuitem>At Amazon</guimenuitem>
1647
- </menuchoice>
1648
- choice will take you to the Amazon .com, .co.uk, .de, or jp
1649
- site, as set up in the
1650
- <xref linkend="alexandria-amazon-prefs"/>.-->
1651
- </para>
1652
- </tip>
1653
1600
  <caution>
1654
1601
  <para>
1655
1602
  Les sources d&#8217;informations en ligne n&#8217;ont pas une liste
1656
1603
  complète de livres et il est possible que vous deviez
1657
1604
  essayer plusieurs fournisseurs pour trouver
1658
1605
  l&#8217;information recherchée.
1659
- <!--Not every online information source has a complete list of
1660
- books and you may have to try several different providers
1661
- to find the information you want.-->
1662
1606
  </para>
1663
1607
  </caution>
1664
1608
  </sect2>
@@ -1964,35 +1908,7 @@ Date : 30 décembre 2005
1964
1908
  en déplaçant chaque source en utilisant
1965
1909
  les boutons <guibutton><accel>V</accel>ers le haut</guibutton>
1966
1910
  ou <guibutton><accel>V</accel>ers le bas</guibutton>.
1967
- <!--&app; can download information from a variety of different
1968
- online sources; some of these sources have additional options
1969
- to control how the information is downloaded. &app; will
1970
- search each of the sources in turn, in the order displayed in
1971
- the list. You can change the order in which the sources are
1972
- searched by moving each source up or down using the
1973
- <guibutton>Up</guibutton> and <guibutton>Down</guibutton> buttons.-->
1974
1911
  <itemizedlist>
1975
- <listitem>
1976
- <para>
1977
- <xref linkend="alexandria-amazon-prefs"/>&nbsp;;
1978
- </para>
1979
- </listitem>
1980
- <listitem>
1981
- <para>
1982
- <xref linkend="alexandria-proxis-prefs"/>&nbsp;;
1983
- </para>
1984
- </listitem>
1985
- <listitem>
1986
- <para>
1987
- Ministère de la Culture espagnol&nbsp;;
1988
- <!--The Spanish Culture Ministry-->
1989
- </para>
1990
- </listitem>
1991
- <listitem>
1992
- <para>
1993
- Barnes and Noble&nbsp;;
1994
- </para>
1995
- </listitem>
1996
1912
  <listitem>
1997
1913
  <para>
1998
1914
  Amadeus Buch&nbsp;;
@@ -2035,77 +1951,6 @@ Date : 30 décembre 2005
2035
1951
  </para>
2036
1952
 
2037
1953
 
2038
- <sect3 id="alexandria-amazon-prefs">
2039
- <title>
2040
- Préférences pour <orgname>Amazon</orgname>
2041
- <!-- Amazon preferences-->
2042
- </title>
2043
- <para>
2044
- &app; peut télécharger les informations d&#8217;un livre à partir
2045
- de différents sites web d&#8217;<orgname>Amazon</orgname>.
2046
- Les sites actuellement supportés sont&nbsp;:
2047
- amazon.com (us), .ca, .co.uk (uk), .de, .fr et .jp.
2048
- Pour changer le site utilisé, sélectionnez
2049
- <guilabel>Amazon</guilabel> à partir de la liste des
2050
- fournisseurs et cliquez sur
2051
- <guibutton><accel>C</accel>onfigurer</guibutton>.
2052
- Ensuite choisissez dans le menu déroulant
2053
- <guilabel><accel>L</accel>angue</guilabel> le site
2054
- qui vous convient.
2055
- <!--&app; can download book information from different amazon
2056
- websites - currently, amazon.com, .co.uk, .de and .jp.
2057
- To change which site to use, select Amazon from the
2058
- Provider list, and click on <guibutton>Setup</guibutton>.
2059
- Then choose either <guilabel>UK, DE, JP</guilabel> or
2060
- <guilabel>US</guilabel> from the drop-down menu.-->
2061
- </para>
2062
-
2063
- <warning>
2064
- <para>
2065
- <guilabel><accel>J</accel>eton de développeur</guilabel>
2066
- et <guilabel><accel>I</accel>dentifiant d&#8217;associé</guilabel>
2067
- peuvent être changés si vous avez un compte de service web
2068
- d&#8217;<orgname>Amazon</orgname>. Vous pouvez obtenir
2069
- un compte à l&#8217;adresse
2070
- <ulink url="https://aws-portal.amazon.com/gp/aws/developer/registration/index.html/002-9602971-5248069">aws-portal.amazon.com</ulink>.
2071
- Si vous ne savez pas ce que cela signifie, alors vous pouvez
2072
- laisser ces champs tels quels.
2073
- <!--The <guilabel>Development token</guilabel> and
2074
- <guilabel>Associate ID</guilabel> can be changed if you
2075
- have an amazon web services account. You sign for an
2076
- Amazon Web Services account at
2077
- <ulink url="https://aws-portal.amazon.com/gp/aws/developer/registration/index.html/002-9602971-5248069">aws-portal.amazon.com</ulink>.
2078
- If you don&#8217;t know what this means, then you can leave
2079
- these values alone.-->
2080
- </para>
2081
- </warning>
2082
- </sect3>
2083
-
2084
-
2085
- <sect3 id="alexandria-proxis-prefs">
2086
- <title>
2087
- Préférences <orgname>Proxis</orgname>
2088
- <!--Proxis preferences-->
2089
- </title>
2090
- <para>
2091
- &app; peut chercher dans le site web de
2092
- <orgname>Proxis</orgname> pour des livres en
2093
- anglais (en), français (fr) ou néerlandais (nl). Pour changer
2094
- la langue utilisée, sélectionnez <guilabel>Proxis</guilabel>
2095
- dans la liste
2096
- <guilabel><accel>F</accel>ournisseurs</guilabel> et cliquez
2097
- sur <guibutton><accel>C</accel>onfigurer</guibutton>.
2098
- Ensuite, sélectionnez la langue dans le menu déroulant
2099
- <guilabel><accel>L</accel>angue</guilabel>.
2100
- <!--&app; can search the Proxis website for books in either
2101
- English, French or Dutch. To change which language to use,
2102
- select Proxis from the Provider list, and click on
2103
- <guibutton>Setup</guibutton>. Then chose either
2104
- <guilabel>en, fr</guilabel> or <guilabel>nl</guilabel> from
2105
- the drop-down menu.-->
2106
- </para>
2107
- </sect3>
2108
-
2109
1954
  <sect3 id="alexandria-britlib-prefs">
2110
1955
  <title>
2111
1956
  Préférences <orgname>Bibliothèque Britannique</orgname>
@@ -101,7 +101,7 @@
101
101
 
102
102
  <para>
103
103
  追加したい本のISBNが分からない場合には、本のタイトルや作者、キーワードを入力すると、
104
- &app; はAmazonなどのオンライン情報のプロバイダーから本を検索します。
104
+ &app; はオンライン情報のプロバイダーから本を検索します。
105
105
  リストに表示された検索結果から追加したい本を選択し、<guibutton>追加</guibutton>
106
106
  のボタンを押して選択したライブラリに本を追加できます。</para>
107
107
 
@@ -21,21 +21,6 @@
21
21
  オンラインの図書館や書店から本の情報(や本の表紙)を検索して表示できます。
22
22
  例として、
23
23
  <itemizedlist>
24
- <listitem>
25
- <para>
26
- <ulink url="http://www.amazon.com">Amazon</ulink>
27
- (amazon.comの他に .co.uk, .fr, .de, .ja, .caのウェブサイトを検索できます)
28
- </para>
29
- </listitem>
30
-
31
- <listitem>
32
- <para><ulink url="http://www.proxis.be">Proxis</ulink></para>
33
- </listitem>
34
-
35
- <listitem>
36
- <para><ulink url="http://www.barnesandnoble.com">Barnes and Noble</ulink></para>
37
- </listitem>
38
-
39
24
  <listitem>
40
25
  <para><ulink url="http://www.thalia.de">Thalia</ulink></para>
41
26
  </listitem>
@@ -87,15 +87,11 @@
87
87
  <!-- ========= Finding out more online =========== -->
88
88
  <section id="searching-more-online">
89
89
  <title>オンラインで本に関する詳細な情報を探すには</title>
90
- <para>もし本について詳細な情報を知りたければ、&app; はAmazonやBarnes and Noble
91
- などのオンライン情報プロバイダーのウェブページを開いて、その本に関する情報を直接得ることが
90
+ <para>もし本について詳細な情報を知りたければ、&app; は
91
+ オンライン情報プロバイダーのウェブページを開いて、その本に関する情報を直接得ることが
92
92
  出来ます。より詳しく知りたい本を選択して右クリックし、
93
- <guimenuitem>オンライン情報の表示</guimenuitem>を選択して、Amazonなどのプロバイダーを
93
+ <guimenuitem>オンライン情報の表示</guimenuitem>を選択して、プロバイダーを
94
94
  選択してください。</para>
95
- <tip>
96
- <para><menuchoice><guimenu>オンライン情報の表示</guimenu><guimenuitem>Amazon</guimenuitem></menuchoice>を選択した時は、<xref linkend="alexandria-amazon-prefs"/>で
97
- 設定した amazon.com, co.uk, .de, .jpのいずれかのサイトが選択されます。</para>
98
- </tip>
99
95
  <caution>
100
96
  <para>すべてのオンライン情報源が、本に関する完璧な情報を持っているわけではありません。
101
97
  欲しい情報を得るために、別のプロバイダーをいくつか試す必要があるかもしれません。</para>
@@ -37,10 +37,7 @@
37
37
  <guibutton>上へ</guibutton>と<guibutton>下へ</guibutton>のボタンを使って
38
38
  検索する情報源の順番を変えることができます。
39
39
  <itemizedlist>
40
- <listitem><para><xref linkend="alexandria-amazon-prefs"/></para></listitem>
41
- <listitem><para><xref linkend="alexandria-proxis-prefs"/></para></listitem>
42
40
  <listitem><para>スペイン文化省</para></listitem>
43
- <listitem><para>Barnes and Noble</para></listitem>
44
41
  <listitem><para>Amadeus Buch</para></listitem>
45
42
  <listitem><para>Internet Bookshop Italia</para></listitem>
46
43
  <listitem><para><xref linkend="alexandria-britlib-prefs"/></para></listitem>
@@ -55,30 +52,6 @@
55
52
  </para>
56
53
 
57
54
 
58
- <sect3 id="alexandria-amazon-prefs">
59
- <title>Amazonの設定</title>
60
- <para>&app; はいくつかの異なるAmazonのサイトから本の情報をダウンロード出来ます。
61
- 現時点では、amazon.com, .co.uk, .de, .jp, .fr, .ca です。使用するサイトを
62
- 変更するには、プロバイダーの一覧からAmazonを選択し、<guibutton>セットアップ</guibutton>
63
- をクリックします。次にドロップダウンメニューから<guilabel>UK, DE, JP, FR, CA, US</guilabel>
64
- のいずれかを選択します。</para>
65
- <warning>
66
- <para><guilabel>デベロッパートークン</guilabel>と <guilabel>アソシエイトID</guilabel>は、もしあなたがAmazonのウェブサービスアカウントを持っていればそれに変更できます。
67
- <ulink url="https://aws-portal.amazon.com/gp/aws/developer/registration/index.html/002-9602971-5248069">aws-portal.amazon.com</ulink>でAmazon
68
- ウェブサービスアカウントのサインアップをしてください。もしこの意味が分からなければ、
69
- 変更せずにデフォルトのままにしておいてください。</para>
70
- </warning>
71
- </sect3>
72
-
73
-
74
- <sect3 id="alexandria-proxis-prefs">
75
- <title>Proxisの設定</title>
76
- <para>&app; は Proxisのウェブサイトで英語またはフランス語、またはオランダ語で
77
- 本を検索できます。どの言語で検索するかを選択するには、プロバイダーの一覧からProxisを
78
- 選択し、<guibutton>セットアップ</guibutton>をクリックします。次にドロップダウンメニュー
79
- から<guilabel>en, fr, nl</guilabel>のいずれかを選択します。</para>
80
- </sect3>
81
-
82
55
  <sect3 id="alexandria-britlib-prefs">
83
56
  <title>大英図書館の設定</title>
84
57
  <para>大英図書館のアカウントを持っているなら、ダイアログでz39.50サービス用の
@@ -44,7 +44,7 @@
44
44
 
45
45
 
46
46
  <para>
47
- 高機能ライブラリの例を以下に示します。Terry Practchettという作者の本をたくさん持っていて、
47
+ 高機能ライブラリの例を以下に示します。Terry Pratchettという作者の本をたくさん持っていて、
48
48
  Discworldシリーズの本に<quote>discworld</quote>というタグをつけてあるとします。
49
49
  高機能ライブラリで、彼のDiscworldシリーズでない本を探してライブラリ化します。
50
50
  </para>
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This file is part of Alexandria.
4
+ #
5
+ # See the file README.md for authorship and licensing information.
6
+
7
+ require "spec_helper"
8
+
9
+ describe Alexandria::BookProviders::BLProvider do
10
+ it "works" do
11
+ assert_correct_search_result(described_class, "9781853260803")
12
+ end
13
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This file is part of Alexandria.
4
+ #
5
+ # See the file README.md for authorship and licensing information.
6
+
7
+ require "spec_helper"
8
+
9
+ describe Alexandria::BookProviders::LOCProvider do
10
+ it "works for a book with ASCII title" do
11
+ assert_correct_search_result(described_class, "9780805335583")
12
+ end
13
+
14
+ it "works for a book with a title with non-ASCII letters" do
15
+ assert_correct_search_result(described_class, "9782070379248")
16
+ end
17
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This file is part of Alexandria.
4
+ #
5
+ # See the file README.md for authorship and licensing information.
6
+
7
+ require "spec_helper"
8
+
9
+ describe Alexandria::BookProviders::SBNProvider do
10
+ it "works" do
11
+ assert_correct_search_result(described_class, "9788835926436")
12
+ end
13
+ end