alchemy_cms 2.4.1 → 2.5.0.b2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. data/.travis.yml +1 -1
  2. data/README.md +18 -17
  3. data/alchemy_cms.gemspec +5 -10
  4. data/app/assets/images/alchemy/icons.png +0 -0
  5. data/app/assets/stylesheets/alchemy/archive.scss +27 -0
  6. data/app/assets/stylesheets/alchemy/base.scss +0 -51
  7. data/app/assets/stylesheets/alchemy/elements.scss +37 -2
  8. data/app/assets/stylesheets/alchemy/icons.scss +4 -0
  9. data/app/assets/stylesheets/alchemy/modules.scss +4 -0
  10. data/app/assets/stylesheets/alchemy/sitemap.scss +1 -1
  11. data/app/assets/stylesheets/alchemy/tables.scss +1 -1
  12. data/app/assets/stylesheets/alchemy/variables.scss +1 -0
  13. data/app/controllers/alchemy/admin/pages_controller.rb +1 -0
  14. data/app/controllers/alchemy/admin/pictures_controller.rb +22 -8
  15. data/app/controllers/alchemy/admin/resources_controller.rb +1 -1
  16. data/app/controllers/alchemy/admin/sites_controller.rb +6 -0
  17. data/app/controllers/alchemy/base_controller.rb +8 -0
  18. data/app/controllers/alchemy/elements_controller.rb +33 -3
  19. data/app/controllers/alchemy/messages_controller.rb +47 -40
  20. data/app/controllers/alchemy/pages_controller.rb +8 -31
  21. data/app/controllers/alchemy/pictures_controller.rb +64 -30
  22. data/app/helpers/alchemy/admin/base_helper.rb +7 -0
  23. data/app/helpers/alchemy/admin/pages_helper.rb +12 -0
  24. data/app/helpers/alchemy/elements_helper.rb +2 -0
  25. data/app/helpers/alchemy/pages_helper.rb +30 -10
  26. data/app/helpers/alchemy/url_helper.rb +1 -0
  27. data/app/models/alchemy/content.rb +1 -2
  28. data/app/models/alchemy/element.rb +47 -2
  29. data/app/models/alchemy/language.rb +27 -14
  30. data/app/models/alchemy/page.rb +1 -1
  31. data/app/models/alchemy/picture.rb +46 -41
  32. data/app/models/alchemy/site.rb +44 -0
  33. data/app/views/alchemy/admin/elements/_element_head.html.erb +1 -0
  34. data/app/views/alchemy/admin/languages/index.html.erb +23 -0
  35. data/app/views/alchemy/admin/pages/edit.html.erb +27 -1
  36. data/app/views/alchemy/admin/pages/fold.js.erb +1 -0
  37. data/app/views/alchemy/admin/partials/_upload_form.html.erb +2 -0
  38. data/app/views/alchemy/admin/pictures/_picture.html.erb +24 -2
  39. data/app/views/alchemy/admin/pictures/_tag_list.html.erb +5 -4
  40. data/app/views/alchemy/admin/pictures/create.js.erb +1 -9
  41. data/app/views/alchemy/admin/pictures/info.html.erb +42 -0
  42. data/app/views/alchemy/admin/resources/_form.html.erb +0 -2
  43. data/app/views/alchemy/admin/resources/_resource.html.erb +2 -1
  44. data/app/views/alchemy/admin/resources/index.html.erb +2 -1
  45. data/app/views/alchemy/elements/show.html.erb +1 -6
  46. data/app/views/alchemy/elements/show.js.erb +4 -10
  47. data/app/views/alchemy/essences/_essence_link_view.html.erb +1 -0
  48. data/app/views/alchemy/search/_form.html.erb +9 -6
  49. data/app/views/alchemy/search/_result.html.erb +1 -1
  50. data/bin/alchemy +13 -120
  51. data/config/alchemy/config.yml +7 -11
  52. data/config/alchemy/modules.yml +24 -12
  53. data/config/authorization_rules.rb +6 -2
  54. data/config/initializers/dragonfly.rb +20 -0
  55. data/config/locales/alchemy.de.yml +57 -28
  56. data/config/locales/alchemy.en.yml +18 -4
  57. data/config/routes.rb +4 -2
  58. data/db/migrate/20121121162313_switch_from_fleximage_to_dragonfly.rb +21 -0
  59. data/db/migrate/20121205155004_create_alchemy_sites.rb +14 -0
  60. data/db/migrate/20121211163003_add_public_to_alchemy_sites.rb +6 -0
  61. data/lib/alchemy/capistrano.rb +7 -2
  62. data/lib/alchemy/ferret_search.rb +84 -0
  63. data/lib/alchemy/picture_attributes.rb +29 -0
  64. data/lib/alchemy/seeder.rb +10 -16
  65. data/lib/alchemy/upgrader.rb +59 -8
  66. data/lib/alchemy/version.rb +1 -1
  67. data/lib/alchemy_cms.rb +7 -4
  68. data/lib/rails/generators/alchemy/deploy_script/templates/deploy.rb.tt +3 -0
  69. data/lib/rails/generators/alchemy/elements/elements_generator.rb +5 -1
  70. data/lib/rails/generators/alchemy/page_layouts/page_layouts_generator.rb +1 -0
  71. data/lib/rails/generators/alchemy/scaffold/files/{pages.html.erb → application.html.erb} +0 -0
  72. data/lib/rails/generators/alchemy/scaffold/scaffold_generator.rb +11 -20
  73. data/lib/rails/templates/alchemy.rb +1 -7
  74. data/lib/tasks/{database.rake → alchemy/db.rake} +1 -1
  75. data/lib/tasks/{install.rake → alchemy/install.rake} +9 -14
  76. data/lib/tasks/{upgrade.rake → alchemy/upgrade.rake} +1 -1
  77. data/spec/controllers/elements_controller_spec.rb +24 -9
  78. data/spec/controllers/pictures_controller_spec.rb +11 -8
  79. data/{app → spec/dummy/app}/views/alchemy/elements/_article_editor.html.erb +0 -0
  80. data/{app → spec/dummy/app}/views/alchemy/elements/_article_view.html.erb +0 -0
  81. data/{app → spec/dummy/app}/views/alchemy/elements/_headline_view.html.erb +0 -0
  82. data/{app → spec/dummy/app}/views/alchemy/elements/_news_view.html.erb +0 -0
  83. data/{app → spec/dummy/app}/views/alchemy/elements/_searchresult_view.html.erb +0 -0
  84. data/{app → spec/dummy/app}/views/alchemy/page_layouts/_standard.html.erb +0 -0
  85. data/spec/dummy/config/alchemy/elements.yml +86 -0
  86. data/spec/dummy/config/alchemy/page_layouts.yml +26 -0
  87. data/spec/dummy/config/application.rb +1 -1
  88. data/spec/dummy/db/migrate/20121121162313_switch_from_fleximage_to_dragonfly.rb +21 -0
  89. data/spec/dummy/db/migrate/20121205155004_create_alchemy_sites.rb +14 -0
  90. data/spec/dummy/db/migrate/20121211163003_add_public_to_alchemy_sites.rb +6 -0
  91. data/spec/dummy/db/schema.rb +21 -6
  92. data/spec/factories.rb +6 -2
  93. data/spec/integration/translation_integration_spec.rb +4 -18
  94. data/spec/models/element_spec.rb +4 -4
  95. data/spec/models/picture_spec.rb +37 -20
  96. data/spec/models/site_spec.rb +69 -0
  97. data/spec/routing_spec.rb +115 -115
  98. data/spec/spec_helper.rb +1 -3
  99. data/spec/support/alchemy/specs_helpers.rb +4 -4
  100. data/vendor/assets/javascripts/jquery_plugins/jquery.html5uploader.js +1 -1
  101. metadata +72 -96
  102. data/app/assets/stylesheets/alchemy/standard_set.css +0 -440
  103. data/app/views/alchemy/elements/_bild_editor.html.erb +0 -1
  104. data/app/views/alchemy/elements/_bild_text_editor.html.erb +0 -7
  105. data/app/views/alchemy/elements/_bild_text_view.html.erb +0 -9
  106. data/app/views/alchemy/elements/_bild_view.html.erb +0 -9
  107. data/app/views/alchemy/elements/_claim_editor.html.erb +0 -1
  108. data/app/views/alchemy/elements/_claim_view.html.erb +0 -1
  109. data/app/views/alchemy/elements/_contactform_editor.html.erb +0 -4
  110. data/app/views/alchemy/elements/_contactform_view.html.erb +0 -78
  111. data/app/views/alchemy/elements/_download_editor.html.erb +0 -4
  112. data/app/views/alchemy/elements/_download_view.html.erb +0 -7
  113. data/app/views/alchemy/elements/_footnote_editor.html.erb +0 -1
  114. data/app/views/alchemy/elements/_footnote_view.html.erb +0 -5
  115. data/app/views/alchemy/elements/_header_editor.html.erb +0 -1
  116. data/app/views/alchemy/elements/_header_view.html.erb +0 -1
  117. data/app/views/alchemy/elements/_headline_editor.html.erb +0 -1
  118. data/app/views/alchemy/elements/_image_mosaic_editor.html.erb +0 -3
  119. data/app/views/alchemy/elements/_image_mosaic_view.html.erb +0 -14
  120. data/app/views/alchemy/elements/_intro_editor.html.erb +0 -1
  121. data/app/views/alchemy/elements/_intro_image_text_editor.html.erb +0 -3
  122. data/app/views/alchemy/elements/_intro_image_text_view.html.erb +0 -16
  123. data/app/views/alchemy/elements/_intro_view.html.erb +0 -3
  124. data/app/views/alchemy/elements/_news_editor.html.erb +0 -3
  125. data/app/views/alchemy/elements/_searchresult_editor.html.erb +0 -4
  126. data/app/views/alchemy/elements/_sitemap_editor.html.erb +0 -3
  127. data/app/views/alchemy/elements/_sitemap_view.html.erb +0 -38
  128. data/app/views/alchemy/elements/_sitename_editor.html.erb +0 -1
  129. data/app/views/alchemy/elements/_sitename_view.html.erb +0 -1
  130. data/app/views/alchemy/elements/_subheadline_editor.html.erb +0 -1
  131. data/app/views/alchemy/elements/_subheadline_view.html.erb +0 -5
  132. data/app/views/alchemy/elements/_text_editor.html.erb +0 -1
  133. data/app/views/alchemy/elements/_text_view.html.erb +0 -3
  134. data/app/views/alchemy/page_layouts/_contact.html.erb +0 -14
  135. data/app/views/alchemy/page_layouts/_external.html.erb +0 -0
  136. data/app/views/alchemy/page_layouts/_intro.html.erb +0 -14
  137. data/app/views/alchemy/page_layouts/_layout_footer.html.erb +0 -14
  138. data/app/views/alchemy/page_layouts/_layout_header.html.erb +0 -14
  139. data/app/views/alchemy/page_layouts/_news.html.erb +0 -14
  140. data/app/views/alchemy/page_layouts/_newsletter_layout.html.erb +0 -1
  141. data/app/views/alchemy/page_layouts/_search.html.erb +0 -14
  142. data/app/views/alchemy/pictures/show.gif.flexi +0 -19
  143. data/app/views/alchemy/pictures/show.jpg.flexi +0 -19
  144. data/app/views/alchemy/pictures/show.png.flexi +0 -19
  145. data/app/views/alchemy/pictures/thumbnail.png.flexi +0 -13
  146. data/app/views/alchemy/pictures/zoom.jpg.flexi +0 -3
  147. data/app/views/alchemy/pictures/zoom.png.flexi +0 -3
  148. data/app/views/layouts/alchemy/pages.html.erb +0 -51
  149. data/config/alchemy/elements.yml +0 -274
  150. data/config/alchemy/page_layouts.yml +0 -75
  151. data/config/asset_packages.yml +0 -30
  152. data/config/initializers/localeapp.rb +0 -9
  153. data/lib/rails/generators/alchemy/plugin/files/translation.pot +0 -3
  154. data/lib/rails/generators/alchemy/plugin/files/translation_de.po +0 -3
  155. data/lib/rails/generators/alchemy/plugin/files/translation_en.po +0 -3
  156. data/lib/rails/generators/alchemy/plugin/plugin_generator.rb +0 -37
  157. data/lib/rails/generators/alchemy/plugin/templates/authorization_rules.rb +0 -34
  158. data/lib/rails/generators/alchemy/plugin/templates/config.yml +0 -30
  159. data/lib/rails/generators/alchemy/plugin/templates/init.rb +0 -1
  160. data/lib/rails/generators/alchemy/plugin/templates/plugin.rb +0 -0
  161. data/lib/rails/generators/alchemy/plugin/templates/routes.rb +0 -10
  162. data/lib/tasks/fleximage.rake +0 -154
  163. data/spec/dummy/app/views/layouts/.gitkeep +0 -0
@@ -1,13 +1,7 @@
1
1
  # encoding: UTF-8
2
2
  #
3
- # = Configuration
4
- #
5
3
  # == This is the global Alchemy configuration file
6
4
  #
7
- # Please override your apps settings in your config/alchemy/config.yml file.
8
- # You can use a handy rake task to generate it.
9
- #
10
- # rake alchemy:app_structure:create:config
11
5
 
12
6
  # === Require SSL for login form and all admin modules
13
7
  #
@@ -83,22 +77,20 @@ url_nesting: false
83
77
 
84
78
  # === Picture rendering settings
85
79
  #
86
- # Alchemy uses Fleximage and RMagick to render images. Use {:image_size => "XXXxYYY", :crop => BOOLEAN [true]} to resize images.
80
+ # Alchemy uses Dragonfly and RMagick to render images. Use {:image_size => "XXXxYYY", :crop => BOOLEAN [true]} to resize images.
87
81
  #
88
- # See https://github.com/Squeegy/fleximage for further infos.
82
+ # See http://markevans.github.com/dragonfly for further infos.
89
83
  #
90
84
  # ==== Options:
91
85
  #
92
86
  # output_image_jpg_quality [Integer] # If image gets rendered as JPG this is the quality setting for it. (Default 85)
93
87
  # preprocess_image_resize [String] # I.E.: 1000x1000. If you are limited on diskspace use this option to downsize large images to that value. (Default nil)
94
- # image_store_format [String] # The storage format of the master image. All images get rendered from this master image, so a lossless format (png) is strongly recommended. (Default png)
95
88
  # image_output_format [String] # The global image output format setting.
96
89
  #
97
90
  # TIP: You can always override the output format in the options of your Essence. I.E. {:format => :gif}
98
91
  #
99
92
  output_image_jpg_quality: 85
100
93
  preprocess_image_resize:
101
- image_store_format: png
102
94
  image_output_format: jpg
103
95
 
104
96
  # This is the default language for the seeder.
@@ -171,7 +163,11 @@ uploader:
171
163
  upload_limit: 50
172
164
  file_size_limit: 100
173
165
  allowed_filetypes:
174
- pictures: [jpg, jpeg, gif, png, psd, pdf]
166
+ pictures:
167
+ - :jpg
168
+ - :jpeg
169
+ - :gif
170
+ - :png
175
171
  attachments: ['*']
176
172
 
177
173
  # === Link Target Options
@@ -42,6 +42,18 @@
42
42
  controller: 'alchemy/admin/languages'
43
43
  action: index
44
44
 
45
+ - name: sites
46
+ engine_name: alchemy
47
+ navigation:
48
+ name: 'modules.sites'
49
+ controller: 'alchemy/admin/sites'
50
+ action: index
51
+ icon: sites
52
+ sub_navigation:
53
+ - name: 'modules.sites'
54
+ controller: 'alchemy/admin/sites'
55
+ action: index
56
+
45
57
  - name: users
46
58
  engine_name: alchemy
47
59
  navigation:
@@ -54,6 +66,18 @@
54
66
  controller: 'alchemy/admin/users'
55
67
  action: index
56
68
 
69
+ - name: tags
70
+ engine_name: alchemy
71
+ navigation:
72
+ name: 'modules.tags'
73
+ controller: 'alchemy/admin/tags'
74
+ action: index
75
+ icon: tags
76
+ sub_navigation:
77
+ - name: 'modules.tags'
78
+ controller: 'alchemy/admin/tags'
79
+ action: index
80
+
57
81
  - name: archive
58
82
  engine_name: alchemy
59
83
  navigation:
@@ -68,15 +92,3 @@
68
92
  - name: 'modules.attachments'
69
93
  controller: 'alchemy/admin/attachments'
70
94
  action: index
71
-
72
- - name: tags
73
- engine_name: alchemy
74
- navigation:
75
- name: 'modules.tags'
76
- controller: 'alchemy/admin/tags'
77
- action: index
78
- icon: tags
79
- sub_navigation:
80
- - name: 'modules.tags'
81
- controller: 'alchemy/admin/tags'
82
- action: index
@@ -36,7 +36,7 @@ authorization do
36
36
  has_permission_on :alchemy_pictures, :to => [:thumbnail]
37
37
  has_permission_on :alchemy_admin_pages, :to => [:index, :fold, :edit_page_content, :link]
38
38
  has_permission_on :alchemy_admin_elements, :to => [:manage_elements]
39
- has_permission_on :alchemy_admin_pictures, :to => [:index, :archive_overlay, :show_in_window]
39
+ has_permission_on :alchemy_admin_pictures, :to => [:index, :archive_overlay, :show_in_window, :info]
40
40
  has_permission_on :alchemy_admin_attachments, :to => [:index, :archive_overlay, :show, :download]
41
41
  has_permission_on :alchemy_admin_contents, :to => [:manage_contents]
42
42
  has_permission_on :alchemy_admin_essence_pictures, :to => [:manage_picture_essences]
@@ -50,7 +50,10 @@ authorization do
50
50
  role :editor do
51
51
  includes :author
52
52
  has_permission_on :alchemy_admin_attachments, :to => [:manage]
53
- has_permission_on :alchemy_admin_pictures, :to => [:manage, :flush, :delete_multiple, :edit_multiple, :update_multiple]
53
+ has_permission_on :alchemy_admin_pictures, :to => [:create, :read, :update, :flush, :delete_multiple, :edit_multiple, :update_multiple]
54
+ has_permission_on :alchemy_admin_pictures, :to => [:destroy] do
55
+ if_attribute :essence_pictures => is { debugger }
56
+ end
54
57
  has_permission_on :alchemy_admin_pages, :to => [:manage_pages]
55
58
  has_permission_on :alchemy_admin_layoutpages, :to => [:index]
56
59
  has_permission_on :alchemy_admin_tags, :to => [:manage]
@@ -61,6 +64,7 @@ authorization do
61
64
  has_permission_on :alchemy_admin_users, :to => [:manage, :update_role]
62
65
  has_permission_on :alchemy_admin_languages, :to => [:manage]
63
66
  has_permission_on :authorization_rules, :to => :read
67
+ has_permission_on :alchemy_admin_sites, :to => [:manage]
64
68
  end
65
69
 
66
70
  end
@@ -0,0 +1,20 @@
1
+ # Alchemy CMS Dragonfly configuration.
2
+ app = Dragonfly[:alchemy_pictures]
3
+
4
+ app.configure_with :imagemagick
5
+ app.configure_with :rails
6
+ app.define_macro ActiveRecord::Base, :image_accessor
7
+
8
+ app.configure do |c|
9
+
10
+ c.datastore.configure do |d|
11
+ d.root_path = Rails.root.join('uploads/pictures').to_s
12
+ d.store_meta = false
13
+ end
14
+
15
+ # You only need this if you use Dragonfly url helpers, what you not need to ;)
16
+ # If you use the Dragonfly url helpers and you have a different mountpoint for Alchemy,
17
+ # you have to alter this to include the mountpoint.
18
+ c.url_format = '/pictures/:job/:basename.:format'
19
+
20
+ end
@@ -210,7 +210,7 @@ de:
210
210
  "File renamed successfully from: '%{from}' to '%{to}'": "Datei wurde erfolgreich von: '%{from}' nach '%{to}' umbenannt."
211
211
  "File upload error: %{error}": "Datei konnte nicht hochgeladen werden: %{error}"
212
212
  "File: '%{name}' deleted successfully": "%{name} wurde gelöscht"
213
- "Filter by tag": "Nach Schlagworten filtern"
213
+ "Filter by tag": "Nach Tags filtern"
214
214
  "Flush page cache": "Seitencache löschen"
215
215
  "Flush picture cache": "Bildercache löschen"
216
216
  "Have much fun with Alchemy!": "Viel Spaß mit Alchemy!"
@@ -231,13 +231,13 @@ de:
231
231
  "New": "Neu"
232
232
  "New Element": "Element hinzufügen"
233
233
  "New page": "Neue Seite"
234
- "New Tag": "Neues Schlagwort"
235
- "New Tag Created": "Neues Schlagwort wurde erstellt"
234
+ "New Tag": "Neues Tag"
235
+ "New Tag Created": "Neues Tag wurde erstellt"
236
236
  "No": "Nein"
237
237
  "No EssenceType given": ""
238
238
  "No image found. Did you saved the element?": "Es wurde kein Bild gefunden. Haben Sie das Element auch gespeichert?"
239
239
  "No items in your clipboard": "Ihre Zwischenablage ist leer"
240
- "No Tags found": "Keine Schlagworte gefunden"
240
+ "No Tags found": "Keine Tags gefunden"
241
241
  "None": "keine"
242
242
  "Open Link in": "Link öffnen in"
243
243
  "Page deleted": "%{name} wurde gelöscht"
@@ -253,6 +253,7 @@ de:
253
253
  "Pages order saved": "Seitensortierung wurde gespeichert"
254
254
  "Password": "Passwort"
255
255
  "Paste from clipboard": "Aus Zwischenablage"
256
+ "Picture infos": "Bild Informationen"
256
257
  "Picture uploaded succesfully": "Bild %{name} wurde hochgeladen"
257
258
  "Picture renamed successfully": "Bild wurde erfolgreich von %{from} nach %{to} umbenannt"
258
259
  "Picture deleted successfully": "%{name} wurde gelöscht"
@@ -262,7 +263,7 @@ de:
262
263
  "Please Signup": "Um Ihre Homepage bearbeiten zu können, müssen Sie als erstes einen Admin Benutzer einrichten."
263
264
  "Please choose": "Bitte wählen"
264
265
  "Please log in": "Bitte melden Sie sich an."
265
- "Please seperate the tags with commata": "*) Die Schlagworte bitte mit Kommata getrennt eingeben."
266
+ "Please seperate the tags with commata": "*) Die Tags bitte mit Kommata getrennt eingeben."
266
267
  use_alternative_uploader_instead: "Benutzen Sie bitte diesen alternativen Uploader."
267
268
  "Publish page": "veröffentlichen"
268
269
  "Read the License": "Lizenz lesen"
@@ -279,6 +280,7 @@ de:
279
280
  "Show Preview Window": "Seitenvorschau anzeigen"
280
281
  "Show childpages": "Unterseiten anzeigen"
281
282
  "Show clipboard": "Zwischenablage anzeigen"
283
+ "Show picture infos": "Bild Informationen anzeigen"
282
284
  "Show trash": "Papierkorb anzeigen"
283
285
  "Size": "Größe"
284
286
  "Sort pages": "Seiten sortieren"
@@ -290,7 +292,7 @@ de:
290
292
  sitemap_editor_info: "Die Sitemap wird automatisch generiert"
291
293
  searchresults_editor_info: "Dieses Element stellt die Suchergebnisse dar. Es Bedarf keinerlei Anpassung."
292
294
  element_dirty_notice: "Dieses Element hat nicht gespeicherte Änderungen. Möchten Sie es wirklich einklappen?"
293
- "Tags": "Schlagworte"
295
+ "Tags": "Tags"
294
296
  "This page is locked by %{name}": "Diese Seite wird gerade von %{name} blockiert"
295
297
  "Title": "Titel"
296
298
  "To manage your website open a browser and go to": "Um die Inhalte Ihrer Webseite zu bearbeiten klicken Sie bitte auf folgenden Link"
@@ -338,6 +340,7 @@ de:
338
340
  big_thumbnails: "große Miniaturbilder"
339
341
  browse: "durchsuchen"
340
342
  cancel: "abbrechen"
343
+ cannot_delete_picture_notice: "Das Bild %{name} kann nicht gelöscht werden, da es noch auf Seiten benutzt wird."
341
344
  choose_element_as_target: "Wählen Sie ein Element dieser Seite als Ziel"
342
345
  choose_element_to_link: "Bitte wählen Sie ein Element."
343
346
  choose_file_to_link: "Bitte wählen Sie eine Datei zum Verlinken aus."
@@ -364,6 +367,7 @@ de:
364
367
  country_code_foot_note: "Der Ländercode ist nur notwendig, wenn Sie mehrere Länder mit unterschiedlichen Sprachen versehen wollen."
365
368
  create: "erstellen"
366
369
  "Create language": "Eine neue Sprache erstellen"
370
+ "Create site": "Eine neue Website erstellen"
367
371
  create_language_tree_heading: "Einen leeren Sprachbaum erstellen"
368
372
  create_page: "Eine Unterseite anlegen"
369
373
  create_user: "Einen Benutzer anlegen"
@@ -374,19 +378,19 @@ de:
374
378
  delete_image: "Bild löschen."
375
379
  delete_language: "Sprache löschen"
376
380
  delete_page: "Seite löschen"
377
- delete_tag: 'Schlagwort löschen'
381
+ delete_tag: 'Tag löschen'
378
382
  delete_user: "Benutzer löschen"
379
383
  document: "Dokument"
380
384
  documents: "Dateien"
381
385
  download_file: "%{filename} runterladen"
382
- do_you_really_want_to_delete_this_tag?: "Wollen Sie dieses Schlagwort wirklich löschen?"
386
+ do_you_really_want_to_delete_this_tag?: "Wollen Sie dieses Tag wirklich löschen?"
383
387
  drag_to_sort: "Mit der Maus halten und verschieben"
384
388
  edit_file_properties: "Dateieigenschaften bearbeiten"
385
389
  edit_image_properties: "Bildeigenschaften bearbeiten"
386
390
  edit_language: "Sprache bearbeiten"
387
391
  edit_page: "Seite bearbeiten"
388
392
  edit_page_properties: "Seiteneigenschaften bearbeiten"
389
- edit_tag: 'Schlagwort bearbeiten'
393
+ edit_tag: 'Tag bearbeiten'
390
394
  edit_user: "Benutzer bearbeiten"
391
395
  edit_selected_pictures: "Selektierte Bilder:"
392
396
  element_dirty_page_leave_warning: "Sie haben ungesicherte Elemente auf der Seite. Möchten Sie wirklich fortfahren?"
@@ -446,8 +450,7 @@ de:
446
450
  medium_thumbnails: "mittlere Miniaturbilder"
447
451
  meta_data: "Meta Daten"
448
452
  meta_description: "Meta Beschreibung"
449
- meta_keywords: "Meta Schlagworte"
450
- missing_image: "Bild wird vermisst."
453
+ meta_keywords: "Meta Tags"
451
454
  modules:
452
455
  user_sessions: "Anmeldung"
453
456
  attachments: "Dateien"
@@ -458,7 +461,8 @@ de:
458
461
  library: "Bibliothek"
459
462
  pages: "Seiten"
460
463
  users: "Benutzer"
461
- tags: "Schlagworte"
464
+ tags: "Tags"
465
+ sites: "Websites"
462
466
  name: "Name"
463
467
  names: "Namen"
464
468
  navigation_name: "Navigationsname"
@@ -473,7 +477,7 @@ de:
473
477
  no_search_results: "Keine Suchergebnisse."
474
478
  "not a valid image": "Keine valide Bilddatei."
475
479
  "or": 'oder'
476
- or_replace_it_with_an_existing_tag: 'Oder Sie ersetzen es durch ein vorhandenes Schlagwort'
480
+ or_replace_it_with_an_existing_tag: 'Oder Sie ersetzen es durch ein vorhandenes Tag'
477
481
  "Page created": "Seite '%{name}' wurde erstellt."
478
482
  page_for_links:
479
483
  choose_page: "%{name} wählen"
@@ -514,13 +518,21 @@ de:
514
518
  "please enter subject and mail address": "Bitte geben Sie den Betreff und eine Empfängeradresse an."
515
519
  please_confirm: "Bitte bestätigen"
516
520
  please_wait: "Bitte warten"
521
+ preview_size: "Vorschaugröße"
522
+ preview_sizes:
523
+ '240': '240px (kleines Mobiltelefon)'
524
+ '320': '320px (iPhone)'
525
+ '480': '480px (kleines Tablet)'
526
+ '768': '768px (iPad - Portrait)'
527
+ '1024': '1024px (iPad - Breitbild)'
528
+ '1280': '1280px (Desktop)'
517
529
  recently_uploaded_only: 'Kürzlich hochgeladene'
518
530
  "regular method": "herkömmlichen Methode"
519
531
  remove: "entfernen"
520
532
  rename_file: "Datei umbenennen"
521
533
  rename: umbenennen
522
534
  replace: ersetzen
523
- 'Replaced Tag %{old_tag} with %{new_tag}': "Das Schlagwort '%{old_tag}' wurde durch das Schlagwort '%{new_tag}' ersetzt"
535
+ 'Replaced Tag %{old_tag} with %{new_tag}': "Das Tag '%{old_tag}' wurde durch das Tag '%{new_tag}' ersetzt"
524
536
  right: "rechts"
525
537
  robot_follow: "den Robot Links folgen lassen"
526
538
  robot_index: "durch Robot indizieren"
@@ -531,7 +543,7 @@ de:
531
543
  'search query': 'Suchbegriff'
532
544
  search_engines: "Suchmaschinen"
533
545
  select_element: "Element wählen"
534
- seperate_tags_with_comma: 'Mehrere Schlagworte mit Komma trennen.'
546
+ seperate_tags_with_comma: 'Mehrere Tags mit Komma trennen.'
535
547
  show_element_content: "Element ausklappen"
536
548
  show_elements_from_page: "Elemente dieser Seite anzeigen"
537
549
  show_eq: "EQ anzeigen"
@@ -541,15 +553,17 @@ de:
541
553
  small_thumbnails: "kleine Miniaturbilder"
542
554
  subject: "Betreff"
543
555
  successfully_added_element: "Element wurde hinzugefügt."
544
- successfully_deleted_tag: "Das Schlagwort wurde gelöscht"
556
+ successfully_deleted_tag: "Das Tag wurde gelöscht"
545
557
  successfully_saved_element_position: "Die Elementposition wurde gespeichert."
546
- successfully_updated_tag: "Das Schlagwort wurde gespeichert"
558
+ successfully_updated_tag: "Das Tag wurde gespeichert"
547
559
  swap_image: "Bild tauschen"
548
560
  insert_image: "Bild einfügen"
549
561
  swfupload:
550
562
  cancel_uploads: "Hochladen abbrechen"
551
- tag_list: Schlagworte
552
- tags_get_created_if_used_the_first_time: 'Ein Schlagwort wird automatisch erstellt, sobald Sie es das erste mal verwenden.'
563
+ tag_list: Tags
564
+ tags_get_created_if_used_the_first_time: 'Ein Tag wird automatisch erstellt, sobald Sie es das erste mal verwenden.'
565
+ this_picture_is_not_used_on_any_page: "Dieses Bild wird auf keiner Seiten benutzt."
566
+ this_picture_is_used_on_these_pages: "Dieses Bild wird auf folgenden Seiten benutzt"
553
567
  title: "Titel"
554
568
  "trash element": "Element in den Papierkorb legen"
555
569
  unknown: "unbekannt"
@@ -568,7 +582,7 @@ de:
568
582
  "We need at least one default.": "Es muss eine Standardsprache geben."
569
583
  welcome_please_identify_notice: "Willkommen! Bitte identifizieren Sie sich."
570
584
  width: "Breite"
571
- you_can_rename_this_tag: "Sie können dieses Schlagwort umbenennen"
585
+ you_can_rename_this_tag: "Sie können dieses Tag umbenennen"
572
586
  zoom_image: "Bild in voller Größe anzeigen."
573
587
  "Leave Alchemy": "Alchemy verlassen"
574
588
  leave: "verlassen"
@@ -755,6 +769,10 @@ de:
755
769
  too_short: "^Der URL-Name der Seite ist zu kurz (min. 3 Zeichen)"
756
770
  taken: "^Der URL-Name ist bereits vergeben."
757
771
  exclusion: "^Der URL-Name der Seite kann nicht benutzt werden."
772
+ alchemy/picture:
773
+ attributes:
774
+ image_file:
775
+ blank: "^Bitte fügen Sie ein Bild an."
758
776
  alchemy/user:
759
777
  attributes:
760
778
  login:
@@ -817,6 +835,10 @@ de:
817
835
  one: Anmeldung
818
836
  other: Anmeldungen
819
837
 
838
+ alchemy/site:
839
+ one: Website
840
+ other: Websites
841
+
820
842
  attributes:
821
843
 
822
844
  acts_as_taggable_on/tag:
@@ -829,13 +851,13 @@ de:
829
851
  filename: "Dateiname"
830
852
  name: "Name"
831
853
  size: "Dateigröße"
832
- tag_list: Schlagworte
854
+ tag_list: Tags
833
855
 
834
856
  alchemy/element:
835
857
  display_name: "Name"
836
858
  name: "Name"
837
859
  public: "sichtbar"
838
- tag_list: Schlagworte
860
+ tag_list: Tags
839
861
 
840
862
  alchemy/essence_file:
841
863
  css_class: Textanordnung
@@ -877,18 +899,20 @@ de:
877
899
  robot_follow: "den Robot Links folgen lassen"
878
900
  robot_index: "durch Robot indizieren"
879
901
  sitemap: "in der Seitenübersicht sichtbar"
880
- tag_list: Schlagworte
902
+ tag_list: Tags
881
903
  title: "Seitentitel"
882
904
  updated_at: "Aktualisiert am"
883
905
  urlname: "URL-Name"
884
906
  visible: "in der Navigation sichtbar"
885
907
 
886
908
  alchemy/picture:
887
- image_filename: "Dateiname"
888
- image_height: "Bildhöhe"
889
- image_width: "Bildbreite"
909
+ image_file_name: "Dateiname"
910
+ image_file_height: "Höhe"
911
+ image_file_width: "Breite"
912
+ image_file_dimensions: "Abmessungen"
913
+ image_file_size: "Dateigröße"
890
914
  name: "Name"
891
- tag_list: Schlagworte
915
+ tag_list: Tags
892
916
 
893
917
  alchemy/user:
894
918
  email: "E-Mail"
@@ -902,7 +926,12 @@ de:
902
926
  password: "Passwort"
903
927
  password_confirmation: "Passwort Bestätigung"
904
928
  role: "Benutzerrolle"
905
- tag_list: Schlagworte
929
+ tag_list: Tags
930
+
931
+ alchemy/site:
932
+ name: "Bezeichnung"
933
+ host: "Host/Domain"
934
+ public: "veröffentlicht"
906
935
 
907
936
  errors:
908
937
  <<: *errors
@@ -180,6 +180,7 @@ en:
180
180
  attachment_filename_notice: "*) Please do not use any special characters for the filename."
181
181
  auto_play: "Play movie after load"
182
182
  big_thumbnails: "Big thumbnails"
183
+ cannot_delete_picture_notice: "Cannot delete Picture %{name}, because it's still in use."
183
184
  choose_element_as_target: "Please choose an element as target"
184
185
  choose_element_to_link: "Please choose an element"
185
186
  choose_file_to_link: "Please choose a file to link"
@@ -200,6 +201,7 @@ en:
200
201
  country_code_placeholder: 'i.e. us (optional)'
201
202
  country_code_foot_note: "You only need to set a country code if you want to provide each country with an individual language."
202
203
  "Create language": "Create a new language"
204
+ "Create site": "Create a new site"
203
205
  create_language_tree_heading: "Create empty language tree"
204
206
  create_page: "Create a new subpage"
205
207
  create_user: "Create a new user"
@@ -275,7 +277,6 @@ en:
275
277
  meta_data: "Meta-Data"
276
278
  meta_description: "Meta-Description"
277
279
  meta_keywords: "Meta-Keywords"
278
- missing_image: "Missing image"
279
280
  modules:
280
281
  user_sessions: "Login"
281
282
  attachments: "Files"
@@ -287,6 +288,7 @@ en:
287
288
  pages: "Pages"
288
289
  users: "Users"
289
290
  tags: "Tags"
291
+ sites: "Sites"
290
292
  name: "Name"
291
293
  names: "Names"
292
294
  navigation_name: "Navigationname"
@@ -340,6 +342,13 @@ en:
340
342
  "please enter subject and mail address": "Please enter recipient and subject."
341
343
  please_confirm: "Please confirm"
342
344
  please_wait: "Please wait"
345
+ preview_sizes:
346
+ '240': '240px (small phone)'
347
+ '320': '320px (iPhone)'
348
+ '480': '480px (small Tablet)'
349
+ '768': '768px (iPad - Portrait)'
350
+ '1024': '1024px (iPad - Landscape)'
351
+ '1280': '1280px (Desktop)'
343
352
  rename_file: "Rename this file."
344
353
  robot_follow: "robot may follow links."
345
354
  robot_index: "allow robot to index."
@@ -622,9 +631,11 @@ en:
622
631
  visible: "visible in navigation"
623
632
 
624
633
  alchemy/picture:
625
- image_filename: "Filename"
626
- image_height: "Imageheight"
627
- image_width: "Imagewidth"
634
+ image_file_name: "Filename"
635
+ image_file_height: "Height"
636
+ image_file_width: "Width"
637
+ image_file_dimensions: "Dimensions"
638
+ image_file_size: "Filesize"
628
639
  name: "Name"
629
640
 
630
641
  alchemy/user:
@@ -640,6 +651,9 @@ en:
640
651
  password_confirmation: "Password confirmation"
641
652
  role: "Userrole"
642
653
 
654
+ alchemy/site:
655
+ host: Host/Domain
656
+
643
657
  errors:
644
658
  <<: *errors
645
659