spina 1.1.2 → 2.0.0.beta

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 (199) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/fonts/spina/ics_spina.eot +0 -0
  3. data/app/assets/fonts/spina/ics_spina.svg +285 -267
  4. data/app/assets/fonts/spina/ics_spina.ttf +0 -0
  5. data/app/assets/fonts/spina/ics_spina.woff +0 -0
  6. data/app/assets/fonts/spina/ics_spina.woff2 +0 -0
  7. data/app/assets/icons/spina/bold.svg +1 -1
  8. data/app/assets/icons/spina/code.svg +1 -1
  9. data/app/assets/icons/spina/image.svg +1 -10
  10. data/app/assets/icons/spina/indent.svg +1 -0
  11. data/app/assets/icons/spina/italic.svg +1 -1
  12. data/app/assets/icons/spina/link.svg +1 -1
  13. data/app/assets/icons/spina/list-ol.svg +1 -0
  14. data/app/assets/icons/spina/list.svg +1 -0
  15. data/app/assets/icons/spina/outdent.svg +1 -0
  16. data/app/assets/icons/spina/preview/icons_spina-preview.html +0 -2
  17. data/app/assets/icons/spina/preview/ics_spina-preview.html +121 -3
  18. data/app/assets/icons/spina/quote-right.svg +1 -0
  19. data/app/assets/icons/spina/redo.svg +1 -0
  20. data/app/assets/icons/spina/strikethrough.svg +1 -0
  21. data/app/assets/icons/spina/undo.svg +1 -0
  22. data/app/assets/images/spina/favicon.png +0 -0
  23. data/app/assets/javascripts/spina/admin/application.js +1 -2
  24. data/app/assets/javascripts/spina/admin/controllers/attachment_picker_controller.js +15 -0
  25. data/app/assets/javascripts/spina/admin/controllers/image_form_controller.js +5 -4
  26. data/app/assets/javascripts/spina/admin/controllers/infinite_scroll_controller.js +20 -22
  27. data/app/assets/javascripts/spina/admin/controllers/media_picker_controller.js +171 -0
  28. data/app/assets/javascripts/spina/admin/controllers/modal_controller.js +18 -0
  29. data/app/assets/javascripts/spina/admin/controllers/repeater_form_controller.js +38 -0
  30. data/app/assets/javascripts/spina/admin/media_gallery.coffee +0 -3
  31. data/app/assets/javascripts/spina/admin/notifications.coffee +1 -1
  32. data/app/assets/javascripts/spina/admin/pages.coffee.erb +3 -20
  33. data/app/assets/javascripts/spina/admin/scaffold.coffee +1 -3
  34. data/app/assets/javascripts/spina/admin/trix.coffee.erb +14 -18
  35. data/app/assets/stylesheets/spina.sass +10 -8
  36. data/app/assets/stylesheets/spina/_buttons.sass +57 -31
  37. data/app/assets/stylesheets/spina/_configuration.sass.erb +1 -1
  38. data/app/assets/stylesheets/spina/_forms.sass +72 -77
  39. data/app/assets/stylesheets/spina/_gallery.sass +22 -4
  40. data/app/assets/stylesheets/spina/_ics_spina.scss +8 -0
  41. data/app/assets/stylesheets/spina/_media_picker.sass +133 -0
  42. data/app/assets/stylesheets/spina/_modal.sass +35 -2
  43. data/app/assets/stylesheets/spina/_notifications.sass +20 -14
  44. data/app/assets/stylesheets/spina/_pages.sass +131 -0
  45. data/app/assets/stylesheets/spina/_sortable_lists.sass +14 -8
  46. data/app/assets/stylesheets/spina/_tables.sass +7 -4
  47. data/app/assets/stylesheets/spina/_trix_custom.sass +29 -32
  48. data/app/controllers/concerns/spina/current_methods.rb +26 -0
  49. data/app/controllers/concerns/spina/frontend.rb +9 -0
  50. data/app/controllers/spina/admin/accounts_controller.rb +9 -13
  51. data/app/controllers/spina/admin/admin_controller.rb +5 -1
  52. data/app/controllers/spina/admin/attachments_controller.rb +0 -22
  53. data/app/controllers/spina/admin/images_controller.rb +1 -1
  54. data/app/controllers/spina/admin/media_picker_controller.rb +18 -19
  55. data/app/controllers/spina/admin/pages_controller.rb +3 -7
  56. data/app/controllers/spina/admin/resources_controller.rb +9 -4
  57. data/app/controllers/spina/application_controller.rb +6 -23
  58. data/app/controllers/spina/pages_controller.rb +11 -13
  59. data/app/controllers/spina/sitemaps_controller.rb +6 -6
  60. data/app/helpers/spina/admin/pages_helper.rb +22 -20
  61. data/app/helpers/spina/{files_helper.rb → attachments_helper.rb} +1 -1
  62. data/app/helpers/spina/images_helper.rb +9 -10
  63. data/app/helpers/spina/pages_helper.rb +23 -4
  64. data/app/models/concerns/spina/partable.rb +19 -7
  65. data/app/models/concerns/spina/translated_content.rb +19 -0
  66. data/app/models/spina/account.rb +3 -10
  67. data/app/models/spina/attachment.rb +0 -4
  68. data/app/models/spina/current.rb +1 -0
  69. data/app/models/spina/image.rb +0 -4
  70. data/app/models/spina/page.rb +31 -23
  71. data/app/models/spina/parts/attachment.rb +22 -0
  72. data/app/models/spina/parts/base.rb +12 -0
  73. data/app/models/spina/parts/image.rb +39 -0
  74. data/app/models/spina/parts/image_collection.rb +23 -0
  75. data/app/models/spina/parts/image_variant.rb +19 -0
  76. data/app/models/spina/parts/line.rb +7 -0
  77. data/app/models/spina/parts/multi_line.rb +7 -0
  78. data/app/models/spina/parts/option.rb +13 -0
  79. data/app/models/spina/parts/repeater.rb +10 -0
  80. data/app/models/spina/parts/repeater_content.rb +15 -0
  81. data/app/models/spina/parts/text.rb +7 -0
  82. data/app/models/spina/resource.rb +4 -12
  83. data/app/presenters/spina/content_presenter.rb +51 -0
  84. data/app/presenters/spina/menu_presenter.rb +2 -1
  85. data/app/views/layouts/spina/admin/admin.html.haml +3 -7
  86. data/app/views/layouts/spina/admin/pages.html.haml +5 -4
  87. data/app/views/layouts/spina/login.html.haml +0 -3
  88. data/app/views/spina/admin/accounts/_form.html.haml +13 -7
  89. data/app/views/spina/admin/accounts/analytics.html.haml +5 -3
  90. data/app/views/spina/admin/accounts/social.html.haml +13 -7
  91. data/app/views/spina/admin/accounts/style.html.haml +26 -21
  92. data/app/views/spina/admin/attachments/index.html.haml +1 -1
  93. data/app/views/spina/admin/images/_image.html.haml +1 -1
  94. data/app/views/spina/admin/images/index.html.haml +7 -5
  95. data/app/views/spina/admin/media_folders/_media_folder.html.haml +1 -1
  96. data/app/views/spina/admin/media_folders/show.html.haml +2 -2
  97. data/app/views/spina/admin/media_picker/_image.html.haml +3 -0
  98. data/app/views/spina/admin/media_picker/_media_picker.html.haml +32 -0
  99. data/app/views/spina/admin/media_picker/_media_picker_grid.html.haml +25 -0
  100. data/app/views/spina/admin/media_picker/_modal.html.haml +1 -1
  101. data/app/views/spina/admin/media_picker/infinite_scroll.js.erb +4 -4
  102. data/app/views/spina/admin/media_picker/select.js.erb +2 -0
  103. data/app/views/spina/admin/media_picker/show.html.haml +1 -0
  104. data/app/views/spina/admin/media_picker/show.js.erb +1 -1
  105. data/app/views/spina/admin/pages/_form.html.haml +9 -7
  106. data/app/views/spina/admin/pages/_form_advanced.html.haml +19 -17
  107. data/app/views/spina/admin/pages/_form_page_content.html.haml +14 -13
  108. data/app/views/spina/admin/pages/_form_page_seo.html.haml +15 -4
  109. data/app/views/spina/admin/pages/_page.html.haml +5 -3
  110. data/app/views/spina/admin/pages/_page_nested_list.html.haml +2 -3
  111. data/app/views/spina/admin/pages/index.html.haml +5 -4
  112. data/app/views/spina/admin/parts/attachments/_form.html.haml +6 -0
  113. data/app/views/spina/admin/parts/image_collections/_fields.html.haml +7 -0
  114. data/app/views/spina/admin/parts/image_collections/_form.html.haml +12 -0
  115. data/app/views/spina/admin/parts/images/_form.html.haml +18 -0
  116. data/app/views/spina/admin/parts/lines/_form.html.haml +2 -0
  117. data/app/views/spina/admin/parts/multi_lines/_form.html.haml +2 -0
  118. data/app/views/spina/admin/parts/options/_form.html.haml +3 -0
  119. data/app/views/spina/admin/parts/repeaters/_fields.html.haml +15 -0
  120. data/app/views/spina/admin/parts/repeaters/_form.html.haml +17 -0
  121. data/app/views/spina/admin/parts/texts/_form.html.haml +6 -0
  122. data/app/views/spina/admin/resources/edit.html.haml +28 -12
  123. data/app/views/spina/admin/resources/show.html.haml +6 -3
  124. data/app/views/spina/admin/shared/_notifications.html.haml +4 -4
  125. data/config/locales/TH.yml +10 -0
  126. data/config/locales/bg.yml +10 -0
  127. data/config/locales/de.yml +10 -0
  128. data/config/locales/en.yml +10 -0
  129. data/config/locales/es.yml +39 -29
  130. data/config/locales/fr.yml +10 -0
  131. data/config/locales/id.yml +10 -0
  132. data/config/locales/it.yml +10 -0
  133. data/config/locales/nl.yml +10 -0
  134. data/config/locales/pl.yml +24 -14
  135. data/config/locales/pt-BR.yml +10 -0
  136. data/config/locales/ro.yml +10 -0
  137. data/config/locales/ru.yml +10 -0
  138. data/config/locales/sv.yml +10 -0
  139. data/config/locales/tr.yml +10 -0
  140. data/config/locales/zh-CN.yml +10 -0
  141. data/config/routes.rb +13 -0
  142. data/db/migrate/11_create_spina_resources.rb +0 -2
  143. data/db/migrate/12_add_url_title_to_spina_page_translations.rb +5 -0
  144. data/db/migrate/13_add_json_attributes_to_spina_accounts.rb +5 -0
  145. data/db/migrate/14_add_json_attributes_to_spina_pages.rb +5 -0
  146. data/db/migrate/15_add_slug_to_spina_resources.rb +5 -0
  147. data/lib/generators/spina/templates/app/views/demo/pages/demo.html.haml +13 -21
  148. data/lib/generators/spina/templates/app/views/demo/pages/homepage.html.haml +1 -1
  149. data/lib/generators/spina/templates/config/initializers/mobility.rb +13 -4
  150. data/lib/generators/spina/templates/config/initializers/spina.rb +4 -0
  151. data/lib/generators/spina/templates/config/initializers/themes/default.rb +7 -7
  152. data/lib/generators/spina/templates/config/initializers/themes/demo.rb +32 -44
  153. data/lib/spina.rb +18 -3
  154. data/lib/spina/attr_json_spina_parts_model.rb +29 -0
  155. data/lib/spina/engine.rb +14 -6
  156. data/lib/spina/part.rb +19 -0
  157. data/lib/spina/theme.rb +1 -1
  158. data/lib/spina/version.rb +1 -1
  159. data/lib/tasks/spina_tasks.rake +1 -1
  160. data/vendor/assets/javascripts/spina/sortable.js +2 -2
  161. metadata +83 -53
  162. data/app/assets/javascripts/spina/admin/account.coffee +0 -16
  163. data/app/models/concerns/spina/image_collectable.rb +0 -23
  164. data/app/models/concerns/spina/optionable.rb +0 -12
  165. data/app/models/concerns/spina/part.rb +0 -38
  166. data/app/models/spina/attachment_collection.rb +0 -20
  167. data/app/models/spina/image_collection.rb +0 -23
  168. data/app/models/spina/image_collections_image.rb +0 -6
  169. data/app/models/spina/layout_part.rb +0 -22
  170. data/app/models/spina/line.rb +0 -10
  171. data/app/models/spina/option.rb +0 -17
  172. data/app/models/spina/page_part.rb +0 -22
  173. data/app/models/spina/structure.rb +0 -14
  174. data/app/models/spina/structure_item.rb +0 -22
  175. data/app/models/spina/structure_part.rb +0 -20
  176. data/app/models/spina/text.rb +0 -10
  177. data/app/views/dummy/show.html.haml +0 -1
  178. data/app/views/spina/admin/attachments/_attachment_collection.html.haml +0 -2
  179. data/app/views/spina/admin/attachments/_select.html.haml +0 -17
  180. data/app/views/spina/admin/attachments/_select_collection.html.haml +0 -18
  181. data/app/views/spina/admin/attachments/insert.js.erb +0 -5
  182. data/app/views/spina/admin/attachments/insert_collection.js.coffee +0 -7
  183. data/app/views/spina/admin/attachments/select.js.erb +0 -2
  184. data/app/views/spina/admin/attachments/select_collection.js.erb +0 -2
  185. data/app/views/spina/admin/image_collections/_image_collection.html.haml +0 -5
  186. data/app/views/spina/admin/layout_partables/lines/_form.html.haml +0 -2
  187. data/app/views/spina/admin/partables/attachment_collections/_form.html.haml +0 -14
  188. data/app/views/spina/admin/partables/attachments/_form.html.haml +0 -13
  189. data/app/views/spina/admin/partables/image_collections/_form.html.haml +0 -16
  190. data/app/views/spina/admin/partables/images/_form.html.haml +0 -21
  191. data/app/views/spina/admin/partables/lines/_form.html.haml +0 -5
  192. data/app/views/spina/admin/partables/options/_form.html.haml +0 -7
  193. data/app/views/spina/admin/partables/photo_collections/_form.html.haml +0 -4
  194. data/app/views/spina/admin/partables/photos/_form.html.haml +0 -4
  195. data/app/views/spina/admin/partables/structures/_form.html.haml +0 -21
  196. data/app/views/spina/admin/partables/texts/_form.html.haml +0 -8
  197. data/app/views/spina/admin/structure_items/_fields.html.haml +0 -15
  198. data/app/views/spina/admin/structure_partables/attachment_collections/_form.html.haml +0 -14
  199. data/app/views/spina/admin/structure_partables/attachments/_form.html.haml +0 -13
@@ -0,0 +1,6 @@
1
+ .page-form-label= f.object.title
2
+ .page-form-content
3
+ .page-form-rich-text
4
+ = f.hidden_field :content, id: "#{f.object.object_id}_input"
5
+ %trix-editor.text-input.trix-content{ input: "#{f.object.object_id}_input" }
6
+
@@ -1,6 +1,6 @@
1
1
  - if @resource.errors.any?
2
2
  - content_for :notifications do
3
- .notification.notification-danger.animated.fadeInRight
3
+ .notification.notification-danger.animated.fadeInLeft
4
4
  = icon('exclamation')
5
5
  .notification-message
6
6
  =t 'spina.notifications.alert'
@@ -9,21 +9,44 @@
9
9
  = icon('cross')
10
10
 
11
11
  = form_with model: @resource, url: spina.admin_resource_path(@resource) do |f|
12
+ = hidden_field_tag :locale, @locale
13
+
12
14
  %header#header
13
- .breadcrumbs= render_breadcrumbs separator: '<div class="divider"></div>'
15
+ .breadcrumbs
16
+ = render_breadcrumbs separator: '<div class="divider"></div>'
17
+ %span{style: 'margin-left: 10px'}
18
+ - if Spina.config.locales.size > 1
19
+ %div{style: "display: inline-block", data: {dropdown: true}}
20
+ = link_to '#', class: 'button button-default button-small', style: 'margin-left: 0; margin-right: 0', data: {trigger: 'dropdown', target: '#locales'} do
21
+ = icon('comment')
22
+ =t "spina.languages.#{@locale}"
23
+ %i.icon.icon-chevron-down{style: 'font-size: 9px; margin-right: 0'}
24
+
25
+ %ul#locales
26
+ - Spina.config.locales.each do |locale|
27
+ %li
28
+ = link_to t("spina.languages.#{locale}"), "?locale=#{locale}", style: ('font-weight: 600' if @locale.to_s == locale.to_s).to_s
14
29
 
15
30
  #header_actions
16
31
  %button.button.button-primary{type: 'submit', style: 'margin-right: 0'}
17
32
  = icon('check')
18
33
  =t 'spina.save'
19
34
 
20
- .well
21
- .horizontal-form
35
+ .horizontal-form
36
+ %div{style: "margin: 40px 0"}
22
37
  .horizontal-form-group
23
38
  .horizontal-form-label
24
39
  = Spina::Resource.human_attribute_name :label
25
40
  .horizontal-form-content
26
- = f.text_field :label, placeholder: Spina::Resource.human_attribute_name(:label)
41
+ .page-form-control
42
+ = f.text_field :label, placeholder: Spina::Resource.human_attribute_name(:label)
43
+
44
+ .horizontal-form-group
45
+ .horizontal-form-label
46
+ = Spina::Resource.human_attribute_name :slug
47
+ .horizontal-form-content
48
+ .page-form-control
49
+ = f.text_field :slug, placeholder: Spina::Resource.human_attribute_name(:slug), value: f.object.slug(locale: @locale)&.parameterize
27
50
 
28
51
  .horizontal-form-group
29
52
  .horizontal-form-label
@@ -40,10 +63,3 @@
40
63
  .select-dropdown
41
64
  - options = options_for_select(current_theme.view_templates.map { |template| [template[:title], template[:name]] }, @resource.view_template)
42
65
  = f.select :view_template, options, include_blank: true
43
-
44
- .horizontal-form-group
45
- .horizontal-form-label
46
- = Spina::Resource.human_attribute_name :parent_page
47
- .horizontal-form-content
48
- .select-dropdown
49
- = f.select :parent_page_id, page_ancestry_options(Spina::Page.new), include_blank: Spina::Resource.human_attribute_name(:no_parent)
@@ -1,15 +1,18 @@
1
1
  - content_for(:header_actions) do
2
2
 
3
- = link_to spina.edit_admin_resource_path(@resource), class: 'button' do
4
- = t('spina.resources.edit')
3
+ = link_to spina.edit_admin_resource_path(@resource), class: 'button button-default' do
4
+ .button-content
5
+ = icon('pencil')
6
+ = t('spina.resources.edit')
5
7
 
6
8
  = link_to spina.new_admin_page_path(params: {resource_id: @resource.id, view_template: @resource.view_template.presence || 'show'}), class: 'button button-primary icon-only', style: 'margin-right: 0' do
7
9
  = icon('plus')
10
+ = t('spina.pages.new')
8
11
 
9
12
  .well
10
13
  .dd#pages_list
11
14
  %ol.dd-list
12
- - (@resource.parent_page.try(:children) || @resource.pages.roots).each do |page|
15
+ - @resource.pages.roots.each do |page|
13
16
  %li.dd-item{data: {controller: "page-collapse", url: spina.children_admin_page_path(page)}}
14
17
  .dd-item-inner
15
18
  - if page.children.any?
@@ -1,6 +1,6 @@
1
1
  %aside#notifications
2
2
  - if flash[:notice]
3
- .notification.animated.fadeInRight
3
+ .notification.animated.fadeInLeft
4
4
  = icon('info')
5
5
  .notification-message
6
6
  = flash[:notice].html_safe
@@ -9,7 +9,7 @@
9
9
  = icon('cross')
10
10
 
11
11
  - if flash[:alert]
12
- .notification.notification-danger.animated.fadeInRight
12
+ .notification.notification-danger.animated.fadeInLeft
13
13
  = icon('exclamation')
14
14
  .notification-message
15
15
  = flash[:alert].html_safe
@@ -18,8 +18,8 @@
18
18
  = icon('cross')
19
19
 
20
20
  - if flash[:success]
21
- .notification.notification-success.animated.fadeInRight
22
- = icon('large-check')
21
+ .notification.notification-success.animated.fadeInLeft
22
+ = icon('check')
23
23
  .notification-message
24
24
  = flash[:success].html_safe
25
25
  %small= flash[:success_small].try(:html_safe)
@@ -58,6 +58,9 @@ th:
58
58
  skip_to_first_child_description: ส่งต่อไปยังหน้าแรก
59
59
  title: ชื่อเรื่อง
60
60
  title_placeholder: ชื่อเรื่องของหน้า
61
+ url_title:
62
+ url_title_description:
63
+ url_title_placeholder:
61
64
  view_template: เทมเพลตของเพจ
62
65
  spina/resource:
63
66
  label:
@@ -93,6 +96,7 @@ th:
93
96
  spina:
94
97
  ago: อายุ
95
98
  attachments:
99
+ choose_attachment:
96
100
  insert: แทรกเอกสาร
97
101
  insert_multiple: แทรกเอกสาร
98
102
  cancel: ยกเลิก
@@ -111,14 +115,17 @@ th:
111
115
  success: คุณสามารถใช้รหัสผ่านใหม่ได้
112
116
  unknown_user: ไม่มีผู้ใช้รายนี้
113
117
  images:
118
+ all_images:
114
119
  back:
115
120
  cannot_be_created:
116
121
  choose_image:
117
122
  choose_images:
123
+ confirm_selection:
118
124
  delete:
119
125
  delete_confirmation:
120
126
  delete_folder:
121
127
  done_organizing:
128
+ insert_image:
122
129
  insert_photo:
123
130
  insert_photos:
124
131
  link:
@@ -159,6 +166,8 @@ th:
159
166
  information: ข้อมูล
160
167
  login: คุณต้องเข้าสู่ระบบก่อน
161
168
  wrong_username_or_password: อีเมลหรือรหัสผ่านไม่ถูกต้อง
169
+ options:
170
+ choose_option:
162
171
  pages:
163
172
  advanced: ขั้นสูง
164
173
  change_order: เปลี่ยนออเดอร์
@@ -194,6 +203,7 @@ th:
194
203
  link: 'URL รูปภาพของคุณ:'
195
204
  new_folder: โฟลเดอร์ใหม่
196
205
  organize: จัดระเบียบรูปภาพ
206
+ rename_folder:
197
207
  select_images: เลือกรูปภาพ
198
208
  upload_image: อัปโหลดรูปภาพ
199
209
  preferences:
@@ -58,6 +58,9 @@ bg:
58
58
  skip_to_first_child_description: Пренасочи към първата дъщерна страница
59
59
  title: Заглавие
60
60
  title_placeholder: Заглавие на страницата
61
+ url_title:
62
+ url_title_description:
63
+ url_title_placeholder:
61
64
  view_template: Темплейт на страницата
62
65
  spina/resource:
63
66
  label: Етикет
@@ -93,6 +96,7 @@ bg:
93
96
  spina:
94
97
  ago: преди
95
98
  attachments:
99
+ choose_attachment:
96
100
  insert: Добавете документ
97
101
  insert_multiple: Добавете документи
98
102
  cancel: Спри
@@ -111,14 +115,17 @@ bg:
111
115
  success: Вече може да използвате новата си парола
112
116
  unknown_user: Този потребител не съществува
113
117
  images:
118
+ all_images:
114
119
  back:
115
120
  cannot_be_created:
116
121
  choose_image:
117
122
  choose_images:
123
+ confirm_selection:
118
124
  delete:
119
125
  delete_confirmation:
120
126
  delete_folder:
121
127
  done_organizing:
128
+ insert_image:
122
129
  insert_photo:
123
130
  insert_photos:
124
131
  link:
@@ -159,6 +166,8 @@ bg:
159
166
  information: Информация
160
167
  login: Трябва първо да влезете в системата
161
168
  wrong_username_or_password: Грешен email или парола
169
+ options:
170
+ choose_option:
162
171
  pages:
163
172
  advanced: Разширени
164
173
  change_order: Смяна на подредба
@@ -194,6 +203,7 @@ bg:
194
203
  link: 'URL на изображението:'
195
204
  new_folder: Нова папка
196
205
  organize: Организиране на изображения
206
+ rename_folder:
197
207
  select_images:
198
208
  upload_image: Качване на изображение
199
209
  preferences:
@@ -58,6 +58,9 @@ de:
58
58
  skip_to_first_child_description: Zur ersten Seite
59
59
  title: Titel
60
60
  title_placeholder: Seiten-Titel
61
+ url_title:
62
+ url_title_description:
63
+ url_title_placeholder:
61
64
  view_template: Seiten-Template
62
65
  spina/resource:
63
66
  label:
@@ -93,6 +96,7 @@ de:
93
96
  spina:
94
97
  ago: vor
95
98
  attachments:
99
+ choose_attachment:
96
100
  insert: Dokument einfügen
97
101
  insert_multiple: Dokumente einfügen
98
102
  cancel: Abbrechen
@@ -111,14 +115,17 @@ de:
111
115
  success: Du kannst dein neues Passwort verwenden
112
116
  unknown_user: Dieser Nutzer existiert nicht
113
117
  images:
118
+ all_images:
114
119
  back:
115
120
  cannot_be_created:
116
121
  choose_image:
117
122
  choose_images:
123
+ confirm_selection:
118
124
  delete:
119
125
  delete_confirmation:
120
126
  delete_folder:
121
127
  done_organizing:
128
+ insert_image:
122
129
  insert_photo:
123
130
  insert_photos:
124
131
  link:
@@ -159,6 +166,8 @@ de:
159
166
  information: Information
160
167
  login: Du musst dich zuerst einloggen
161
168
  wrong_username_or_password: Falsche E-Mail oder Passwort
169
+ options:
170
+ choose_option:
162
171
  pages:
163
172
  advanced: Erweitert
164
173
  change_order: Reihenfolge ändern
@@ -194,6 +203,7 @@ de:
194
203
  link: 'URL des Bildes:'
195
204
  new_folder: Neuer Ordner
196
205
  organize: Organisiere Bilder
206
+ rename_folder:
197
207
  select_images:
198
208
  upload_image: Bild hochladen
199
209
  preferences:
@@ -58,6 +58,9 @@ en:
58
58
  skip_to_first_child_description: Forward to first child page
59
59
  title: Title
60
60
  title_placeholder: Page title
61
+ url_title: Override slug
62
+ url_title_description: Optional
63
+ url_title_placeholder: Slug
61
64
  view_template: Page template
62
65
  spina/resource:
63
66
  label: Label
@@ -93,6 +96,7 @@ en:
93
96
  spina:
94
97
  ago: ago
95
98
  attachments:
99
+ choose_attachment: Choose attachment
96
100
  insert: Insert document
97
101
  insert_multiple: Insert documents
98
102
  cancel: Cancel
@@ -111,14 +115,17 @@ en:
111
115
  success: You can use your new password
112
116
  unknown_user: This user does not exist
113
117
  images:
118
+ all_images: All images
114
119
  back: Back
115
120
  cannot_be_created: Cannot be created
116
121
  choose_image: Choose image
117
122
  choose_images: Choose images
123
+ confirm_selection: Confirm selection
118
124
  delete: Delete
119
125
  delete_confirmation: Are you sure you want to delete this <strong>image</strong>?
120
126
  delete_folder: Delete folder
121
127
  done_organizing: Done organizing
128
+ insert_image: Insert image
122
129
  insert_photo: Insert photo
123
130
  insert_photos: Insert photos
124
131
  link: Link
@@ -159,6 +166,8 @@ en:
159
166
  information: Information
160
167
  login: You have to login first
161
168
  wrong_username_or_password: Wrong email or password
169
+ options:
170
+ choose_option: Choose option
162
171
  pages:
163
172
  advanced: Advanced
164
173
  change_order: Change order
@@ -194,6 +203,7 @@ en:
194
203
  link: 'URL of your image:'
195
204
  new_folder: New folder
196
205
  organize: Organize images
206
+ rename_folder: Rename folder
197
207
  select_images: Select images
198
208
  upload_image: Upload an image
199
209
  preferences:
@@ -37,7 +37,7 @@ es:
37
37
  pages_description: Seleccione las páginas que quiere usar en esta navegación
38
38
  spina/page:
39
39
  ancestry: Página padre
40
- created_at:
40
+ created_at: Creada el
41
41
  description: Meta description
42
42
  description_description: Esta descripción se mostrará en los resultados de búsqueda
43
43
  description_placeholder: Descripción corta de tu página
@@ -58,11 +58,14 @@ es:
58
58
  skip_to_first_child_description: Reenviar a la primera página hija
59
59
  title: Título
60
60
  title_placeholder: Título de la página
61
+ url_title:
62
+ url_title_description:
63
+ url_title_placeholder:
61
64
  view_template: Plantilla de página
62
65
  spina/resource:
63
- label:
64
- order_by:
65
- parent_page:
66
+ label: Etiqueta
67
+ order_by: Ordenar por
68
+ parent_page: Página padre
66
69
  view_template:
67
70
  spina/user:
68
71
  admin: Administrador
@@ -91,8 +94,9 @@ es:
91
94
  one: Usuario
92
95
  other: Usuarios
93
96
  spina:
94
- ago: ago
97
+ ago: atrás
95
98
  attachments:
99
+ choose_attachment:
96
100
  insert: Insertar documento
97
101
  insert_multiple: Insertar documentos
98
102
  cancel: Cancelar
@@ -111,32 +115,35 @@ es:
111
115
  success: Puede utilizar su nueva contraseña
112
116
  unknown_user: Este usuario no existe
113
117
  images:
114
- back:
115
- cannot_be_created:
116
- choose_image:
117
- choose_images:
118
- delete:
119
- delete_confirmation:
120
- delete_folder:
118
+ all_images:
119
+ back: Regresar
120
+ cannot_be_created: No puede ser creada
121
+ choose_image: Elegir imagen
122
+ choose_images: Elegir imágenes
123
+ confirm_selection:
124
+ delete: Borrar
125
+ delete_confirmation: Esta seguro que desea borrar esta <strong>imagen</strong>?
126
+ delete_folder: Borrar carpeta
121
127
  done_organizing:
122
- insert_photo:
123
- insert_photos:
124
- link:
125
- new_folder:
126
- organize:
127
- remove_image:
128
- upload:
129
- upload_image:
128
+ insert_image:
129
+ insert_photo: Insertar foto
130
+ insert_photos: Insertar fotos
131
+ link: Enlace
132
+ new_folder: Nueva carpeta
133
+ organize: Organizar
134
+ remove_image: Eliminar imagen
135
+ upload: Subir imáneges
136
+ upload_image: Subir imagen
130
137
  languages:
131
138
  bg:
132
- de:
139
+ de: Alemán
133
140
  en: Inglés
134
- es:
135
- fr:
141
+ es: Español
142
+ fr: Francés
136
143
  id:
137
- it:
144
+ it: Italiano
138
145
  nl: Holandés
139
- pl:
146
+ pl: Polaco
140
147
  pt-BR:
141
148
  ro:
142
149
  ru:
@@ -149,7 +156,7 @@ es:
149
156
  main_menu: Menú principal
150
157
  media_library:
151
158
  attachments: Documentos
152
- images:
159
+ images: Imágenes
153
160
  photos: Imágenes
154
161
  modal:
155
162
  agree: Si, estoy seguro
@@ -159,6 +166,8 @@ es:
159
166
  information: Información
160
167
  login: Primero debes ingresar
161
168
  wrong_username_or_password: Email o password incorrecto
169
+ options:
170
+ choose_option:
162
171
  pages:
163
172
  advanced: Avanzado
164
173
  change_order: Cambiar orden
@@ -185,7 +194,7 @@ es:
185
194
  photos:
186
195
  cannot_be_created: 'Tu imagen no puede ser procesada:'
187
196
  choose_images: Seleccionar imágenes
188
- delete:
197
+ delete: Borrar
189
198
  delete_confirmation: Seguro que deseas eliminar ésta <strong>imagen</strong>?
190
199
  delete_folder: Borrar carpeta
191
200
  done_organizing: Terminar la organización
@@ -194,6 +203,7 @@ es:
194
203
  link: 'URL de tu imagen:'
195
204
  new_folder: Nueva carpeta
196
205
  organize: Organizar imágenes
206
+ rename_folder: Renombrar carpeta
197
207
  select_images:
198
208
  upload_image: Subir una imagen
199
209
  preferences:
@@ -228,11 +238,11 @@ es:
228
238
  delete_confirmation: Estás seguro que deseas eliminar al usuario <strong>%{user}</strong>?
229
239
  new: Nuevo usuario
230
240
  save: Guardar usuario
231
- visit_page:
241
+ visit_page: Visitar página
232
242
  website:
233
243
  all_pages: Todas las páginas
234
244
  documents: Documentos
235
- images:
245
+ images: Imágenes
236
246
  media_library: Biblioteca de medios
237
247
  media_library_description: Aquí encontrarás todas tus imágenes y documentos
238
248
  pages: Páginas