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
@@ -1,26 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (C) 2014-2016 Matijs van Zuijlen
4
- #
5
3
  # This file is part of Alexandria.
6
4
  #
7
- # Alexandria is free software; you can redistribute it and/or
8
- # modify it under the terms of the GNU General Public License as
9
- # published by the Free Software Foundation; either version 2 of the
10
- # License, or (at your option) any later version.
11
- #
12
- # Alexandria is distributed in the hope that it will be useful,
13
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
- # General Public License for more details.
16
- #
17
- # You should have received a copy of the GNU General Public
18
- # License along with Alexandria; see the file COPYING. If not,
19
- # write to the Free Software Foundation, Inc., 51 Franklin Street,
20
- # Fifth Floor, Boston, MA 02110-1301 USA.
5
+ # See the file README.md for authorship and licensing information.
21
6
 
22
7
  module Alexandria
23
- VERSION = '0.7.3'
24
- DATA_VERSION = '0.6.3'
25
- DISPLAY_VERSION = '0.7.3'
8
+ VERSION = "0.7.4"
9
+ DATA_VERSION = "0.6.3"
10
+ DISPLAY_VERSION = "0.7.4"
26
11
  end
@@ -25,10 +25,10 @@ module Alexandria
25
25
  def self.all
26
26
  themes_dir = [
27
27
  # System dir
28
- File.join(Alexandria::Config::DATA_DIR, 'web-themes'),
28
+ File.join(Alexandria::Config::DATA_DIR, "web-themes"),
29
29
 
30
30
  # User dir
31
- File.join(ENV['HOME'], '.alexandria', '.web-themes')
31
+ File.join(ENV["HOME"], ".alexandria", ".web-themes")
32
32
  ]
33
33
  themes_dir.map { |x| load(x) }.flatten
34
34
  end
@@ -44,21 +44,21 @@ module Alexandria
44
44
  if File.exist?(themes_dir)
45
45
  Dir.entries(themes_dir).each do |file|
46
46
  # ignore hidden files
47
- next if file =~ /^\./
47
+ next if /^\./.match?(file)
48
48
 
49
49
  # ignore non-directories
50
50
  path = File.join(themes_dir, file)
51
51
  next unless File.directory?(path)
52
52
  # ignore CVS directories
53
- next if file == 'CVS'
53
+ next if file == "CVS"
54
54
 
55
- css_file = File.join(path, file + '.css')
56
- preview_file = File.join(path, 'preview.jpg')
55
+ css_file = File.join(path, file + ".css")
56
+ preview_file = File.join(path, "preview.jpg")
57
57
  [css_file, preview_file].each do |helper_file|
58
58
  raise "#{helper_file} not found" unless File.exist?(helper_file)
59
59
  end
60
60
  themes << WebTheme.new(css_file, preview_file,
61
- File.join(path, file, 'pixmaps'))
61
+ File.join(path, file, "pixmaps"))
62
62
  end
63
63
  else
64
64
  FileUtils.mkdir_p(themes_dir)
@@ -67,7 +67,7 @@ module Alexandria
67
67
  end
68
68
 
69
69
  def initialize(css_file, preview_file, pixmaps_directory)
70
- @name = File.basename(css_file, '.css').capitalize
70
+ @name = File.basename(css_file, ".css").capitalize
71
71
  @css_file = css_file
72
72
  @preview_file = preview_file
73
73
  @pixmaps_directory = pixmaps_directory
data/po/cs.po CHANGED
@@ -182,7 +182,7 @@ msgid "The following lines are not valid ISBNs and were not imported:"
182
182
  msgstr "Následující řádky obsahující neplatná ISBN nebyly importovány:"
183
183
 
184
184
  #: ../lib/alexandria/ui/callbacks.rb:122
185
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:128
185
+ #: ../lib/alexandria/ui/export_dialog.rb:128
186
186
  msgid "Export failed"
187
187
  msgstr "Export se nezdařil"
188
188
 
@@ -462,14 +462,14 @@ msgstr "Podle _hodnocení"
462
462
  msgid "At _%s"
463
463
  msgstr "V _%s"
464
464
 
465
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:395
465
+ #: ../lib/alexandria/ui/acquire_dialog.rb:395
466
466
  msgid "There was %d duplicate"
467
467
  msgid_plural "There were %d duplicates"
468
468
  msgstr[0] ""
469
469
  msgstr[1] ""
470
470
  msgstr[2] ""
471
471
 
472
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:398
472
+ #: ../lib/alexandria/ui/acquire_dialog.rb:398
473
473
  #, fuzzy
474
474
  msgid "Couldn't add this book"
475
475
  msgid_plural "Couldn't add these books"
@@ -477,85 +477,85 @@ msgstr[0] "Knihu nelze přidat"
477
477
  msgstr[1] "Knihu nelze přidat"
478
478
  msgstr[2] "Knihu nelze přidat"
479
479
 
480
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:477
481
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:555
480
+ #: ../lib/alexandria/ui/acquire_dialog.rb:477
481
+ #: ../lib/alexandria/ui/new_book_dialog.rb:555
482
482
  msgid "Searching Provider '%s'..."
483
483
  msgstr ""
484
484
 
485
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:478
486
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:556
485
+ #: ../lib/alexandria/ui/acquire_dialog.rb:478
486
+ #: ../lib/alexandria/ui/new_book_dialog.rb:556
487
487
  msgid "Error while Searching Provider '%s'"
488
488
  msgstr ""
489
489
 
490
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:479
491
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:557
490
+ #: ../lib/alexandria/ui/acquire_dialog.rb:479
491
+ #: ../lib/alexandria/ui/new_book_dialog.rb:557
492
492
  msgid "Not Found at Provider '%s'"
493
493
  msgstr ""
494
494
 
495
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:480
496
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:558
495
+ #: ../lib/alexandria/ui/acquire_dialog.rb:480
496
+ #: ../lib/alexandria/ui/new_book_dialog.rb:558
497
497
  msgid "Found at Provider '%s'"
498
498
  msgstr ""
499
499
 
500
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:610
500
+ #: ../lib/alexandria/ui/acquire_dialog.rb:610
501
501
  msgid "Ready to use %s barcode scanner"
502
502
  msgstr ""
503
503
 
504
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:625
504
+ #: ../lib/alexandria/ui/acquire_dialog.rb:625
505
505
  #: ../data/alexandria/glade/acquire_dialog.glade:26
506
506
  msgid "_Barcode Scanner Ready"
507
507
  msgstr "Čtečka čárového kódu připravena k použití"
508
508
 
509
- #: ../lib/alexandria/ui/dialogs/acquire_dialog.rb:640
509
+ #: ../lib/alexandria/ui/acquire_dialog.rb:640
510
510
  msgid "Click below to scan _barcodes"
511
511
  msgstr "Kliněte níže pro naskenování čárových kódů"
512
512
 
513
- #: ../lib/alexandria/ui/dialogs/bad_isbns_dialog.rb:24
513
+ #: ../lib/alexandria/ui/bad_isbns_dialog.rb:24
514
514
  msgid "There's a problem"
515
515
  msgstr "Vyskytla se chyba"
516
516
 
517
- #: ../lib/alexandria/ui/dialogs/new_smart_library_dialog.rb:30
517
+ #: ../lib/alexandria/ui/new_smart_library_dialog.rb:30
518
518
  msgid "New Smart Library"
519
519
  msgstr "Nová inteligentní knihovna"
520
520
 
521
- #: ../lib/alexandria/ui/dialogs/new_smart_library_dialog.rb:49
521
+ #: ../lib/alexandria/ui/new_smart_library_dialog.rb:49
522
522
  msgid "Smart Library"
523
523
  msgstr "Inteligentní knihovna"
524
524
 
525
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:106
525
+ #: ../lib/alexandria/ui/preferences_dialog.rb:106
526
526
  msgid "Preferences for %s"
527
527
  msgstr "Nastavení pro %s"
528
528
 
529
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:131
529
+ #: ../lib/alexandria/ui/preferences_dialog.rb:131
530
530
  msgid "New Provider"
531
531
  msgstr "Nový poskytovatel"
532
532
 
533
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:146
533
+ #: ../lib/alexandria/ui/preferences_dialog.rb:146
534
534
  msgid "_Name:"
535
535
  msgstr "_Jméno:"
536
536
 
537
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:158
537
+ #: ../lib/alexandria/ui/preferences_dialog.rb:158
538
538
  msgid "_Type:"
539
539
  msgstr "_Typ:"
540
540
 
541
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:316
542
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:339
543
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:359
541
+ #: ../lib/alexandria/ui/preferences_dialog.rb:316
542
+ #: ../lib/alexandria/ui/preferences_dialog.rb:339
543
+ #: ../lib/alexandria/ui/preferences_dialog.rb:359
544
544
  #, fuzzy
545
545
  msgid "Disable Provider"
546
546
  msgstr "Nový poskytovatel"
547
547
 
548
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:339
549
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:359
548
+ #: ../lib/alexandria/ui/preferences_dialog.rb:339
549
+ #: ../lib/alexandria/ui/preferences_dialog.rb:359
550
550
  #, fuzzy
551
551
  msgid "Enable Provider"
552
552
  msgstr "Nový poskytovatel"
553
553
 
554
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:423
554
+ #: ../lib/alexandria/ui/preferences_dialog.rb:423
555
555
  msgid "Are you sure you want to permanently delete the provider '%s'?"
556
556
  msgstr "Jste si jisti, že chcete natrvalo odstranit poskytovatele '%s'?"
557
557
 
558
- #: ../lib/alexandria/ui/dialogs/preferences_dialog.rb:431
558
+ #: ../lib/alexandria/ui/preferences_dialog.rb:431
559
559
  msgid ""
560
560
  "If you continue, the provider and all of its preferences will be permanently "
561
561
  "deleted."
@@ -563,46 +563,46 @@ msgstr ""
563
563
  "Pokud budete pokračovat, poskytovatel a jeho nastavení budou natrvalo "
564
564
  "odstraněny."
565
565
 
566
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:36
566
+ #: ../lib/alexandria/ui/import_dialog.rb:36
567
567
  msgid "Error while importing"
568
568
  msgstr "Chyba při importování"
569
569
 
570
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:39
570
+ #: ../lib/alexandria/ui/import_dialog.rb:39
571
571
  msgid "_Continue"
572
572
  msgstr "_Pokračovat"
573
573
 
574
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:64
574
+ #: ../lib/alexandria/ui/import_dialog.rb:64
575
575
  msgid "Import a Library"
576
576
  msgstr "Importovat knihovnu"
577
577
 
578
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:71
578
+ #: ../lib/alexandria/ui/import_dialog.rb:71
579
579
  msgid "_Import"
580
580
  msgstr "Importovat"
581
581
 
582
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:188
582
+ #: ../lib/alexandria/ui/import_dialog.rb:188
583
583
  msgid "Couldn't import the library"
584
584
  msgstr "Knihovnu nelze importovat"
585
585
 
586
- #: ../lib/alexandria/ui/dialogs/import_dialog.rb:189
586
+ #: ../lib/alexandria/ui/import_dialog.rb:189
587
587
  msgid ""
588
588
  "The format of the file you provided is unknown. Please retry with another "
589
589
  "file."
590
590
  msgstr "Nerozpoznán formát zadaného souboru. Zkuste prosím jiný soubor."
591
591
 
592
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog.rb:30
593
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:63
592
+ #: ../lib/alexandria/ui/smart_library_properties_dialog.rb:30
593
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:63
594
594
  msgid "Properties for '%s'"
595
595
  msgstr "Vlastnosti %s"
596
596
 
597
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:83
597
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:83
598
598
  msgid "Empty or conflictive condition"
599
599
  msgstr "Podmínka je prázdná nebo neplatná"
600
600
 
601
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:86
601
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:86
602
602
  msgid "_Save However"
603
603
  msgstr "Přesto uložit"
604
604
 
605
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:87
605
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:87
606
606
  msgid ""
607
607
  "This smart library contains one or more conditions which are empty or "
608
608
  "conflict with each other. This is likely to result in never matching a book. "
@@ -612,38 +612,38 @@ msgstr ""
612
612
  "prázdné, nebo v konfliktu, což se může v konečném důsledku projevit "
613
613
  "knihovnou, která budu vždy bez knih. Chcete opravdu uložit tuto knihovnu?"
614
614
 
615
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:106
615
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:106
616
616
  msgid "Match"
617
617
  msgstr "Porovnat"
618
618
 
619
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:109
619
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:109
620
620
  msgid "all"
621
621
  msgstr "vše"
622
622
 
623
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:109
623
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:109
624
624
  msgid "any"
625
625
  msgstr "kterékoliv"
626
626
 
627
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:119
627
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:119
628
628
  msgid "of the following rules:"
629
629
  msgstr "z následujících plavidel:"
630
630
 
631
- #: ../lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb:127
631
+ #: ../lib/alexandria/ui/smart_library_properties_dialog_base.rb:127
632
632
  msgid "Match the following rule:"
633
633
  msgstr "Vybrat podle následujícího pravidla:"
634
634
 
635
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:114
636
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:123
635
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:114
636
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:123
637
637
  msgid "Couldn't modify the book"
638
638
  msgstr "Knihu nelze upravit"
639
639
 
640
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:115
641
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:88
640
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:115
641
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:88
642
642
  msgid "The EAN/ISBN you provided is already used in this library."
643
643
  msgstr "Zadané EAN/ISBN je již v této knihovně používáno."
644
644
 
645
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog.rb:124
646
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:94
645
+ #: ../lib/alexandria/ui/book_properties_dialog.rb:124
646
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:94
647
647
  msgid ""
648
648
  "Couldn't validate the EAN/ISBN you provided. Make sure it is written "
649
649
  "correcty, and try again."
@@ -651,69 +651,69 @@ msgstr ""
651
651
  "Zadané EAN/ISBN je neplatné. Přesvědčte se, zda je napsáno správně a zkuste "
652
652
  "to znovu."
653
653
 
654
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:65
654
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:65
655
655
  msgid "Properties"
656
656
  msgstr "_Vlastnosti"
657
657
 
658
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:71
658
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:71
659
659
  msgid "Author"
660
660
  msgstr "Autor"
661
661
 
662
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:123
662
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:123
663
663
  msgid "Select a cover image"
664
664
  msgstr "Vybrání obrázku obálky"
665
665
 
666
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:127
666
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:127
667
667
  msgid "No Cover"
668
668
  msgstr "Není obal"
669
669
 
670
- #: ../lib/alexandria/ui/dialogs/book_properties_dialog_base.rb:186
670
+ #: ../lib/alexandria/ui/book_properties_dialog_base.rb:186
671
671
  msgid "%d day"
672
672
  msgid_plural "%d days"
673
673
  msgstr[0] "%d den"
674
674
  msgstr[1] "%d dny"
675
675
  msgstr[2] "%d dnů"
676
676
 
677
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:58
677
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:58
678
678
  msgid "Adding '%s'"
679
679
  msgstr "Přidávám '%s'"
680
680
 
681
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:60
681
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:60
682
682
  #: ../data/alexandria/glade/new_book_dialog.glade:8
683
683
  msgid "Adding a Book"
684
684
  msgstr "Přidání knihy"
685
685
 
686
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:81
686
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:81
687
687
  msgid "A title must be provided."
688
688
  msgstr "Musí být vyplněn název."
689
689
 
690
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:102
690
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:102
691
691
  msgid "A publisher must be provided."
692
692
  msgstr "Musí být vyplněn vydavatel."
693
693
 
694
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:109
694
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:109
695
695
  msgid "A binding must be provided."
696
696
  msgstr "Musí být vyplněna vazba."
697
697
 
698
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:115
698
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:115
699
699
  msgid "At least one author must be provided."
700
700
  msgstr "Musí být vyplněn alespoň jeden autor."
701
701
 
702
- #: ../lib/alexandria/ui/dialogs/new_book_dialog_manual.rb:142
703
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:523
702
+ #: ../lib/alexandria/ui/new_book_dialog_manual.rb:142
703
+ #: ../lib/alexandria/ui/new_book_dialog.rb:523
704
704
  msgid "Couldn't add the book"
705
705
  msgstr "Knihu nelze přidat"
706
706
 
707
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:25
707
+ #: ../lib/alexandria/ui/export_dialog.rb:25
708
708
  msgid "File already exists"
709
709
  msgstr "Soubor již existuje"
710
710
 
711
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:28
712
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:30
711
+ #: ../lib/alexandria/ui/export_dialog.rb:28
712
+ #: ../lib/alexandria/ui/misc_dialogs.rb:30
713
713
  msgid "_Replace"
714
714
  msgstr "Nah_radit"
715
715
 
716
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:29
716
+ #: ../lib/alexandria/ui/export_dialog.rb:29
717
717
  msgid ""
718
718
  "A file named '%s' already exists. Do you want to replace it with the one "
719
719
  "you are generating?"
@@ -721,27 +721,27 @@ msgstr ""
721
721
  "Soubor se jménem '%s' již existuje. Chcete jej nahradit souborem, který "
722
722
  "vytváříte?"
723
723
 
724
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:52
724
+ #: ../lib/alexandria/ui/export_dialog.rb:52
725
725
  msgid "Export '%s'"
726
726
  msgstr "Exportovat '%s'"
727
727
 
728
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:58
728
+ #: ../lib/alexandria/ui/export_dialog.rb:58
729
729
  msgid "_Export"
730
730
  msgstr "_Exportovat"
731
731
 
732
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:77
732
+ #: ../lib/alexandria/ui/export_dialog.rb:77
733
733
  msgid "_Theme:"
734
734
  msgstr "_Téma:"
735
735
 
736
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:87
736
+ #: ../lib/alexandria/ui/export_dialog.rb:87
737
737
  msgid "directory"
738
738
  msgstr "adresář"
739
739
 
740
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:100
740
+ #: ../lib/alexandria/ui/export_dialog.rb:100
741
741
  msgid "Export for_mat:"
742
742
  msgstr "For_mát exportu:"
743
743
 
744
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:155
744
+ #: ../lib/alexandria/ui/export_dialog.rb:155
745
745
  msgid ""
746
746
  "The target, named '%s', is a regular file. A directory is needed for this "
747
747
  "operation. Please select a directory and try again."
@@ -749,19 +749,19 @@ msgstr ""
749
749
  "Cíl se jménem '%s' je obyčejný soubor. Pro tuto operaci je nutný adresář. "
750
750
  "Vyberte prosím adresář a zkuste to znovu."
751
751
 
752
- #: ../lib/alexandria/ui/dialogs/export_dialog.rb:159
752
+ #: ../lib/alexandria/ui/export_dialog.rb:159
753
753
  msgid "Not a directory"
754
754
  msgstr "Není adresář"
755
755
 
756
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:32
756
+ #: ../lib/alexandria/ui/new_book_dialog.rb:32
757
757
  msgid "Invalid ISBN '%s'"
758
758
  msgstr "Neplatné ISBN '%s'"
759
759
 
760
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:35
760
+ #: ../lib/alexandria/ui/new_book_dialog.rb:35
761
761
  msgid "_Keep"
762
762
  msgstr "_Ponechat"
763
763
 
764
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:36
764
+ #: ../lib/alexandria/ui/new_book_dialog.rb:36
765
765
  msgid ""
766
766
  "The book titled '%s' has an invalid ISBN, but still exists in the providers "
767
767
  "libraries. Do you want to keep the book but change the ISBN or cancel the "
@@ -770,19 +770,19 @@ msgstr ""
770
770
  "Kniha s názvem '%s' má neplatné ISBN, ale u poskytovatelů o ní existuje "
771
771
  "záznam. Chcete si knihu ponechat a změnit ISBN nebo zrušit přidání?"
772
772
 
773
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:182
773
+ #: ../lib/alexandria/ui/new_book_dialog.rb:182
774
774
  msgid "A problem occurred while downloading images"
775
775
  msgstr "Při stahování obrázků se vyskytl problém"
776
776
 
777
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:304
777
+ #: ../lib/alexandria/ui/new_book_dialog.rb:304
778
778
  msgid "Unable to find matches for your search"
779
779
  msgstr "Nenalezeny žádné záznamy"
780
780
 
781
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:310
781
+ #: ../lib/alexandria/ui/new_book_dialog.rb:310
782
782
  msgid "%s, by %s"
783
783
  msgstr "%s, od %s"
784
784
 
785
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:383
785
+ #: ../lib/alexandria/ui/new_book_dialog.rb:383
786
786
  msgid ""
787
787
  "Couldn't validate the EAN/ISBN you provided. Make sure it is written "
788
788
  "correctly, and try again."
@@ -790,73 +790,73 @@ msgstr ""
790
790
  "Zadané EAN/ISBN je neplatné. Přesvědčte se, zda je napsáno správně a zkuste "
791
791
  "to znovu."
792
792
 
793
- #: ../lib/alexandria/ui/dialogs/new_book_dialog.rb:630
793
+ #: ../lib/alexandria/ui/new_book_dialog.rb:630
794
794
  msgid "'%s' already exists in '%s' (titled '%s')."
795
795
  msgstr "'%s' již existuje v '%s' (s názvem '%s')."
796
796
 
797
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:26
797
+ #: ../lib/alexandria/ui/misc_dialogs.rb:26
798
798
  msgid "The book '%s' already exists in '%s'. Would you like to replace it?"
799
799
  msgstr "Kniha '%s' již v knihovně '%s' existuje. Chcete ji nahradit?"
800
800
 
801
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:29
801
+ #: ../lib/alexandria/ui/misc_dialogs.rb:29
802
802
  msgid "_Skip"
803
803
  msgstr "V_ynechat"
804
804
 
805
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:31
805
+ #: ../lib/alexandria/ui/misc_dialogs.rb:31
806
806
  msgid "If you replace the existing book, its contents will be overwritten."
807
807
  msgstr "Jestliže nahradíte existující knihu, její obsah bude přepsán."
808
808
 
809
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:50
809
+ #: ../lib/alexandria/ui/misc_dialogs.rb:50
810
810
  msgid "Are you sure you want to delete '%s'?"
811
811
  msgstr "Jste si jisti, že chcete trvale odstranit '%s'?"
812
812
 
813
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:58
813
+ #: ../lib/alexandria/ui/misc_dialogs.rb:58
814
814
  msgid "If you continue, %d book will be deleted."
815
815
  msgid_plural "If you continue, %d books will be deleted."
816
816
  msgstr[0] "Pokud budete pokračovat, %d kniha bude odstraněna."
817
817
  msgstr[1] "Pokud budete pokračovat, %d knihy budou odstraněny."
818
818
  msgstr[2] "Pokud budete pokračovat, %d knih bude odstraněno."
819
819
 
820
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:63
820
+ #: ../lib/alexandria/ui/misc_dialogs.rb:63
821
821
  msgid "Are you sure you want to delete '%s' from '%s'?"
822
822
  msgstr "Jste si jisti, že chcete trvale odstranit '%s' z '%s'?"
823
823
 
824
- #: ../lib/alexandria/ui/dialogs/misc_dialogs.rb:66
824
+ #: ../lib/alexandria/ui/misc_dialogs.rb:66
825
825
  msgid "Are you sure you want to delete the selected books from '%s'?"
826
826
  msgstr "Jste si jisti, že chcete natrvalo odstranit vybrané knihy z '%s'?"
827
827
 
828
- #: ../lib/alexandria/ui/sidepane.rb:49
828
+ #: ../lib/alexandria/ui/sidepane_manager.rb:49
829
829
  msgid "Invalid library name '%s'"
830
830
  msgstr "Chybný název knihovny '%s'"
831
831
 
832
- #: ../lib/alexandria/ui/sidepane.rb:50
832
+ #: ../lib/alexandria/ui/sidepane_manager.rb:50
833
833
  #, fuzzy
834
834
  msgid "The name provided contains the disallowed character <b>%s</b> "
835
835
  msgstr "Zadané jméno obsahuje nepovolený znak '<i>%s</i>'."
836
836
 
837
- #: ../lib/alexandria/ui/sidepane.rb:53
837
+ #: ../lib/alexandria/ui/sidepane_manager.rb:53
838
838
  #, fuzzy
839
839
  msgid "Invalid library name"
840
840
  msgstr "Chybný název knihovny '%s'"
841
841
 
842
- #: ../lib/alexandria/ui/sidepane.rb:54
842
+ #: ../lib/alexandria/ui/sidepane_manager.rb:54
843
843
  #, fuzzy
844
844
  msgid "The name provided contains invalid characters."
845
845
  msgstr "Zadané jméno obsahuje nepovolený znak '<i>%s</i>'."
846
846
 
847
- #: ../lib/alexandria/ui/sidepane.rb:60
847
+ #: ../lib/alexandria/ui/sidepane_manager.rb:60
848
848
  msgid "The library name can not be empty"
849
849
  msgstr "Jméno knihovny nemůže být prázdné"
850
850
 
851
- #: ../lib/alexandria/ui/sidepane.rb:65
851
+ #: ../lib/alexandria/ui/sidepane_manager.rb:65
852
852
  msgid "The library can not be renamed"
853
853
  msgstr "Knihovna nemůže být přejmenována"
854
854
 
855
- #: ../lib/alexandria/ui/sidepane.rb:66
855
+ #: ../lib/alexandria/ui/sidepane_manager.rb:66
856
856
  msgid "There is already a library named '%s'. Please choose a different name."
857
857
  msgstr "Knihovna se jménem '%s' již existuje. Zvolte prosím jiné jméno."
858
858
 
859
- #: ../lib/alexandria/ui/sidepane.rb:92
859
+ #: ../lib/alexandria/ui/sidepane_manager.rb:92
860
860
  msgid "Library"
861
861
  msgstr "Knihovna"
862
862