spina 1.0.3 → 1.1.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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/Rakefile +5 -14
- data/app/assets/config/spina/manifest.js +5 -0
- data/app/assets/config/spina_manifest.js +5 -0
- data/app/assets/images/spina/arrow-left.svg +1 -0
- data/app/assets/images/spina/arrow-right.svg +1 -0
- data/app/assets/images/spina/datepicker.svg +1 -0
- data/app/assets/images/spina/divider.svg +1 -0
- data/app/assets/images/spina/media_folder_placeholder.svg +1 -0
- data/app/assets/images/spina/spina.svg +1 -0
- data/app/assets/javascripts/spina/admin/application.js +1 -2
- data/app/assets/javascripts/spina/admin/controllers/gallery_select_controller.js +52 -0
- data/app/assets/javascripts/spina/admin/controllers/infinite_scroll_controller.js +2 -2
- data/app/assets/javascripts/spina/admin/controllers/page_collapse_controller.js +35 -0
- data/app/assets/javascripts/spina/admin/media_gallery.coffee +1 -1
- data/app/assets/javascripts/spina/admin/trix.coffee.erb +79 -5
- data/app/assets/javascripts/spina/admin/uploads.coffee +1 -1
- data/app/assets/stylesheets/spina.sass +8 -4
- data/app/assets/stylesheets/spina/_buttons.sass +1 -0
- data/app/assets/stylesheets/spina/_forms.sass +1 -1
- data/app/assets/stylesheets/spina/_gallery.sass +45 -12
- data/app/assets/stylesheets/spina/_sortable_lists.sass +7 -0
- data/app/assets/stylesheets/spina/_trix_custom.sass +227 -0
- data/app/assets/stylesheets/spina/admin/{application.sass → application.css.sass} +0 -0
- data/app/controllers/concerns/spina/frontend.rb +5 -5
- data/app/controllers/spina/admin/accounts_controller.rb +2 -1
- data/app/controllers/spina/admin/images_controller.rb +1 -1
- data/app/controllers/spina/admin/media_picker_controller.rb +14 -2
- data/app/controllers/spina/admin/navigations_controller.rb +9 -7
- data/app/controllers/spina/admin/pages_controller.rb +16 -11
- data/app/controllers/spina/admin/password_resets_controller.rb +2 -2
- data/app/controllers/spina/admin/resources_controller.rb +9 -7
- data/app/controllers/spina/admin/settings_controller.rb +1 -1
- data/app/controllers/spina/admin/users_controller.rb +8 -7
- data/app/controllers/spina/pages_controller.rb +1 -3
- data/app/helpers/spina/admin/pages_helper.rb +2 -2
- data/app/helpers/spina/images_helper.rb +1 -1
- data/app/models/spina/account.rb +14 -6
- data/app/models/spina/attachment.rb +3 -3
- data/app/models/spina/image.rb +10 -1
- data/app/models/spina/image_collection.rb +3 -3
- data/app/models/spina/line.rb +1 -1
- data/app/models/spina/navigation_item.rb +2 -1
- data/app/models/spina/page.rb +11 -6
- data/app/models/spina/resource.rb +11 -0
- data/app/models/spina/text.rb +1 -1
- data/app/presenters/spina/menu_presenter.rb +74 -0
- data/app/views/layouts/spina/admin/admin.html.haml +1 -1
- data/app/views/spina/admin/accounts/social.html.haml +18 -0
- data/app/views/spina/admin/images/_form.html.haml +1 -1
- data/app/views/spina/admin/images/_image.html.haml +3 -5
- data/app/views/spina/admin/media_folders/_media_folder.html.haml +2 -2
- data/app/views/spina/admin/media_folders/show.html.haml +1 -1
- data/app/views/spina/admin/media_picker/_modal.html.haml +51 -14
- data/app/views/spina/admin/media_picker/select.js.erb +4 -2
- data/app/views/spina/admin/pages/_form.html.haml +1 -1
- data/app/views/spina/admin/pages/children.html.haml +4 -0
- data/app/views/spina/admin/partables/lines/_form.html.haml +1 -1
- data/app/views/spina/admin/partables/texts/_form.html.haml +4 -1
- data/app/views/spina/admin/password_resets/edit.html.haml +1 -1
- data/app/views/spina/admin/password_resets/new.html.haml +1 -1
- data/app/views/spina/admin/resources/edit.html.haml +1 -1
- data/app/views/spina/admin/resources/show.html.haml +13 -3
- data/app/views/spina/admin/sessions/new.html.haml +1 -1
- data/app/views/spina/admin/shared/_primary_navigation.html.haml +1 -1
- data/app/views/spina/admin/shared/_rich_text_field.html.haml +1 -32
- data/app/views/spina/shared/_admin_bar.html.haml +1 -1
- data/app/views/spina/shared/_social.html.haml +2 -2
- data/config/locales/de.yml +3 -0
- data/config/locales/en.yml +4 -0
- data/config/locales/es.yml +3 -0
- data/config/locales/fr.yml +3 -0
- data/config/locales/it.yml +3 -0
- data/config/locales/nl.yml +4 -0
- data/config/locales/pt-BR.yml +20 -1
- data/config/locales/ru.yml +3 -0
- data/config/locales/tr.yml +3 -0
- data/config/locales/zh-CN.yml +3 -0
- data/config/routes.rb +1 -0
- data/lib/generators/spina/install_generator.rb +10 -10
- data/lib/generators/spina/templates/app/views/default/shared/_navigation.html.haml +2 -3
- data/lib/generators/spina/templates/app/views/demo/pages/demo.html.haml +4 -3
- data/lib/generators/spina/templates/app/views/demo/shared/_navigation.html.haml +2 -3
- data/lib/generators/spina/templates/app/views/layouts/default/application.html.haml +0 -1
- data/lib/generators/spina/templates/app/views/layouts/demo/application.html.haml +0 -1
- data/lib/generators/spina/templates/config/initializers/mobility.rb +0 -1
- data/lib/spina.rb +1 -0
- data/lib/spina/engine.rb +1 -1
- data/lib/spina/railtie.rb +9 -0
- data/lib/spina/theme.rb +2 -1
- data/lib/spina/version.rb +1 -1
- data/lib/tasks/spina_tasks.rake +8 -2
- data/vendor/assets/javascripts/spina/trix.js +9 -9
- data/vendor/assets/stylesheets/spina/_normalize.scss +1 -1
- data/vendor/assets/stylesheets/spina/_trix.css +369 -0
- metadata +39 -21
- data/app/assets/images/spina/arrow-left.png +0 -0
- data/app/assets/images/spina/arrow-right.png +0 -0
- data/app/assets/images/spina/datepicker.png +0 -0
- data/app/assets/images/spina/divider.png +0 -0
- data/app/assets/images/spina/media_folder_placeholder.png +0 -0
- data/app/assets/images/spina/spina-large.png +0 -0
- data/app/assets/javascripts/spina/admin/galleryselect.coffee +0 -20
- data/app/assets/stylesheets/spina/_trix.sass +0 -102
- data/config/initializers/assets.rb +0 -6
- data/config/initializers/time_formats.rb +0 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
= form_for [:admin, Spina::Image.new], id: 'new_image', class: 'new_image', data: {remote: true} do |f|
|
2
2
|
= f.submit style: 'display: none'
|
3
|
-
= hidden_field_tag :media_library,
|
3
|
+
= hidden_field_tag :media_library, @media_folder.try(:id)
|
4
4
|
= f.label :file, t('spina.images.upload')
|
5
5
|
= f.file_field :files, multiple: true, accept: "image/*", data: {direct_upload_url: main_app.rails_direct_uploads_url, customfileinput: true}
|
@@ -1,10 +1,8 @@
|
|
1
|
-
.item.image{class: ('selected' if image.id.to_s.try(:in?, params[:selected_ids].to_a))}
|
1
|
+
.item.image{class: ('selected' if image.id.to_s.try(:in?, params[:selected_ids].to_a)), data: {action: "click->gallery-select#select", image_id: image.id}}
|
2
2
|
- unless defined?(simple) && simple
|
3
3
|
.overlay
|
4
4
|
= link_to admin_image_path(image), method: :delete, class: 'icon-only delete-photo-link', data: {confirm: t('spina.images.delete_confirmation')} do
|
5
5
|
= t('spina.images.delete')
|
6
6
|
%span.photo-name= truncate(image.name, length: 125)
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
= image_tag main_app.url_for(image.variant(resize: '300x300^', crop: "300x300+0+0"))
|
7
|
+
|
8
|
+
= image_tag variant(image.file, resize: '300x300^', crop: "300x300+0+0")
|
@@ -3,6 +3,6 @@
|
|
3
3
|
- if media_folder.images.any?
|
4
4
|
= image_tag variant(media_folder.images.last.file, resize: '144x144^', crop: "144x144+0+0")
|
5
5
|
- else
|
6
|
-
= image_tag 'spina/media_folder_placeholder.
|
6
|
+
= image_tag 'spina/media_folder_placeholder.svg'
|
7
7
|
.media-folder-shadow
|
8
|
-
.media-folder-name= media_folder.name
|
8
|
+
.media-folder-name= media_folder.name
|
@@ -6,7 +6,7 @@
|
|
6
6
|
.item
|
7
7
|
= form_with model: [:admin, Spina::Image.new], id: 'new_image', class: 'new_image' do |f|
|
8
8
|
= f.submit style: 'display: none'
|
9
|
-
= hidden_field_tag :media_library,
|
9
|
+
= hidden_field_tag :media_library, @media_folder.id
|
10
10
|
= f.label :file, t('spina.images.upload')
|
11
11
|
= f.file_field :files, multiple: true, data: {direct_upload_url: main_app.rails_direct_uploads_url, customfileinput: true}
|
12
12
|
|
@@ -1,26 +1,63 @@
|
|
1
1
|
.modal.modal-large
|
2
|
-
%section
|
3
|
-
.gallery-select
|
4
|
-
.
|
5
|
-
|
2
|
+
%section{style: "display: flex"}
|
3
|
+
.gallery-select-container{data: {controller: "gallery-select"}}
|
4
|
+
.gallery-select.gallery.gallery-prepend-image{data: {multiselect: defined?(multiple) && multiple}}
|
5
|
+
.item.item-small.item-uploader.new-image-form
|
6
|
+
= render partial: 'spina/admin/images/form'
|
6
7
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
8
|
+
- if @media_folder.present?
|
9
|
+
= link_to spina.admin_media_picker_path(request.query_parameters.merge(media_folder_id: nil)), class: 'item media-folder', data: {remote: true} do
|
10
|
+
.media-folder-thumbnail
|
11
|
+
= image_tag 'spina/media_folder_placeholder.svg'
|
12
|
+
.media-folder-shadow
|
13
|
+
.media-folder-name=t "spina.images.back"
|
14
|
+
- else
|
15
|
+
- @media_folders.each do |media_folder|
|
16
|
+
= link_to spina.admin_media_picker_path({media_folder_id: media_folder.id}.merge(request.query_parameters)), class: 'item media-folder', data: {remote: true} do
|
17
|
+
.media-folder-thumbnail{data: {badge: media_folder.images.count}}
|
18
|
+
- if media_folder.images.any?
|
19
|
+
= image_tag variant(media_folder.images.last.file, resize: '144x144^', crop: "144x144+0+0")
|
20
|
+
- else
|
21
|
+
= image_tag 'spina/media_folder_placeholder.svg'
|
22
|
+
.media-folder-shadow
|
23
|
+
.media-folder-name= media_folder.name
|
11
24
|
|
12
25
|
.infinite-scroll
|
13
26
|
= render partial: 'spina/admin/images/image', collection: @images
|
14
27
|
|
15
|
-
.infinite-pagination{data: {controller: 'infinite-scroll'}
|
28
|
+
.infinite-pagination{data: { controller: 'infinite-scroll' } }
|
29
|
+
= link_to_next_page @images, 'Next', params: params, remote: true,
|
30
|
+
data: { target: 'infinite-scroll.link' }
|
31
|
+
%span{ data: { target: 'infinite-scroll.link' } }
|
32
|
+
|
33
|
+
.gallery-select-sidebar
|
34
|
+
= form_with url: admin_media_picker_path, html: {'data-remote': true} do
|
35
|
+
.gallery-select-form-fields
|
36
|
+
= hidden_field_tag :image_id, params[:selected_ids]&.first, data: {target: 'gallery-select.singleImage'}
|
37
|
+
= hidden_field_tag :image_ids, params[:selected_ids]&.join("-"), data: {target: 'gallery-select.multipleImages'}
|
38
|
+
= hidden_field_tag :hidden_field_id, params[:hidden_field_id]
|
39
|
+
= hidden_field_tag :trix_toolbar_id, params[:trix_toolbar_id]
|
40
|
+
= check_box_tag :multiple, true, defined?(multiple) && multiple, style: 'display: none', data: {target: 'gallery-select.multiple'}
|
41
|
+
|
42
|
+
- if params[:trix_toolbar_id].present?
|
43
|
+
.form-group
|
44
|
+
.form-label Alt text
|
45
|
+
.form-control= text_field_tag :alt, nil, placeholder: "Alt"
|
46
|
+
|
47
|
+
.form-group
|
48
|
+
.form-label Link to URL
|
49
|
+
.form-control= text_field_tag :link_to_url, nil, placeholder: "URL"
|
16
50
|
|
17
|
-
- if defined?(multiple) && multiple
|
18
51
|
.gallery-select-action-bar
|
19
|
-
.
|
20
|
-
|
21
|
-
|
52
|
+
= link_to t('spina.cancel'), "#", class: 'button button-link', data: {dismiss: 'modal'}
|
53
|
+
= button_tag type: 'submit', class: 'button button-primary button-large', style: 'margin-bottom: 0px' do
|
54
|
+
|
55
|
+
- if defined?(multiple) && multiple
|
22
56
|
= icon('plus')
|
23
57
|
= t('spina.images.choose_images')
|
24
|
-
%span.gallery-select-counter
|
58
|
+
%span.gallery-select-counter{data: {target: "gallery-select.counter"}}
|
25
59
|
- if params[:selected_ids].try(:any?)
|
26
60
|
(#{ params[:selected_ids].count })
|
61
|
+
- else
|
62
|
+
= icon('check')
|
63
|
+
=t 'spina.images.choose_image'
|
@@ -7,8 +7,10 @@ hidden_input.val("");
|
|
7
7
|
hidden_input.val("<%= @image.id %>");
|
8
8
|
|
9
9
|
// Trix editor
|
10
|
-
|
11
|
-
|
10
|
+
<% if params[:trix_toolbar_id].present? %>
|
11
|
+
$('trix-editor[toolbar="<%= params[:trix_toolbar_id] %>"]').trigger('image-insert', ["<%= main_app.url_for(@image.file) %>", "<%= params[:alt] %>", "<%= params[:link_to_url] %>"]);
|
12
|
+
$.hideModal();
|
13
|
+
<% end %>
|
12
14
|
<% end %>
|
13
15
|
|
14
16
|
<% if @images.present? %>
|
@@ -24,7 +24,7 @@
|
|
24
24
|
%ul#locales
|
25
25
|
- Spina.config.locales.each do |locale|
|
26
26
|
%li
|
27
|
-
= link_to t("languages.#{locale}"), "?locale=#{locale}", style: ('font-weight: 600' if @locale.to_s == locale.to_s)
|
27
|
+
= link_to t("languages.#{locale}"), "?locale=#{locale}", style: ('font-weight: 600' if @locale.to_s == locale.to_s).to_s
|
28
28
|
|
29
29
|
= link_to @page.materialized_path, target: :blank, class: 'button button-hollow button-small', style: 'margin-left: 0' do
|
30
30
|
%i.icon.icon-export{style: 'margin: 0'}
|
@@ -2,4 +2,4 @@
|
|
2
2
|
= f.object.title
|
3
3
|
.horizontal-form-content
|
4
4
|
= f.fields_for :partable, f.object.partable do |ff|
|
5
|
-
= ff.text_field :content,
|
5
|
+
= ff.text_field :content, value: ff.object.content(fallback: false, default: nil)
|
@@ -2,4 +2,7 @@
|
|
2
2
|
= f.object.title
|
3
3
|
.horizontal-form-content
|
4
4
|
= f.fields_for :partable, f.object.partable do |ff|
|
5
|
-
=
|
5
|
+
- object_id = (ff.object.persisted? ? ff.object.object_id : "new_association_#{ff.object.object_id}").to_s + "_content"
|
6
|
+
= ff.hidden_field :content, id: "#{object_id}_input", value: ff.object.content(fallback: false, default: nil)
|
7
|
+
%trix-editor.text-input.trix-content{ input: "#{object_id}_input" }
|
8
|
+
|
@@ -1,5 +1,5 @@
|
|
1
1
|
= form_for @user, url: spina.admin_password_reset_path(params[:id]), html: {id: "login_wrapper"} do |f|
|
2
|
-
= image_tag 'spina/spina
|
2
|
+
= image_tag 'spina/spina.svg', class: 'animated fadeInDown', width: 72, height: 54
|
3
3
|
- if @user.errors.any?
|
4
4
|
.failed-to-login.animated.fadeInDown
|
5
5
|
.icon.icon-cross
|
@@ -46,4 +46,4 @@
|
|
46
46
|
= Spina::Resource.human_attribute_name :parent_page
|
47
47
|
.horizontal-form-content
|
48
48
|
.select-dropdown
|
49
|
-
= f.select :parent_page_id, page_ancestry_options(
|
49
|
+
= f.select :parent_page_id, page_ancestry_options(Spina::Page.new), include_blank: Spina::Resource.human_attribute_name(:no_parent)
|
@@ -9,6 +9,16 @@
|
|
9
9
|
.well
|
10
10
|
.dd#pages_list
|
11
11
|
%ol.dd-list
|
12
|
-
- @resource.pages.each do |page|
|
13
|
-
%li.dd-item
|
14
|
-
.dd-item-inner
|
12
|
+
- (@resource.parent_page.try(:children) || @resource.pages.roots).each do |page|
|
13
|
+
%li.dd-item{data: {controller: "page-collapse", url: spina.children_admin_page_path(page)}}
|
14
|
+
.dd-item-inner
|
15
|
+
- if page.children.any?
|
16
|
+
= button_tag class: 'collapse-link', data: {action: "page-collapse#expand", target: 'page-collapse.expandLink'} do
|
17
|
+
= icon('plus')
|
18
|
+
|
19
|
+
= button_tag class: 'collapse-link', style: 'display: none', data: {action: "page-collapse#collapse", target: 'page-collapse.collapseLink'} do
|
20
|
+
= icon('min')
|
21
|
+
|
22
|
+
= render partial: 'spina/admin/pages/page', object: page
|
23
|
+
|
24
|
+
%div{data: {target: 'page-collapse.list'}}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
= form_tag spina.admin_sessions_path, id: "login_wrapper" do
|
2
|
-
= image_tag 'spina/spina
|
2
|
+
= image_tag 'spina/spina.svg', class: 'animated fadeInDown', width: 72, height: 54
|
3
3
|
- if flash[:alert].present?
|
4
4
|
.failed-to-login.animated.fadeInDown
|
5
5
|
.icon.icon-cross
|
@@ -1,35 +1,4 @@
|
|
1
1
|
|
2
2
|
- object_id = (f.object.persisted? ? f.object.object_id : "new_association_#{f.object.object_id}").to_s + "_#{field}"
|
3
3
|
= f.hidden_field field, id: "#{object_id}_input"
|
4
|
-
|
5
|
-
%trix-toolbar.clearfix{ id: "#{object_id}_toolbar", data: { trix_editor_id: "#{object_id}_editor" }}
|
6
|
-
.button-groups
|
7
|
-
.button-group.pull-left
|
8
|
-
%button.button.button-small{ type: 'button', tabindex: -1, title: 'Bold', data: { trix_attribute: 'bold', trix_key: 'b' }}
|
9
|
-
.icon.icon-bold
|
10
|
-
%button.button.button-small{ type: 'button', tabindex: -1, title: 'Italic', data: { trix_attribute: 'italic', trix_key: 'i' }}
|
11
|
-
.icon.icon-italic
|
12
|
-
%button.button.button-small{ type: 'button', tabindex: -1, title: 'Bullets', data: { trix_attribute: 'bullet' }}
|
13
|
-
.icon.icon-list-ul
|
14
|
-
%button.button.button-small{ type: 'button', tabindex: -1, title: 'Link', data: { trix_action: 'link', trix_attribute: 'href', trix_key: 'k' }}
|
15
|
-
.icon.icon-link
|
16
|
-
%button.button.button-small.js-trix-image{ type: 'button', tabindex: -1, title: 'Image', data: { trix_action: 'image', trix_attribute: 'image' }}
|
17
|
-
.icon.icon-picture-o
|
18
|
-
|
19
|
-
.button-group.pull-left
|
20
|
-
%button.button.button-small{ type: 'button', tabindex: -1, title: 'h1', data: { trix_attribute: 'heading1' }} H1
|
21
|
-
%button.button.button-small{ type: 'button', tabindex: -1, title: 'h2', data: { trix_attribute: 'heading2' }} H2
|
22
|
-
%button.button.button-small{ type: 'button', tabindex: -1, title: 'h3', data: { trix_attribute: 'heading3' }} H3
|
23
|
-
%button.button.button-small{ type: 'button', tabindex: -1, title: 'h4', data: { trix_attribute: 'heading4' }} H4
|
24
|
-
%button.button.button-small{ type: 'button', tabindex: -1, title: 'h5', data: { trix_attribute: 'heading5' }} H5
|
25
|
-
%button.button.button-small{ type: 'button', tabindex: -1, title: 'h6', data: { trix_attribute: 'heading6' }} H6
|
26
|
-
|
27
|
-
.trix-dialogs{data: {trix_dialogs: true}}
|
28
|
-
.trix-dialog.trix-dialog--link{ data: { trix_dialog_attribute: 'href', trix_dialog: 'href'}}
|
29
|
-
.trix-dialog__link-fields
|
30
|
-
%input.trix-input.trix-input--dialog{type: 'text', name: 'href', placeholder: 'Enter a URL…', required: true, data: {trix_input: true}}
|
31
|
-
.button-group
|
32
|
-
%input.button{type: 'button', tabindex: -1, value: 'Link', data: { trix_method: 'setAttribute'}}
|
33
|
-
%input.button{type: 'button', tabindex: -1, value: 'Unlink', data: { trix_method: 'removeAttribute'}}
|
34
|
-
|
35
|
-
%trix-editor.text-input{input: "#{object_id}_input", toolbar: "#{object_id}_toolbar", id: "#{object_id}_editor"}
|
4
|
+
%trix-editor.text-input.trix-content{ input: "#{object_id}_input" }
|
@@ -1,4 +1,4 @@
|
|
1
1
|
- if current_spina_user.present?
|
2
2
|
#admin_bar
|
3
|
-
= link_to t('spina.edit_website'), spina.admin_root_url, data: {icon: 'q', :
|
3
|
+
= link_to t('spina.edit_website'), spina.admin_root_url, data: {icon: 'q', turbolinks: false}, class: 'button button-hollow button-round button-small'
|
4
4
|
= link_to t('spina.logout'), spina.admin_logout_path, data: {icon: 'h'}, class: 'button button-hollow button-round button-small'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
- if current_account.facebook.present?
|
2
|
-
= link_to "", current_account.facebook, class: 'facebook-button', data: {:
|
2
|
+
= link_to "", current_account.facebook, class: 'facebook-button', data: {turbolinks: false}
|
3
3
|
|
4
4
|
- if current_account.twitter.present?
|
5
|
-
= link_to "", current_account.twitter, class: 'twitter-button', data: {:
|
5
|
+
= link_to "", current_account.twitter, class: 'twitter-button', data: {turbolinks: false}
|
data/config/locales/de.yml
CHANGED
data/config/locales/en.yml
CHANGED
@@ -102,6 +102,7 @@ en:
|
|
102
102
|
choose_images: Choose images
|
103
103
|
choose_image: Choose image
|
104
104
|
remove_image: Remove image
|
105
|
+
back: Back
|
105
106
|
|
106
107
|
wysiwyg:
|
107
108
|
paragraph: Paragraph
|
@@ -173,6 +174,9 @@ en:
|
|
173
174
|
facebook: Facebook
|
174
175
|
twitter: Twitter
|
175
176
|
google_plus: Google+
|
177
|
+
instagram: Instagram
|
178
|
+
youtube: YouTube
|
179
|
+
linkedin: LinkedIn
|
176
180
|
|
177
181
|
spina/attachment:
|
178
182
|
created_at: Created at
|
data/config/locales/es.yml
CHANGED
data/config/locales/fr.yml
CHANGED
data/config/locales/it.yml
CHANGED
data/config/locales/nl.yml
CHANGED
@@ -48,6 +48,7 @@ nl:
|
|
48
48
|
upload: kies een bestand
|
49
49
|
choose_image: Kies afbeelding
|
50
50
|
remove_image: Verwijder afbeelding
|
51
|
+
back: Terug
|
51
52
|
|
52
53
|
forgot_password:
|
53
54
|
new: Wachtwoord vergeten
|
@@ -165,6 +166,9 @@ nl:
|
|
165
166
|
facebook: Facebook
|
166
167
|
twitter: Twitter
|
167
168
|
google_plus: Google+
|
169
|
+
instagram: Instagram
|
170
|
+
youtube: YouTube
|
171
|
+
linkedin: LinkedIn
|
168
172
|
|
169
173
|
spina/attachment:
|
170
174
|
created_at: Aangemaakt op
|
data/config/locales/pt-BR.yml
CHANGED
@@ -48,6 +48,7 @@ pt-BR:
|
|
48
48
|
media_library_description: "Aqui é onde você vai encontrar todas as suas imagens e documentos"
|
49
49
|
documents: Documentos
|
50
50
|
photos: Imagens
|
51
|
+
images: Imagens
|
51
52
|
|
52
53
|
pages:
|
53
54
|
new: Nova página
|
@@ -92,8 +93,22 @@ pt-BR:
|
|
92
93
|
delete_folder: Excluir pasta
|
93
94
|
delete: Excluir
|
94
95
|
|
96
|
+
images:
|
97
|
+
delete_confirmation: "Tem certeza que deseja remover esta <strong>imagem</strong>?"
|
98
|
+
insert_photos: Inserir imagens
|
99
|
+
choose_images: Escolher imagens
|
100
|
+
insert_photo: Inserir imagem
|
101
|
+
link: "URL da sua imagem:"
|
102
|
+
cannot_be_created: "Imagem não pôde ser processada:"
|
103
|
+
upload_image: "Enviar uma imagem"
|
104
|
+
organize: Organizar imagens
|
105
|
+
done_organizing: Concluir organização
|
106
|
+
new_folder: Nova pasta
|
107
|
+
delete_folder: Excluir pasta
|
108
|
+
delete: Excluir
|
109
|
+
|
95
110
|
wysiwyg:
|
96
|
-
paragraph:
|
111
|
+
paragraph: Parágrafo
|
97
112
|
heading_1: Cabeçalho 1
|
98
113
|
heading_2: Cabeçalho 2
|
99
114
|
heading_3: Cabeçalho 3
|
@@ -125,6 +140,7 @@ pt-BR:
|
|
125
140
|
|
126
141
|
media_library:
|
127
142
|
photos: Imagens
|
143
|
+
images: Imagens
|
128
144
|
attachments: Documentos
|
129
145
|
|
130
146
|
activerecord:
|
@@ -162,6 +178,9 @@ pt-BR:
|
|
162
178
|
facebook: Facebook
|
163
179
|
twitter: Twitter
|
164
180
|
google_plus: Google+
|
181
|
+
instagram: Instagram
|
182
|
+
youtube: YouTube
|
183
|
+
linkedin: LinkedIn
|
165
184
|
|
166
185
|
spina/attachment:
|
167
186
|
created_at: Criado em
|
data/config/locales/ru.yml
CHANGED
data/config/locales/tr.yml
CHANGED
data/config/locales/zh-CN.yml
CHANGED