camaleon_cms 2.1.2.1 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of camaleon_cms might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +7 -4
- data/app/apps/plugins/attack/attack_helper.rb +3 -0
- data/app/apps/plugins/attack/config/custom_models.rb +4 -2
- data/app/apps/plugins/attack/config/locales/translation.yml +19 -0
- data/app/apps/plugins/attack/models/attack.rb +1 -1
- data/app/apps/plugins/front_cache/config/initializer.rb +4 -2
- data/app/apps/plugins/front_cache/config/locales/translation.yml +19 -0
- data/app/apps/themes/camaleon_first/main_helper.rb +1 -3
- data/app/apps/themes/default/views/admin/settings.html.erb +0 -1
- data/app/apps/themes/default/views/layouts/index.html.erb +5 -5
- data/app/apps/themes/new/assets/css/main.css +1 -1
- data/app/apps/themes/new/assets/js/main.js +1 -1
- data/app/apps/themes/new/views/admin/settings.html.erb +1 -1
- data/app/assets/images/camaleon_cms/language/{pt_br.png → pt-BR.png} +0 -0
- data/app/assets/javascripts/camaleon_cms/admin/_custom_fields.js +105 -51
- data/app/assets/javascripts/camaleon_cms/admin/_libraries.js +4 -2
- data/app/assets/javascripts/camaleon_cms/admin/_translator.js +2 -2
- data/app/assets/javascripts/camaleon_cms/admin/custom_fields_form.js +9 -7
- data/app/assets/javascripts/camaleon_cms/admin/jquery_validate/{pt_br.js → pt-BR.js} +0 -0
- data/app/assets/javascripts/camaleon_cms/admin/momentjs/{pt_br.js → pt-BR.js} +1 -1
- data/app/assets/javascripts/camaleon_cms/admin/nav_menu.js.coffee +15 -1
- data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/{pt_br.js → pt-BR.js} +1 -1
- data/app/assets/javascripts/camaleon_cms/admin/uploader/_media_manager.js.coffee +24 -12
- data/app/assets/stylesheets/camaleon_cms/admin/_custom_admin.css.scss +9 -0
- data/app/assets/stylesheets/camaleon_cms/admin/lte/_admin.css.scss +1 -1
- data/app/controllers/camaleon_cms/admin/appearances/nav_menus_controller.rb +13 -6
- data/app/controllers/camaleon_cms/admin/appearances/themes_controller.rb +1 -1
- data/app/controllers/camaleon_cms/admin/appearances/widgets/assign_controller.rb +1 -1
- data/app/controllers/camaleon_cms/admin/appearances/widgets/main_controller.rb +1 -1
- data/app/controllers/camaleon_cms/admin/appearances/widgets/sidebar_controller.rb +1 -1
- data/app/controllers/camaleon_cms/admin/comments_controller.rb +1 -1
- data/app/controllers/camaleon_cms/admin/media_controller.rb +15 -5
- data/app/controllers/camaleon_cms/admin/plugins_controller.rb +1 -1
- data/app/controllers/camaleon_cms/admin/settings/custom_fields_controller.rb +14 -8
- data/app/controllers/camaleon_cms/admin/settings_controller.rb +22 -7
- data/app/controllers/camaleon_cms/admin/user_roles_controller.rb +1 -1
- data/app/controllers/camaleon_cms/admin/users_controller.rb +1 -1
- data/app/controllers/camaleon_cms/apps/plugins_admin_controller.rb +4 -1
- data/app/controllers/camaleon_cms/apps/plugins_front_controller.rb +5 -10
- data/app/controllers/camaleon_cms/apps/themes_front_controller.rb +1 -4
- data/app/controllers/camaleon_cms/camaleon_controller.rb +4 -13
- data/app/controllers/camaleon_cms/frontend_controller.rb +15 -9
- data/app/controllers/concerns/camaleon_cms/frontend_concern.rb +17 -8
- data/app/decorators/camaleon_cms/application_decorator.rb +3 -3
- data/app/decorators/camaleon_cms/custom_fields_concern.rb +21 -6
- data/app/decorators/camaleon_cms/post_comment_decorator.rb +21 -0
- data/app/decorators/camaleon_cms/site_decorator.rb +5 -5
- data/app/decorators/camaleon_cms/theme_decorator.rb +10 -0
- data/app/decorators/camaleon_cms/user_decorator.rb +2 -2
- data/app/helpers/camaleon_cms/admin/custom_fields_helper.rb +24 -2
- data/app/helpers/camaleon_cms/admin/menus_helper.rb +13 -12
- data/app/helpers/camaleon_cms/frontend/application_helper.rb +1 -1
- data/app/helpers/camaleon_cms/frontend/nav_menu_helper.rb +7 -6
- data/app/helpers/camaleon_cms/plugins_helper.rb +20 -18
- data/app/helpers/camaleon_cms/site_helper.rb +1 -20
- data/app/helpers/camaleon_cms/theme_helper.rb +1 -1
- data/app/helpers/camaleon_cms/uploader_helper.rb +25 -20
- data/app/helpers/camaleon_cms/user_roles_helper.rb +6 -1
- data/app/mailers/camaleon_cms/html_mailer.rb +2 -1
- data/app/models/camaleon_cms/ability.rb +3 -26
- data/app/models/camaleon_cms/custom_field.rb +2 -1
- data/app/models/camaleon_cms/custom_field_group.rb +23 -22
- data/app/models/camaleon_cms/custom_fields_relationship.rb +1 -1
- data/app/models/camaleon_cms/nav_menu.rb +1 -1
- data/app/models/camaleon_cms/nav_menu_item.rb +12 -19
- data/app/models/camaleon_cms/post.rb +1 -1
- data/app/models/camaleon_cms/post_comment.rb +3 -1
- data/app/models/camaleon_cms/post_default.rb +1 -1
- data/app/models/camaleon_cms/post_type.rb +5 -4
- data/app/models/camaleon_cms/site.rb +12 -0
- data/app/models/camaleon_cms/term_taxonomy.rb +1 -1
- data/app/models/camaleon_cms/user_role.rb +5 -1
- data/app/models/concerns/camaleon_cms/custom_fields_read.rb +99 -49
- data/app/uploaders/camaleon_cms_aws_uploader.rb +1 -1
- data/app/uploaders/camaleon_cms_local_uploader.rb +19 -3
- data/app/uploaders/camaleon_cms_uploader.rb +13 -6
- data/app/views/camaleon_cms/admin/appearances/nav_menus/_custom_menus.html.erb +9 -2
- data/app/views/camaleon_cms/admin/appearances/nav_menus/_form.html.erb +1 -1
- data/app/views/camaleon_cms/admin/appearances/nav_menus/_menu_items.html.erb +2 -2
- data/app/views/camaleon_cms/admin/appearances/themes/index.html.erb +1 -3
- data/app/views/camaleon_cms/admin/media/_render_file_item.html.erb +1 -0
- data/app/views/camaleon_cms/admin/media/index.html.erb +3 -3
- data/app/views/camaleon_cms/admin/posts/_sidebar.html.erb +1 -1
- data/app/views/camaleon_cms/admin/posts/form.html.erb +1 -1
- data/app/views/camaleon_cms/admin/settings/_configuration_settings.html.erb +4 -0
- data/app/views/camaleon_cms/admin/settings/custom_fields/_get_items.html.erb +6 -6
- data/app/views/camaleon_cms/admin/settings/custom_fields/_meta_data.html.erb +0 -9
- data/app/views/camaleon_cms/admin/settings/custom_fields/_render.html.erb +39 -55
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_audio.html.erb +1 -1
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_checkbox.html.erb +2 -2
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_checkboxes.html.erb +3 -3
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_colorpicker.html.erb +3 -3
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_date.html.erb +3 -3
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_editor.html.erb +2 -2
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_email.html.erb +1 -1
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_field_attrs.html.erb +3 -3
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_file.html.erb +1 -1
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_image.html.erb +2 -2
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_numeric.html.erb +1 -1
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_phone.html.erb +1 -1
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_posts.html.erb +3 -3
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_private_file.html.erb +4 -0
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_radio.html.erb +3 -3
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_select.html.erb +3 -3
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_select_eval.html.erb +1 -1
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_text_area.html.erb +2 -2
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_text_box.html.erb +2 -2
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_url.html.erb +1 -1
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_users.html.erb +1 -1
- data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_video.html.erb +1 -1
- data/app/views/camaleon_cms/admin/settings/custom_fields/form.html.erb +8 -0
- data/app/views/camaleon_cms/admin/settings/site.html.erb +1 -20
- data/app/views/camaleon_cms/admin/settings/theme.html.erb +20 -0
- data/app/views/camaleon_cms/admin/user_roles/form.html.erb +2 -2
- data/app/views/camaleon_cms/default_theme/admin/settings.html.erb +0 -1
- data/app/views/camaleon_cms/default_theme/partials/_comments.html.erb +0 -2
- data/app/views/camaleon_cms/default_theme/partials/_search_form.html.erb +1 -1
- data/app/views/camaleon_cms/default_theme/partials/_sidebar.html.erb +3 -3
- data/app/views/layouts/camaleon_cms/admin/_footer.html.erb +1 -1
- data/config/initializers/action_view.rb +12 -7
- data/config/initializers/custom_initializers.rb +6 -12
- data/config/locales/camaleon_cms/admin/en.yml +1 -0
- data/config/locales/camaleon_cms/admin/es.yml +4 -0
- data/config/locales/camaleon_cms/admin/it.yml +1 -24
- data/config/locales/camaleon_cms/admin/js.yml +41 -0
- data/config/locales/camaleon_cms/admin/{pt_br.yml → pt-BR.yml} +48 -18
- data/config/locales/camaleon_cms/common.yml +66 -0
- data/config/locales/camaleon_cms/languages.yml +13 -0
- data/config/locales/camaleon_cms/routes.yml +2 -2
- data/config/routes/admin.rb +3 -0
- data/config/system.json +3 -3
- data/db/migrate/20160606135421_improve_menus_structure.rb +7 -0
- data/db/migrate/20160609121449_add_group_to_custom_field_values.rb +5 -0
- data/lib/camaleon_cms/engine.rb +4 -3
- data/lib/camaleon_cms/version.rb +1 -1
- data/lib/ext/string.rb +20 -0
- data/lib/ext/translator.rb +2 -2
- data/lib/generators/camaleon_cms/gem_plugin_generator.rb +1 -1
- data/lib/generators/camaleon_cms/gem_plugin_template/config/camaleon_plugin.json +1 -1
- data/lib/generators/camaleon_cms/install_generator.rb +1 -0
- data/lib/generators/camaleon_cms/theme_template/app/apps/themes/my_theme/main_helper.rb +1 -4
- data/lib/generators/camaleon_cms/theme_template/app/apps/themes/my_theme/views/index.html.erb +1 -25
- data/lib/generators/camaleon_cms/theme_template/app/apps/themes/my_theme/views/layouts/index.html.erb +17 -18
- data/lib/plugin_routes.rb +4 -4
- metadata +25 -48
- data/app/apps/plugins/contact_form/admin_forms_controller.rb +0 -85
- data/app/apps/plugins/contact_form/assets/css/admin/form-builder/formbuilder.css +0 -70
- data/app/apps/plugins/contact_form/assets/css/contact-form.css +0 -8
- data/app/apps/plugins/contact_form/assets/css/front/railsform.scss +0 -94
- data/app/apps/plugins/contact_form/assets/css/readme.txt +0 -1
- data/app/apps/plugins/contact_form/assets/js/contact_form.js +0 -2
- data/app/apps/plugins/contact_form/assets/js/form-builder/formbuilder.js +0 -1271
- data/app/apps/plugins/contact_form/assets/js/form-builder/vendor.js +0 -3072
- data/app/apps/plugins/contact_form/assets/js/readme.txt +0 -1
- data/app/apps/plugins/contact_form/config/config.json +0 -35
- data/app/apps/plugins/contact_form/config/custom_models.rb +0 -3
- data/app/apps/plugins/contact_form/config/locales/readme.txt +0 -1
- data/app/apps/plugins/contact_form/config/locales/translation.yml +0 -315
- data/app/apps/plugins/contact_form/config/routes_admin.txt +0 -4
- data/app/apps/plugins/contact_form/config/routes_front.txt +0 -2
- data/app/apps/plugins/contact_form/contact_form_helper.rb +0 -154
- data/app/apps/plugins/contact_form/contact_form_html_helper.rb +0 -140
- data/app/apps/plugins/contact_form/front_controller.rb +0 -50
- data/app/apps/plugins/contact_form/models/contact_form.rb +0 -26
- data/app/apps/plugins/contact_form/views/admin_forms/_form.html.erb +0 -33
- data/app/apps/plugins/contact_form/views/admin_forms/edit.html.erb +0 -338
- data/app/apps/plugins/contact_form/views/admin_forms/index.html.erb +0 -65
- data/app/apps/plugins/contact_form/views/admin_forms/responses.html.erb +0 -60
- data/app/apps/plugins/contact_form/views/contact_form/_email_content.html.erb +0 -26
- data/app/apps/plugins/contact_form/views/forms_shorcode.html.erb +0 -28
- data/app/apps/plugins/contact_form/views/front/index.html.erb +0 -3
- data/app/apps/themes/camaleon_first/views/admin/settings.html.erb +0 -4
- data/app/apps/themes/new/assets/css/bootstrap/bootstrap.min.css +0 -6735
- data/app/apps/themes/new/assets/js/plugins/bootstrap/bootstrap.min.js +0 -6
- data/app/apps/themes/new/assets/js/plugins/jquery/jquery.min.js +0 -4
- data/lib/generators/camaleon_cms/gem_theme_generator.rb +0 -97
- data/lib/generators/camaleon_cms/gem_theme_template/app/assets/images/themes/my_plugin/image.png +0 -0
- data/lib/generators/camaleon_cms/gem_theme_template/app/assets/javascripts/themes/my_plugin/main.js +0 -14
- data/lib/generators/camaleon_cms/gem_theme_template/app/assets/stylesheets/themes/my_plugin/main.css +0 -13
- data/lib/generators/camaleon_cms/gem_theme_template/app/helpers/themes/my_plugin/main_helper.rb +0 -26
- data/lib/generators/camaleon_cms/gem_theme_template/app/views/themes/my_plugin/admin/settings.html.erb +0 -4
- data/lib/generators/camaleon_cms/gem_theme_template/app/views/themes/my_plugin/index.html.erb +0 -25
- data/lib/generators/camaleon_cms/gem_theme_template/app/views/themes/my_plugin/layouts/index.html.erb +0 -70
- data/lib/generators/camaleon_cms/gem_theme_template/app/views/themes/my_plugin/partials/readme.txt +0 -1
- data/lib/generators/camaleon_cms/gem_theme_template/config/camaleon_theme.json +0 -14
@@ -1,4 +1,4 @@
|
|
1
1
|
<div class="group-input-fields-content input-group">
|
2
|
-
<input data-dimension="<%=
|
3
|
-
<span class="input-group-addon btn_upload" onclick="load_upload_image_field(this);
|
2
|
+
<input data-dimension="<%= field.options[:dimension] %>" data-versions="<%= field.options[:versions] %>" data-thumb_size="<%= field.options[:thumb_size] %>" type="url" name="<%= field_name %>[<%= field.slug %>][values][]" class="data-error-place-parent form-control input-value <%= "required" if field.options[:required].to_s.to_bool %>" />
|
3
|
+
<span class="input-group-addon btn_upload" onclick="load_upload_image_field($(this).prev());"><i class="fa fa-upload"></i> <%= t('camaleon_cms.admin.button.upload_image')%> <%= "(#{field.get_option('dimension')})" if field.get_option('dimension').present? %></span>
|
4
4
|
</div>
|
@@ -1,4 +1,4 @@
|
|
1
1
|
<div class="group-input-fields-content">
|
2
|
-
<input type="number" name="<%=
|
2
|
+
<input type="number" name="<%= field_name %>[<%= field.slug %>][values][]" class="form-control input-value number <%= "required" if field.options[:required].to_s.to_bool %>" />
|
3
3
|
</div>
|
4
4
|
|
@@ -1,3 +1,3 @@
|
|
1
1
|
<div class="group-input-fields-content">
|
2
|
-
<input type="text" name="<%=
|
2
|
+
<input type="text" name="<%= field_name %>[<%= field.slug %>][values][]" class="form-control input-value <%= "required" if field.options[:required].to_s.to_bool %>" />
|
3
3
|
</div>
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<div class="group-input-fields-content">
|
2
|
-
<select name="<%=
|
2
|
+
<select name="<%= field_name %>[<%= field.slug %>][values][]" class="form-control input-value <%= "required" if field.options[:required].to_s.to_bool %>" >
|
3
3
|
<option value=""></option>
|
4
|
-
<% if
|
5
|
-
<% (
|
4
|
+
<% if field.options[:post_types].present? %>
|
5
|
+
<% (field.options[:post_types].include?("all") ? current_site.post_types : current_site.post_types.where(id: field.options[:post_types])).each do |pt| %>
|
6
6
|
<optgroup label="<%= pt.name %>">
|
7
7
|
<%
|
8
8
|
pt.posts.public_posts.each do |post|
|
@@ -0,0 +1,4 @@
|
|
1
|
+
<div class="group-input-fields-content input-group">
|
2
|
+
<input onfocus="$(this).blur();" type="text" data-formats="<%= field.options[:formats] || "" %>" name="<%= field_name %>[<%= field.slug %>][values][]" class="disabled form-control input-value data-error-place-parent file_format <%= "required" if field.options[:required].to_s.to_bool %>" />
|
3
|
+
<span class="input-group-addon btn_upload" onclick="load_upload_private_file_field(this);return false;"><i class="fa fa-upload"></i> <%= t('camaleon_cms.admin.button.upload_file') %></span>
|
4
|
+
</div>
|
@@ -1,5 +1,5 @@
|
|
1
|
-
<div class="group-input-fields-content" data-callback-
|
2
|
-
<%
|
3
|
-
<div class="radio"><label><input type="radio" value="<%= option[:value] %>" name="<%=
|
1
|
+
<div class="group-input-fields-content" data-callback-render="custom_field_radio_val">
|
2
|
+
<% field.options[:multiple_options].each do |option| %>
|
3
|
+
<div class="radio"><label><input type="radio" value="<%= option[:value] %>" name="<%= field_name %>[<%= field.slug %>][values][]" <%= 'checked' if default_use && option[:default].present? && option[:default] != 'none' %> > <%= option[:title] %></label></div>
|
4
4
|
<% end %>
|
5
5
|
</div>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<div class="group-input-fields-content">
|
2
|
-
<select name="<%=
|
3
|
-
<%
|
4
|
-
<option value="<%= option[:value] %>" <%= 'selected' if
|
2
|
+
<select name="<%= field_name %>[<%= field.slug %>][values][]" class="form-control input-value <%= "required" if field.options[:required].to_s.to_bool %>" >
|
3
|
+
<% field.options[:multiple_options].each do |option| %>
|
4
|
+
<option value="<%= option[:value] %>" <%= 'selected' if default_use && option[:default].present? %>><%= option[:title] %></option>
|
5
5
|
<% end %>
|
6
6
|
</select>
|
7
7
|
</div>
|
@@ -1,3 +1,3 @@
|
|
1
1
|
<div class="group-input-fields-content">
|
2
|
-
<%= select_tag "#{
|
2
|
+
<%= select_tag "#{field_name}[#{field.slug}][values][]", instance_eval(field.options[:command].to_s.strip), class: "form-control input-value #{'required' if field.options[:required].to_s.to_bool}" %>
|
3
3
|
</div>
|
@@ -1,3 +1,3 @@
|
|
1
|
-
<div class="group-input-fields-content" data-callback-
|
2
|
-
<textarea name="<%=
|
1
|
+
<div class="group-input-fields-content" data-callback-render="custom_field_text_area">
|
2
|
+
<textarea name="<%= field_name %>[<%= field.slug %>][values][]" class="form-control input-value <%= 'is_translate' if field.options[:translate].to_s.to_bool %> <%= "required" if field.options[:required].to_s.to_bool %>" rows="6" ></textarea>
|
3
3
|
</div>
|
@@ -1,3 +1,3 @@
|
|
1
|
-
<div class="group-input-fields-content" data-callback-
|
2
|
-
<input type="text" name="<%=
|
1
|
+
<div class="group-input-fields-content" data-callback-render="custom_field_text_box">
|
2
|
+
<input type="text" name="<%= field_name %>[<%= field.slug %>][values][]" class="form-control input-value <%= 'is_translate' if field.options[:translate].to_s.to_bool %> <%= "required" if field.options[:required].to_s.to_bool %>" />
|
3
3
|
</div>
|
@@ -1,3 +1,3 @@
|
|
1
1
|
<div class="group-input-fields-content">
|
2
|
-
<input type="url" name="<%=
|
2
|
+
<input type="url" name="<%= field_name %>[<%= field.slug %>][values][]" class="form-control url input-value <%= "required" if field.options[:required].to_s.to_bool %>" />
|
3
3
|
</div>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<div class="group-input-fields-content">
|
2
|
-
<select name="<%=
|
2
|
+
<select name="<%= field_name %>[<%= field.slug %>][values][]" class="form-control input-value <%= "required" if field.options[:required].to_s.to_bool %>" >
|
3
3
|
<option value=""></option>
|
4
4
|
<% current_site.users.all.each do |user| %>
|
5
5
|
<option value="<%= user.id %>"><%= user.fullname %></option>
|
@@ -1,4 +1,4 @@
|
|
1
1
|
<div class="group-input-fields-content input-group">
|
2
|
-
<input type="url" name="<%=
|
2
|
+
<input type="url" name="<%= field_name %>[<%= field.slug %>][values][]" class="data-error-place-parent form-control input-value <%= "required" if field.options[:required].to_s.to_bool %>" />
|
3
3
|
<span class="input-group-addon btn_upload" onclick="load_upload_video_field(this);return false;"><i class="fa fa-upload"></i> <%= t('camaleon_cms.admin.button.upload_video')%></span>
|
4
4
|
</div>
|
@@ -18,6 +18,14 @@
|
|
18
18
|
<%= f.label t('camaleon_cms.admin.table.name') %><br>
|
19
19
|
<%= f.text_field :name, :class => "form-control required" %>
|
20
20
|
</div>
|
21
|
+
<div class="form-group hidden">
|
22
|
+
<%#= f.label t('camaleon_cms.admin.table.slug') %><br>
|
23
|
+
<%#= f.text_field :slug, :class => "form-control slug", "data-parent" => 'custom_field_group_name' %>
|
24
|
+
</div>
|
25
|
+
<div class="form-group">
|
26
|
+
<%= f.label t('camaleon_cms.admin.custom_field.custom_group_support_multiple', default: 'Support multiple groups?') %><br>
|
27
|
+
<%= f.check_box :is_repeat, :class => "" %>
|
28
|
+
</div>
|
21
29
|
<div class="form-group">
|
22
30
|
<%= f.label t('camaleon_cms.admin.table.description') %><br>
|
23
31
|
<%= f.text_area :description, :class => "form-control" %>
|
@@ -1,8 +1,4 @@
|
|
1
|
-
<%
|
2
|
-
groups = @site.get_field_groups
|
3
|
-
theme_field_groups = current_theme.get_field_groups
|
4
|
-
show_theme_tab = (theme_field_groups.present? || File.exist?(current_theme.settings_file)) ? true : false
|
5
|
-
%>
|
1
|
+
<% groups = @site.get_field_groups %>
|
6
2
|
<!-- PAGE CONTENT WRAPPER -->
|
7
3
|
<div class="page-content-wrap">
|
8
4
|
<div class="panel panel-default">
|
@@ -23,11 +19,6 @@
|
|
23
19
|
<a data-toggle="tab" role="tab" href="#tab-other-configuration" aria-expanded="false"><%= t('camaleon_cms.admin.post_type.other_configuration') %></a>
|
24
20
|
</li>
|
25
21
|
<% end %>
|
26
|
-
<% if show_theme_tab %>
|
27
|
-
<li class="<%= "active" if "theme" == params[:tab] %>">
|
28
|
-
<a data-toggle="tab" role="tab" href="#tab-theme-configuration" aria-expanded="false"><%= t('camaleon_cms.admin.settings.theme_setting') %></a>
|
29
|
-
</li>
|
30
|
-
<% end %>
|
31
22
|
<li class="<%= "active" if "seo" == params[:tab] %>">
|
32
23
|
<a data-toggle="tab" role="tab" href="#tab-seo_settings" aria-expanded="false"><%= t('camaleon_cms.admin.settings.seo_setting') %></a>
|
33
24
|
</li>
|
@@ -68,16 +59,6 @@
|
|
68
59
|
<div id="tab-other-configuration" class="<%= "active" if "other_config" == params[:tab] %> tab-pane ">
|
69
60
|
<%= render partial: "camaleon_cms/admin/settings/custom_fields/render", locals: {record: @site, field_groups: groups} %>
|
70
61
|
</div>
|
71
|
-
<% end %>
|
72
|
-
<% if show_theme_tab %>
|
73
|
-
<div id="tab-theme-configuration" class="<%= "active" if "theme" == params[:tab] %> tab-pane">
|
74
|
-
<% if File.exist?(current_theme.settings_file) %>
|
75
|
-
<%= render template: "themes/#{current_theme.settings_file.split('/app/apps/themes/').last}" %>
|
76
|
-
<%= render(partial: "camaleon_cms/admin/settings/custom_fields/render", locals: {record: current_theme, field_groups: theme_field_groups}) unless File.read(current_theme.settings_file).include?('.get_field_groups') %>
|
77
|
-
<% else %>
|
78
|
-
<%= render partial: "camaleon_cms/admin/settings/custom_fields/render", locals: {record: current_theme, field_groups: theme_field_groups} %>
|
79
|
-
<% end %>
|
80
|
-
</div>
|
81
62
|
<% end %>
|
82
63
|
<%= render "seo_settings", f: f %>
|
83
64
|
<%= render "email_settings", f: f %>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<% theme_field_groups = current_theme.get_field_groups %>
|
2
|
+
<div class="page-content-wrap">
|
3
|
+
<div class="panel panel-default">
|
4
|
+
<div class="panel-heading">
|
5
|
+
<h4><span class="fa fa-cog"></span> <%= t('camaleon_cms.admin.settings.theme_setting') %> </h4>
|
6
|
+
</div>
|
7
|
+
<%= form_tag url_for({action: :save_theme}), id: "theme_settings_form", class: "panel-body cama_ajax_request validate" do %>
|
8
|
+
<% if File.exist?(current_theme.settings_file) %>
|
9
|
+
<%= render template: "themes/#{current_theme.settings_file.split('/app/apps/themes/').last}" %>
|
10
|
+
<%= render(partial: "camaleon_cms/admin/settings/custom_fields/render", locals: {record: current_theme, field_groups: theme_field_groups}) unless File.read(current_theme.settings_file).include?('.get_field_groups') %>
|
11
|
+
<% else %>
|
12
|
+
<%= render partial: "camaleon_cms/admin/settings/custom_fields/render", locals: {record: current_theme, field_groups: theme_field_groups} %>
|
13
|
+
<% end %>
|
14
|
+
|
15
|
+
<div class="panel-footer">
|
16
|
+
<button class="btn btn-primary pull-right" type="submit"><%= t('camaleon_cms.admin.button.submit') %></button>
|
17
|
+
</div>
|
18
|
+
<% end %>
|
19
|
+
</div>
|
20
|
+
</div>
|
@@ -18,7 +18,7 @@
|
|
18
18
|
<% rol_values_post_type = @user_role.new_record? ? {} : @user_role.get_meta("_post_type_#{current_site.id.to_s}") %>
|
19
19
|
<% rol_values_manager = @user_role.new_record? ? {} : @user_role.get_meta("_manager_#{current_site.id.to_s}") %>
|
20
20
|
<div id="contents-checkbox" class="form-horizontal">
|
21
|
-
<div class="
|
21
|
+
<div class="">
|
22
22
|
<table class="table table-responsive table-hover table-striped">
|
23
23
|
<thead>
|
24
24
|
<tr>
|
@@ -60,7 +60,7 @@
|
|
60
60
|
</table>
|
61
61
|
</div>
|
62
62
|
|
63
|
-
<div class="
|
63
|
+
<div class="">
|
64
64
|
<h5><%= t('camaleon_cms.admin.users.others_permissions')%></h5>
|
65
65
|
<div class="row">
|
66
66
|
<% values = rol_values_manager || {} %>
|
@@ -1 +0,0 @@
|
|
1
|
-
<%= render partial: "camaleon_cms/admin/settings/custom_fields/render", locals: {record: current_theme, field_groups: current_theme.get_field_groups, fields_name: "theme_fields"} %>
|
@@ -16,8 +16,6 @@
|
|
16
16
|
<% if signin? %>
|
17
17
|
<%= form_for post, url:{action: :save_comment, post_id: post.id}, html: {method: "post", class: "form-comment"} do |f|%>
|
18
18
|
<%= render partial: "camaleon_cms/flash_messages" %>
|
19
|
-
<input type="hidden" name="post_comment[post_id]" value="<%= post.id %>">
|
20
|
-
<input type="hidden" name="slug" value="<%= post.slug %>">
|
21
19
|
<div class="form-group">
|
22
20
|
<textarea id="textarea_comments" name="post_comment[content]" class="form-control counted" placeholder="<%= ct('comment', default: 'Here your comment')%>"></textarea>
|
23
21
|
</div>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<div class="input-group">
|
3
3
|
<input type="text" name="q" class="form-control" placeholder="<%= ct("search", default: 'Search here') %>...">
|
4
4
|
<div class="input-group-btn">
|
5
|
-
<button type="submit" class="btn"><i class="
|
5
|
+
<button type="submit" class="btn"><i class="glyphicon glyphicon-search"></i></button>
|
6
6
|
</div>
|
7
7
|
</div>
|
8
8
|
<% end %>
|
@@ -11,7 +11,7 @@
|
|
11
11
|
<div class="panel panel-default">
|
12
12
|
<div class="panel-heading"><%= ct("categories", default: 'Categories') %></div>
|
13
13
|
<div class="panel-body">
|
14
|
-
<ul>
|
14
|
+
<ul style="list-style-position: inside">
|
15
15
|
<% categories.each do |cat| %>
|
16
16
|
<li><a href="<%= cat.the_url %>"><%= cat.the_title %></a></li>
|
17
17
|
<% end %>
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<%= ct("latest_articles", default: 'Latest Articles') %>
|
27
27
|
</div>
|
28
28
|
<div class="panel-body">
|
29
|
-
<ul>
|
29
|
+
<ul style="list-style-position: inside">
|
30
30
|
<% current_site.the_posts("post").latest.limit(7).decorate.each do |p| %>
|
31
31
|
<li><a href="<%= p.the_url %>"><%= p.the_title %></a></li>
|
32
32
|
<% end %>
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<%= ct("related_articles", default: 'Related Articles') %>
|
42
42
|
</div>
|
43
43
|
<div class="panel-body">
|
44
|
-
<ul>
|
44
|
+
<ul style="list-style-position: inside">
|
45
45
|
<% post.the_related_posts.latest.limit(7).decorate.each do |p| %>
|
46
46
|
<li><a href="<%= p.the_url %>"><%= p.the_title %></a></li>
|
47
47
|
<% end %>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<div class="col-md-6"><strong>Copyright © 2015-2016 <a href="http://camaleon.tuzitio.com">Camaleon CMS.</a> </strong></div>
|
4
4
|
<div class="col-md-6 hidden-xs">
|
5
5
|
<div class="pull-left">
|
6
|
-
<a id="link_see_intro" href="#" onclick="init_intro(); return false;"><i class="fa fa-tv"></i>
|
6
|
+
<a id="link_see_intro" href="#" onclick="init_intro(); return false;"><i class="fa fa-tv"></i> <%= I18n.t('camaleon_cms.see_intro') %>.</a>
|
7
7
|
</div>
|
8
8
|
<div class="pull-right">
|
9
9
|
<b>Version </b><%= CamaleonCms::VERSION %>
|
@@ -10,14 +10,17 @@
|
|
10
10
|
# this is a customization to support multiple prefix to render partials
|
11
11
|
module ActionView
|
12
12
|
class LookupContext #:nodoc:
|
13
|
+
attr_accessor :use_camaleon_partial_prefixes
|
13
14
|
module ViewPaths
|
14
15
|
# fix to add camaleon prefix to search partials and layouts
|
15
16
|
def find(name, prefixes = [], partial = false, keys = [], options = {})
|
16
|
-
if
|
17
|
-
#
|
18
|
-
|
19
|
-
|
20
|
-
|
17
|
+
if use_camaleon_partial_prefixes.present?
|
18
|
+
if !partial && !prefixes.present? && File.exist?(name) # fix for windows ==> render file: '....'
|
19
|
+
#puts "rendering specific file (render file: '....')"
|
20
|
+
else
|
21
|
+
prefixes = [""] unless prefixes.present?
|
22
|
+
prefixes = (self.prefixes + prefixes).uniq if prefixes.is_a?(Array)
|
23
|
+
end
|
21
24
|
end
|
22
25
|
@view_paths.find(*args_for_lookup(name, prefixes, partial, keys, options))
|
23
26
|
end
|
@@ -25,8 +28,10 @@ module ActionView
|
|
25
28
|
|
26
29
|
# fix to add camaleon prefixes on verify template exist
|
27
30
|
def exists?(name, prefixes = [], partial = false, keys = [], options = {})
|
28
|
-
|
29
|
-
|
31
|
+
if use_camaleon_partial_prefixes.present?
|
32
|
+
prefixes = [""] unless prefixes.present?
|
33
|
+
prefixes = (prefixes+self.prefixes).uniq if prefixes.is_a?(Array)
|
34
|
+
end
|
30
35
|
@view_paths.exists?(*args_for_lookup(name, prefixes, partial, keys, options))
|
31
36
|
end
|
32
37
|
alias :template_exists? :exists?
|
@@ -7,18 +7,12 @@
|
|
7
7
|
See the GNU Affero General Public License (GPLv3) for more details.
|
8
8
|
=end
|
9
9
|
# load all custom initializers of plugins or themes
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
eval(File.read(f)) if File.exist?(f)
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
10
|
+
PluginRoutes.all_apps.each do |ap|
|
11
|
+
if ap["path"].present?
|
12
|
+
f = File.join(ap["path"], "config", "initializer.rb")
|
13
|
+
eval(File.read(f)) if File.exist?(f)
|
18
14
|
|
19
|
-
|
20
|
-
|
21
|
-
def self.un_obfuscate(str)
|
22
|
-
Base64.decode64(str.slice(5..-1))
|
15
|
+
f = File.join(ap["path"], "config", "custom_models.rb")
|
16
|
+
eval(File.read(f)) if File.exist?(f)
|
23
17
|
end
|
24
18
|
end
|
@@ -1,5 +1,6 @@
|
|
1
1
|
en:
|
2
2
|
camaleon_cms:
|
3
|
+
see_intro: "See intro"
|
3
4
|
welcome_message: "Welcome to Camaleon CMS"
|
4
5
|
page_not_exist: "<h1>ooops...</h1><h5>The page you're looking for does not exist.</h5>"
|
5
6
|
page_error_500: "<h1>ooops...</h1><h5>Error 500 Internal Server Error. Please contact to the administrator.</h5>"
|
@@ -3,11 +3,13 @@ es:
|
|
3
3
|
camaleon_cms:
|
4
4
|
welcome_message: "Bienvenido a Camaleon CMS"
|
5
5
|
captcha_placeholder: 'Por favor ingrese el texto de la imagen'
|
6
|
+
errors_found_msg: 'Se encontraron varios errores, por favor verifique.'
|
6
7
|
admin:
|
7
8
|
request_error_message: "Un error a ocurrido, por favor contacte con el administrador."
|
8
9
|
button:
|
9
10
|
activity: 'Actividad'
|
10
11
|
add_new_field: 'Añadir nuevo campo'
|
12
|
+
add_new_group: 'Añadir nuevo grupo'
|
11
13
|
add_option: 'Añadir opción'
|
12
14
|
add_menu: 'Añadir Menú'
|
13
15
|
update_menu: 'Actualizar Menú'
|
@@ -89,6 +91,7 @@ es:
|
|
89
91
|
reply_comment: 'Responder Comentario'
|
90
92
|
delete_comment: 'Eliminar Comentario'
|
91
93
|
custom_field:
|
94
|
+
custom_group_support_multiple: 'Soporta multiple grupos?'
|
92
95
|
message:
|
93
96
|
custom_group_error: 'Error grupo de campos personalizados'
|
94
97
|
custom_created: 'El grupo de campos personalizados se ha creado.'
|
@@ -353,6 +356,7 @@ es:
|
|
353
356
|
options_select: 'Selecciones opciones'
|
354
357
|
option_title: 'Opción Título'
|
355
358
|
comment_status: 'Registrar comentarios como aprobados?'
|
359
|
+
comment_anonymous: 'Permitir comentarios anónimos'
|
356
360
|
list_per_page_front: 'Cantidad de items para listar en panel público'
|
357
361
|
list_per_page_admin: 'Cantidad de items para listar en panel admin'
|
358
362
|
please_separated_commas: 'Por favor, separar por comas'
|
@@ -582,27 +582,4 @@ it:
|
|
582
582
|
deleted: 'Widget eliminato.'
|
583
583
|
error_created: 'Widget non creato.'
|
584
584
|
error_updated: 'Widget non aggiornato.'
|
585
|
-
not_registered_widgets: 'Non ci sono widget registrati'
|
586
|
-
|
587
|
-
plugin:
|
588
|
-
contact_form:
|
589
|
-
contact_form: 'Form di contatto'
|
590
|
-
add_form: 'Aggiungi form'
|
591
|
-
label_required: "ergoineroinregfoin"
|
592
|
-
placeholder_required: "rofmfvopfrmpvo"
|
593
|
-
list: 'Lista'
|
594
|
-
name: 'Nome'
|
595
|
-
description: 'Descrizione'
|
596
|
-
slug: 'Slug'
|
597
|
-
shortcode: 'Shortcode'
|
598
|
-
count: 'Contatore'
|
599
|
-
actions: 'Azioni'
|
600
|
-
msg_data_found_list: 'Nessun messaggio trovato'
|
601
|
-
button:
|
602
|
-
back: 'Indietro'
|
603
|
-
submit: 'Conferma'
|
604
|
-
attack:
|
605
|
-
settings: 'Impostazioni'
|
606
|
-
front_cache:
|
607
|
-
settings: 'Impostazioni'
|
608
|
-
clean_cache: 'Pulisci Cache'
|
585
|
+
not_registered_widgets: 'Non ci sono widget registrati'
|
@@ -40,6 +40,47 @@ en:
|
|
40
40
|
url: "URL"
|
41
41
|
root: "root"
|
42
42
|
|
43
|
+
pt-BR:
|
44
|
+
camaleon_cms:
|
45
|
+
admin:
|
46
|
+
js:
|
47
|
+
msg:
|
48
|
+
approved: 'Aprovado'
|
49
|
+
draft: 'Rascunho salvo com sucesso'
|
50
|
+
updated_success: 'Atualizado com sucesso'
|
51
|
+
edit_menu: 'Posicione cada item na ordem de sua preferência. Clique no ícone do lápis para editar o item e clique no formato de X para deletar o item.'
|
52
|
+
delete_item: 'Realmente deseja deletar esse item?'
|
53
|
+
remove_items_submenu: 'Realmente deseja remover esse item e seus sub menu items?'
|
54
|
+
you_must_upload_image: 'Você deve fazer o upload de uma image'
|
55
|
+
you_must_upload_video: 'Você deve fazer o upload de um vídeo'
|
56
|
+
no_response_fields: 'Não há campos de resposta '
|
57
|
+
you_must_upload_json_file: 'Você deve fazer o upload de um JSON'
|
58
|
+
no_templates_defined: 'Não há templates definidos'
|
59
|
+
avatar_updated: 'Avatar Atualizado'
|
60
|
+
form_error: 'Erro no Form'
|
61
|
+
option_title: 'Título de Opção'
|
62
|
+
permalink: 'Link Permanente'
|
63
|
+
recover: 'Recuperando...'
|
64
|
+
type_contents: 'Conteúdo de Tipo'
|
65
|
+
confirm_del: "Tem certeza que deseja deletar esse item?"
|
66
|
+
media_title: 'Uploader de Mídia'
|
67
|
+
|
68
|
+
button:
|
69
|
+
edit: "Editar"
|
70
|
+
accept: "Aceitar"
|
71
|
+
cancel: "Cancelar"
|
72
|
+
delete: "Deletar"
|
73
|
+
clone: "Clonar"
|
74
|
+
add_tag: 'Adicionar Tag'
|
75
|
+
close: 'Fechar'
|
76
|
+
settings: 'Configurações'
|
77
|
+
save: "Salvar"
|
78
|
+
submit: "Submeter"
|
79
|
+
name: "Nome"
|
80
|
+
size: "Tamanho"
|
81
|
+
insert: "Inserir"
|
82
|
+
url: "URL"
|
83
|
+
root: "raiz"
|
43
84
|
es:
|
44
85
|
camaleon_cms:
|
45
86
|
admin:
|
@@ -1,8 +1,14 @@
|
|
1
1
|
# pt-BR translations for Camaleon CMS by Igor_portela
|
2
|
-
|
2
|
+
pt-BR:
|
3
3
|
camaleon_cms:
|
4
|
-
|
4
|
+
see_intro: "Ver introdução"
|
5
|
+
welcome_message: "Bem-vindo ao Camaleon CMS"
|
6
|
+
captcha_placeholder: 'Por favor, digite o texto da imagem'
|
7
|
+
page_not_exist: "<h1>ooops...</h1><h5>A página que você procura não existe.</h5>"
|
8
|
+
page_error_500: "<h1>ooops...</h1><h5>Erro tipo 500 - Erro interno de servidor. Por favor, contate o administrador.</h5>"
|
5
9
|
admin:
|
10
|
+
request_error_message: "Um erro ocorreu, por favor contate o administrador."
|
11
|
+
authorization_error: "Você não possui autorização para essa seção."
|
6
12
|
header:
|
7
13
|
member_since: "Membro desde %{time}"
|
8
14
|
button:
|
@@ -34,10 +40,11 @@ pt_br:
|
|
34
40
|
not_actived: 'Desativado'
|
35
41
|
publish: 'Publicar'
|
36
42
|
preview: 'Visualização'
|
37
|
-
proccess: '
|
43
|
+
proccess: 'Enviar'
|
38
44
|
recover: 'Recuperar'
|
39
45
|
restore: 'Restaurar'
|
40
46
|
restore_selections: 'Restaurar seleções'
|
47
|
+
search: 'Procurar'
|
41
48
|
select: 'Selecionar'
|
42
49
|
select_all: 'Selecionar Tudo'
|
43
50
|
select_file: 'Selecionar Arquivo'
|
@@ -126,14 +133,19 @@ pt_br:
|
|
126
133
|
subject_email: 'Restabeleça seu acesso'
|
127
134
|
send_mail_succes: 'Email de redefinição enviado com sucesso.'
|
128
135
|
send_mail_error: 'Nenhum endereço de email encontrado.'
|
136
|
+
invalid_caption: 'Catpcha Inválido'
|
137
|
+
email_not_validated: 'Email não foi validado'
|
138
|
+
confirm_email_token_incorrect: 'URL incorreta'
|
139
|
+
confirm_email_token_expired: 'URL de confirmação expirou'
|
140
|
+
confirm_email_success: 'Email confirmado com sucesso'
|
129
141
|
personal_info: 'Informações pessoais'
|
130
|
-
please_login: 'Por favor
|
142
|
+
please_login: 'Por favor faça login para prosseguir'
|
131
143
|
reset_password: 'Redefinir senha'
|
132
144
|
reCaptcha: 'reCaptcha'
|
133
145
|
send_email: 'Enviar email'
|
134
146
|
reset_password_html: '<strong>Enviar email</strong>, redefinir senha'
|
135
147
|
welcome: 'Bem-vindo'
|
136
|
-
welcome_login_html: '<strong>Bem-vindo</strong>,
|
148
|
+
welcome_login_html: '<strong>Bem-vindo</strong>, por favor faça login para prosseguir'
|
137
149
|
do_not_have_account_yet: "Não tem uma conta ainda?"
|
138
150
|
msg_registration_html: '<strong>Inscrição</strong>, use o formulário abaixo'
|
139
151
|
username: "Usuário"
|
@@ -212,7 +224,7 @@ pt_br:
|
|
212
224
|
add_tag: 'Adicionar uma tag'
|
213
225
|
clone: 'Clonar'
|
214
226
|
clone_content: 'Clonar conteúdo'
|
215
|
-
label_required: '
|
227
|
+
label_required: 'Tag(label) necessária'
|
216
228
|
placeholder_required: 'Placeholder necessário'
|
217
229
|
message:
|
218
230
|
created: 'O %{post_type} foi criado.'
|
@@ -221,7 +233,7 @@ pt_br:
|
|
221
233
|
error: 'Erro %{post_type}'
|
222
234
|
error_post_type: 'Erro %{post_type}'
|
223
235
|
trash: 'O %{post_type} foi movido para lixeira.'
|
224
|
-
requires_different_slug: '
|
236
|
+
requires_different_slug: 'É necessário que o slug seja único'
|
225
237
|
restore: 'O %{post_type} foi restaurado.'
|
226
238
|
draft: 'Rascunho salvo com sucesso'
|
227
239
|
recover: 'Recuperar...'
|
@@ -244,6 +256,9 @@ pt_br:
|
|
244
256
|
enter_password: 'Entre com a senha'
|
245
257
|
featured_image: 'Imagem destacada'
|
246
258
|
keywords: 'Palavras-chave'
|
259
|
+
default_layout: 'Layout Padrão'
|
260
|
+
default_template: 'Template Padrão'
|
261
|
+
icon: 'Ícone'
|
247
262
|
message:
|
248
263
|
error: 'Erro de classe'
|
249
264
|
error_term: 'Erro de termo de classe'
|
@@ -274,6 +289,7 @@ pt_br:
|
|
274
289
|
permission_add_image_presentation: 'Permissão para adicionar uma imagem de apresentação'
|
275
290
|
permission_manage_template: 'Permissão gerenciar Template'
|
276
291
|
permission_add_keywords: 'Permissão para adicionar palavras-chave'
|
292
|
+
permission_to_support_parent_structure: 'Permitir o post indicar página pai'
|
277
293
|
upload_image: 'Carregar imagem'
|
278
294
|
view_comments: 'Ver comentários'
|
279
295
|
plugins:
|
@@ -284,6 +300,10 @@ pt_br:
|
|
284
300
|
type_contents: 'Tipo de conteúdo'
|
285
301
|
upgrade_to: "Atualizar para"
|
286
302
|
settings:
|
303
|
+
aws: "Salvar arquivos na Amazon"
|
304
|
+
filesystem_settings: "Configurações de arquivos"
|
305
|
+
filesystem_thumb_size: "Tamanho do thumbnail [100x100]"
|
306
|
+
filesystem_max_file_size: "Tamanho máximo do arquivo para Upload [MB]"
|
287
307
|
activate_create_account: 'Ative criar conta'
|
288
308
|
activate_login_social_networks: 'Ative login por meio de redes sociais'
|
289
309
|
add_field_group: 'Adicionar grupo de campo'
|
@@ -321,6 +341,13 @@ pt_br:
|
|
321
341
|
author: "Nome do autor"
|
322
342
|
seo_setting: "Configurações SEO"
|
323
343
|
email_settings: "Configurações de Email (SMTP)"
|
344
|
+
filesystem_type: "Tipo de sistema de arquivos"
|
345
|
+
filesystem_s3_access_key: "Chave de acesso da AWS S3"
|
346
|
+
filesystem_s3_secret_key: "Chave secreta da AWS S3"
|
347
|
+
filesystem_s3_bucket_name: "Nome do Bucket da AWS S3"
|
348
|
+
filesystem_s3_endpoint: "Endpoint do bucket da AWS S3"
|
349
|
+
filesystem_region: "Região da AWS S3"
|
350
|
+
filesystem_cdn: "Url da CDN"
|
324
351
|
security:
|
325
352
|
captcha_user_register: "Habilitar captcha no registro de usuários"
|
326
353
|
message:
|
@@ -353,6 +380,7 @@ pt_br:
|
|
353
380
|
appearance: 'Aparência'
|
354
381
|
comments: 'Comentários'
|
355
382
|
content: 'Conteúdo'
|
383
|
+
contents: 'Conteúdos'
|
356
384
|
content_groups: 'Gupos de conteúdo'
|
357
385
|
custom_fields: 'Campos personalizados'
|
358
386
|
dashboard: 'Painel'
|
@@ -421,6 +449,7 @@ pt_br:
|
|
421
449
|
hide: 'Esconder'
|
422
450
|
home_page: 'Página inicial'
|
423
451
|
has_keywords: 'Tem palavras-chave'
|
452
|
+
manage_keywords: 'Gerenciar Palavras Chave'
|
424
453
|
id: 'ID'
|
425
454
|
images: 'Imagens'
|
426
455
|
import: 'Importar'
|
@@ -434,12 +463,13 @@ pt_br:
|
|
434
463
|
linkedin: 'Linkedin'
|
435
464
|
login: 'Login'
|
436
465
|
logo: 'Logo'
|
437
|
-
manage_category: '
|
438
|
-
manage_content: '
|
439
|
-
manage_picture: '
|
440
|
-
manage_summary: '
|
441
|
-
manage_tags: '
|
442
|
-
manage_template: '
|
466
|
+
manage_category: 'Gerenciar Categoria'
|
467
|
+
manage_content: 'Gerenciar Conteúdo'
|
468
|
+
manage_picture: 'Gerenciar Imagem'
|
469
|
+
manage_summary: 'Gerenciar Resumo'
|
470
|
+
manage_tags: 'Gerenciar Tags'
|
471
|
+
manage_template: 'Gerenciar Template'
|
472
|
+
manage_layout: 'Gerenciar Layout'
|
443
473
|
modified: 'Modificado'
|
444
474
|
multiple_field_int: 'Campo múltiplo?'
|
445
475
|
required_field_int: 'Campo obrigatório?'
|
@@ -463,10 +493,10 @@ pt_br:
|
|
463
493
|
public: 'Público'
|
464
494
|
qty: 'Quantidade'
|
465
495
|
quick_info: 'Informação rápida'
|
466
|
-
registration: '
|
467
|
-
repeat_new: '
|
468
|
-
role: '
|
469
|
-
slogan: '
|
496
|
+
registration: 'Registro'
|
497
|
+
repeat_new: 'Repetir Novo'
|
498
|
+
role: 'Cargo'
|
499
|
+
slogan: 'Descrição'
|
470
500
|
slug: 'Slug'
|
471
501
|
short_code: 'Short Code'
|
472
502
|
site_name: 'Nome do Site'
|
@@ -608,4 +638,4 @@ pt_br:
|
|
608
638
|
custom_fields: "Esta seção permite você extender facilmente seu conteúdo, temas, ... por campos personalizados."
|
609
639
|
post_type: "Neste módulo você pode gerenciar grupos de conteúdos sem programar nada."
|
610
640
|
languages: "Este módulo permite você gerenciar todos os idiomas para seu site. Você também pode configurar o idioma para seu painel administrativo."
|
611
|
-
shortcodes: "Nesta seção você pode ver todos os atalhos (shortcodes) disposníveis para usar no seu conteúdo."
|
641
|
+
shortcodes: "Nesta seção você pode ver todos os atalhos (shortcodes) disposníveis para usar no seu conteúdo."
|