trestle 0.9.9 → 0.10.0.pre2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +26 -0
- data/.github/workflows/rspec.yml +37 -5
- data/.gitignore +3 -0
- data/Gemfile +14 -1
- data/README.md +2 -1
- data/app/assets/bundle/trestle/admin.css +23 -0
- data/app/assets/bundle/trestle/admin.js +83 -0
- data/app/assets/bundle/trestle/fa-brands-400.ttf +0 -0
- data/app/assets/bundle/trestle/fa-brands-400.woff2 +0 -0
- data/app/assets/bundle/trestle/fa-regular-400.ttf +0 -0
- data/app/assets/bundle/trestle/fa-regular-400.woff2 +0 -0
- data/app/assets/bundle/trestle/fa-solid-900.ttf +0 -0
- data/app/assets/bundle/trestle/fa-solid-900.woff2 +0 -0
- data/app/assets/bundle/trestle/locale/cs.js +110 -0
- data/app/assets/bundle/trestle/locale/de.js +116 -0
- data/app/assets/bundle/trestle/locale/en.js +329 -0
- data/app/assets/bundle/trestle/locale/es-MX.js +109 -0
- data/app/assets/bundle/trestle/locale/es.js +109 -0
- data/app/assets/bundle/trestle/locale/fr.js +111 -0
- data/app/assets/bundle/trestle/locale/ko.js +111 -0
- data/app/assets/bundle/trestle/locale/lv.js +109 -0
- data/app/assets/bundle/trestle/locale/nl.js +96 -0
- data/app/assets/bundle/trestle/locale/pl.js +99 -0
- data/app/assets/bundle/trestle/locale/pt-BR.js +98 -0
- data/app/assets/bundle/trestle/locale/vi.js +116 -0
- data/app/assets/bundle/trestle/locale/zh-CN.js +109 -0
- data/app/assets/bundle/trestle/photoswipe-7aa1aec9c3c1fd65c382.digested.js +6 -0
- data/app/assets/sprockets/trestle/custom.css +1 -0
- data/app/assets/sprockets/trestle/icons/font-awesome.css.erb +32 -0
- data/app/assets/sprockets/trestle/manifest.js +4 -0
- data/app/assets/stylesheets/trestle/custom.css +6 -1
- data/app/controllers/concerns/trestle/controller/helpers.rb +2 -0
- data/app/controllers/concerns/trestle/controller/location.rb +1 -6
- data/app/controllers/concerns/trestle/controller/modal.rb +23 -0
- data/app/controllers/concerns/trestle/controller/turbo_stream.rb +12 -0
- data/app/controllers/concerns/trestle/resource/controller/actions.rb +39 -28
- data/app/controllers/concerns/trestle/resource/controller/redirection.rb +5 -5
- data/app/controllers/trestle/application_controller.rb +2 -1
- data/app/helpers/trestle/flash_helper.rb +10 -0
- data/app/helpers/trestle/form_helper.rb +3 -2
- data/app/helpers/trestle/format_helper.rb +2 -1
- data/app/helpers/trestle/i18n_helper.rb +46 -7
- data/app/helpers/trestle/modal_helper.rb +29 -0
- data/app/helpers/trestle/tab_helper.rb +1 -1
- data/app/helpers/trestle/turbo/frame_helper.rb +29 -0
- data/app/helpers/trestle/turbo/stream_helper.rb +9 -0
- data/app/helpers/trestle/turbo/tag_builder.rb +21 -0
- data/app/helpers/trestle/url_helper.rb +7 -4
- data/app/views/layouts/trestle/admin.html.erb +16 -18
- data/app/views/layouts/trestle/admin.turbo_stream.erb +4 -0
- data/app/views/layouts/trestle/modal.html.erb +5 -0
- data/app/views/trestle/_i18n.html.erb +12 -0
- data/app/views/trestle/_theme.html.erb +15 -0
- data/app/views/trestle/application/_header.html.erb +12 -10
- data/app/views/trestle/application/_layout.html.erb +6 -3
- data/app/views/trestle/application/_modal.html.erb +36 -0
- data/app/views/trestle/application/_tabs.html.erb +4 -4
- data/app/views/trestle/flash/_alert.html.erb +1 -1
- data/app/views/trestle/flash/_debug.html.erb +1 -1
- data/app/views/trestle/resource/_form.html.erb +5 -0
- data/app/views/trestle/resource/create.turbo_stream.erb +1 -0
- data/app/views/trestle/resource/destroy.turbo_stream.erb +1 -0
- data/app/views/trestle/resource/edit.html.erb +6 -2
- data/app/views/trestle/resource/index.html.erb +17 -10
- data/app/views/trestle/resource/new.html.erb +9 -2
- data/app/views/trestle/resource/show.html.erb +6 -2
- data/app/views/trestle/resource/update.turbo_stream.erb +1 -0
- data/app/views/trestle/shared/_sidebar.html.erb +10 -10
- data/frontend/css/components/_alerts.scss +41 -37
- data/frontend/css/components/_avatar.scss +12 -12
- data/frontend/css/components/_background.scss +8 -36
- data/frontend/css/components/_badges.scss +31 -0
- data/frontend/css/components/_breadcrumbs.scss +9 -30
- data/frontend/css/components/_buttons.scss +8 -7
- data/frontend/css/components/_datepicker.scss +15 -11
- data/frontend/css/components/_dropdown.scss +21 -9
- data/frontend/css/components/{_fields.scss → _forms.scss} +18 -5
- data/frontend/css/components/_grid.scss +29 -0
- data/frontend/css/components/_media-grid.scss +52 -44
- data/frontend/css/components/_modal.scss +37 -8
- data/frontend/css/components/_pagination.scss +5 -9
- data/frontend/css/components/_photoswipe.scss +8 -0
- data/frontend/css/components/_popover.scss +2 -1
- data/frontend/css/components/_scopes.scss +5 -11
- data/frontend/css/components/_select.scss +160 -31
- data/frontend/css/components/_sort.scss +1 -1
- data/frontend/css/components/_table.scss +61 -66
- data/frontend/css/components/_tabs.scss +20 -20
- data/frontend/css/components/_tags.scss +80 -15
- data/frontend/css/components/_toolbars.scss +18 -13
- data/frontend/css/components/_turbo.scss +3 -0
- data/frontend/css/core/_bootstrap.scss +46 -0
- data/frontend/css/core/_dependencies.scss +4 -3
- data/frontend/css/core/_functions.scss +31 -0
- data/frontend/css/core/_mixins.scss +2 -36
- data/frontend/css/core/_theme.scss +261 -0
- data/frontend/css/core/_typography.scss +16 -14
- data/frontend/css/icons/_fontawesome.scss +3 -15
- data/frontend/css/index.scss +15 -7
- data/frontend/css/layout/_base.scss +6 -4
- data/frontend/css/layout/_content-header.scss +71 -0
- data/frontend/css/layout/_footer.scss +5 -7
- data/frontend/css/layout/_header.scss +5 -3
- data/frontend/css/layout/_main-content.scss +107 -0
- data/frontend/css/layout/_navigation.scss +112 -50
- data/frontend/css/layout/_sidebar.scss +70 -36
- data/frontend/css/support/_sprockets.scss +2 -0
- data/frontend/css/support/_webpack.scss +2 -0
- data/frontend/css/variables/_bootstrap.scss +158 -55
- data/frontend/css/variables/_maps.scss +15 -0
- data/frontend/css/variables/_trestle.scss +68 -39
- data/frontend/js/controllers/application_controller.js +17 -0
- data/frontend/js/controllers/batch_action_controller.js +59 -0
- data/frontend/js/controllers/checkbox_select_controller.js +46 -0
- data/frontend/js/controllers/confirm_controller.js +115 -0
- data/frontend/js/controllers/confirm_delete_controller.js +11 -0
- data/frontend/js/controllers/datepicker_controller.js +12 -0
- data/frontend/js/controllers/datetimepicker_controller.js +13 -0
- data/frontend/js/controllers/deprecated/init_controller.js +9 -0
- data/frontend/js/controllers/flatpickr_controller.js +50 -0
- data/frontend/js/controllers/follow_url_controller.js +36 -0
- data/frontend/js/controllers/form_error_controller.js +24 -0
- data/frontend/js/controllers/form_loading_controller.js +50 -0
- data/frontend/js/controllers/gallery_controller.js +10 -0
- data/frontend/js/controllers/index.js +19 -0
- data/frontend/js/controllers/keyboard_submit_controller.js +25 -0
- data/frontend/js/controllers/lightbox_controller.js +160 -0
- data/frontend/js/controllers/mobile_sidebar_controller.js +30 -0
- data/frontend/js/controllers/modal_controller.js +36 -0
- data/frontend/js/controllers/modal_frame_controller.js +11 -0
- data/frontend/js/controllers/modal_trigger_controller.js +74 -0
- data/frontend/js/{components/navigation.js → controllers/navigation_controller.js} +14 -10
- data/frontend/js/controllers/navigation_tooltip_controller.js +32 -0
- data/frontend/js/controllers/popover_controller.js +87 -0
- data/frontend/js/controllers/reloadable_controller.js +34 -0
- data/frontend/js/controllers/select_controller.js +49 -0
- data/frontend/js/controllers/sidebar_controller.js +33 -0
- data/frontend/js/controllers/tab_errors_controller.js +45 -0
- data/frontend/js/controllers/tabs_controller.js +45 -0
- data/frontend/js/controllers/timepicker_controller.js +14 -0
- data/frontend/js/controllers/toggle_attr_controller.js +27 -0
- data/frontend/js/controllers/toggle_class_controller.js +27 -0
- data/frontend/js/controllers/tooltip_controller.js +13 -0
- data/frontend/js/controllers/wrapper_controller.js +43 -0
- data/frontend/js/core/backdrop.js +100 -0
- data/frontend/js/core/error_modal.js +65 -0
- data/frontend/js/core/fetch.js +32 -0
- data/frontend/js/core/i18n.js +24 -10
- data/frontend/js/core/modal.js +52 -0
- data/frontend/js/core/stream_actions.js +56 -0
- data/frontend/js/core/turbo_errors.js +9 -0
- data/frontend/js/{core → deprecated}/events.js +1 -8
- data/frontend/js/deprecated/tooltip.js +8 -0
- data/frontend/js/index.js +28 -40
- data/frontend/js/mixins/index.js +5 -0
- data/frontend/js/mixins/photoswipe.js +10 -0
- data/frontend/js/util/bootstrap.js +93 -0
- data/i18n/config.yml +14 -0
- data/i18n/environment.rb +8 -0
- data/i18n/export +3 -0
- data/i18n/template.erb +1 -0
- data/lib/generators/trestle/install/install_generator.rb +3 -8
- data/lib/generators/trestle/install/templates/trestle.rb.erb +5 -5
- data/lib/trestle/color.rb +113 -0
- data/lib/trestle/configuration.rb +16 -8
- data/lib/trestle/engine.rb +28 -20
- data/lib/trestle/form/fields/check_box_helpers.rb +7 -18
- data/lib/trestle/form/fields/collection_select.rb +1 -1
- data/lib/trestle/form/fields/color_field.rb +4 -0
- data/lib/trestle/form/fields/date_field.rb +4 -0
- data/lib/trestle/form/fields/date_picker.rb +10 -4
- data/lib/trestle/form/fields/date_select.rb +1 -1
- data/lib/trestle/form/fields/datetime_field.rb +4 -0
- data/lib/trestle/form/fields/datetime_select.rb +1 -1
- data/lib/trestle/form/fields/file_field.rb +3 -28
- data/lib/trestle/form/fields/form_control.rb +2 -2
- data/lib/trestle/form/fields/form_group.rb +1 -1
- data/lib/trestle/form/fields/grouped_collection_select.rb +1 -1
- data/lib/trestle/form/fields/radio_button_helpers.rb +5 -17
- data/lib/trestle/form/fields/range_field.rb +1 -5
- data/lib/trestle/form/fields/select.rb +17 -1
- data/lib/trestle/form/fields/time_field.rb +4 -0
- data/lib/trestle/form/fields/time_select.rb +1 -1
- data/lib/trestle/form/fields/time_zone_select.rb +1 -1
- data/lib/trestle/form/renderer.rb +3 -0
- data/lib/trestle/form.rb +16 -1
- data/lib/trestle/resource/toolbar.rb +18 -8
- data/lib/trestle/sprockets_compressor.rb +16 -0
- data/lib/trestle/table/actions_column.rb +2 -2
- data/lib/trestle/table/row.rb +2 -1
- data/lib/trestle/table/select_column.rb +3 -6
- data/lib/trestle/table.rb +6 -1
- data/lib/trestle/toolbar/context.rb +7 -4
- data/lib/trestle/toolbar/item.rb +1 -1
- data/lib/trestle/toolbar/menu.rb +11 -11
- data/lib/trestle/version.rb +1 -1
- data/lib/trestle.rb +2 -23
- data/package.json +31 -27
- data/trestle.gemspec +6 -11
- data/webpack.config.js +10 -10
- data/yarn.lock +1480 -1233
- metadata +175 -208
- data/app/assets/bundle/trestle/bundle.css +0 -12
- data/app/assets/bundle/trestle/bundle.js +0 -89
- data/app/assets/bundle/trestle/fa-brands-400.eot +0 -0
- data/app/assets/bundle/trestle/fa-brands-400.svg +0 -3717
- data/app/assets/bundle/trestle/fa-brands-400.woff +0 -0
- data/app/assets/bundle/trestle/fa-regular-400.eot +0 -0
- data/app/assets/bundle/trestle/fa-regular-400.svg +0 -801
- data/app/assets/bundle/trestle/fa-regular-400.woff +0 -0
- data/app/assets/bundle/trestle/fa-solid-900.eot +0 -0
- data/app/assets/bundle/trestle/fa-solid-900.svg +0 -5034
- data/app/assets/bundle/trestle/fa-solid-900.woff +0 -0
- data/app/assets/javascripts/trestle/admin.js +0 -3
- data/app/assets/javascripts/trestle/i18n.js.erb +0 -8
- data/app/assets/stylesheets/trestle/admin.css +0 -2
- data/app/assets/stylesheets/trestle/icons/_font-awesome.css.erb +0 -40
- data/app/controllers/concerns/trestle/controller/dialog.rb +0 -16
- data/app/views/trestle/application/_dialog.html.erb +0 -34
- data/frontend/css/components/_color-vars.scss +0 -10
- data/frontend/css/components/_custom-forms.scss +0 -35
- data/frontend/css/components/_magnific-popup.scss +0 -36
- data/frontend/css/components/_turbolinks.scss +0 -3
- data/frontend/css/layout/_content.scss +0 -169
- data/frontend/js/components/confirmation.js +0 -32
- data/frontend/js/components/datepicker.js +0 -69
- data/frontend/js/components/dialog.js +0 -149
- data/frontend/js/components/file.js +0 -7
- data/frontend/js/components/form.js +0 -100
- data/frontend/js/components/gallery.js +0 -33
- data/frontend/js/components/pagination.js +0 -51
- data/frontend/js/components/select.js +0 -18
- data/frontend/js/components/sidebar.js +0 -75
- data/frontend/js/components/table.js +0 -61
- data/frontend/js/components/tabs.js +0 -59
- data/frontend/js/components/tooltips.js +0 -25
- data/frontend/js/core/contexts.js +0 -17
- data/frontend/js/core/turbolinks.js +0 -3
- data/frontend/js/core/visit.js +0 -16
- data/frontend/theme/trestle/_theme.scss +0 -4
- data/frontend/theme/trestle/_variables.scss +0 -4
- data/frontend/theme/trestle/theme/_defaults.scss +0 -152
- data/frontend/theme/trestle/theme/_functions.scss +0 -44
- data/frontend/theme/trestle/theme/_variables.scss +0 -15
- data/frontend/theme/trestle/theme/bootstrap/_alert.scss +0 -19
- data/frontend/theme/trestle/theme/bootstrap/_badge.scss +0 -25
- data/frontend/theme/trestle/theme/bootstrap/_buttons.scss +0 -93
- data/frontend/theme/trestle/theme/bootstrap/_color-vars.scss +0 -11
- data/frontend/theme/trestle/theme/bootstrap/_custom-forms.scss +0 -93
- data/frontend/theme/trestle/theme/bootstrap/_dropdown.scss +0 -6
- data/frontend/theme/trestle/theme/bootstrap/_forms.scss +0 -6
- data/frontend/theme/trestle/theme/bootstrap/_links.scss +0 -7
- data/frontend/theme/trestle/theme/bootstrap/_list-group.scss +0 -31
- data/frontend/theme/trestle/theme/bootstrap/_nav.scss +0 -6
- data/frontend/theme/trestle/theme/bootstrap/_pagination.scss +0 -18
- data/frontend/theme/trestle/theme/bootstrap/_progress.scss +0 -3
- data/frontend/theme/trestle/theme/bootstrap/_tables.scss +0 -41
- data/frontend/theme/trestle/theme/bootstrap/_utilities.scss +0 -3
- data/frontend/theme/trestle/theme/bootstrap/utilities/_background.scss +0 -17
- data/frontend/theme/trestle/theme/bootstrap/utilities/_borders.scss +0 -5
- data/frontend/theme/trestle/theme/bootstrap/utilities/_text.scss +0 -18
- data/frontend/theme/trestle/theme/trestle/_background.scss +0 -61
- data/frontend/theme/trestle/theme/trestle/_datepicker.scss +0 -58
- data/frontend/theme/trestle/theme/trestle/_headers.scss +0 -4
- data/frontend/theme/trestle/theme/trestle/_navbar.scss +0 -15
- data/frontend/theme/trestle/theme/trestle/_navigation.scss +0 -5
- data/frontend/theme/trestle/theme/trestle/_select2.scss +0 -22
- data/frontend/theme/trestle/theme/trestle/_tags.scss +0 -12
- data/frontend/theme/trestle/theme/trestle/_turbolinks.scss +0 -3
- data/frontend/theme/trestle/theme.scss +0 -29
- data/lib/generators/trestle/install/templates/_theme.scss +0 -13
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/ar-dz.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/ar.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/at.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/az.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/be.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/bg.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/bn.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/bs.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/cat.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/ckb.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/cs.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/cy.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/da.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/de.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/default.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/eo.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/es.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/et.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/fa.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/fi.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/fo.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/fr.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/ga.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/gr.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/he.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/hi.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/hr.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/hu.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/hy.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/id.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/is.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/it.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/ja.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/ka.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/km.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/ko.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/kz.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/lt.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/lv.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/mk.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/mn.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/ms.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/my.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/nl.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/nn.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/no.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/pa.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/pl.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/pt.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/ro.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/ru.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/si.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/sk.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/sl.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/sq.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/sr-cyr.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/sr.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/sv.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/th.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/tr.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/uk.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/uz.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/uz_latn.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/vn.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/zh-tw.js +0 -0
- /data/app/assets/bundle/trestle/{flatpickr → locale/flatpickr}/zh.js +0 -0
- /data/app/assets/{stylesheets → sprockets}/trestle/_custom.css +0 -0
@@ -0,0 +1,109 @@
|
|
1
|
+
Trestle.i18n.store({
|
2
|
+
"es": {
|
3
|
+
"admin": {
|
4
|
+
"breadcrumbs": {
|
5
|
+
"home": "Inicio"
|
6
|
+
},
|
7
|
+
"buttons": {
|
8
|
+
"delete": "Borrar %{model_name}",
|
9
|
+
"new": "Nuevo %{model_name}",
|
10
|
+
"ok": "Aceptar",
|
11
|
+
"save": "Guardar %{model_name}"
|
12
|
+
},
|
13
|
+
"datepicker": {
|
14
|
+
"formats": {
|
15
|
+
"date": "m/d/Y",
|
16
|
+
"datetime": "m/d/Y h:i K",
|
17
|
+
"time": "h:i K"
|
18
|
+
}
|
19
|
+
},
|
20
|
+
"flash": {
|
21
|
+
"create": {
|
22
|
+
"failure": {
|
23
|
+
"message": "Por favor corrige los siguientes errores.",
|
24
|
+
"title": "¡Advertencia!"
|
25
|
+
},
|
26
|
+
"success": {
|
27
|
+
"message": "El %{lowercase_model_name} fue creado exitosamente.",
|
28
|
+
"title": "¡Exito!"
|
29
|
+
}
|
30
|
+
},
|
31
|
+
"destroy": {
|
32
|
+
"failure": {
|
33
|
+
"message": "%{lowercase_model_name} no pudo ser borrado.",
|
34
|
+
"title": "¡Advertencia!"
|
35
|
+
},
|
36
|
+
"success": {
|
37
|
+
"message": "El %{lowercase_model_name} fue borrado exitosamente.",
|
38
|
+
"title": "¡Exito!"
|
39
|
+
}
|
40
|
+
},
|
41
|
+
"update": {
|
42
|
+
"failure": {
|
43
|
+
"message": "Por favor corrige los siguientes errores.",
|
44
|
+
"title": "¡Advertencia!"
|
45
|
+
},
|
46
|
+
"success": {
|
47
|
+
"message": "El %{lowercase_model_name} se actualizo exitosamente.",
|
48
|
+
"title": "¡Exito!"
|
49
|
+
}
|
50
|
+
}
|
51
|
+
},
|
52
|
+
"form": {
|
53
|
+
"select": {
|
54
|
+
"prompt": "- Selecciona %{attribute_name} -"
|
55
|
+
}
|
56
|
+
},
|
57
|
+
"format": {
|
58
|
+
"blank": "Ninguno"
|
59
|
+
},
|
60
|
+
"table": {
|
61
|
+
"headers": {
|
62
|
+
"id": "ID"
|
63
|
+
}
|
64
|
+
},
|
65
|
+
"titles": {
|
66
|
+
"edit": "Editando %{model_name}",
|
67
|
+
"index": "Listado de %{pluralized_model_name}",
|
68
|
+
"new": "Nuevo %{model_name}"
|
69
|
+
}
|
70
|
+
},
|
71
|
+
"trestle": {
|
72
|
+
"confirmation": {
|
73
|
+
"cancel": "Cancelar",
|
74
|
+
"delete": "Borrar",
|
75
|
+
"title": "¿Estás seguro?"
|
76
|
+
},
|
77
|
+
"dialog": {
|
78
|
+
"error": "La solicitud no pudo ser completada."
|
79
|
+
},
|
80
|
+
"footer": "Patrocinado por Trestle",
|
81
|
+
"helpers": {
|
82
|
+
"page_entries_info": {
|
83
|
+
"more_pages": {
|
84
|
+
"display_entries": "Mostrando %{entry_name} <strong>%{first} - %{last}</strong> of <b>%{total}</b>"
|
85
|
+
},
|
86
|
+
"one_page": {
|
87
|
+
"display_entries": {
|
88
|
+
"one": "Mostrando <strong>1</strong> %{entry_name}",
|
89
|
+
"other": "Mostrando <strong>total %{count}</strong> %{entry_name}",
|
90
|
+
"zero": "No %{entry_name} encontrado"
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
},
|
95
|
+
"onboarding": {
|
96
|
+
"no_admins": "Para poder ingresar, por favor crea una cuenta de administrador en <code>app/admin</code>.",
|
97
|
+
"no_form": "Por favor define una forma de bloque o crea un parcial <code>_form.html</code>.",
|
98
|
+
"no_template": "Para personalizar esta plantilla, por favor crea <code>%{path}</code>.",
|
99
|
+
"welcome": "Bienvenido a Trestle"
|
100
|
+
},
|
101
|
+
"title": "Trestle Administrador",
|
102
|
+
"ui": {
|
103
|
+
"toggle_navigation": "Cambiar (modo de) navegación",
|
104
|
+
"toggle_sidebar": "Alternar la barra lateral"
|
105
|
+
},
|
106
|
+
"version": "Version"
|
107
|
+
}
|
108
|
+
}
|
109
|
+
});
|
@@ -0,0 +1,111 @@
|
|
1
|
+
Trestle.i18n.store({
|
2
|
+
"fr": {
|
3
|
+
"admin": {
|
4
|
+
"breadcrumbs": {
|
5
|
+
"home": "Accueil"
|
6
|
+
},
|
7
|
+
"buttons": {
|
8
|
+
"delete": "Supprimer",
|
9
|
+
"edit": "Éditer %{model_name}",
|
10
|
+
"new": "Nouveau",
|
11
|
+
"ok": "Valider",
|
12
|
+
"save": "Enregistrer",
|
13
|
+
"show": "Voir %{model_name}"
|
14
|
+
},
|
15
|
+
"datepicker": {
|
16
|
+
"formats": {
|
17
|
+
"date": "d/m/Y",
|
18
|
+
"datetime": "d/m/Y H:i",
|
19
|
+
"time": "H:i"
|
20
|
+
}
|
21
|
+
},
|
22
|
+
"flash": {
|
23
|
+
"create": {
|
24
|
+
"failure": {
|
25
|
+
"message": "Veuillez corriger les erreurs ci-après.",
|
26
|
+
"title": "Attention!"
|
27
|
+
},
|
28
|
+
"success": {
|
29
|
+
"message": "%{model_name} créé(e).",
|
30
|
+
"title": "Opération réussie"
|
31
|
+
}
|
32
|
+
},
|
33
|
+
"destroy": {
|
34
|
+
"failure": {
|
35
|
+
"message": "Suppression impossible.",
|
36
|
+
"title": "Attention!"
|
37
|
+
},
|
38
|
+
"success": {
|
39
|
+
"message": "%{model_name} supprimé(e).",
|
40
|
+
"title": "Opération réussie"
|
41
|
+
}
|
42
|
+
},
|
43
|
+
"update": {
|
44
|
+
"failure": {
|
45
|
+
"message": "Veuillez corriger les erreurs ci-après.",
|
46
|
+
"title": "Attention!"
|
47
|
+
},
|
48
|
+
"success": {
|
49
|
+
"message": "%{model_name} mis(e) à jour.",
|
50
|
+
"title": "Opération réussie"
|
51
|
+
}
|
52
|
+
}
|
53
|
+
},
|
54
|
+
"form": {
|
55
|
+
"select": {
|
56
|
+
"prompt": "- Choisir le/la %{attribute_name} -"
|
57
|
+
}
|
58
|
+
},
|
59
|
+
"format": {
|
60
|
+
"blank": "Aucun"
|
61
|
+
},
|
62
|
+
"table": {
|
63
|
+
"headers": {
|
64
|
+
"id": "ID"
|
65
|
+
}
|
66
|
+
},
|
67
|
+
"titles": {
|
68
|
+
"edit": "%{model_name} (modification)",
|
69
|
+
"index": "Liste des %{pluralized_model_name}",
|
70
|
+
"new": "%{model_name} (ajout)"
|
71
|
+
}
|
72
|
+
},
|
73
|
+
"trestle": {
|
74
|
+
"confirmation": {
|
75
|
+
"cancel": "Non",
|
76
|
+
"delete": "Oui",
|
77
|
+
"title": "Voulez-vous supprimer ?"
|
78
|
+
},
|
79
|
+
"dialog": {
|
80
|
+
"error": "La requête n'a pas pu être traitée."
|
81
|
+
},
|
82
|
+
"footer": "Fourni par Trestle",
|
83
|
+
"helpers": {
|
84
|
+
"page_entries_info": {
|
85
|
+
"more_pages": {
|
86
|
+
"display_entries": "%{entry_name} <strong>%{first} - %{last}</strong> sur <b>%{total}</b>"
|
87
|
+
},
|
88
|
+
"one_page": {
|
89
|
+
"display_entries": {
|
90
|
+
"one": "<strong>1</strong> %{entry_name}",
|
91
|
+
"other": "<strong>%{count}</strong> %{entry_name}",
|
92
|
+
"zero": "Aucun(e) '%{entry_name}'"
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
},
|
97
|
+
"onboarding": {
|
98
|
+
"no_admins": "Pour commencer, créez le répertoire <code>app/admin</code>.",
|
99
|
+
"no_form": "Veuillez déclarer un block 'form' ou créer un modèle partiel <code>_form.html</code>.",
|
100
|
+
"no_template": "Pour personnaliser ce modèle, veuillez créer <code>%{path}</code>.",
|
101
|
+
"welcome": "Bienvenue sur Trestle"
|
102
|
+
},
|
103
|
+
"title": "Trestle Admin",
|
104
|
+
"ui": {
|
105
|
+
"toggle_navigation": "Basculer navigation",
|
106
|
+
"toggle_sidebar": "Basculer vue latérale"
|
107
|
+
},
|
108
|
+
"version": "Version"
|
109
|
+
}
|
110
|
+
}
|
111
|
+
});
|
@@ -0,0 +1,111 @@
|
|
1
|
+
Trestle.i18n.store({
|
2
|
+
"ko": {
|
3
|
+
"admin": {
|
4
|
+
"breadcrumbs": {
|
5
|
+
"home": "Home"
|
6
|
+
},
|
7
|
+
"buttons": {
|
8
|
+
"delete": "%{model_name} 삭제",
|
9
|
+
"edit": "%{model_name} 수정",
|
10
|
+
"new": "%{model_name} 생성",
|
11
|
+
"ok": "확인",
|
12
|
+
"save": "%{model_name} 저장",
|
13
|
+
"show": "%{model_name} 보기"
|
14
|
+
},
|
15
|
+
"datepicker": {
|
16
|
+
"formats": {
|
17
|
+
"date": "Y/m/d",
|
18
|
+
"datetime": "Y/m/d h:i K",
|
19
|
+
"time": "h:i K"
|
20
|
+
}
|
21
|
+
},
|
22
|
+
"flash": {
|
23
|
+
"create": {
|
24
|
+
"failure": {
|
25
|
+
"message": "하기된 에러를 확인하십시오.",
|
26
|
+
"title": "경고!"
|
27
|
+
},
|
28
|
+
"success": {
|
29
|
+
"message": "%{lowercase_model_name} 성공적으로 생성되었습니다.",
|
30
|
+
"title": "성공!"
|
31
|
+
}
|
32
|
+
},
|
33
|
+
"destroy": {
|
34
|
+
"failure": {
|
35
|
+
"message": "%{lowercase_model_name} 삭제할 수 없습니다.",
|
36
|
+
"title": "경고!"
|
37
|
+
},
|
38
|
+
"success": {
|
39
|
+
"message": "%{lowercase_model_name} 성공적으로 삭제되었습니다.",
|
40
|
+
"title": "성공!"
|
41
|
+
}
|
42
|
+
},
|
43
|
+
"update": {
|
44
|
+
"failure": {
|
45
|
+
"message": "하기된 에러를 확인하십시오.",
|
46
|
+
"title": "경고!"
|
47
|
+
},
|
48
|
+
"success": {
|
49
|
+
"message": "%{lowercase_model_name} 성공적으로 수정되었습니다.",
|
50
|
+
"title": "성공!"
|
51
|
+
}
|
52
|
+
}
|
53
|
+
},
|
54
|
+
"form": {
|
55
|
+
"select": {
|
56
|
+
"prompt": "- %{attribute_name} 선택 -"
|
57
|
+
}
|
58
|
+
},
|
59
|
+
"format": {
|
60
|
+
"blank": "없음"
|
61
|
+
},
|
62
|
+
"table": {
|
63
|
+
"headers": {
|
64
|
+
"id": "ID"
|
65
|
+
}
|
66
|
+
},
|
67
|
+
"titles": {
|
68
|
+
"edit": "%{model_name} 수정",
|
69
|
+
"index": "%{pluralized_model_name} 목록",
|
70
|
+
"new": "%{model_name} 생성"
|
71
|
+
}
|
72
|
+
},
|
73
|
+
"trestle": {
|
74
|
+
"confirmation": {
|
75
|
+
"cancel": "취소",
|
76
|
+
"delete": "삭제",
|
77
|
+
"title": "정말 하시겠습니까?"
|
78
|
+
},
|
79
|
+
"dialog": {
|
80
|
+
"error": "완료될 수 없는 요청입니다."
|
81
|
+
},
|
82
|
+
"footer": "Powered by Trestle",
|
83
|
+
"helpers": {
|
84
|
+
"page_entries_info": {
|
85
|
+
"more_pages": {
|
86
|
+
"display_entries": "<b>%{total}</b> 중 <strong>%{first} - %{last}</strong> %{entry_name} 표시중"
|
87
|
+
},
|
88
|
+
"one_page": {
|
89
|
+
"display_entries": {
|
90
|
+
"one": "<strong>1</strong> %{entry_name} 표시중",
|
91
|
+
"other": "<strong>모든 %{count}</strong> %{entry_name} 표시중",
|
92
|
+
"zero": "%{entry_name}을(를) 찾을 수 없습니다."
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
},
|
97
|
+
"onboarding": {
|
98
|
+
"no_admins": "사용하시려면 <code>app/admin</code>에 admin을 생성하십시오.",
|
99
|
+
"no_form": "form block을 정의하시거나 <code>_form.html</code> partial를 생성하십시오.",
|
100
|
+
"no_template": "이 템플릿을 사용자화 하시려면, <code>%{path}</code>를 생성하십시오.",
|
101
|
+
"welcome": "Trestle에 오신 것을 환영합니다."
|
102
|
+
},
|
103
|
+
"title": "Trestle Admin",
|
104
|
+
"ui": {
|
105
|
+
"toggle_navigation": "네비게이션 토글",
|
106
|
+
"toggle_sidebar": "사이드바 토글"
|
107
|
+
},
|
108
|
+
"version": "버전"
|
109
|
+
}
|
110
|
+
}
|
111
|
+
});
|
@@ -0,0 +1,109 @@
|
|
1
|
+
Trestle.i18n.store({
|
2
|
+
"lv": {
|
3
|
+
"admin": {
|
4
|
+
"breadcrumbs": {
|
5
|
+
"home": "Mājas"
|
6
|
+
},
|
7
|
+
"buttons": {
|
8
|
+
"delete": "Dzēst %{model_name}",
|
9
|
+
"new": "Jauns %{model_name}",
|
10
|
+
"ok": "Labi",
|
11
|
+
"save": "Saglabāt %{model_name}"
|
12
|
+
},
|
13
|
+
"datepicker": {
|
14
|
+
"formats": {
|
15
|
+
"date": "d/m/Y",
|
16
|
+
"datetime": "d/m/Y H:i",
|
17
|
+
"time": "H:i"
|
18
|
+
}
|
19
|
+
},
|
20
|
+
"flash": {
|
21
|
+
"create": {
|
22
|
+
"failure": {
|
23
|
+
"message": "Lūdzu labojiet zemāk atzīmētās kļūmes vai nepilnības.",
|
24
|
+
"title": "Uzmanību!"
|
25
|
+
},
|
26
|
+
"success": {
|
27
|
+
"message": "%{lowercase_model_name} tika veiksmīgi izveidots.",
|
28
|
+
"title": "Izveide veikta!"
|
29
|
+
}
|
30
|
+
},
|
31
|
+
"destroy": {
|
32
|
+
"failure": {
|
33
|
+
"message": "%{lowercase_model_name} dzēšana neizdevās.",
|
34
|
+
"title": "Uzmanību!"
|
35
|
+
},
|
36
|
+
"success": {
|
37
|
+
"message": "%{lowercase_model_name} tika veiksmīgi izdzēsts.",
|
38
|
+
"title": "Veiksmīgi dzēsts!"
|
39
|
+
}
|
40
|
+
},
|
41
|
+
"update": {
|
42
|
+
"failure": {
|
43
|
+
"message": "Lūdzu labojiet zemāk atzīmētās kļūmes vai nepilnības.",
|
44
|
+
"title": "Uzmanību!"
|
45
|
+
},
|
46
|
+
"success": {
|
47
|
+
"message": "%{lowercase_model_name} tika veiksmīgi papildināts.",
|
48
|
+
"title": "Papildināšana veikta!"
|
49
|
+
}
|
50
|
+
}
|
51
|
+
},
|
52
|
+
"form": {
|
53
|
+
"select": {
|
54
|
+
"prompt": "- Izvēlieties %{attribute_name} -"
|
55
|
+
}
|
56
|
+
},
|
57
|
+
"format": {
|
58
|
+
"blank": "Neviens"
|
59
|
+
},
|
60
|
+
"table": {
|
61
|
+
"headers": {
|
62
|
+
"id": "ID"
|
63
|
+
}
|
64
|
+
},
|
65
|
+
"titles": {
|
66
|
+
"edit": "Labot %{model_name}",
|
67
|
+
"index": "Attēlo %{pluralized_model_name}",
|
68
|
+
"new": "Jauns %{model_name}"
|
69
|
+
}
|
70
|
+
},
|
71
|
+
"trestle": {
|
72
|
+
"confirmation": {
|
73
|
+
"cancel": "Atcelt",
|
74
|
+
"delete": "Dzēst",
|
75
|
+
"title": "Vai tu esi drošs?"
|
76
|
+
},
|
77
|
+
"dialog": {
|
78
|
+
"error": "Pieprasījumu neizdevās izpildīt."
|
79
|
+
},
|
80
|
+
"footer": "Powered by Trestle",
|
81
|
+
"helpers": {
|
82
|
+
"page_entries_info": {
|
83
|
+
"more_pages": {
|
84
|
+
"display_entries": "Attēlo %{entry_name} <strong>%{first} - %{last}</strong> no <b>%{total}</b>"
|
85
|
+
},
|
86
|
+
"one_page": {
|
87
|
+
"display_entries": {
|
88
|
+
"one": "Attēlo <strong>1</strong> %{entry_name}",
|
89
|
+
"other": "Attēlo <strong>%{count}</strong> %{entry_name}",
|
90
|
+
"zero": "Neviena %{entry_name} ieraksta nav atrasts"
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
},
|
95
|
+
"onboarding": {
|
96
|
+
"no_admins": "Lai sāktu, lūdzu izveido administratoru <code>app/admin</code>.",
|
97
|
+
"no_form": "Lūdzu izveido formas bloku vai izveido failu <code>_form.html</code>.",
|
98
|
+
"no_template": "Lai pielāgotu šo vedni, lūdzu izveido <code>%{path}</code>.",
|
99
|
+
"welcome": "Esi sveicināts Trestle"
|
100
|
+
},
|
101
|
+
"title": "Trestle Administrators",
|
102
|
+
"ui": {
|
103
|
+
"toggle_navigation": "Pārslēgt navigāciju",
|
104
|
+
"toggle_sidebar": "Pārslēgt malējo izvēlni"
|
105
|
+
},
|
106
|
+
"version": "Versija"
|
107
|
+
}
|
108
|
+
}
|
109
|
+
});
|
@@ -0,0 +1,96 @@
|
|
1
|
+
Trestle.i18n.store({
|
2
|
+
"nl": {
|
3
|
+
"admin": {
|
4
|
+
"breadcrumbs": {
|
5
|
+
"home": "Home"
|
6
|
+
},
|
7
|
+
"buttons": {
|
8
|
+
"delete": "%{model_name} verwijderen",
|
9
|
+
"save": "%{model_name} opslaan"
|
10
|
+
},
|
11
|
+
"flash": {
|
12
|
+
"create": {
|
13
|
+
"failure": {
|
14
|
+
"message": "Kon niet toevoegen om de volgende redenen.",
|
15
|
+
"title": "Waarschuwing!"
|
16
|
+
},
|
17
|
+
"success": {
|
18
|
+
"message": "De %{model_name} succesvol toegevoegd.",
|
19
|
+
"title": "Gelukt!"
|
20
|
+
}
|
21
|
+
},
|
22
|
+
"destroy": {
|
23
|
+
"failure": {
|
24
|
+
"message": "Kon %{model_name} niet verwijderen.",
|
25
|
+
"title": "Waarschuwing!"
|
26
|
+
},
|
27
|
+
"success": {
|
28
|
+
"message": "De %{model_name} is succesvol verwijderd.",
|
29
|
+
"title": "Gelukt!"
|
30
|
+
}
|
31
|
+
},
|
32
|
+
"update": {
|
33
|
+
"failure": {
|
34
|
+
"message": "Kon niet aanpassen om de volgende redenen.",
|
35
|
+
"title": "Waarschuwing!"
|
36
|
+
},
|
37
|
+
"success": {
|
38
|
+
"message": "De %{model_name} is succesvol gewijzigd.",
|
39
|
+
"title": "Gelukt!"
|
40
|
+
}
|
41
|
+
}
|
42
|
+
},
|
43
|
+
"form": {
|
44
|
+
"select": {
|
45
|
+
"prompt": "- Selecteer %{attribute_name} -"
|
46
|
+
}
|
47
|
+
},
|
48
|
+
"format": {
|
49
|
+
"blank": "Geen"
|
50
|
+
},
|
51
|
+
"table": {
|
52
|
+
"headers": {
|
53
|
+
"id": "ID"
|
54
|
+
}
|
55
|
+
},
|
56
|
+
"titles": {
|
57
|
+
"edit": "%{model_name} aanpassen",
|
58
|
+
"index": "Lijst van %{pluralized_model_name}"
|
59
|
+
}
|
60
|
+
},
|
61
|
+
"trestle": {
|
62
|
+
"confirmation": {
|
63
|
+
"cancel": "Annuleren",
|
64
|
+
"delete": "Verwijderen",
|
65
|
+
"title": "Weer je het zeker?"
|
66
|
+
},
|
67
|
+
"footer": "Powered by Trestle",
|
68
|
+
"helpers": {
|
69
|
+
"page_entries_info": {
|
70
|
+
"more_pages": {
|
71
|
+
"display_entries": "%{entry_name} <strong>%{first} - %{last}</strong> van de <b>%{total}</b> worden weergeven"
|
72
|
+
},
|
73
|
+
"one_page": {
|
74
|
+
"display_entries": {
|
75
|
+
"one": "<strong>1</strong> %{entry_name} wordt weergeven",
|
76
|
+
"other": "<strong>Alle %{count}</strong> %{entry_name} worden weergeven",
|
77
|
+
"zero": "Geen %{entry_name} gevonden"
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
},
|
82
|
+
"onboarding": {
|
83
|
+
"no_admins": "Voeg een admin toe in <code>app/admin</code> om te beginnen.",
|
84
|
+
"no_form": "Definieer een form block of maak een <code>_form.html</code> partial.",
|
85
|
+
"no_template": "Maak <code>%{path}</code> aan om dit template aan te passen.",
|
86
|
+
"welcome": "Welkom bij Trestle"
|
87
|
+
},
|
88
|
+
"title": "Trestle Admin",
|
89
|
+
"ui": {
|
90
|
+
"toggle_navigation": "Navigation tonen/verbergen",
|
91
|
+
"toggle_sidebar": "Sidebar tonen/verbergen"
|
92
|
+
},
|
93
|
+
"version": "Versie"
|
94
|
+
}
|
95
|
+
}
|
96
|
+
});
|
@@ -0,0 +1,99 @@
|
|
1
|
+
Trestle.i18n.store({
|
2
|
+
"pl": {
|
3
|
+
"admin": {
|
4
|
+
"breadcrumbs": {
|
5
|
+
"home": "Start"
|
6
|
+
},
|
7
|
+
"buttons": {
|
8
|
+
"delete": "Usuń %{model_name}",
|
9
|
+
"new": "Nowy %{model_name}",
|
10
|
+
"save": "Zachowaj %{model_name}"
|
11
|
+
},
|
12
|
+
"flash": {
|
13
|
+
"create": {
|
14
|
+
"failure": {
|
15
|
+
"message": "Popraw poniższe błędy.",
|
16
|
+
"title": "Uwaga!"
|
17
|
+
},
|
18
|
+
"success": {
|
19
|
+
"message": "%{lowercase_model_name} został pomyślnie utworzony.",
|
20
|
+
"title": "Sukces!"
|
21
|
+
}
|
22
|
+
},
|
23
|
+
"destroy": {
|
24
|
+
"failure": {
|
25
|
+
"message": "Nie można usunąć %{lowercase_model_name}.",
|
26
|
+
"title": "Uwaga!"
|
27
|
+
},
|
28
|
+
"success": {
|
29
|
+
"message": "%{lowercase_model_name} został pomyślnie usunięty.",
|
30
|
+
"title": "Sukces!"
|
31
|
+
}
|
32
|
+
},
|
33
|
+
"update": {
|
34
|
+
"failure": {
|
35
|
+
"message": "Popraw poniższe błędy.",
|
36
|
+
"title": "Uwaga!"
|
37
|
+
},
|
38
|
+
"success": {
|
39
|
+
"message": "%{lowercase_model_name} został pomyślnie zaktualizowany.",
|
40
|
+
"title": "Sukces!"
|
41
|
+
}
|
42
|
+
}
|
43
|
+
},
|
44
|
+
"form": {
|
45
|
+
"select": {
|
46
|
+
"prompt": "- Wybierz %{attribute_name} -"
|
47
|
+
}
|
48
|
+
},
|
49
|
+
"format": {
|
50
|
+
"blank": "Żaden"
|
51
|
+
},
|
52
|
+
"table": {
|
53
|
+
"headers": {
|
54
|
+
"id": "ID"
|
55
|
+
}
|
56
|
+
},
|
57
|
+
"titles": {
|
58
|
+
"edit": "Edycja %{model_name}",
|
59
|
+
"index": "Lista %{pluralized_model_name}",
|
60
|
+
"new": "Nowy %{model_name}"
|
61
|
+
}
|
62
|
+
},
|
63
|
+
"trestle": {
|
64
|
+
"confirmation": {
|
65
|
+
"cancel": "Anuluj",
|
66
|
+
"delete": "Usuń",
|
67
|
+
"title": "Jesteś pewny?"
|
68
|
+
},
|
69
|
+
"footer": "Powered by Trestle",
|
70
|
+
"helpers": {
|
71
|
+
"page_entries_info": {
|
72
|
+
"more_pages": {
|
73
|
+
"display_entries": "Wyświetla %{entry_name} <strong>%{first} - %{last}</strong> z <b>%{total}</b> łącznie"
|
74
|
+
},
|
75
|
+
"one_page": {
|
76
|
+
"display_entries": {
|
77
|
+
"few": "Wyświetla <strong>wszystkie %{count}</strong> %{entry_name}",
|
78
|
+
"one": "Wyświetla <strong>1</strong> %{entry_name}",
|
79
|
+
"other": "Wyświetla <strong>wszystkie %{count}</strong> %{entry_name}",
|
80
|
+
"zero": "Nie znaleziono %{entry_name}"
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
},
|
85
|
+
"onboarding": {
|
86
|
+
"no_admins": "Aby rozpocząć, utwórz administratora w zasięgu <code>app/admin</code>.",
|
87
|
+
"no_form": "Proszę zdefiniować blok formularza lub utworzyć podszablon <code>_form.html</code>.",
|
88
|
+
"no_template": "Aby dostosować ten szablon, utwórz <code>%{path}</code>.",
|
89
|
+
"welcome": "Witamy w Trestle"
|
90
|
+
},
|
91
|
+
"title": "Trestle Admin",
|
92
|
+
"ui": {
|
93
|
+
"toggle_navigation": "Przełącz nawigację",
|
94
|
+
"toggle_sidebar": "Przełącz pasek boczny"
|
95
|
+
},
|
96
|
+
"version": "Wersja"
|
97
|
+
}
|
98
|
+
}
|
99
|
+
});
|