refinerycms-core 2.1.5 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/refinery/add.png +0 -0
- data/app/assets/images/refinery/admin_bg.png +0 -0
- data/app/assets/images/refinery/ajax-loader.gif +0 -0
- data/app/assets/images/refinery/branch-end.gif +0 -0
- data/app/assets/images/refinery/branch.gif +0 -0
- data/app/assets/images/refinery/cross.png +0 -0
- data/app/assets/images/refinery/dialogLoadingAnimation.gif +0 -0
- data/app/assets/images/refinery/header_background.png +0 -0
- data/app/assets/images/refinery/hover-gradient.jpg +0 -0
- data/app/assets/images/refinery/icons/accept.png +0 -0
- data/app/assets/images/refinery/icons/add.png +0 -0
- data/app/assets/images/refinery/icons/ajax-loader.gif +0 -0
- data/app/assets/images/refinery/icons/application_edit.png +0 -0
- data/app/assets/images/refinery/icons/application_go.png +0 -0
- data/app/assets/images/refinery/icons/arrow_left.png +0 -0
- data/app/assets/images/refinery/icons/arrow_left_right.png +0 -0
- data/app/assets/images/refinery/icons/arrow_switch.png +0 -0
- data/app/assets/images/refinery/icons/arrow_up.png +0 -0
- data/app/assets/images/refinery/icons/arrow_up_down.png +0 -0
- data/app/assets/images/refinery/icons/bin.png +0 -0
- data/app/assets/images/refinery/icons/bin_closed.png +0 -0
- data/app/assets/images/refinery/icons/cancel.png +0 -0
- data/app/assets/images/refinery/icons/cog_add.png +0 -0
- data/app/assets/images/refinery/icons/cog_edit.png +0 -0
- data/app/assets/images/refinery/icons/cross.png +0 -0
- data/app/assets/images/refinery/icons/delete.png +0 -0
- data/app/assets/images/refinery/icons/doc.png +0 -0
- data/app/assets/images/refinery/icons/down.gif +0 -0
- data/app/assets/images/refinery/icons/edit.png +0 -0
- data/app/assets/images/refinery/icons/email.png +0 -0
- data/app/assets/images/refinery/icons/email_edit.png +0 -0
- data/app/assets/images/refinery/icons/email_go.png +0 -0
- data/app/assets/images/refinery/icons/email_open.png +0 -0
- data/app/assets/images/refinery/icons/eye.png +0 -0
- data/app/assets/images/refinery/icons/folder.png +0 -0
- data/app/assets/images/refinery/icons/folder_open.png +0 -0
- data/app/assets/images/refinery/icons/folder_page_white.png +0 -0
- data/app/assets/images/refinery/icons/image_add.png +0 -0
- data/app/assets/images/refinery/icons/image_edit.png +0 -0
- data/app/assets/images/refinery/icons/img.png +0 -0
- data/app/assets/images/refinery/icons/information.png +0 -0
- data/app/assets/images/refinery/icons/layout_add.png +0 -0
- data/app/assets/images/refinery/icons/layout_edit.png +0 -0
- data/app/assets/images/refinery/icons/locale-blue.svg +15 -0
- data/app/assets/images/refinery/icons/locale.svg +11 -0
- data/app/assets/images/refinery/icons/music.png +0 -0
- data/app/assets/images/refinery/icons/page.png +0 -0
- data/app/assets/images/refinery/icons/page_add.png +0 -0
- data/app/assets/images/refinery/icons/page_edit.png +0 -0
- data/app/assets/images/refinery/icons/page_white_edit.png +0 -0
- data/app/assets/images/refinery/icons/page_white_gear.png +0 -0
- data/app/assets/images/refinery/icons/page_white_put.png +0 -0
- data/app/assets/images/refinery/icons/pdf.png +0 -0
- data/app/assets/images/refinery/icons/ppt.png +0 -0
- data/app/assets/images/refinery/icons/star.png +0 -0
- data/app/assets/images/refinery/icons/tick.png +0 -0
- data/app/assets/images/refinery/icons/up.gif +0 -0
- data/app/assets/images/refinery/icons/user_add.png +0 -0
- data/app/assets/images/refinery/icons/user_comment.png +0 -0
- data/app/assets/images/refinery/icons/user_edit.png +0 -0
- data/app/assets/images/refinery/icons/xls.png +0 -0
- data/app/assets/images/refinery/icons/zip.png +0 -0
- data/app/assets/images/refinery/icons/zoom.png +0 -0
- data/app/assets/images/refinery/logo-large.png +0 -0
- data/app/assets/images/refinery/logo-medium.png +0 -0
- data/app/assets/images/refinery/logo-site-bar.png +0 -0
- data/app/assets/images/refinery/logo-small-medium.png +0 -0
- data/app/assets/images/refinery/logo-small.png +0 -0
- data/app/assets/images/refinery/logo-tiny.png +0 -0
- data/app/assets/images/refinery/logo.png +0 -0
- data/app/assets/images/refinery/nav-3-background.gif +0 -0
- data/app/assets/images/refinery/nav_inactive_background.png +0 -0
- data/app/assets/images/refinery/orange_button.png +0 -0
- data/app/assets/images/refinery/page_bg.png +0 -0
- data/app/assets/images/refinery/text_field_background.png +0 -0
- data/app/assets/images/refinery/tooltip-nib.gif +0 -0
- data/app/assets/images/refinery/tooltip-nib.png +0 -0
- data/app/assets/javascripts/admin.js +7 -6
- data/app/assets/javascripts/refinery/admin.js.erb +99 -60
- data/app/assets/javascripts/refinery/ajaxy_pagination.js.coffee +2 -5
- data/app/assets/javascripts/refinery/application.js +8 -0
- data/app/assets/javascripts/refinery/core.js +4 -18
- data/app/assets/javascripts/refinery/interface.js.coffee.erb +5 -29
- data/app/assets/javascripts/refinery/modal_dialogs.js.erb +0 -105
- data/app/assets/javascripts/refinery/nestedsortables.js +183 -110
- data/app/assets/javascripts/refinery/refinery.js.erb +3 -9
- data/app/assets/javascripts/refinery/serializelist.js +1 -1
- data/app/assets/javascripts/refinery/site_bar.js +0 -5
- data/app/assets/javascripts/refinery/sortable_list.js +10 -11
- data/app/assets/javascripts/refinery/submit_continue.js.coffee.erb +1 -1
- data/app/assets/stylesheets/application.scss +2 -0
- data/app/assets/stylesheets/refinery/_colours.scss +18 -0
- data/app/assets/stylesheets/refinery/_icons.scss +85 -0
- data/app/assets/stylesheets/refinery/{layout.css.scss → _layout.scss} +306 -338
- data/app/assets/stylesheets/refinery/_mixins.scss +84 -0
- data/app/assets/stylesheets/refinery/{submenu.css.scss → _submenu.scss} +2 -2
- data/app/assets/stylesheets/refinery/{tooltips.css.scss → _tooltips.scss} +0 -0
- data/app/assets/stylesheets/refinery/_ui.scss +252 -0
- data/app/assets/stylesheets/refinery/{formatting.css.scss → formatting.scss} +0 -0
- data/app/assets/stylesheets/refinery/refinery.scss +10 -0
- data/app/assets/stylesheets/refinery/site_bar.scss +126 -0
- data/app/assets/stylesheets/refinery/{theme.css.scss → theme.scss} +0 -0
- data/app/controllers/refinery/admin/core_controller.rb +2 -7
- data/app/controllers/refinery/admin/dialogs_controller.rb +4 -3
- data/app/controllers/refinery/admin_controller.rb +0 -1
- data/app/controllers/refinery/fast_controller.rb +0 -4
- data/app/helpers/refinery/admin/visual_editor_helper.rb +13 -0
- data/app/helpers/refinery/admin_helper.rb +4 -0
- data/app/helpers/refinery/custom_assets_helper.rb +2 -2
- data/app/helpers/refinery/image_helper.rb +9 -8
- data/app/helpers/refinery/meta_helper.rb +1 -1
- data/app/helpers/refinery/site_bar_helper.rb +16 -2
- data/app/helpers/refinery/tag_helper.rb +38 -5
- data/app/models/refinery/core/base_model.rb +3 -1
- data/app/views/layouts/refinery/admin.html.erb +12 -10
- data/app/views/layouts/refinery/admin_dialog.html.erb +1 -4
- data/app/views/refinery/_content_page.html.erb +1 -1
- data/app/views/refinery/_google_analytics.html.erb +8 -9
- data/app/views/refinery/_head.html.erb +1 -1
- data/app/views/refinery/_javascripts.html.erb +0 -15
- data/app/views/refinery/_message.html.erb +1 -1
- data/app/views/refinery/_site_bar.html.erb +9 -6
- data/app/views/refinery/admin/_error_messages.html.erb +4 -4
- data/app/views/refinery/admin/_form_actions.html.erb +1 -0
- data/app/views/refinery/admin/_form_advanced_options_menu.html.erb +3 -4
- data/app/views/refinery/admin/_head.html.erb +3 -0
- data/app/views/refinery/admin/_image_picker.html.erb +4 -5
- data/app/views/refinery/admin/_javascripts.html.erb +4 -9
- data/app/views/refinery/admin/_locale_picker.html.erb +9 -2
- data/app/views/refinery/admin/_make_sortable.html.erb +8 -6
- data/app/views/refinery/admin/_menu.html.erb +2 -15
- data/app/views/refinery/admin/_menu_item.html.erb +3 -0
- data/app/views/refinery/admin/_resource_picker.html.erb +12 -22
- data/app/views/refinery/admin/_search.html.erb +1 -1
- data/app/views/refinery/admin/_tabbed_fields.html.erb +2 -2
- data/app/views/refinery/admin/_wysiwyg.html.erb +1 -1
- data/{lib/generators/refinery/cms/templates/app/decorators/controllers/refinery/.gitkeep → app/views/refinery/admin/dialog_success.html.erb} +0 -0
- data/app/views/refinery/admin/dialogs/show.html.erb +1 -19
- data/config/initializers/assets.rb +6 -0
- data/config/locales/ca.yml +84 -0
- data/config/locales/cs.yml +12 -5
- data/config/locales/en.yml +6 -2
- data/config/locales/fr.yml +15 -11
- data/config/locales/hu.yml +3 -1
- data/config/locales/it.yml +5 -1
- data/config/locales/ja.yml +2 -2
- data/config/locales/pt.yml +5 -3
- data/config/locales/ru.yml +7 -0
- data/config/locales/sl.yml +0 -3
- data/config/locales/tr.yml +43 -41
- data/config/routes.rb +1 -4
- data/lib/generators/refinery/cms/cms_generator.rb +68 -26
- data/lib/generators/refinery/cms/templates/app/decorators/{models/refinery/.gitkeep → controllers/refinery/.keep} +0 -0
- data/lib/generators/refinery/{form/templates/.gitkeep → cms/templates/app/decorators/models/refinery/.keep} +0 -0
- data/lib/generators/refinery/cms/templates/config/database.yml.mysql +3 -3
- data/lib/generators/refinery/cms/templates/config/database.yml.postgresql +3 -3
- data/lib/generators/refinery/core/templates/config/initializers/refinery/core.rb.erb +18 -5
- data/lib/generators/refinery/dummy/dummy_generator.rb +3 -1
- data/lib/generators/refinery/dummy/templates/rails/application.js +3 -0
- data/lib/generators/refinery/dummy/templates/rails/application.rb.erb +0 -2
- data/lib/generators/refinery/dummy/templates/rails/blank.png +0 -0
- data/lib/generators/refinery/dummy/templates/rails/routes.rb +1 -1
- data/lib/generators/refinery/engine/engine_generator.rb +3 -2
- data/lib/generators/refinery/engine/templates/Gemfile +9 -4
- data/lib/generators/refinery/engine/templates/Rakefile +3 -4
- data/lib/generators/refinery/engine/templates/app/controllers/refinery/namespace/admin/plural_name_controller.rb.erb +11 -2
- data/lib/generators/refinery/engine/templates/app/controllers/refinery/namespace/plural_name_controller.rb.erb +2 -2
- data/lib/generators/refinery/engine/templates/app/models/refinery/namespace/singular_name.rb.erb +5 -5
- data/lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/_actions.html.erb +7 -12
- data/lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/_form.html.erb +8 -8
- data/lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/_records.html.erb +3 -3
- data/lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/_singular_name.html.erb +6 -11
- data/lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/index.html.erb +1 -1
- data/lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/show.html.erb +4 -4
- data/lib/generators/refinery/engine/templates/db/migrate/1_create_namespace_plural_name.rb.erb +2 -9
- data/lib/generators/refinery/engine/templates/db/seeds.rb.erb +13 -19
- data/lib/generators/refinery/engine/templates/lib/refinery/plural_name/engine.rb.erb +0 -4
- data/lib/generators/refinery/engine/templates/readme.md +3 -3
- data/lib/generators/refinery/engine/templates/refinerycms-extension_plural_name.gemspec +1 -0
- data/lib/generators/refinery/engine/templates/spec/features/refinery/namespace/admin/plural_name_spec.rb.erb +25 -28
- data/lib/generators/refinery/engine/templates/spec/models/refinery/namespace/singular_name_spec.rb.erb +1 -1
- data/lib/generators/refinery/engine/templates/spec/spec_helper.rb +1 -1
- data/lib/refinery.rb +7 -9
- data/lib/refinery/admin/base_controller.rb +42 -32
- data/lib/refinery/application_controller.rb +25 -17
- data/lib/refinery/cli.rb +54 -19
- data/lib/refinery/core.rb +5 -0
- data/lib/refinery/core/authorisation_adapter.rb +11 -0
- data/lib/refinery/core/authorisation_manager.rb +14 -0
- data/lib/refinery/core/configuration.rb +25 -4
- data/lib/refinery/core/default_route.rb +16 -0
- data/lib/refinery/core/engine.rb +44 -25
- data/lib/refinery/core/nil_user.rb +42 -0
- data/lib/refinery/crud.rb +40 -29
- data/lib/refinery/extension_generation.rb +11 -22
- data/lib/refinery/generators/generated_attribute.rb +54 -0
- data/lib/refinery/generators/named_base.rb +16 -0
- data/lib/refinery/menu.rb +3 -2
- data/lib/refinery/menu_item.rb +1 -1
- data/lib/refinery/plugin.rb +27 -43
- data/lib/refinery/plugins.rb +22 -26
- data/lib/refinery/users_manager.rb +8 -0
- data/lib/refinery/version.rb +7 -3
- data/lib/tasks/refinery.rake +7 -0
- data/license.md +1 -1
- data/refinerycms-core.gemspec +11 -8
- data/spec/controllers/refinery/admin/dummy_controller_spec.rb +23 -11
- data/spec/controllers/refinery/sitemap_controller_spec.rb +2 -2
- data/spec/features/refinery/admin/custom_assets_spec.rb +12 -10
- data/spec/features/refinery/admin/dialogs_spec.rb +5 -5
- data/spec/features/refinery/admin/xhr_paging_spec.rb +24 -38
- data/spec/features/refinery/application_layout_spec.rb +3 -3
- data/spec/features/refinery/core_spec.rb +1 -1
- data/spec/features/refinery/site_bar_spec.rb +44 -23
- data/spec/helpers/refinery/admin_helper_spec.rb +15 -0
- data/spec/helpers/refinery/custom_assets_helper_spec.rb +15 -23
- data/spec/helpers/refinery/html_truncation_helper_spec.rb +10 -5
- data/spec/helpers/refinery/meta_helper_spec.rb +3 -3
- data/spec/helpers/refinery/pagination_helper_spec.rb +7 -7
- data/spec/helpers/refinery/tag_helper_spec.rb +4 -4
- data/spec/helpers/refinery/translation_helper_spec.rb +3 -3
- data/spec/lib/generators/refinery/cms/cms_generator_spec.rb +30 -25
- data/spec/lib/generators/refinery/core/core_generator_spec.rb +1 -1
- data/spec/lib/generators/refinery/engine/engine_generator_multiple_resources_spec.rb +7 -8
- data/spec/lib/generators/refinery/engine/engine_generator_sanity_check_spec.rb +15 -15
- data/spec/lib/generators/refinery/engine/engine_generator_spec.rb +9 -9
- data/spec/lib/generators/refinery/engine/engine_generator_with_i18n_spec.rb +1 -1
- data/spec/lib/generators/refinery/engine/engine_generator_without_frontend_spec.rb +1 -1
- data/spec/lib/refinery/application_controller_spec.rb +16 -16
- data/spec/lib/refinery/authorisation_manager_spec.rb +10 -0
- data/spec/lib/refinery/cli_spec.rb +83 -21
- data/spec/lib/refinery/core/configuration_spec.rb +5 -5
- data/spec/lib/refinery/core/nil_user_spec.rb +39 -0
- data/spec/lib/refinery/core_spec.rb +39 -30
- data/spec/lib/refinery/crud_spec.rb +70 -59
- data/spec/lib/refinery/menu_spec.rb +4 -4
- data/spec/lib/refinery/plugin_spec.rb +56 -45
- data/spec/lib/refinery/plugins_spec.rb +39 -87
- data/spec/lib/refinery/users_manager_spec.rb +9 -0
- data/spec/support/refinery.rb +3 -8
- data/vendor/assets/fonts/font-awesome/FontAwesome.otf +0 -0
- data/vendor/assets/fonts/font-awesome/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/font-awesome/fontawesome-webfont.svg +565 -0
- data/vendor/assets/fonts/font-awesome/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/font-awesome/fontawesome-webfont.woff +0 -0
- data/vendor/assets/fonts/font-awesome/fontawesome-webfont.woff2 +0 -0
- data/vendor/assets/stylesheets/_font-awesome-compass.scss +5 -0
- data/vendor/assets/stylesheets/_font-awesome-sprockets.scss +5 -0
- data/vendor/assets/stylesheets/_font-awesome.scss +17 -0
- data/vendor/assets/stylesheets/font-awesome/_animated.scss +34 -0
- data/vendor/assets/stylesheets/font-awesome/_bordered-pulled.scss +16 -0
- data/vendor/assets/stylesheets/font-awesome/_core.scss +12 -0
- data/vendor/assets/stylesheets/font-awesome/_extras.scss +44 -0
- data/vendor/assets/stylesheets/font-awesome/_fixed-width.scss +6 -0
- data/vendor/assets/stylesheets/font-awesome/_icons.scss +596 -0
- data/vendor/assets/stylesheets/font-awesome/_larger.scss +13 -0
- data/vendor/assets/stylesheets/font-awesome/_list.scss +19 -0
- data/vendor/assets/stylesheets/font-awesome/_mixins.scss +26 -0
- data/vendor/assets/stylesheets/font-awesome/_path.scss +14 -0
- data/vendor/assets/stylesheets/font-awesome/_rotated-flipped.scss +20 -0
- data/vendor/assets/stylesheets/font-awesome/_stacked.scss +20 -0
- data/vendor/assets/stylesheets/font-awesome/_variables.scss +606 -0
- metadata +144 -441
- data/app/assets/images/refinery/carousel-left.png +0 -0
- data/app/assets/images/refinery/carousel-right.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/arrow_redo.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/arrow_undo.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/eye.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/article.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/aside.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/blockquote.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/command.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/details.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/figcaption.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/figure.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/footer.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/h1.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/h2.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/h3.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/h4.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/h5.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/h6.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/header.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/hgroup.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/mark.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/meter.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/nav.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/p.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/pre.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/progress.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/readme.md +0 -1
- data/app/assets/images/wymeditor/skins/refinery/html5/rp.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/rt.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/ruby.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/section.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/summary.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/time.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/iframe/lbl-blockquote.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/iframe/lbl-h1.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/iframe/lbl-h2.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/iframe/lbl-h3.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/iframe/lbl-h4.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/iframe/lbl-h5.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/iframe/lbl-h6.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/iframe/lbl-p.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/iframe/lbl-pre.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/link_add.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/link_break.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/page_code.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/page_paste.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/photo_add.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/right.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/style.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/table_add.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_align_center.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_align_justify.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_align_left.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_align_right.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_bold.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_heading_1.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_heading_2.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_heading_3.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_heading_4.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_heading_5.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_heading_6.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_indent.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_indent_remove.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_italic.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_list_bullets.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_list_numbers.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_paragraph.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_strikethrough.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_subscript.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_superscript.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_underline.png +0 -0
- data/app/assets/images/wymeditor/skins/wymeditor_icon.png +0 -0
- data/app/assets/javascripts/refinery/boot_wym.js.erb +0 -285
- data/app/assets/javascripts/refinery/sortable_menu.js.coffee.erb +0 -20
- data/app/assets/javascripts/refinery/wymeditor.js +0 -37
- data/app/assets/javascripts/wymeditor/GPL-license.txt +0 -278
- data/app/assets/javascripts/wymeditor/MIT-license.txt +0 -20
- data/app/assets/javascripts/wymeditor/README +0 -35
- data/app/assets/javascripts/wymeditor/browsers/ie.js.erb +0 -224
- data/app/assets/javascripts/wymeditor/browsers/mozilla.js.erb +0 -292
- data/app/assets/javascripts/wymeditor/browsers/opera.js.erb +0 -123
- data/app/assets/javascripts/wymeditor/browsers/webkit.js.erb +0 -283
- data/app/assets/javascripts/wymeditor/classes.js.erb +0 -1575
- data/app/assets/javascripts/wymeditor/functions.js.erb +0 -222
- data/app/assets/javascripts/wymeditor/lang/bg.js +0 -57
- data/app/assets/javascripts/wymeditor/lang/ca.js +0 -45
- data/app/assets/javascripts/wymeditor/lang/cs.js +0 -58
- data/app/assets/javascripts/wymeditor/lang/da.js +0 -48
- data/app/assets/javascripts/wymeditor/lang/de.js +0 -45
- data/app/assets/javascripts/wymeditor/lang/en.js +0 -57
- data/app/assets/javascripts/wymeditor/lang/es.js +0 -58
- data/app/assets/javascripts/wymeditor/lang/fa.js +0 -46
- data/app/assets/javascripts/wymeditor/lang/fi.js +0 -57
- data/app/assets/javascripts/wymeditor/lang/fr.js +0 -58
- data/app/assets/javascripts/wymeditor/lang/he.js +0 -45
- data/app/assets/javascripts/wymeditor/lang/hu.js +0 -45
- data/app/assets/javascripts/wymeditor/lang/it.js +0 -48
- data/app/assets/javascripts/wymeditor/lang/ja.js +0 -47
- data/app/assets/javascripts/wymeditor/lang/lv.js +0 -47
- data/app/assets/javascripts/wymeditor/lang/nb.js +0 -48
- data/app/assets/javascripts/wymeditor/lang/nl.js +0 -57
- data/app/assets/javascripts/wymeditor/lang/nn.js +0 -45
- data/app/assets/javascripts/wymeditor/lang/pl.js +0 -56
- data/app/assets/javascripts/wymeditor/lang/pt-BR.js +0 -58
- data/app/assets/javascripts/wymeditor/lang/pt.js +0 -45
- data/app/assets/javascripts/wymeditor/lang/rs.js +0 -47
- data/app/assets/javascripts/wymeditor/lang/ru.js +0 -57
- data/app/assets/javascripts/wymeditor/lang/sk.js +0 -56
- data/app/assets/javascripts/wymeditor/lang/sl.js +0 -47
- data/app/assets/javascripts/wymeditor/lang/sv.js +0 -45
- data/app/assets/javascripts/wymeditor/lang/tr.js +0 -45
- data/app/assets/javascripts/wymeditor/lang/vi.js +0 -47
- data/app/assets/javascripts/wymeditor/lang/zh-CN.js +0 -47
- data/app/assets/javascripts/wymeditor/prototypes.js.erb +0 -1103
- data/app/assets/javascripts/wymeditor/setup.js.erb +0 -622
- data/app/assets/javascripts/wymeditor/skins/refinery/skin.js +0 -45
- data/app/assets/javascripts/wymeditor/validators.js.erb +0 -777
- data/app/assets/stylesheets/refinery/refinery.css +0 -15
- data/app/assets/stylesheets/refinery/site_bar.css.scss +0 -92
- data/app/assets/stylesheets/refinery/ui.css.scss +0 -103
- data/app/assets/stylesheets/wymeditor/skins/refinery/skin.css.scss +0 -530
- data/app/assets/stylesheets/wymeditor/skins/refinery/wymiframe.css.scss +0 -156
- data/app/helpers/refinery/admin/core_helper.rb +0 -6
- data/app/helpers/refinery/admin/dialogs_helper.rb +0 -6
- data/app/helpers/refinery/fast_helper.rb +0 -4
- data/app/helpers/refinery/sitemap_helper.rb +0 -4
- data/app/views/refinery/wymiframe.html.erb +0 -14
- data/lib/generators/refinery/form/USAGE +0 -20
- data/lib/generators/refinery/form/form_generator.rb +0 -25
- data/lib/generators/refinery/form/templates/.gitignore +0 -2
- data/lib/generators/refinery/form/templates/app/controllers/refinery/namespace/admin/plural_name_controller.rb.erb +0 -54
- data/lib/generators/refinery/form/templates/app/controllers/refinery/namespace/admin/settings_controller.rb.erb +0 -45
- data/lib/generators/refinery/form/templates/app/controllers/refinery/namespace/plural_name_controller.rb.erb +0 -53
- data/lib/generators/refinery/form/templates/app/mailers/refinery/namespace/mailer.rb.erb +0 -22
- data/lib/generators/refinery/form/templates/app/models/refinery/namespace/setting.rb.erb +0 -34
- data/lib/generators/refinery/form/templates/app/models/refinery/namespace/singular_name.rb.erb +0 -49
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_records.html.erb +0 -23
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_singular_name.html.erb +0 -25
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_submenu.html.erb +0 -29
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/index.html.erb +0 -4
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/show.html.erb +0 -52
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/spam.html.erb +0 -27
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/settings/_confirmation_email_form.html.erb +0 -51
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/settings/_notification_recipients_form.html.erb +0 -21
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/settings/edit.html.erb +0 -5
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/mailer/confirmation.html.erb +0 -1
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/mailer/notification.html.erb +0 -17
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/plural_name/new.html.erb +0 -43
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/plural_name/thank_you.html.erb +0 -1
- data/lib/generators/refinery/form/templates/config/locales/cs.yml +0 -78
- data/lib/generators/refinery/form/templates/config/locales/da.yml +0 -66
- data/lib/generators/refinery/form/templates/config/locales/de.yml +0 -78
- data/lib/generators/refinery/form/templates/config/locales/en.yml +0 -78
- data/lib/generators/refinery/form/templates/config/locales/es.yml +0 -66
- data/lib/generators/refinery/form/templates/config/locales/fr.yml +0 -78
- data/lib/generators/refinery/form/templates/config/locales/it.yml +0 -66
- data/lib/generators/refinery/form/templates/config/locales/lv.yml +0 -77
- data/lib/generators/refinery/form/templates/config/locales/nb.yml +0 -75
- data/lib/generators/refinery/form/templates/config/locales/nl.yml +0 -78
- data/lib/generators/refinery/form/templates/config/locales/pt-BR.yml +0 -78
- data/lib/generators/refinery/form/templates/config/locales/ru.yml +0 -77
- data/lib/generators/refinery/form/templates/config/locales/sk.yml +0 -78
- data/lib/generators/refinery/form/templates/config/locales/sl.yml +0 -67
- data/lib/generators/refinery/form/templates/config/locales/tr.yml +0 -78
- data/lib/generators/refinery/form/templates/config/locales/zh-CN.yml +0 -78
- data/lib/generators/refinery/form/templates/config/routes.rb.erb +0 -26
- data/lib/generators/refinery/form/templates/db/migrate/1_create_plural_name.rb.erb +0 -39
- data/lib/generators/refinery/form/templates/db/seeds.rb.erb +0 -31
- data/lib/generators/refinery/form/templates/lib/generators/refinery/plural_name_generator.rb.erb +0 -20
- data/lib/generators/refinery/form/templates/lib/refinery/plural_name.rb.erb +0 -18
- data/lib/generators/refinery/form/templates/lib/refinery/plural_name/engine.rb.erb +0 -27
- data/lib/generators/refinery/form/templates/lib/refinerycms-plural_name.rb.erb +0 -1
- data/lib/generators/refinery/form/templates/refinerycms-plural_name.gemspec +0 -16
- data/lib/generators/refinery/form/templates/script/rails +0 -10
- data/lib/refinery/activity.rb +0 -113
- data/lib/refinery/ext/action_view/helpers/form_builder.rb +0 -9
- data/lib/refinery/ext/action_view/helpers/form_helper.rb +0 -20
- data/lib/refinery/ext/action_view/helpers/form_tag_helper.rb +0 -10
- data/spec/controllers/refinery/admin/refinery_core_controller_spec.rb +0 -19
- data/spec/controllers/refinery/fast_controller_spec.rb +0 -12
- data/spec/lib/generators/refinery/form/form_generator_spec.rb +0 -99
- data/spec/lib/refinery/activity_spec.rb +0 -46
- data/spec/support/background_selenium_firefox_driver.rb +0 -14
- data/vendor/assets/javascripts/jquery/jquery.jcarousel.js +0 -900
@@ -5,6 +5,9 @@
|
|
5
5
|
<title><%= Refinery::Core.site_name -%> - Refinery</title>
|
6
6
|
<%= csrf_meta_tags %>
|
7
7
|
<%= stylesheet_link_tag 'refinery/refinery' %>
|
8
|
+
<% visual_editor_stylesheets.each do |css| %>
|
9
|
+
<%= stylesheet_link_tag css.path, css.options %>
|
10
|
+
<% end %>
|
8
11
|
<% custom_stylesheets.each do |css| %>
|
9
12
|
<%= stylesheet_link_tag css.path, css.options %>
|
10
13
|
<% end %>
|
@@ -14,12 +14,11 @@
|
|
14
14
|
|
15
15
|
<div class='current_image_container' style="margin-top: 10px<%= ";display: none" if toggle_image_display %>">
|
16
16
|
<a class='current_image_link dialog' href="<%= current_image_link_href %>" style='border: 0px' title='<%= current_image_title %>' name='<%= current_image_title %>'>
|
17
|
-
<%
|
18
|
-
<%= image_fu image, Refinery::Images.user_image_sizes[thumbnail.to_sym],
|
19
|
-
:class => "brown_border",
|
20
|
-
:class => "current_picked_image" %>
|
21
|
-
<% else -%>
|
17
|
+
<% if image.nil? -%>
|
22
18
|
<img class="current_picked_image" src="" alt="" style='display: none' />
|
19
|
+
<% else -%>
|
20
|
+
<%= image_fu image, Refinery::Images.user_image_sizes[thumbnail.to_sym],
|
21
|
+
:class => "brown_border current_picked_image" %>
|
23
22
|
<% end -%>
|
24
23
|
<span class='no_picked_image_selected nothing_selected'<%= " style='display: none;'".html_safe if image.present? %>>
|
25
24
|
<%= t('.none_selected') %>
|
@@ -4,17 +4,12 @@
|
|
4
4
|
</script>
|
5
5
|
<%= javascript_include_tag 'admin' -%>
|
6
6
|
<%= javascript_include_tag 'refinery/refinery' -%>
|
7
|
-
<%= javascript_include_tag 'refinery/
|
7
|
+
<%= javascript_include_tag 'refinery/application' -%>
|
8
|
+
<% visual_editor_javascripts.each do |js| %>
|
9
|
+
<%= javascript_include_tag js %>
|
10
|
+
<% end %>
|
8
11
|
<%= yield :after_javascript_libraries -%>
|
9
12
|
<% custom_javascripts.each do |js| %>
|
10
13
|
<%= javascript_include_tag js %>
|
11
14
|
<% end %>
|
12
15
|
<%= yield :javascripts %>
|
13
|
-
|
14
|
-
<% if controller.class.respond_to?(:xhr_pageable?) && !controller.class.xhr_pageable? %>
|
15
|
-
<script>
|
16
|
-
$(document).ready(function() {
|
17
|
-
$('.pagination_container .pagination a').off('click');
|
18
|
-
});
|
19
|
-
</script>
|
20
|
-
<% end %>
|
@@ -1,10 +1,17 @@
|
|
1
1
|
<input type="hidden" name="switch_locale" id="switch_locale" value="<%= local_assigns[:current_locale] %>" />
|
2
2
|
<% if Refinery::I18n.frontend_locales.many? %>
|
3
|
+
<label><%= t('.language') %></label>
|
3
4
|
<ul id="switch_locale_picker" class="clearfix">
|
5
|
+
<% locales = Refinery::I18n.locales.clone %>
|
4
6
|
<% Refinery::I18n.frontend_locales.each do |locale| %>
|
7
|
+
<% locale_name = locales.delete(locale) %>
|
5
8
|
<li<%= %Q{ class=selected} if locale.to_s == local_assigns[:current_locale].to_s %>>
|
6
|
-
<%= link_to
|
7
|
-
|
9
|
+
<%= link_to refinery.url_for(:switch_locale => locale, :parent_id => params[:parent_id]), id: locale do %>
|
10
|
+
<div class="<%=locale %> locale_marker">
|
11
|
+
<%= locale_text_icon(locale.upcase) %>
|
12
|
+
</div>
|
13
|
+
<%= locale_name %>
|
14
|
+
<% end %>
|
8
15
|
</li>
|
9
16
|
<% end %>
|
10
17
|
</ul>
|
@@ -8,12 +8,14 @@
|
|
8
8
|
<% content_for :javascripts do %>
|
9
9
|
<script>
|
10
10
|
$(document).ready(function(){
|
11
|
-
create_sortable_list(
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
11
|
+
create_sortable_list(
|
12
|
+
<%= raw({
|
13
|
+
update_url: refinery.url_for(action: "update_positions", only_path: true),
|
14
|
+
sortable_list: '#sortable_list, .sortable_list',
|
15
|
+
tree: false,
|
16
|
+
replaceContentsAfterUpdate: false
|
17
|
+
}.merge(options ||= {}).to_json) %>
|
18
|
+
);
|
17
19
|
});
|
18
20
|
</script>
|
19
21
|
<% end %>
|
@@ -1,17 +1,4 @@
|
|
1
1
|
<nav id="menu">
|
2
|
-
|
3
|
-
|
4
|
-
:class => ("active" if plugin.highlighted?(params)),
|
5
|
-
:id => "plugin_#{plugin.name}" %>
|
6
|
-
<% end -%>
|
7
|
-
<% if ::Refinery::Plugins.active.in_menu.many? -%>
|
8
|
-
<%= link_to refinery_icon_tag('arrow_switch.png'), "",
|
9
|
-
:id => "menu_reorder",
|
10
|
-
:title => t('.reorder_menu') %>
|
11
|
-
|
12
|
-
<%= link_to refinery_icon_tag('tick.png'), "",
|
13
|
-
:id => "menu_reorder_done",
|
14
|
-
:title => t('.reorder_menu_done'),
|
15
|
-
:style => "display: none;" %>
|
16
|
-
<% end %>
|
2
|
+
<%= render partial: "refinery/admin/menu_item",
|
3
|
+
collection: current_refinery_user.active_plugins.in_menu -%>
|
17
4
|
</nav>
|
@@ -1,7 +1,4 @@
|
|
1
1
|
<%
|
2
|
-
insert_text = %Q{<span id="no_resource_selected_#{field}" class="nothing_selected" #{'style="display: none;"'.html_safe if resource}>
|
3
|
-
#{t('.no_resource_selected')}
|
4
|
-
</span>}.html_safe
|
5
2
|
insert_link = refinery.insert_admin_resources_path({
|
6
3
|
:dialog => true,
|
7
4
|
:update_resource => "current_resource_#{field}",
|
@@ -12,28 +9,21 @@
|
|
12
9
|
:height => 480,
|
13
10
|
:conditions => local_assigns[:conditions]
|
14
11
|
})
|
15
|
-
|
12
|
+
%>
|
16
13
|
<%= f.hidden_field field %>
|
14
|
+
|
17
15
|
<div>
|
18
|
-
<%=
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
),
|
29
|
-
"#{resource.url if resource}",
|
30
|
-
:id => "current_resource_#{field}",
|
31
|
-
:target => '_blank' %>
|
16
|
+
<%= action_icon :add, insert_link, t('.name'), id: "current_resource_link_#{field}" unless resource %>
|
17
|
+
|
18
|
+
<div id="current_resource_container_<%= field %>" style="margin-top: 10px;<%= ' display: none;' unless resource %>">
|
19
|
+
<span class="current_resource" id="<%="current_resource_text_#{field}"%>">
|
20
|
+
<%= "#{resource.title} (#{resource.file_name})" if resource %>
|
21
|
+
</span>
|
22
|
+
<div id='resource_actions'>
|
23
|
+
<%= action_icon :download, "#{resource.url if resource}", t('.download_current'), id: "current_resource_#{field}" %>
|
24
|
+
<%= action_icon :remove, '#', t('.remove_current'), :id => "remove_resource_#{field}"%>
|
25
|
+
</div>
|
32
26
|
</div>
|
33
|
-
<br/>
|
34
|
-
<%= link_to t('.remove_current'), '',
|
35
|
-
:id => "remove_resource_#{field}",
|
36
|
-
:style => "#{'display:none;' unless resource}" %>
|
37
27
|
</div>
|
38
28
|
|
39
29
|
<% content_for :javascripts do %>
|
@@ -1 +1 @@
|
|
1
|
-
<%= render 'refinery/acts_as_indexed/admin/search', local_assigns if defined?(Refinery::ActsAsIndexed::Engine)
|
1
|
+
<%= render 'refinery/acts_as_indexed/admin/search', local_assigns if defined?(Refinery::ActsAsIndexed::Engine) -%>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<% end %>
|
9
9
|
<% pages_tabs = ::Refinery::Pages.tabs
|
10
10
|
tabs_to_show = (refinery_pages_tabs ||= []).map!(&:to_s)
|
11
|
-
pages_tabs.reject!{|t| refinery_pages_tabs.exclude?(t.name.to_s) } unless tabs_to_show.include?('all')
|
11
|
+
pages_tabs.reject!{ |t| refinery_pages_tabs.exclude?(t.name.to_s) } unless tabs_to_show.include?('all')
|
12
12
|
pages_tabs.each_with_index do |tab, tab_index| %>
|
13
13
|
<li class='ui-state-default' id="custom_<%= tab.name %>_tab">
|
14
14
|
<%= link_to tab.name.titleize, "#custom_tab_#{tab_index}" %>
|
@@ -19,7 +19,7 @@
|
|
19
19
|
<div id='page_part_editors'>
|
20
20
|
<% tabbed_fields.each do |field| %>
|
21
21
|
<div class='page_part' id="<%= field %>">
|
22
|
-
<%= f.text_area field, :rows => 20, :class => '
|
22
|
+
<%= f.text_area field, :rows => 20, :class => 'visual_editor widest' -%>
|
23
23
|
</div>
|
24
24
|
<% end %>
|
25
25
|
<% pages_tabs.each_with_index do |tab, tab_index| %>
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<div id='page_part_editors'>
|
10
10
|
<% fields.each do |part| %>
|
11
11
|
<div class='page_part' id='<%= part %>'>
|
12
|
-
<%= f.text_area part, :rows => 20, :class => '
|
12
|
+
<%= f.text_area part, :rows => 20, :class => 'visual_editor widest' -%>
|
13
13
|
</div>
|
14
14
|
<% end %>
|
15
15
|
</div>
|
File without changes
|
@@ -1,19 +1 @@
|
|
1
|
-
|
2
|
-
<input type='hidden' id='wym_dialog_type' class='wym_dialog_type' value='<%= @dialog_type %>' />
|
3
|
-
<iframe src='<%= @iframe_src %>' id='dialog_frame' frameborder='0' marginheight='0' marginwidth='0' border='0'></iframe>
|
4
|
-
<div class='wym_hideables'>
|
5
|
-
<% if @dialog_type == "image" %>
|
6
|
-
<input type='hidden' id='wym_src' class='wym_src' value='' />
|
7
|
-
<input type='hidden' id='wym_alt' class='wym_alt' value='' />
|
8
|
-
<input type='hidden' id='wym_title' class='wym_title' value='' />
|
9
|
-
<input type='hidden' id='wym_size' class='wym_size' value='' />
|
10
|
-
<% elsif @dialog_type == "link" %>
|
11
|
-
<input type='hidden' id='wym_href' class='wym_href' value='' />
|
12
|
-
<input type='hidden' id='wym_title' class='wym_title' value='' />
|
13
|
-
<input type='hidden' id='wym_target' class='wym_target' value='' />
|
14
|
-
<% end %>
|
15
|
-
|
16
|
-
<input id='wym_dialog_submit' class='wym_submit submit_dialog button' type='button' value='<%= t('.save') %>' />
|
17
|
-
<a id='wym_dialog_cancel' href='' class='wym_cancel close_dialog button'><%= t('.cancel') %></a>
|
18
|
-
</div>
|
19
|
-
</form>
|
1
|
+
Your visual editor should override this file.
|
@@ -0,0 +1,84 @@
|
|
1
|
+
ca:
|
2
|
+
refinery:
|
3
|
+
js:
|
4
|
+
admin:
|
5
|
+
confirm_changes: "Qualsevol canvi que s'hagi fet es perdrà. Segur que vols continuar sense desar?"
|
6
|
+
plugins:
|
7
|
+
refinery_core:
|
8
|
+
title: Refinery
|
9
|
+
description: Core plugin de Refinery
|
10
|
+
refinery_dialogs:
|
11
|
+
title: Diàlegs
|
12
|
+
description: Diàlegs del Core plugin de Refinery
|
13
|
+
welcome:
|
14
|
+
there_are_no_users: "No hi ha usuaris registrats, així que hem de registrar al primer."
|
15
|
+
crudify:
|
16
|
+
created: "%{what} s'ha creat correctament."
|
17
|
+
updated: "%{what} s'ha actualitzat correctament."
|
18
|
+
destroyed: "%{what} s'ha esborrat correctament."
|
19
|
+
site_bar:
|
20
|
+
log_out: Sortir
|
21
|
+
switch_to_your_website: Veure el teu web
|
22
|
+
switch_to_your_website_editor: Editar el teu web
|
23
|
+
admin:
|
24
|
+
menu:
|
25
|
+
reorder_menu: Reordenar menú
|
26
|
+
reorder_menu_done: He acabat de reordenar el menú
|
27
|
+
dialogs:
|
28
|
+
show:
|
29
|
+
save: Guardar
|
30
|
+
cancel: Cancel·lar
|
31
|
+
continue_editing:
|
32
|
+
save_and_continue_editing: Guardar i seguir editant
|
33
|
+
form_actions:
|
34
|
+
save: Guardar
|
35
|
+
cancel: Cancelar
|
36
|
+
cancel_lose_changes: En cancel·lar es perdran els canvis que has realitzat aquí
|
37
|
+
delete: Esborrar
|
38
|
+
close: Tancar
|
39
|
+
image_picker:
|
40
|
+
none_selected: "No hi ha cap imatge seleccionada, fes clic aquí per afegir una."
|
41
|
+
remove_current: Eliminar imatge actual
|
42
|
+
change: Fes clic aquí per escollir una imatge
|
43
|
+
show: Mostrar
|
44
|
+
resource_picker:
|
45
|
+
download_current: Descarregar arxiu actual
|
46
|
+
opens_in_new_window: Obre en una finestra nova
|
47
|
+
remove_current: "Eliminar arxiu actual"
|
48
|
+
no_resource_selected: "No hi ha cap arxiu seleccionat, fes clic aqui per agregar un."
|
49
|
+
name: Agregar arxiu
|
50
|
+
current: Arxiu actual
|
51
|
+
search:
|
52
|
+
button_text: Buscar
|
53
|
+
results_for_html: "Resultats de la recerca ‘<em>%{query}</em>’"
|
54
|
+
no_results: "No s'han trobat resultats"
|
55
|
+
cancel_search: 'Cancelar recerca'
|
56
|
+
input:
|
57
|
+
placeholder: "Buscar…"
|
58
|
+
help: "Posa aquí una cadena d'almenys 3 caràcters que conté el que estas buscant."
|
59
|
+
delete:
|
60
|
+
message: "Segur que vols suprimir '%{title}'?"
|
61
|
+
error_messages:
|
62
|
+
problems_in_following_fields: Va haver-hi problemes amb els següents camps
|
63
|
+
help: ajuda
|
64
|
+
form_advanced_options_menu:
|
65
|
+
advanced_options: Opcions avançades
|
66
|
+
toggle_advanced_options: Prem per accedir a les opcions de meta tags i menú
|
67
|
+
save_as_draft: Guardar com a esborrador
|
68
|
+
message:
|
69
|
+
close: Tancar
|
70
|
+
close_this_message: Tancar aquest missatge
|
71
|
+
draft_page_message:
|
72
|
+
not_live: Aquesta pàgina NO està visible per al públic.
|
73
|
+
footer:
|
74
|
+
copyright: "Copyright © %{year} %{site_name}"
|
75
|
+
no_script:
|
76
|
+
enable_javascript_html: "Per obtenir una funcionalitat completa d'aquesta pàgina és necessari activar Javascript."
|
77
|
+
here_are: Aquí estan les
|
78
|
+
instructions_enable_javascript_html: instruccions de com habilitar Javascript al teu navegador web
|
79
|
+
time:
|
80
|
+
formats:
|
81
|
+
short: "%A, %d %B %Y"
|
82
|
+
will_paginate:
|
83
|
+
previous_label: "«"
|
84
|
+
next_label: "»"
|
data/config/locales/cs.yml
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
cs:
|
2
2
|
refinery:
|
3
|
+
js:
|
4
|
+
admin:
|
5
|
+
confirm_changes: Změny které jste udělal budou ztraceny. Jste si jist pokračováním bez uložení?
|
3
6
|
plugins:
|
4
7
|
refinery_core:
|
5
8
|
title: Refinery
|
@@ -16,7 +19,7 @@ cs:
|
|
16
19
|
site_bar:
|
17
20
|
log_out: Odhlásit
|
18
21
|
switch_to_your_website: Přepnout na web
|
19
|
-
switch_to_your_website_editor: Přepnout do
|
22
|
+
switch_to_your_website_editor: Přepnout do administrace
|
20
23
|
admin:
|
21
24
|
menu:
|
22
25
|
reorder_menu: Přeuspořádat menu
|
@@ -32,14 +35,14 @@ cs:
|
|
32
35
|
cancel: Storno
|
33
36
|
cancel_lose_changes: Pokud akci stornujete všechny provedené změny budou ztraceny
|
34
37
|
delete: Smazat
|
35
|
-
previous: Předchozí
|
36
|
-
next: Další
|
37
38
|
close: Zavřít
|
38
39
|
image_picker:
|
39
40
|
none_selected: Zatím není vybrán žádný obrázek, klikněte zde pro přidání.
|
40
41
|
remove_current: Smazat vybraný obrázek
|
41
42
|
change: Klikněte zde pro vybrání obrázku
|
42
43
|
show: Zobrazit
|
44
|
+
locale_picker:
|
45
|
+
language: Jazyk
|
43
46
|
resource_picker:
|
44
47
|
download_current: Stáhnout vybraný soubor
|
45
48
|
opens_in_new_window: Otevřít v novém okně
|
@@ -51,13 +54,17 @@ cs:
|
|
51
54
|
button_text: Hledat
|
52
55
|
results_for_html: "Výsledky hledání pro ‘<em>%{query}</em>’"
|
53
56
|
no_results: Žádné záznamy nenalezeny
|
57
|
+
cancel_search: 'Zrušit vyhledávání'
|
58
|
+
input:
|
59
|
+
placeholder: "Hledat&8230;"
|
60
|
+
help: "Vložte nejméně 3 znaky ze slova, které vyhledáváte."
|
54
61
|
delete:
|
55
|
-
message: Opravdu chcete smazat '%{title}'?
|
62
|
+
message: "Opravdu chcete smazat '%{title}'?"
|
56
63
|
error_messages:
|
57
64
|
problems_in_following_fields: Vyskytl se problém s těmito údaji
|
58
65
|
help: nápověda
|
59
66
|
form_advanced_options_menu:
|
60
|
-
advanced_options: Zpřístupní rozšířené nastavení
|
67
|
+
advanced_options: Zpřístupní rozšířené nastavení jako například nastavení menu a meta tagů
|
61
68
|
toggle_advanced_options: Rozšířené nastavení
|
62
69
|
save_as_draft: Uložit jako pracovní verzi
|
63
70
|
message:
|
data/config/locales/en.yml
CHANGED
@@ -23,7 +23,7 @@ en:
|
|
23
23
|
admin:
|
24
24
|
menu:
|
25
25
|
reorder_menu: Reorder menu
|
26
|
-
reorder_menu_done:
|
26
|
+
reorder_menu_done: Finished reordering the menu
|
27
27
|
dialogs:
|
28
28
|
show:
|
29
29
|
save: Save
|
@@ -41,6 +41,8 @@ en:
|
|
41
41
|
remove_current: Remove current image
|
42
42
|
change: Click here to pick an image
|
43
43
|
show: Show
|
44
|
+
locale_picker:
|
45
|
+
language: Language
|
44
46
|
resource_picker:
|
45
47
|
download_current: Download current file
|
46
48
|
opens_in_new_window: Opens in a new window
|
@@ -53,7 +55,9 @@ en:
|
|
53
55
|
results_for_html: "Search results for ‘<em>%{query}</em>’"
|
54
56
|
no_results: 'Sorry, no results found'
|
55
57
|
cancel_search: 'Cancel search'
|
56
|
-
|
58
|
+
input:
|
59
|
+
placeholder: "Search …"
|
60
|
+
help: 'Enter a word or phrase you want to search for'
|
57
61
|
delete:
|
58
62
|
message: "Are you sure you want to remove '%{title}'?"
|
59
63
|
error_messages:
|
data/config/locales/fr.yml
CHANGED
@@ -2,7 +2,7 @@ fr:
|
|
2
2
|
refinery:
|
3
3
|
js:
|
4
4
|
admin:
|
5
|
-
confirm_changes: Toute modification sera perdue. Êtes-vous sûr de vouloir de vouloir continuer ?
|
5
|
+
confirm_changes: Toute modification sera perdue. Êtes-vous sûr(e) de vouloir de vouloir continuer ?
|
6
6
|
plugins:
|
7
7
|
refinery_core:
|
8
8
|
title: Refinery
|
@@ -33,35 +33,39 @@ fr:
|
|
33
33
|
form_actions:
|
34
34
|
save: Enregistrer
|
35
35
|
cancel: Annuler
|
36
|
-
cancel_lose_changes: Si vous annulez,
|
36
|
+
cancel_lose_changes: Si vous annulez, tous les changements non sauvegardés seront perdus
|
37
37
|
delete: Supprimer
|
38
38
|
close: Fermer
|
39
39
|
image_picker:
|
40
|
-
none_selected: Il n'y a actuellement
|
41
|
-
remove_current: Supprimer
|
40
|
+
none_selected: Il n'y a actuellement aucune image sélectionnée, veuillez cliquer ici pour en ajouter une.
|
41
|
+
remove_current: Supprimer l'image actuelle
|
42
42
|
change: Cliquer ici pour sélectionner une image
|
43
43
|
show: Afficher
|
44
|
+
locale_picker:
|
45
|
+
language: Langue
|
44
46
|
resource_picker:
|
45
|
-
download_current: Télécharger le
|
47
|
+
download_current: Télécharger le fichier actuel
|
46
48
|
opens_in_new_window: Ouvre une nouvelle fenêtre
|
47
|
-
remove_current: "Supprimer le
|
49
|
+
remove_current: "Supprimer le fichier actuel"
|
48
50
|
no_resource_selected: Il n'y a actuellement aucun fichier de sélectionné. Veuillez cliquer ici pour en ajouter un.
|
49
51
|
name: Ajouter un fichier
|
50
52
|
current: Fichier courrant
|
51
53
|
search:
|
52
|
-
button_text:
|
54
|
+
button_text: Rechercher
|
53
55
|
results_for_html: "Résultats de la recherche ‘<em>%{query}</em>’"
|
54
56
|
no_results: Aucun résultat ne correspond à votre recherche
|
55
57
|
cancel_search: 'Annuler la recherche'
|
56
|
-
|
58
|
+
input:
|
59
|
+
placeholder: "Rechercher&8230;"
|
60
|
+
help: "Entrez ici le texte recherché. La longueur minimale est de 3 caractères."
|
57
61
|
delete:
|
58
|
-
message: "Êtes-vous sûr de vouloir supprimer '%{title}'?"
|
62
|
+
message: "Êtes-vous sûr(e) de vouloir supprimer '%{title}'?"
|
59
63
|
error_messages:
|
60
64
|
problems_in_following_fields: Les champs suivants comportent des problèmes
|
61
65
|
help: aide
|
62
66
|
form_advanced_options_menu:
|
63
67
|
advanced_options: Options avancées
|
64
|
-
toggle_advanced_options:
|
68
|
+
toggle_advanced_options: Cliquez ici pour paramétrer les étiquettes et accéder au menu des options
|
65
69
|
save_as_draft: Enregistrer comme brouillon
|
66
70
|
message:
|
67
71
|
close: Fermer
|
@@ -69,7 +73,7 @@ fr:
|
|
69
73
|
draft_page_message:
|
70
74
|
not_live: Cette page n'est pas visible par le public.
|
71
75
|
footer:
|
72
|
-
copyright:
|
76
|
+
copyright: Tous droits réservés © %{year} %{site_name}
|
73
77
|
no_script:
|
74
78
|
enable_javascript_html: Pour obtenir l'ensemble des fonctionnalités de cette page il est nécessaire d'activer JavaScript.
|
75
79
|
here_are: Ici sont les
|