spina 0.8.3 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of spina might be problematic. Click here for more details.

Files changed (197) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +63 -52
  3. data/app/assets/javascripts/spina/admin/application.js +0 -1
  4. data/app/controllers/spina/admin/accounts_controller.rb +11 -16
  5. data/app/controllers/spina/admin/admin_controller.rb +12 -23
  6. data/app/controllers/spina/admin/attachments_controller.rb +1 -1
  7. data/app/controllers/spina/admin/pages_controller.rb +14 -7
  8. data/app/controllers/spina/admin/photos_controller.rb +4 -2
  9. data/app/controllers/spina/admin/sessions_controller.rb +3 -3
  10. data/app/controllers/spina/admin/users_controller.rb +3 -3
  11. data/app/controllers/spina/application_controller.rb +7 -3
  12. data/app/controllers/spina/pages_controller.rb +13 -2
  13. data/app/controllers/spina/sitemaps_controller.rb +1 -0
  14. data/app/helpers/spina/admin/pages_helper.rb +12 -2
  15. data/app/helpers/spina/application_helper.rb +0 -9
  16. data/app/models/concerns/spina/part.rb +31 -0
  17. data/app/models/{spina → concerns/spina}/partable.rb +0 -0
  18. data/app/models/spina/ability.rb +0 -1
  19. data/app/models/spina/account.rb +6 -6
  20. data/app/models/spina/attachment.rb +1 -1
  21. data/app/models/spina/layout_part.rb +4 -27
  22. data/app/models/spina/line.rb +2 -0
  23. data/app/models/spina/page.rb +24 -5
  24. data/app/models/spina/page_part.rb +6 -30
  25. data/app/models/spina/structure_part.rb +7 -19
  26. data/app/models/spina/text.rb +2 -0
  27. data/app/views/layouts/spina/admin/application.html.haml +12 -14
  28. data/app/views/layouts/spina/admin/media_library.html.haml +4 -4
  29. data/app/views/layouts/spina/admin/settings.html.haml +7 -8
  30. data/app/views/layouts/spina/admin/website.html.haml +9 -16
  31. data/app/views/spina/admin/accounts/style.html.haml +10 -10
  32. data/app/views/spina/admin/attachments/_attachment.html.haml +1 -2
  33. data/app/views/spina/admin/{pages/_attachment_fields.html.haml → attachments/_fields.html.haml} +0 -0
  34. data/app/views/spina/admin/attachments/index.html.haml +2 -7
  35. data/app/views/spina/admin/layout_partables/colors/_form.html.haml +4 -0
  36. data/app/views/spina/admin/layout_partables/lines/_form.html.haml +2 -0
  37. data/app/views/spina/admin/page_partables/attachment_collections/_form.html.haml +15 -0
  38. data/app/views/spina/admin/page_partables/attachments/_form.html.haml +14 -0
  39. data/app/views/spina/admin/page_partables/colors/_form.html.haml +7 -0
  40. data/app/views/spina/admin/page_partables/lines/_form.html.haml +5 -0
  41. data/app/views/spina/admin/page_partables/photo_collections/_form.html.haml +17 -0
  42. data/app/views/spina/admin/page_partables/photos/_form.html.haml +18 -0
  43. data/app/views/spina/admin/page_partables/structures/_form.html.haml +22 -0
  44. data/app/views/spina/admin/page_partables/texts/_form.html.haml +5 -0
  45. data/app/views/spina/admin/pages/_form.html.haml +11 -8
  46. data/app/views/spina/admin/pages/_form_advanced.html.haml +3 -3
  47. data/app/views/spina/admin/pages/_form_page_content.html.haml +8 -3
  48. data/app/views/spina/admin/pages/_form_page_seo.html.haml +1 -1
  49. data/app/views/spina/admin/pages/edit.html.haml +13 -1
  50. data/app/views/spina/admin/photos/_photo.html.haml +1 -3
  51. data/app/views/spina/admin/photos/create.js.erb +1 -2
  52. data/app/views/spina/admin/photos/create_and_select.js.erb +7 -0
  53. data/app/views/spina/admin/photos/index.html.haml +7 -6
  54. data/app/views/spina/admin/shared/_primary_navigation.html.haml +19 -0
  55. data/app/views/spina/admin/shared/_rich_text_field.html.haml +2 -2
  56. data/app/views/spina/admin/structure_items/_fields.html.haml +16 -0
  57. data/app/views/spina/admin/structure_partables/lines/_form.html.haml +2 -0
  58. data/app/views/spina/admin/structure_partables/photos/_form.html.haml +11 -0
  59. data/app/views/spina/admin/structure_partables/texts/_form.html.haml +2 -0
  60. data/app/views/spina/sitemaps/show.xml.builder +12 -8
  61. data/{lib/spina/carrierwave.rb → config/initializers/spina.rb} +0 -0
  62. data/config/locales/de.yml +0 -26
  63. data/config/locales/en.yml +4 -26
  64. data/config/locales/es.yml +0 -26
  65. data/config/locales/fr.yml +4 -27
  66. data/config/locales/it.yml +0 -26
  67. data/config/locales/nl.yml +2 -28
  68. data/config/locales/pt-BR.yml +0 -26
  69. data/config/locales/ru.yml +0 -26
  70. data/config/locales/tr.yml +2 -28
  71. data/config/locales/zh-CN.yml +0 -3
  72. data/config/routes.rb +3 -19
  73. data/db/migrate/{20150507135428_create_spina_tables.rb → 1_create_spina_tables.rb} +0 -11
  74. data/db/migrate/2_create_spina_translation_tables.rb +13 -0
  75. data/lib/generators/spina/install_generator.rb +23 -9
  76. data/lib/generators/spina/templates/app/assets/stylesheets/demo/application.css.sass +3 -0
  77. data/lib/generators/spina/templates/app/views/demo/shared/_languages.html.haml +2 -0
  78. data/lib/generators/spina/templates/app/views/layouts/demo/application.html.haml +1 -0
  79. data/lib/generators/spina/templates/config/initializers/carrierwave.rb +17 -0
  80. data/lib/generators/spina/templates/config/initializers/spina.rb +2 -22
  81. data/lib/generators/spina/templates/config/initializers/themes/default.rb +29 -45
  82. data/lib/generators/spina/templates/config/initializers/themes/demo.rb +82 -92
  83. data/lib/spina.rb +24 -30
  84. data/lib/spina/engine.rb +2 -22
  85. data/lib/spina/plugin.rb +21 -3
  86. data/lib/spina/railtie.rb +9 -0
  87. data/lib/spina/theme.rb +34 -6
  88. data/lib/spina/version.rb +1 -1
  89. metadata +51 -124
  90. data/app/assets/javascripts/spina/admin/aviary.js.coffee +0 -25
  91. data/app/controllers/spina/admin/inquiries_controller.rb +0 -63
  92. data/app/controllers/spina/inquiries_controller.rb +0 -30
  93. data/app/mailers/spina/inquiry_mailer.rb +0 -19
  94. data/app/models/spina/inquiry.rb +0 -41
  95. data/app/views/layouts/spina/admin/messages.html.haml +0 -24
  96. data/app/views/spina/admin/accounts/aviary.html.haml +0 -26
  97. data/app/views/spina/admin/inquiries/inbox.html.haml +0 -30
  98. data/app/views/spina/admin/inquiries/index.html.haml +0 -36
  99. data/app/views/spina/admin/inquiries/show.html.haml +0 -23
  100. data/app/views/spina/admin/inquiries/spam.html.haml +0 -36
  101. data/app/views/spina/admin/layout_partables/_color_form.html.haml +0 -4
  102. data/app/views/spina/admin/layout_partables/_line_form.html.haml +0 -2
  103. data/app/views/spina/admin/page_partables/_attachment_collection_form.html.haml +0 -20
  104. data/app/views/spina/admin/page_partables/_attachment_form.html.haml +0 -19
  105. data/app/views/spina/admin/page_partables/_color_form.html.haml +0 -12
  106. data/app/views/spina/admin/page_partables/_line_form.html.haml +0 -10
  107. data/app/views/spina/admin/page_partables/_photo_collection_form.html.haml +0 -22
  108. data/app/views/spina/admin/page_partables/_photo_form.html.haml +0 -23
  109. data/app/views/spina/admin/page_partables/_structure_form.html.haml +0 -28
  110. data/app/views/spina/admin/page_partables/_text_form.html.haml +0 -10
  111. data/app/views/spina/admin/pages/_structure_item_fields.html.haml +0 -15
  112. data/app/views/spina/admin/shared/_navigation.html.haml +0 -21
  113. data/app/views/spina/admin/structure_partables/_line_form.html.haml +0 -2
  114. data/app/views/spina/admin/structure_partables/_photo_form.html.haml +0 -11
  115. data/app/views/spina/admin/structure_partables/_text_form.html.haml +0 -2
  116. data/app/views/spina/inquiries/create.html.haml +0 -2
  117. data/app/views/spina/inquiries/index.html.haml +0 -19
  118. data/app/views/spina/inquiry_mailer/inquiry.html.haml +0 -15
  119. data/test/dummy/README.rdoc +0 -261
  120. data/test/dummy/Rakefile +0 -7
  121. data/test/dummy/app/assets/javascripts/application.js +0 -15
  122. data/test/dummy/app/assets/stylesheets/default/application.css.sass +0 -0
  123. data/test/dummy/app/assets/stylesheets/demo/application.css.sass +0 -66
  124. data/test/dummy/app/assets/stylesheets/fonts.css.sass +0 -3
  125. data/test/dummy/app/controllers/application_controller.rb +0 -3
  126. data/test/dummy/app/helpers/application_helper.rb +0 -2
  127. data/test/dummy/app/views/default/pages/homepage.html.haml +0 -2
  128. data/test/dummy/app/views/default/pages/show.html.haml +0 -3
  129. data/test/dummy/app/views/default/shared/_navigation.html.haml +0 -5
  130. data/test/dummy/app/views/demo/pages/demo.html.haml +0 -30
  131. data/test/dummy/app/views/demo/pages/homepage.html.haml +0 -2
  132. data/test/dummy/app/views/demo/pages/show.html.haml +0 -3
  133. data/test/dummy/app/views/demo/shared/_navigation.html.haml +0 -5
  134. data/test/dummy/app/views/layouts/default/application.html.haml +0 -11
  135. data/test/dummy/app/views/layouts/demo/application.html.haml +0 -11
  136. data/test/dummy/config.ru +0 -4
  137. data/test/dummy/config/application.rb +0 -52
  138. data/test/dummy/config/application.yml +0 -2
  139. data/test/dummy/config/boot.rb +0 -10
  140. data/test/dummy/config/database.yml +0 -24
  141. data/test/dummy/config/environment.rb +0 -5
  142. data/test/dummy/config/environments/development.rb +0 -41
  143. data/test/dummy/config/environments/production.rb +0 -70
  144. data/test/dummy/config/environments/test.rb +0 -38
  145. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  146. data/test/dummy/config/initializers/inflections.rb +0 -15
  147. data/test/dummy/config/initializers/mime_types.rb +0 -5
  148. data/test/dummy/config/initializers/session_store.rb +0 -8
  149. data/test/dummy/config/initializers/spina.rb +0 -33
  150. data/test/dummy/config/initializers/themes/default.rb +0 -47
  151. data/test/dummy/config/initializers/themes/demo.rb +0 -103
  152. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  153. data/test/dummy/config/locales/en.yml +0 -5
  154. data/test/dummy/config/locales/nl.yml +0 -214
  155. data/test/dummy/config/routes.rb +0 -4
  156. data/test/dummy/config/secrets.yml +0 -7
  157. data/test/dummy/db/migrate/20160114085213_create_spina_tables.spina.rb +0 -167
  158. data/test/dummy/db/schema.rb +0 -183
  159. data/test/dummy/db/seeds.rb +0 -1
  160. data/test/dummy/public/404.html +0 -26
  161. data/test/dummy/public/422.html +0 -26
  162. data/test/dummy/public/500.html +0 -25
  163. data/test/dummy/public/favicon.ico +0 -0
  164. data/test/dummy/script/rails +0 -6
  165. data/test/dummy/tmp/restart.txt +0 -0
  166. data/test/fixtures/spina/accounts.yml +0 -3
  167. data/test/fixtures/spina/pages.yml +0 -10
  168. data/test/fixtures/spina/users.yml +0 -5
  169. data/test/functional/spina/admin/admin_controller.rb +0 -36
  170. data/test/functional/spina/admin/sessions_controller_test.rb +0 -32
  171. data/test/functional/spina/pages_controller_test.rb +0 -16
  172. data/test/integration/navigation_test.rb +0 -8
  173. data/test/integration/spina/admin/login_test.rb +0 -31
  174. data/test/integration/spina/admin/logout_test.rb +0 -17
  175. data/test/integration/spina/admin/pages_test.rb +0 -34
  176. data/test/integration/spina/pages_test.rb +0 -19
  177. data/test/models/spina/line_test.rb +0 -9
  178. data/test/models/spina/text_test.rb +0 -9
  179. data/test/test_helper.rb +0 -23
  180. data/test/unit/helpers/spina/accounts_helper_test.rb +0 -6
  181. data/test/unit/helpers/spina/inquiries_helper_test.rb +0 -6
  182. data/test/unit/helpers/spina/page_parts_helper_test.rb +0 -6
  183. data/test/unit/helpers/spina/pages_helper_test.rb +0 -6
  184. data/test/unit/helpers/spina/photos_helper_test.rb +0 -6
  185. data/test/unit/helpers/spina/sessions_helper_test.rb +0 -6
  186. data/test/unit/helpers/spina/users_helper_test.rb +0 -6
  187. data/test/unit/spina/account_test.rb +0 -9
  188. data/test/unit/spina/file_collection_file_test.rb +0 -9
  189. data/test/unit/spina/gallery_test.rb +0 -9
  190. data/test/unit/spina/inquiry_test.rb +0 -9
  191. data/test/unit/spina/page_include_test.rb +0 -9
  192. data/test/unit/spina/page_part_test.rb +0 -9
  193. data/test/unit/spina/page_test.rb +0 -9
  194. data/test/unit/spina/photo_collection_file_test.rb +0 -9
  195. data/test/unit/spina/photo_collection_test.rb +0 -9
  196. data/test/unit/spina/photo_test.rb +0 -9
  197. data/test/unit/spina/user_test.rb +0 -9
@@ -1,7 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
- # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
-
6
- # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
- # Rails.backtrace_cleaner.remove_silencers!
@@ -1,15 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new inflection rules using the following format
4
- # (all these examples are active by default):
5
- # ActiveSupport::Inflector.inflections do |inflect|
6
- # inflect.plural /^(ox)$/i, '\1en'
7
- # inflect.singular /^(ox)en/i, '\1'
8
- # inflect.irregular 'person', 'people'
9
- # inflect.uncountable %w( fish sheep )
10
- # end
11
- #
12
- # These inflection rules are supported but not enabled by default:
13
- # ActiveSupport::Inflector.inflections do |inflect|
14
- # inflect.acronym 'RESTful'
15
- # end
@@ -1,5 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new mime types for use in respond_to blocks:
4
- # Mime::Type.register "text/richtext", :rtf
5
- # Mime::Type.register_alias "text/html", :iphone
@@ -1,8 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
4
-
5
- # Use the database for sessions instead of the cookie-based default,
6
- # which shouldn't be used to store highly confidential information
7
- # (create the session table with "rails generate session_migration")
8
- # Dummy::Application.config.session_store :active_record_store
@@ -1,33 +0,0 @@
1
- Spina.configure do |config|
2
- config.NEGATIVE_CAPTCHA_SECRET = '445e0c9c0cee31f783754bc174661052d1236850da8f5f5ba5e11cbfa56cbaa8bce9260df75feaa56da91949ee4204fefac41c35b3e4f5e0d3e395b00c87781a'
3
-
4
- # Important Note
5
- # ==============
6
-
7
- # You MUST restart your server before changes to this file
8
- # will take effect.
9
-
10
- # Specify a backend path. Defaults to /admin.
11
- # config.backend_path = 'admin'
12
-
13
- # Storage Options
14
- # ===============
15
-
16
- # Please specify how you want to store photos, your logo, and
17
- # other files. We use CarrierWave for storage. See
18
- # https://github.com/denkGroot/Spina/tree/master/app/uploaders/spina
19
-
20
- # config.storage = :file
21
-
22
- # If you want to use s3 to store uploads (recommended)
23
-
24
- # config.storage = :s3
25
- # config.aws_region = "eu-west-1"
26
- # config.aws_access_key_id = "abc123"
27
- # config.aws_secret_key = "abc123"
28
- # config.s3_bucket = "mybucket"
29
- # If you want to store your files localy (not recommended for
30
- # production, in large part because it's more difficult to ensure
31
- # that files are backed up in sync with your database):
32
-
33
- end
@@ -1,47 +0,0 @@
1
- module Spina
2
- module DefaultTheme
3
- include ::ActiveSupport::Configurable
4
-
5
- config_accessor :title, :page_parts, :view_templates, :layout_parts, :custom_pages, :plugins, :structures
6
-
7
- self.title = 'Default theme'
8
-
9
- self.page_parts = [{
10
- name: 'text',
11
- title: 'Text',
12
- page_partable_type: 'Spina::Text'
13
- }]
14
-
15
- self.structures = {}
16
-
17
- self.layout_parts = []
18
-
19
- self.view_templates = {
20
- 'homepage' => {
21
- title: 'Homepage',
22
- page_parts: ['text']
23
- },
24
- 'show' => {
25
- title: 'Default',
26
- description: 'A simple page',
27
- usage: 'Use for your content',
28
- page_parts: ['text']
29
- }
30
- }
31
-
32
- self.custom_pages = [{
33
- name: 'homepage',
34
- title: 'Homepage',
35
- deletable: false,
36
- view_template: 'homepage'
37
- }]
38
-
39
- self.plugins = []
40
-
41
- end
42
- end
43
-
44
- theme = Spina::Theme.new
45
- theme.name = 'default'
46
- theme.config = Spina::DefaultTheme.config
47
- Spina.register_theme(theme)
@@ -1,103 +0,0 @@
1
- module Spina
2
- module DemoTheme
3
- include ::ActiveSupport::Configurable
4
-
5
- config_accessor :title, :page_parts, :view_templates, :layout_parts, :custom_pages, :plugins, :structures
6
-
7
- self.title = 'Demo theme'
8
-
9
- self.page_parts = [{
10
- name: 'line',
11
- title: 'Line',
12
- page_partable_type: 'Spina::Line'
13
- }, {
14
- name: 'text',
15
- title: 'Text',
16
- page_partable_type: 'Spina::Text'
17
- }, {
18
- name: 'photo',
19
- title: 'Photo',
20
- page_partable_type: 'Spina::Photo'
21
- }, {
22
- name: 'photo_collection',
23
- title: 'Photo collection',
24
- page_partable_type: 'Spina::PhotoCollection'
25
- }, {
26
- name: 'attachment',
27
- title: 'Attachment',
28
- page_partable_type: 'Spina::Attachment'
29
- }, {
30
- name: 'attachment_collection',
31
- title: 'Attachment collection',
32
- page_partable_type: 'Spina::AttachmentCollection'
33
- }, {
34
- name: 'structure',
35
- title: 'Structure',
36
- page_partable_type: 'Spina::Structure'
37
- }, {
38
- name: 'color',
39
- title: 'Color',
40
- page_partable_type: 'Spina::Color'
41
- }]
42
-
43
- self.structures = {
44
- 'structure' => [{
45
- name: 'title',
46
- title: 'Title',
47
- structure_partable_type: 'Spina::Line'
48
- }, {
49
- name: 'description',
50
- title: 'Description',
51
- structure_partable_type: 'Spina::Text'
52
- }]
53
- }
54
-
55
- self.layout_parts = [{
56
- name: 'line',
57
- title: 'Line',
58
- layout_partable_type: 'Spina::Line'
59
- }, {
60
- name: 'color',
61
- title: 'Color',
62
- layout_partable_type: 'Spina::Color'
63
- }]
64
-
65
- self.view_templates = {
66
- 'homepage' => {
67
- title: 'Homepage',
68
- page_parts: ['text']
69
- },
70
- 'show' => {
71
- title: 'Default',
72
- description: 'A simple page',
73
- usage: 'Use for your content',
74
- page_parts: ['text']
75
- },
76
- 'demo' => {
77
- title: 'Demo',
78
- description: 'Contains examples of every page part',
79
- page_parts: ['line', 'text', 'photo', 'photo_collection', 'attachment', 'attachment_collection', 'structure', 'color']
80
- }
81
- }
82
-
83
- self.custom_pages = [{
84
- name: 'homepage',
85
- title: 'Homepage',
86
- deletable: false,
87
- view_template: 'homepage'
88
- }, {
89
- name: 'demo',
90
- title: 'Demo',
91
- deletable: true,
92
- view_template: 'demo'
93
- }]
94
-
95
- self.plugins = []
96
-
97
- end
98
- end
99
-
100
- theme = Spina::Theme.new
101
- theme.name = 'demo'
102
- theme.config = Spina::DemoTheme.config
103
- Spina.register_theme(theme)
@@ -1,14 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
- #
3
- # This file contains settings for ActionController::ParamsWrapper which
4
- # is enabled by default.
5
-
6
- # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
- ActiveSupport.on_load(:action_controller) do
8
- wrap_parameters format: [:json]
9
- end
10
-
11
- # Disable root element in JSON by default.
12
- ActiveSupport.on_load(:active_record) do
13
- self.include_root_in_json = false
14
- end
@@ -1,5 +0,0 @@
1
- # Sample localization file for English. Add more files in this directory for other locales.
2
- # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
-
4
- en:
5
- hello: "Hello world"
@@ -1,214 +0,0 @@
1
- nl:
2
- text: Tekst
3
- photo: Foto
4
- line: Tekstregel
5
-
6
- backgrounds:
7
- city: Stad
8
- wood: Hout
9
- grunge: Grunge
10
-
11
- misc:
12
- messages:
13
- zero: "0 nieuwe berichten"
14
- one: "1 nieuw bericht"
15
- other: "%{count} nieuwe berichten"
16
-
17
- date:
18
- abbr_day_names:
19
- - zon
20
- - maa
21
- - din
22
- - woe
23
- - don
24
- - vri
25
- - zat
26
- abbr_month_names:
27
- -
28
- - jan
29
- - feb
30
- - mar
31
- - apr
32
- - mei
33
- - jun
34
- - jul
35
- - aug
36
- - sep
37
- - okt
38
- - nov
39
- - dec
40
- day_names:
41
- - zondag
42
- - maandag
43
- - dinsdag
44
- - woensdag
45
- - donderdag
46
- - vrijdag
47
- - zaterdag
48
- formats:
49
- default: ! '%d/%m/%Y'
50
- long: ! '%e %B %Y'
51
- short: ! '%e %b'
52
- month_names:
53
- -
54
- - januari
55
- - februari
56
- - maart
57
- - april
58
- - mei
59
- - juni
60
- - juli
61
- - augustus
62
- - september
63
- - oktober
64
- - november
65
- - december
66
- order:
67
- - :day
68
- - :month
69
- - :year
70
- datetime:
71
- distance_in_words:
72
- about_x_hours:
73
- one: ongeveer een uur
74
- other: ongeveer %{count} uur
75
- about_x_months:
76
- one: ongeveer een maand
77
- other: ongeveer %{count} maanden
78
- about_x_years:
79
- one: ongeveer een jaar
80
- other: ongeveer %{count} jaar
81
- almost_x_years:
82
- one: bijna een jaar
83
- other: bijna %{count} jaar
84
- half_a_minute: een halve minuut
85
- less_than_x_minutes:
86
- one: minder dan een minuut
87
- other: minder dan %{count} minuten
88
- less_than_x_seconds:
89
- one: minder dan een seconde
90
- other: minder dan %{count} seconden
91
- over_x_years:
92
- one: meer dan een jaar
93
- other: meer dan %{count} jaar
94
- x_days:
95
- one: 1 dag
96
- other: ! '%{count} dagen'
97
- x_minutes:
98
- one: 1 minuut
99
- other: ! '%{count} minuten'
100
- x_months:
101
- one: 1 maand
102
- other: ! '%{count} maanden'
103
- x_seconds:
104
- one: 1 seconde
105
- other: ! '%{count} seconden'
106
- prompts:
107
- day: dag
108
- hour: uur
109
- minute: minuut
110
- month: maand
111
- second: seconde
112
- year: jaar
113
- errors: &errors
114
- format: ! '%{attribute} %{message}'
115
- messages:
116
- accepted: moet worden geaccepteerd
117
- blank: moet opgegeven zijn
118
- confirmation: komt niet met de bevestiging overeen
119
- empty: moet opgegeven zijn
120
- equal_to: moet gelijk zijn aan %{count}
121
- even: moet even zijn
122
- exclusion: is niet beschikbaar
123
- greater_than: moet groter zijn dan %{count}
124
- greater_than_or_equal_to: moet groter dan of gelijk zijn aan %{count}
125
- inclusion: is niet in de lijst opgenomen
126
- invalid: is ongeldig
127
- less_than: moet minder zijn dan %{count}
128
- less_than_or_equal_to: moet minder dan of gelijk zijn aan %{count}
129
- not_a_number: is geen getal
130
- not_an_integer: moet een geheel getal zijn
131
- odd: moet oneven zijn
132
- record_invalid: ! 'Validatie mislukt: %{errors}'
133
- taken: is al in gebruik
134
- too_long: is te lang (maximaal %{count} tekens)
135
- too_short: is te kort (minimaal %{count} tekens)
136
- wrong_length: heeft onjuiste lengte (moet %{count} tekens lang zijn)
137
- template:
138
- body: ! 'Controleer de volgende velden:'
139
- header:
140
- one: ! '%{model} niet opgeslagen: 1 fout gevonden'
141
- other: ! '%{model} niet opgeslagen: %{count} fouten gevonden'
142
- helpers:
143
- select:
144
- prompt: Selecteer
145
- submit:
146
- create: ! '%{model} toevoegen'
147
- submit: ! '%{model} opslaan'
148
- update: ! '%{model} bewaren'
149
- number:
150
- currency:
151
- format:
152
- delimiter: .
153
- format: ! '%u%n'
154
- precision: 2
155
- separator: ! ','
156
- significant: false
157
- strip_insignificant_zeros: false
158
- unit: €
159
- format:
160
- delimiter: .
161
- precision: 2
162
- separator: ! ','
163
- significant: false
164
- strip_insignificant_zeros: false
165
- human:
166
- decimal_units:
167
- format: ! '%n %u'
168
- units:
169
- billion: miljard
170
- million: miljoen
171
- quadrillion: biljard
172
- thousand: duizend
173
- trillion: biljoen
174
- unit: ''
175
- format:
176
- delimiter: ''
177
- precision: 3
178
- significant: true
179
- strip_insignificant_zeros: true
180
- storage_units:
181
- format: ! '%n %u'
182
- units:
183
- byte:
184
- one: Byte
185
- other: Bytes
186
- gb: GB
187
- kb: KB
188
- mb: MB
189
- tb: TB
190
- percentage:
191
- format:
192
- delimiter: ''
193
- precision:
194
- format:
195
- delimiter: ''
196
- support:
197
- array:
198
- last_word_connector: ! ' en '
199
- two_words_connector: ! ' en '
200
- words_connector: ! ', '
201
- time:
202
- am: ! '''s ochtends'
203
- formats:
204
- default: ! '%a %d %b %Y %H:%M:%S %Z'
205
- long: ! '%d %B %Y %H:%M'
206
- short: ! '%d %b %H:%M'
207
- pm: ! '''s middags'
208
- # remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
209
- activemodel:
210
- errors:
211
- <<: *errors
212
- activerecord:
213
- errors:
214
- <<: *errors