locomotivecms 3.0.0.rc2 → 3.0.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -2
  3. data/README.md +2 -1
  4. data/app/api/locomotive/api/entities/site_entity.rb +8 -0
  5. data/app/api/locomotive/api/exception_rescuers.rb +1 -1
  6. data/app/api/locomotive/api/forms/content_entry_form.rb +4 -3
  7. data/app/api/locomotive/api/helpers/params_helper.rb +21 -3
  8. data/app/api/locomotive/api/resources/current_site_resource.rb +1 -1
  9. data/app/api/locomotive/api/resources/site_resource.rb +2 -2
  10. data/app/assets/images/locomotive/deadend.png +0 -0
  11. data/app/assets/javascripts/locomotive/not_logged_in.js.coffee +1 -1
  12. data/app/assets/javascripts/locomotive/utils/core_ext.js +1 -1
  13. data/app/assets/javascripts/locomotive/utils/wysihtml5.js.coffee +43 -17
  14. data/app/assets/javascripts/locomotive/views/application_view.js.coffee +5 -1
  15. data/app/assets/javascripts/locomotive/views/editable_elements/edit_view.js.coffee +47 -0
  16. data/app/assets/javascripts/locomotive/views/editable_elements/iframe_view.js.coffee +59 -0
  17. data/app/assets/javascripts/locomotive/views/editable_elements/index_view.js.coffee +19 -92
  18. data/app/assets/javascripts/locomotive/views/editable_elements/page_view.js.coffee +81 -0
  19. data/app/assets/javascripts/locomotive/views/editable_elements/text_highlighter_view.js.coffee +76 -0
  20. data/app/assets/javascripts/locomotive/views/inputs/rte/edit_table_view.js.coffee +35 -0
  21. data/app/assets/javascripts/locomotive/views/inputs/rte/file_view.js.coffee +14 -10
  22. data/app/assets/javascripts/locomotive/views/inputs/rte/link_view.js.coffee +25 -15
  23. data/app/assets/javascripts/locomotive/views/inputs/rte/table_view.js.coffee +82 -0
  24. data/app/assets/javascripts/locomotive/views/inputs/rte_view.js.coffee.erb +64 -23
  25. data/app/assets/javascripts/locomotive/views/inputs/text_view.js.coffee +11 -6
  26. data/app/assets/javascripts/locomotive.js +2 -2
  27. data/app/assets/stylesheets/locomotive/application.scss +1 -3
  28. data/app/assets/stylesheets/locomotive/base/_form.scss +2 -1
  29. data/app/assets/stylesheets/locomotive/base/_typography.scss +3 -2
  30. data/app/assets/stylesheets/locomotive/base/form/_base.scss +5 -0
  31. data/app/assets/stylesheets/locomotive/base/form/_rte.scss +42 -0
  32. data/app/assets/stylesheets/locomotive/error.scss +1 -1
  33. data/app/assets/stylesheets/locomotive/globals/_mixins.scss +41 -48
  34. data/app/assets/stylesheets/locomotive/globals/_variables.scss +202 -121
  35. data/app/assets/stylesheets/locomotive/layouts/_not_logged_in.scss +8 -9
  36. data/app/assets/stylesheets/locomotive/live_editing_error.scss +19 -0
  37. data/app/assets/stylesheets/locomotive/live_editing_iframe.scss +84 -0
  38. data/app/assets/stylesheets/locomotive/unauthorized/_forms.scss +63 -0
  39. data/app/assets/stylesheets/locomotive/unauthorized/_keyframes.scss +31 -0
  40. data/app/assets/stylesheets/locomotive/unauthorized/_notify.scss +85 -0
  41. data/app/assets/stylesheets/locomotive/unauthorized/_public.scss +129 -0
  42. data/app/assets/stylesheets/locomotive/unauthorized/_type.scss +14 -0
  43. data/app/assets/stylesheets/locomotive/unauthorized/_variables.scss +54 -0
  44. data/app/assets/stylesheets/locomotive/unauthorized.scss +34 -0
  45. data/app/helpers/locomotive/dashboard_helper.rb +1 -1
  46. data/app/inputs/locomotive/rte_input.rb +12 -0
  47. data/app/models/locomotive/concerns/page/editable_elements.rb +0 -2
  48. data/app/models/locomotive/editable_element.rb +1 -1
  49. data/app/services/locomotive/content_asset_service.rb +1 -1
  50. data/app/services/locomotive/page_parsing_service.rb +4 -2
  51. data/app/views/locomotive/editable_elements/index.html.slim +1 -1
  52. data/app/views/locomotive/layouts/not_logged_in.html.slim +13 -9
  53. data/app/views/locomotive/passwords/edit.html.slim +13 -13
  54. data/app/views/locomotive/passwords/new.html.slim +14 -11
  55. data/app/views/locomotive/registrations/new.html.slim +14 -13
  56. data/app/views/locomotive/sessions/new.html.slim +14 -13
  57. data/app/views/locomotive/shared/rte/_markdown_toolbar.html.slim +0 -30
  58. data/app/views/locomotive/shared/rte/_table_popover.html.slim +17 -0
  59. data/app/views/locomotive/shared/rte/_toolbar.html.slim +48 -11
  60. data/config/initializers/simple_form.rb +2 -0
  61. data/config/locales/carrierwave.lt.yml +4 -0
  62. data/config/locales/carrierwave.nl.yml +4 -0
  63. data/config/locales/carrierwave.ru.yml +4 -0
  64. data/config/locales/default.nl.yml +13 -0
  65. data/config/locales/devise.nl.yml +61 -0
  66. data/config/locales/en.yml +28 -10
  67. data/config/locales/flash.nl.yml +79 -0
  68. data/config/locales/inputs.lt.yml +18 -0
  69. data/config/locales/inputs.nl.yml +18 -0
  70. data/config/locales/mongoid.nl.yml +47 -0
  71. data/config/locales/nl.yml +316 -0
  72. data/config/locales/simple_form.en.yml +6 -0
  73. data/config/locales/simple_form.nl.yml +148 -0
  74. data/lib/locomotive/carrierwave/asset.rb +5 -1
  75. data/lib/locomotive/dependencies.rb +0 -1
  76. data/lib/locomotive/engine.rb +7 -1
  77. data/lib/locomotive/middlewares/site.rb +14 -2
  78. data/lib/locomotive/mongoid/patches.rb +29 -0
  79. data/lib/locomotive/steam/middlewares/catch_error.rb +78 -0
  80. data/lib/locomotive/steam/middlewares/wysihtml_css.rb +32 -0
  81. data/lib/locomotive/steam_adaptor.rb +4 -7
  82. data/lib/locomotive/version.rb +1 -1
  83. data/spec/requests/locomotive/steam/cache_spec.rb +3 -3
  84. data/spec/requests/locomotive/steam/wysihtml_css_spec.rb +42 -0
  85. data/spec/requests/site_spec.rb +13 -2
  86. data/spec/support/features/session_helpers.rb +3 -3
  87. data/vendor/assets/components/locomotive/backbone/backbone.js +1894 -0
  88. data/vendor/assets/components/locomotive/underscore/underscore.js +1548 -0
  89. data/vendor/assets/components/locomotive_sources/backbone/LICENSE +22 -0
  90. data/vendor/assets/components/locomotive_sources/backbone/backbone-min.js +2 -0
  91. data/vendor/assets/components/locomotive_sources/backbone/backbone-min.map +1 -0
  92. data/vendor/assets/components/locomotive_sources/backbone/backbone.js +1894 -0
  93. data/vendor/assets/components/locomotive_sources/backbone/bower.json +8 -0
  94. data/vendor/assets/components/locomotive_sources/underscore/LICENSE +23 -0
  95. data/vendor/assets/components/locomotive_sources/underscore/README.md +22 -0
  96. data/vendor/assets/components/locomotive_sources/underscore/bower.json +7 -0
  97. data/vendor/assets/components/locomotive_sources/underscore/underscore-min.js +6 -0
  98. data/vendor/assets/components/locomotive_sources/underscore/underscore-min.map +1 -0
  99. data/vendor/assets/components/locomotive_sources/underscore/underscore.js +1548 -0
  100. data/vendor/assets/javascripts/locomotive/wysihtml5/parser_rules/advanced.js +22 -48
  101. data/vendor/assets/javascripts/locomotive/wysihtml5/parser_rules/advanced_unwrap.js +13 -12
  102. data/vendor/assets/javascripts/locomotive/wysihtml5x-toolbar.js +7324 -3862
  103. data/vendor/assets/stylesheets/locomotive/wysihtml5_editor.css +27 -1
  104. metadata +53 -28
  105. data/app/assets/stylesheets/locomotive/globals/_all.scss +0 -3
  106. data/app/assets/stylesheets/locomotive/globals/_bootstrap.scss +0 -841
  107. data/app/assets/stylesheets/locomotive/globals/_colors.scss +0 -1
  108. data/app/assets/stylesheets/locomotive/globals/_nprogress.scss +0 -3
  109. data/app/assets/stylesheets/locomotive/not_logged_in.scss +0 -15
@@ -0,0 +1,17 @@
1
+ .table-dialog-content style='display: none'
2
+ = locomotive_form_for table_form, url: '#', defaults: { placeholder: false, hint: false } do |f|
3
+ = f.inputs do
4
+ = f.input :cols, input_html: { value: 3 }
5
+ = f.input :rows, input_html: { value: 1 }
6
+ = f.input :head, as: :toggle
7
+ = f.input :class_name
8
+
9
+ p.text-right
10
+ a.btn.btn-success.btn-sm.apply
11
+ = f.submit_text
12
+
13
+ |  
14
+
15
+ a.btn.btn-default.btn-sm.cancel
16
+ = f.submit_text :cancel
17
+
@@ -30,22 +30,27 @@
30
30
 
31
31
  .style-dialog-content style='display: none'
32
32
  a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h1' H1
33
- br
33
+ |  
34
34
  a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h2' H2
35
- br
35
+ |  
36
36
  a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h3' H3
37
- br
38
- a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h3' H4
39
- br
40
- a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h3' H5
41
- br
42
- a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h3' H6
43
- br
37
+ |  
38
+ a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h4' H4
39
+ |  
40
+ a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h5' H5
41
+ |  
42
+ a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h6' H6
43
+ |  
44
44
  a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='p' P
45
- br
45
+ |  
46
46
  a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='blockquote'
47
47
  i.fa.fa-quote-right
48
- br
48
+ |  
49
+ a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='code'
50
+ | Code
51
+ |  
52
+ a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='pre'
53
+ | Pre
49
54
 
50
55
  a data-wysihtml5-command='createLink'
51
56
  i.fa.fa-chain
@@ -57,6 +62,38 @@
57
62
  i.fa.fa-file-o
58
63
  = image_popover
59
64
 
65
+ a data-wysihtml5-command='createTable'
66
+ i.fa.fa-table
67
+ = table_popover
68
+
69
+ a data-wysihtml5-hiddentools='table' class="edit-table" style="display: none"
70
+ i.fa.fa-table
71
+
72
+ .table-dialog-content style='display: none'
73
+ a data-wysihtml5-command="mergeTableCells" unselectable="on"
74
+ = t('.table.merge')
75
+ br
76
+ a data-wysihtml5-command="addTableCells" data-wysihtml5-command-value="above" unselectable="on"
77
+ = t('.table.insert_row_before')
78
+ br
79
+ a data-wysihtml5-command="addTableCells" data-wysihtml5-command-value="below"
80
+ = t('.table.insert_row_after')
81
+ br
82
+ a data-wysihtml5-command="addTableCells" data-wysihtml5-command-value="before" unselectable="on"
83
+ = t('.table.insert_col_before')
84
+ br
85
+ a data-wysihtml5-command="addTableCells" data-wysihtml5-command-value="after" unselectable="on"
86
+ = t('.table.insert_col_after')
87
+ br
88
+ a data-wysihtml5-command="deleteTableCells" data-wysihtml5-command-value="row" unselectable="on"
89
+ = t('.table.delete_row')
90
+ br
91
+ a data-wysihtml5-command="deleteTableCells" data-wysihtml5-command-value="column" unselectable="on"
92
+ = t('.table.delete_col')
93
+
60
94
  span.wysihtml5-toolbar-group
95
+ a.expand
96
+ i.fa.fa-expand
61
97
  a data-wysihtml5-action='change_view'
62
98
  i.fa.fa-code
99
+
@@ -5,6 +5,8 @@ SimpleForm.setup do |config|
5
5
 
6
6
  config.boolean_style = :nested
7
7
 
8
+ config.label_text = lambda { |label, required, explicit_label| "#{} #{label}" }
9
+
8
10
  config.wrapper_mappings = {
9
11
  array: :locomotive_link,
10
12
  editable_select: :locomotive_link,
@@ -0,0 +1,4 @@
1
+ lt:
2
+ carrierwave:
3
+ errors:
4
+ integrity: 'yra neleistinas failo tipas.'
@@ -0,0 +1,4 @@
1
+ nl:
2
+ carrierwave:
3
+ errors:
4
+ integrity: 'is geen toegestaan bestandsformaat.'
@@ -0,0 +1,4 @@
1
+ ru:
2
+ carrierwave:
3
+ errors:
4
+ integrity: 'не является разрешенным форматом файла.'
@@ -0,0 +1,13 @@
1
+ nl:
2
+ date:
3
+ formats:
4
+ default: "%m/%d/%Y"
5
+ today_at: "Vandaag om"
6
+ yesterday_at: "Gisteren om"
7
+ time:
8
+ formats:
9
+ default: "%m/%d/%Y %H:%M"
10
+ time: "%H:%M"
11
+ pagination:
12
+ previous: "« Vorige"
13
+ next: "Volgende »"
@@ -0,0 +1,61 @@
1
+ nl:
2
+ errors:
3
+ messages:
4
+ not_found: "Niet gevonden"
5
+ already_confirmed: "werd al bevestigd"
6
+ not_locked: "werd niet vergrendeld"
7
+ devise:
8
+ failure:
9
+ locomotive_account:
10
+ unauthenticated: 'U moet inloggen of registreren vooraleer u kan verder gaan.'
11
+ unconfirmed: 'Graag eerst uw account bevestigen vooraleer u kan verder gaan.'
12
+ locked: 'Uw account is vergrendeld.'
13
+ invalid: 'Ongeldig email of wachtwoord.'
14
+ not_found_in_database: 'Ongeldig email of wachtwoord.'
15
+ no_membership: 'Uw account is geen lid van deze site, gelieve de administrator van deze site te contacteren om toegang te verkrijgen.'
16
+ invalid_token: 'Ongeldige authenticatie token.'
17
+ timeout: 'Uw sessie is verlopen, gelieve terug aan te melden.'
18
+ inactive: 'Uw account werd nog niet geactiveerd.'
19
+ sessions:
20
+ locomotive_account:
21
+ signed_in: 'Succesvol aangemeld.'
22
+ signed_out: 'Succesvol uitgelogd.'
23
+ passwords:
24
+ locomotive_account:
25
+ send_instructions: 'U zal binnen enkele minuten een email ontvangen met instructies over hoe u uw wachtwoord kunt wijzigen.'
26
+ updated: 'Uw wachtwoord is succesvol gewijzigd. U bent nu ingelogd.'
27
+ invalid: 'Gelieve uw wachtwoord opnieuw aan te vragen.'
28
+ confirmations:
29
+ locomotive_account:
30
+ send_instructions: 'U zal binnen enkele minuten een email ontvangen met instructies over hoe u uw account kan bevestigen.'
31
+ confirmed: 'Uw account is succesvol bevestigd. U bent nu ingelogd.'
32
+ registrations:
33
+ locomotive_account:
34
+ signed_up: 'U bent succesvol geregistreerd.'
35
+ updated: 'Uw account is succesvol gewijzigd.'
36
+ destroyed: 'Bye! Uw account is succesvol geannuleerd. We hopen om u snel terug te zien.'
37
+ unlocks:
38
+ locomotive_account:
39
+ send_instructions: 'U zal binnen enkele minuten een email ontvangen met instructies over hoe u uw account kan de-blokkeren.'
40
+ unlocked: 'Uw account is succesvol gedeblokkeerd. U bent nu ingelogd.'
41
+ mailer:
42
+ locomotive_account:
43
+ confirmation_instructions: 'Bevestiging instructies'
44
+ reset_password_instructions: 'Wachtwoord reset instructies'
45
+ unlock_instructions: 'Deblokkeer instructies'
46
+ locomotive:
47
+ devise_mailer:
48
+ common:
49
+ hello: Hallo
50
+ confirmation_instructions:
51
+ you_can_confirm_your_account_through_the_link_below: "U kan uw account bevestigen via de link hieronder:"
52
+ confirm_my_account: "Bevestig mijn account"
53
+ reset_password_instructions:
54
+ reset_password_instruction: "Iemand heeft een link aangevraagd om uw wachtwoord aan te passen, u kunt dit doen via de link hieronder:"
55
+ change_my_password: "Wachtwoord wijzigen"
56
+ wrong_request_instruction: "Als u dit niet hebt aangevraagd, gelieve deze mail te negeren."
57
+ unchange_password_message: "Uw wachtwoord zal niet worden aangepast tot u de bovenstaande link bezoekt en een nieuwe creëert."
58
+ unlock_instructions:
59
+ locked_account_message: "Uw account is geblokkeerd door te veel foutieve aanmelding pogingen."
60
+ unlock_account_instruction: "Klik op de link hieronder om uw account te deblokkeren:"
61
+ unlock_my_account: "Deblokkeer mijn account"
@@ -1,8 +1,5 @@
1
1
  en:
2
2
  locomotive:
3
- not_logged_in:
4
- title: "Locomotive <small>Designed to save your time</small>"
5
-
6
3
  locales:
7
4
  en: English
8
5
  de: German
@@ -48,6 +45,17 @@ en:
48
45
  created_by: "Created %{distance} ago by %{who}"
49
46
  updated_at: "Last modified %{distance} ago"
50
47
  updated_by: "Last modified %{distance} ago by %{who}"
48
+ rte:
49
+ toolbar:
50
+ table:
51
+ merge: Merge
52
+ insert_row_before: Insert row before
53
+ insert_row_after: Insert row after
54
+ insert_col_before: Insert column before
55
+ insert_col_after: Insert column after
56
+ delete_row: Delete row
57
+ delete_col: Delete column
58
+
51
59
 
52
60
  errors:
53
61
  "500":
@@ -148,28 +156,35 @@ en:
148
156
 
149
157
  sessions:
150
158
  new:
151
- title: "Sign in"
152
- link: "I forgot my password"
153
159
  email: "Email"
160
+ link: "Forgot my password"
154
161
  password: "Password"
155
162
  sign_up: Do not have an account?
156
163
  submit: Sign in
164
+ title: Sign in
157
165
 
158
166
  registrations:
159
167
  new:
168
+ confirm_password: Confirm password
169
+ description: "Looks like you are the first one here, create an account below to start using Locomotive."
160
170
  sign_in: Already have an account?
161
- submit: Sign up
171
+ submit: Register
172
+ title: Register
162
173
 
163
174
  passwords:
164
175
  new:
165
- link: "&rarr; Back to login page"
176
+ description: "Fill in your email below and you'll receive an email with instruction on how to reset your password."
177
+ link: "Go back to login page"
166
178
  email: "Your email"
167
- submit: Forgot password
179
+ submit: "Submit"
180
+ title: "Forgot your password"
168
181
  edit:
169
- link: "&rarr; Back to login page"
182
+ description: "Fill in your new password below."
183
+ link: "Go back to login page"
170
184
  password: "Your new password"
171
- password_confirmation: "Confirmation of your new password"
185
+ password_confirmation: "Confirm password"
172
186
  submit: "Update my password"
187
+ title: "Reset password"
173
188
 
174
189
  pages:
175
190
  index:
@@ -191,6 +206,9 @@ en:
191
206
  editable_elements:
192
207
  index:
193
208
  redirection_error: "Editing a non Locomotive page is not allowed."
209
+ iframe:
210
+ buttons:
211
+ edit: edit
194
212
  index_without_preview:
195
213
  title: "%{title} &mdash; <small>%{fullpath}</small>"
196
214
  edit:
@@ -0,0 +1,79 @@
1
+ nl:
2
+ flash:
3
+ locomotive:
4
+ pages:
5
+ create:
6
+ notice: "Pagina is succesvol gecreëerd."
7
+ alert: "Pagina kon niet worden gecreëerd."
8
+ update:
9
+ notice: "Pagina werd succesvol aangepast."
10
+ alert: "Pagina kon niet worden aangepast."
11
+ sort:
12
+ notice: "Pagina's zijn succesvol gesorteerd."
13
+ destroy:
14
+ notice: "Pagina werd succesvol verwijderd."
15
+ content_entries:
16
+ create:
17
+ notice: "Item is succesvol aangemaakt."
18
+ alert: "Item kon niet worden aangemaakt."
19
+ update:
20
+ notice: "Item werd succesvol gewijzigd."
21
+ alert: "Item kon niet worden gewijzigd."
22
+ sort:
23
+ notice: "Items werden succesvol gesorteerd."
24
+ destroy:
25
+ notice: "Item werd succesvol verwijderd."
26
+ content_types:
27
+ update:
28
+ notice: "Model werd succesvol gewijzigd."
29
+ alert: "Model kon niet worden gewijzigd."
30
+ current_site:
31
+ update:
32
+ notice: "Mijn site werd succesvol gewijzigd."
33
+ alert: "Mijn site kon niet worden gewijzigd."
34
+ accounts:
35
+ create:
36
+ notice: "Account werd succesvol aangemaakt."
37
+ alert: "Account kon niet worden aangemaakt."
38
+ my_account:
39
+ update:
40
+ notice: "Account werd succesvol gewijzigd."
41
+ alert: "Account kon niet worden gewijzigd."
42
+ sites:
43
+ create:
44
+ notice: "Site is succesvol aangemaakt."
45
+ alert: "Site kon niet worden aangemaakt."
46
+ destroy:
47
+ notice: "Site werd succesvol verwijderd."
48
+ memberships:
49
+ create:
50
+ notice: "Lidmaatschap is succesvol aangemaakt."
51
+ alert: "Lidmaatschap kon niet worden aangemaakt."
52
+ already_created: "Account werd voorheen al toegevoegd aan de huidige website."
53
+ content_assets:
54
+ create:
55
+ notice: "Bestand is succesvol geupload."
56
+ alert: "Bestand kon niet worden geupload."
57
+ bulk_create:
58
+ notice: "Bestanden zijn succesvol geupload."
59
+ alert: "Bestanden konden niet worden geupload."
60
+ update:
61
+ notice: "Bestand is succesvol gewijzigd."
62
+ alert: "Bestand kon niet worden gewijzigd."
63
+ destroy:
64
+ notice: "Bestand werd succesvol verwijderd."
65
+ alert: "Bestand kon niet verwijderd worden."
66
+ translations:
67
+ create:
68
+ notice: "Vertaling is succesvol aangemaakt."
69
+ alert: "Vertaling kon niet worden verwijderd."
70
+ update:
71
+ notice: "Vertaling is succesvol gewijzigd."
72
+ alert: "Vertaling kon niet worden gewijzigd."
73
+ destroy:
74
+ notice: "Vertaling werd succesvol verwijderd."
75
+ custom_fields:
76
+ select_options:
77
+ update:
78
+ notice: "Veld werd succesvol aangepast."
79
+ alert: "Veld kon niet worden gewijzigd."
@@ -0,0 +1,18 @@
1
+ lt:
2
+ locomotive:
3
+ inputs:
4
+ file:
5
+ none: nėra failo
6
+ choose: Pasirinkti
7
+ change: Pakeisti
8
+ delete: Ištrinti
9
+ cancel: Atšaukti
10
+ select_local_file: Įkelti vietinį failą
11
+ select_content_asset: Pasirinkti iš išteklių
12
+ array:
13
+ new: Naujas
14
+ add: Pridėti
15
+ edit: Redaguoti
16
+ toggle:
17
+ on_text: "Taip"
18
+ off_text: "Ne"
@@ -0,0 +1,18 @@
1
+ nl:
2
+ locomotive:
3
+ inputs:
4
+ file:
5
+ none: geen bestand
6
+ choose: Kies uit
7
+ change: Verander
8
+ delete: Verwijder
9
+ cancel: Annuleer
10
+ select_local_file: Upload een lokaal bestand
11
+ select_content_asset: Kies een bestand
12
+ array:
13
+ new: Nieuw
14
+ add: Voeg toe
15
+ edit: Bewerk
16
+ toggle:
17
+ on_text: "Ja"
18
+ off_text: "Nee"
@@ -0,0 +1,47 @@
1
+ nl:
2
+ mongoid:
3
+ errors:
4
+ messages:
5
+ blank_in_locale: "Kan niet leeg zijn"
6
+ models:
7
+ locomotive/page:
8
+ attributes:
9
+ layout_id:
10
+ index_can_not_extend_parent: "De index pagina kan niet zijn bovenliggende pagina hebben als layout."
11
+ locomotive/membership:
12
+ attributes:
13
+ account:
14
+ unique_account: "is al in gebruik"
15
+ email:
16
+ unique_account: "is al in gebruik"
17
+ attributes:
18
+ locomotive/content_entry:
19
+ created_at: Gecreëerd op
20
+ errors:
21
+ messages:
22
+ domain_taken: "%{value} is al ingenomen"
23
+ invalid_domain: "%{value} is ongeldig"
24
+ needs_admin_account: "Minstens één admin account is vereist."
25
+ protected_page: "U kan niet de index of 404 pagina verwijderen."
26
+ extname_changed: "Nieuw bestand heeft niet de originele extensie."
27
+ array_too_short: "is te klein (minimum element nummer is %{count})"
28
+ site:
29
+ default_locale_removed: De voorgaande standaard landinstelling kan niet direct verwijderd worden.
30
+ wrong_timezone_name: "Verkeerde tijdzone naam."
31
+ page:
32
+ liquid_syntax: "Liquid Syntax fout ('%{error}' on '%{fullpath}')"
33
+ liquid_extend: "De pagina '%{fullpath}' extends een template die niet bestaat."
34
+ liquid_translation: "De pagina '%{fullpath}' extends een template die niet is vertaald."
35
+ too_few_custom_fields: "Minstens 1 eigen veld is vereist."
36
+ security: "presenteert een beveiligingsprobleem"
37
+ attributes:
38
+ defaults:
39
+ pages:
40
+ index:
41
+ title: "Hoofdpagina"
42
+ body: "Inhoud van de hoofdpagina"
43
+ '404':
44
+ title: "Pagina niet gevonden"
45
+ body: "Inhoud van de 404 pagina"
46
+ other:
47
+ body: "{% extends 'parent' %}"