activeadmin 2.6.1 → 3.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +438 -9
- data/CONTRIBUTING.md +12 -36
- data/README.md +8 -8
- data/app/assets/javascripts/active_admin/base.js +27 -25
- data/app/assets/stylesheets/active_admin/_base.scss +53 -37
- data/app/assets/stylesheets/active_admin/_forms.scss +2 -13
- data/app/assets/stylesheets/active_admin/_header.scss +37 -3
- data/app/assets/stylesheets/active_admin/_normalize.scss +25 -123
- data/app/assets/stylesheets/active_admin/components/_comments.scss +2 -2
- data/app/assets/stylesheets/active_admin/components/_date_picker.scss +1 -2
- data/app/assets/stylesheets/active_admin/components/_dropdown_menu.scss +7 -5
- data/app/assets/stylesheets/active_admin/components/_pagination.scss +5 -2
- data/app/assets/stylesheets/active_admin/components/_table_tools.scss +9 -6
- data/app/assets/stylesheets/active_admin/components/_tabs.scss +10 -7
- data/app/assets/stylesheets/active_admin/mixins/_buttons.scss +2 -2
- data/app/assets/stylesheets/active_admin/mixins/_variables.scss +12 -0
- data/app/assets/stylesheets/active_admin/pages/_logged_out.scss +1 -1
- data/app/assets/stylesheets/active_admin/structure/_footer.scss +6 -1
- data/app/assets/stylesheets/active_admin/structure/_title_bar.scss +6 -4
- data/app/javascript/active_admin/initializers/has-many.js +4 -1
- data/app/javascript/active_admin/initializers/per-page.js +1 -1
- data/app/javascript/active_admin/lib/checkbox-toggler.js +3 -3
- data/app/javascript/active_admin/lib/dropdown-menu.js +1 -1
- data/app/javascript/active_admin/lib/modal-dialog.js +7 -7
- data/app/javascript/active_admin/lib/per-page.js +1 -1
- data/app/javascript/active_admin/lib/table-checkbox-toggler.js +1 -1
- data/app/views/active_admin/devise/mailer/reset_password_instructions.html.erb +1 -1
- data/app/views/active_admin/devise/mailer/unlock_instructions.html.erb +2 -2
- data/app/views/active_admin/devise/shared/_links.erb +1 -1
- data/app/views/active_admin/page/index.html.arb +1 -0
- data/app/views/active_admin/resource/edit.html.arb +1 -0
- data/app/views/active_admin/resource/index.html.arb +1 -0
- data/app/views/active_admin/resource/new.html.arb +1 -0
- data/app/views/active_admin/resource/show.html.arb +1 -0
- data/app/views/layouts/active_admin.html.arb +1 -0
- data/app/views/layouts/active_admin_logged_out.html.erb +18 -7
- data/config/locales/ar.yml +6 -13
- data/config/locales/az.yml +0 -7
- data/config/locales/bg.yml +0 -7
- data/config/locales/bs.yml +0 -7
- data/config/locales/ca.yml +0 -7
- data/config/locales/cs.yml +0 -7
- data/config/locales/da.yml +0 -7
- data/config/locales/de-CH.yml +0 -7
- data/config/locales/de.yml +0 -8
- data/config/locales/el.yml +0 -7
- data/config/locales/en-CA.yml +0 -7
- data/config/locales/en-GB.yml +0 -7
- data/config/locales/en.yml +0 -8
- data/config/locales/eo.yml +0 -8
- data/config/locales/es-MX.yml +2 -8
- data/config/locales/es.yml +2 -10
- data/config/locales/fa.yml +0 -7
- data/config/locales/fi.yml +0 -7
- data/config/locales/fr.yml +3 -11
- data/config/locales/he.yml +0 -9
- data/config/locales/hr.yml +0 -7
- data/config/locales/hu.yml +0 -8
- data/config/locales/id.yml +0 -7
- data/config/locales/it.yml +18 -8
- data/config/locales/ja.yml +2 -10
- data/config/locales/ko.yml +1 -8
- data/config/locales/lt.yml +0 -8
- data/config/locales/lv.yml +0 -7
- data/config/locales/mk.yml +0 -8
- data/config/locales/nb.yml +0 -8
- data/config/locales/nl.yml +1 -9
- data/config/locales/pl.yml +0 -8
- data/config/locales/pt-BR.yml +0 -8
- data/config/locales/pt-PT.yml +0 -7
- data/config/locales/ro.yml +3 -9
- data/config/locales/ru.yml +0 -6
- data/config/locales/sk.yml +0 -8
- data/config/locales/sv-SE.yml +58 -39
- data/config/locales/tr.yml +0 -11
- data/config/locales/uk.yml +0 -6
- data/config/locales/vi.yml +38 -19
- data/config/locales/zh-CN.yml +34 -23
- data/config/locales/zh-TW.yml +0 -7
- data/lib/active_admin/abstract_view_factory.rb +1 -0
- data/lib/active_admin/application.rb +19 -19
- data/lib/active_admin/application_settings.rb +4 -3
- data/lib/active_admin/asset_registration.rb +4 -3
- data/lib/active_admin/authorization_adapter.rb +6 -3
- data/lib/active_admin/base_controller/authorization.rb +15 -13
- data/lib/active_admin/base_controller/menu.rb +1 -0
- data/lib/active_admin/base_controller.rb +6 -5
- data/lib/active_admin/batch_actions/controller.rb +4 -3
- data/lib/active_admin/batch_actions/resource_extension.rb +10 -8
- data/lib/active_admin/batch_actions/views/batch_action_form.rb +4 -3
- data/lib/active_admin/batch_actions/views/batch_action_selector.rb +7 -6
- data/lib/active_admin/batch_actions/views/selection_cells.rb +4 -3
- data/lib/active_admin/batch_actions.rb +1 -0
- data/lib/active_admin/callbacks.rb +1 -0
- data/lib/active_admin/cancan_adapter.rb +2 -1
- data/lib/active_admin/collection_decorator.rb +32 -0
- data/lib/active_admin/component.rb +1 -0
- data/lib/active_admin/controller_action.rb +1 -0
- data/lib/active_admin/csv_builder.rb +25 -17
- data/lib/active_admin/dependency.rb +12 -15
- data/lib/active_admin/devise.rb +16 -5
- data/lib/active_admin/dsl.rb +2 -1
- data/lib/active_admin/dynamic_setting.rb +1 -0
- data/lib/active_admin/dynamic_settings_node.rb +3 -2
- data/lib/active_admin/engine.rb +17 -9
- data/lib/active_admin/error.rb +1 -2
- data/lib/active_admin/filters/active.rb +2 -1
- data/lib/active_admin/filters/active_filter.rb +6 -6
- data/lib/active_admin/filters/active_sidebar.rb +4 -30
- data/lib/active_admin/filters/dsl.rb +1 -0
- data/lib/active_admin/filters/forms.rb +9 -8
- data/lib/active_admin/filters/formtastic_addons.rb +3 -7
- data/lib/active_admin/filters/resource_extension.rb +6 -5
- data/lib/active_admin/filters.rb +8 -7
- data/lib/active_admin/form_builder.rb +25 -20
- data/lib/active_admin/generators/boilerplate.rb +2 -1
- data/lib/active_admin/helpers/collection.rb +2 -0
- data/lib/active_admin/helpers/i18n.rb +1 -0
- data/lib/active_admin/helpers/optional_display.rb +3 -2
- data/lib/active_admin/helpers/routes/url_helpers.rb +1 -0
- data/lib/active_admin/helpers/scope_chain.rb +1 -0
- data/lib/active_admin/inputs/datepicker_input.rb +2 -1
- data/lib/active_admin/inputs/filters/base/search_method_select.rb +7 -6
- data/lib/active_admin/inputs/filters/base.rb +2 -1
- data/lib/active_admin/inputs/filters/boolean_input.rb +2 -1
- data/lib/active_admin/inputs/filters/check_boxes_input.rb +2 -1
- data/lib/active_admin/inputs/filters/date_picker_input.rb +1 -0
- data/lib/active_admin/inputs/filters/date_range_input.rb +3 -2
- data/lib/active_admin/inputs/filters/numeric_input.rb +2 -1
- data/lib/active_admin/inputs/filters/select_input.rb +5 -2
- data/lib/active_admin/inputs/filters/string_input.rb +2 -1
- data/lib/active_admin/inputs/filters/text_input.rb +1 -0
- data/lib/active_admin/inputs.rb +1 -0
- data/lib/active_admin/localizers/resource_localizer.rb +4 -3
- data/lib/active_admin/localizers.rb +2 -1
- data/lib/active_admin/menu.rb +8 -3
- data/lib/active_admin/menu_collection.rb +1 -0
- data/lib/active_admin/menu_item.rb +8 -7
- data/lib/active_admin/namespace.rb +16 -15
- data/lib/active_admin/namespace_settings.rb +9 -5
- data/lib/active_admin/order_clause.rb +2 -1
- data/lib/active_admin/orm/active_record/comments/comment.rb +12 -3
- data/lib/active_admin/orm/active_record/comments/namespace_helper.rb +1 -0
- data/lib/active_admin/orm/active_record/comments/resource_helper.rb +1 -0
- data/lib/active_admin/orm/active_record/comments/show_page_helper.rb +1 -0
- data/lib/active_admin/orm/active_record/comments/views/active_admin_comments.rb +21 -20
- data/lib/active_admin/orm/active_record/comments/views.rb +3 -2
- data/lib/active_admin/orm/active_record/comments.rb +28 -27
- data/lib/active_admin/orm/active_record.rb +2 -1
- data/lib/active_admin/orm/mongoid.rb +1 -0
- data/lib/active_admin/page.rb +2 -1
- data/lib/active_admin/page_controller.rb +1 -0
- data/lib/active_admin/page_dsl.rb +1 -0
- data/lib/active_admin/page_presenter.rb +1 -0
- data/lib/active_admin/pundit_adapter.rb +58 -16
- data/lib/active_admin/resource/action_items.rb +6 -5
- data/lib/active_admin/resource/attributes.rb +9 -1
- data/lib/active_admin/resource/belongs_to.rb +3 -2
- data/lib/active_admin/resource/controllers.rb +2 -1
- data/lib/active_admin/resource/includes.rb +1 -0
- data/lib/active_admin/resource/menu.rb +5 -4
- data/lib/active_admin/resource/model.rb +1 -0
- data/lib/active_admin/resource/naming.rb +5 -4
- data/lib/active_admin/resource/ordering.rb +1 -0
- data/lib/active_admin/resource/page_presenters.rb +1 -0
- data/lib/active_admin/resource/pagination.rb +1 -0
- data/lib/active_admin/resource/routes.rb +6 -7
- data/lib/active_admin/resource/scope_to.rb +8 -7
- data/lib/active_admin/resource/scopes.rb +1 -0
- data/lib/active_admin/resource/sidebars.rb +2 -1
- data/lib/active_admin/resource.rb +20 -19
- data/lib/active_admin/resource_collection.rb +1 -0
- data/lib/active_admin/resource_controller/action_builder.rb +1 -0
- data/lib/active_admin/resource_controller/data_access.rb +31 -5
- data/lib/active_admin/resource_controller/decorators.rb +7 -28
- data/lib/active_admin/resource_controller/polymorphic_routes.rb +1 -0
- data/lib/active_admin/resource_controller/resource_class_methods.rb +1 -0
- data/lib/active_admin/resource_controller/scoping.rb +1 -0
- data/lib/active_admin/resource_controller/sidebars.rb +1 -0
- data/lib/active_admin/resource_controller/streaming.rb +9 -7
- data/lib/active_admin/resource_controller.rb +13 -11
- data/lib/active_admin/resource_dsl.rb +11 -25
- data/lib/active_admin/router.rb +1 -0
- data/lib/active_admin/scope.rb +7 -6
- data/lib/active_admin/settings_node.rb +1 -0
- data/lib/active_admin/sidebar_section.rb +1 -0
- data/lib/active_admin/version.rb +2 -1
- data/lib/active_admin/view_factory.rb +18 -17
- data/lib/active_admin/view_helpers/active_admin_application_helper.rb +1 -0
- data/lib/active_admin/view_helpers/auto_link_helper.rb +2 -1
- data/lib/active_admin/view_helpers/breadcrumb_helper.rb +4 -3
- data/lib/active_admin/view_helpers/display_helper.rb +23 -8
- data/lib/active_admin/view_helpers/download_format_links_helper.rb +2 -1
- data/lib/active_admin/view_helpers/fields_for.rb +3 -2
- data/lib/active_admin/view_helpers/flash_helper.rb +1 -0
- data/lib/active_admin/view_helpers/form_helper.rb +1 -0
- data/lib/active_admin/view_helpers/method_or_proc_helper.rb +1 -0
- data/lib/active_admin/view_helpers/scope_name_helper.rb +1 -0
- data/lib/active_admin/view_helpers/sidebar_helper.rb +1 -0
- data/lib/active_admin/view_helpers/title_helper.rb +1 -0
- data/lib/active_admin/view_helpers/view_factory_helper.rb +1 -0
- data/lib/active_admin/view_helpers.rb +2 -1
- data/lib/active_admin/views/action_items.rb +1 -0
- data/lib/active_admin/views/components/active_admin_form.rb +8 -11
- data/lib/active_admin/views/components/active_filters_sidebar_content.rb +59 -0
- data/lib/active_admin/views/components/attributes_table.rb +6 -5
- data/lib/active_admin/views/components/blank_slate.rb +2 -1
- data/lib/active_admin/views/components/columns.rb +1 -0
- data/lib/active_admin/views/components/dropdown_menu.rb +7 -9
- data/lib/active_admin/views/components/index_list.rb +4 -3
- data/lib/active_admin/views/components/menu.rb +2 -1
- data/lib/active_admin/views/components/menu_item.rb +5 -4
- data/lib/active_admin/views/components/paginated_collection.rb +19 -18
- data/lib/active_admin/views/components/panel.rb +2 -1
- data/lib/active_admin/views/components/scopes.rb +8 -5
- data/lib/active_admin/views/components/sidebar.rb +1 -0
- data/lib/active_admin/views/components/sidebar_section.rb +1 -0
- data/lib/active_admin/views/components/site_title.rb +2 -1
- data/lib/active_admin/views/components/status_tag.rb +12 -11
- data/lib/active_admin/views/components/table_for.rb +18 -17
- data/lib/active_admin/views/components/tabs.rb +4 -3
- data/lib/active_admin/views/components/unsupported_browser.rb +1 -0
- data/lib/active_admin/views/footer.rb +3 -1
- data/lib/active_admin/views/header.rb +3 -2
- data/lib/active_admin/views/index_as_block.rb +1 -0
- data/lib/active_admin/views/index_as_blog.rb +2 -1
- data/lib/active_admin/views/index_as_grid.rb +2 -1
- data/lib/active_admin/views/index_as_table.rb +16 -19
- data/lib/active_admin/views/pages/base.rb +17 -11
- data/lib/active_admin/views/pages/form.rb +1 -0
- data/lib/active_admin/views/pages/index.rb +15 -13
- data/lib/active_admin/views/pages/layout.rb +1 -0
- data/lib/active_admin/views/pages/page.rb +1 -0
- data/lib/active_admin/views/pages/show.rb +2 -7
- data/lib/active_admin/views/tabbed_navigation.rb +3 -2
- data/lib/active_admin/views/title_bar.rb +2 -1
- data/lib/active_admin/views.rb +2 -1
- data/lib/active_admin.rb +63 -61
- data/lib/activeadmin.rb +2 -1
- data/lib/generators/active_admin/assets/assets_generator.rb +3 -2
- data/lib/generators/active_admin/assets/templates/active_admin.scss +2 -2
- data/lib/generators/active_admin/devise/devise_generator.rb +6 -5
- data/lib/generators/active_admin/install/install_generator.rb +15 -8
- data/lib/generators/active_admin/install/templates/active_admin.rb.erb +27 -3
- data/lib/generators/active_admin/install/templates/dashboard.rb +1 -0
- data/lib/generators/active_admin/page/page_generator.rb +2 -1
- data/lib/generators/active_admin/page/templates/page.rb +1 -0
- data/lib/generators/active_admin/resource/resource_generator.rb +4 -3
- data/lib/generators/active_admin/webpacker/plugins/jquery.js +7 -0
- data/lib/generators/active_admin/webpacker/templates/active_admin.js +5 -0
- data/lib/generators/active_admin/webpacker/templates/active_admin.scss +17 -0
- data/lib/generators/active_admin/webpacker/templates/print.scss +2 -0
- data/lib/generators/active_admin/webpacker/webpacker_generator.rb +27 -0
- data/vendor/assets/javascripts/jquery-ui/data.js +12 -8
- data/vendor/assets/javascripts/jquery-ui/disable-selection.js +10 -7
- data/vendor/assets/javascripts/jquery-ui/focusable.js +12 -9
- data/vendor/assets/javascripts/jquery-ui/form-reset-mixin.js +60 -57
- data/vendor/assets/javascripts/jquery-ui/form.js +15 -12
- data/vendor/assets/javascripts/jquery-ui/ie.js +5 -2
- data/vendor/assets/javascripts/jquery-ui/keycode.js +11 -7
- data/vendor/assets/javascripts/jquery-ui/labels.js +46 -40
- data/vendor/assets/javascripts/jquery-ui/plugin.js +5 -2
- data/vendor/assets/javascripts/jquery-ui/position.js +30 -17
- data/vendor/assets/javascripts/jquery-ui/safe-active-element.js +6 -2
- data/vendor/assets/javascripts/jquery-ui/safe-blur.js +6 -2
- data/vendor/assets/javascripts/jquery-ui/scroll-parent.js +10 -7
- data/vendor/assets/javascripts/jquery-ui/tabbable.js +11 -8
- data/vendor/assets/javascripts/jquery-ui/unique-id.js +10 -7
- data/vendor/assets/javascripts/jquery-ui/version.js +6 -3
- data/vendor/assets/javascripts/jquery-ui/widget.js +53 -30
- data/vendor/assets/javascripts/jquery-ui/widgets/button.js +87 -24
- data/vendor/assets/javascripts/jquery-ui/widgets/checkboxradio.js +276 -273
- data/vendor/assets/javascripts/jquery-ui/widgets/controlgroup.js +15 -11
- data/vendor/assets/javascripts/jquery-ui/widgets/datepicker.js +182 -62
- data/vendor/assets/javascripts/jquery-ui/widgets/dialog.js +53 -36
- data/vendor/assets/javascripts/jquery-ui/widgets/draggable.js +28 -19
- data/vendor/assets/javascripts/jquery-ui/widgets/mouse.js +22 -11
- data/vendor/assets/javascripts/jquery-ui/widgets/resizable.js +47 -26
- data/vendor/assets/javascripts/jquery-ui/widgets/sortable.js +186 -125
- data/vendor/assets/javascripts/jquery-ui/widgets/tabs.js +20 -20
- metadata +48 -114
- data/docs/.gitignore +0 -1
- data/docs/0-installation.md +0 -118
- data/docs/1-general-configuration.md +0 -224
- data/docs/10-custom-pages.md +0 -150
- data/docs/11-decorators.md +0 -59
- data/docs/12-arbre-components.md +0 -214
- data/docs/13-authorization-adapter.md +0 -285
- data/docs/14-gotchas.md +0 -138
- data/docs/2-resource-customization.md +0 -466
- data/docs/3-index-pages/custom-index.md +0 -35
- data/docs/3-index-pages/index-as-block.md +0 -19
- data/docs/3-index-pages/index-as-blog.md +0 -69
- data/docs/3-index-pages/index-as-grid.md +0 -27
- data/docs/3-index-pages/index-as-table.md +0 -234
- data/docs/3-index-pages.md +0 -328
- data/docs/4-csv-format.md +0 -74
- data/docs/5-forms.md +0 -232
- data/docs/6-show-pages.md +0 -81
- data/docs/7-sidebars.md +0 -75
- data/docs/8-custom-actions.md +0 -177
- data/docs/9-batch-actions.md +0 -237
- data/docs/CNAME +0 -1
- data/docs/Gemfile +0 -3
- data/docs/Gemfile.lock +0 -248
- data/docs/README.md +0 -24
- data/docs/_config.yml +0 -4
- data/docs/_includes/footer.html +0 -8
- data/docs/_includes/google-analytics.html +0 -16
- data/docs/_includes/head.html +0 -7
- data/docs/_includes/toc.html +0 -98
- data/docs/_includes/top-menu.html +0 -17
- data/docs/_layouts/default.html +0 -21
- data/docs/documentation.md +0 -60
- data/docs/images/activeadmin.png +0 -0
- data/docs/images/code-header.png +0 -0
- data/docs/images/divider.png +0 -0
- data/docs/images/features.png +0 -0
- data/docs/images/tidelift.svg +0 -14
- data/docs/index.html +0 -226
- data/docs/stylesheets/main.css +0 -1205
- data/lib/active_admin/deprecation.rb +0 -10
- data/lib/ransack_ext.rb +0 -20
- data/vendor/assets/javascripts/jquery-ui/escape-selector.js +0 -23
- /data/app/assets/stylesheets/active_admin/{print.scss → _print.scss} +0 -0
data/config/locales/nb.yml
CHANGED
@@ -25,14 +25,6 @@ nb:
|
|
25
25
|
filter: "Filter"
|
26
26
|
clear: "Fjern filter"
|
27
27
|
predicates:
|
28
|
-
contains: "Inneholder"
|
29
|
-
equals: "Er lik"
|
30
|
-
starts_with: "Starter med"
|
31
|
-
ends_with: "Slutter med"
|
32
|
-
greater_than: "Større enn"
|
33
|
-
less_than: "Mindre enn"
|
34
|
-
gteq_datetime: "Større enn eller lik"
|
35
|
-
lteq_datetime: "Mindre enn eller lik"
|
36
28
|
from: "Fra"
|
37
29
|
to: "Til"
|
38
30
|
search_status:
|
data/config/locales/nl.yml
CHANGED
@@ -27,15 +27,7 @@ nl:
|
|
27
27
|
filter: "Filter"
|
28
28
|
clear: "Maak Filters Ongedaan"
|
29
29
|
predicates:
|
30
|
-
contains: "Bevat"
|
31
|
-
equals: "Gelijk aan"
|
32
|
-
starts_with: "Begint met"
|
33
|
-
ends_with: "Eindigt op"
|
34
|
-
greater_than: "Groter dan"
|
35
|
-
less_than: "Kleiner dan"
|
36
30
|
from: Van
|
37
|
-
gteq_datetime: Groter of gelijk aan
|
38
|
-
lteq_datetime: Kleiner of gelijk aan
|
39
31
|
to: Tot
|
40
32
|
search_status:
|
41
33
|
current_scope: "Scope:"
|
@@ -114,7 +106,7 @@ nl:
|
|
114
106
|
submit: "inloggen"
|
115
107
|
reset_password:
|
116
108
|
title: "Wachtwoord vergeten?"
|
117
|
-
submit: "Reset mijn wachtwoord
|
109
|
+
submit: "Reset mijn wachtwoord"
|
118
110
|
change_password:
|
119
111
|
title: "Wijzig uw wachtwoord"
|
120
112
|
submit: "Mijn wachtwoord wijzigen"
|
data/config/locales/pl.yml
CHANGED
@@ -47,14 +47,6 @@ pl:
|
|
47
47
|
filter: "Filtruj"
|
48
48
|
clear: "Wyczyść Filtry"
|
49
49
|
predicates:
|
50
|
-
contains: "Zawiera"
|
51
|
-
equals: "Równe"
|
52
|
-
starts_with: "Zaczyna się"
|
53
|
-
ends_with: "Kończy się"
|
54
|
-
greater_than: "Większe niż"
|
55
|
-
less_than: "Mniejsze niż"
|
56
|
-
gteq_datetime: "Większe lub równe"
|
57
|
-
lteq_datetime: "Mniejsze lub równe"
|
58
50
|
from: "Od"
|
59
51
|
to: "Do"
|
60
52
|
scopes:
|
data/config/locales/pt-BR.yml
CHANGED
@@ -26,14 +26,6 @@ pt-BR:
|
|
26
26
|
filter: "Filtrar"
|
27
27
|
clear: "Limpar Filtros"
|
28
28
|
predicates:
|
29
|
-
contains: "Contém"
|
30
|
-
equals: "Igual A"
|
31
|
-
starts_with: "Começa com"
|
32
|
-
ends_with: "Termina com"
|
33
|
-
greater_than: "Maior Que"
|
34
|
-
less_than: "Menor Que"
|
35
|
-
gteq_datetime: "Maior ou igual a"
|
36
|
-
lteq_datetime: "Menor ou igual a"
|
37
29
|
from: "A partir de"
|
38
30
|
to: "Até"
|
39
31
|
search_status:
|
data/config/locales/pt-PT.yml
CHANGED
@@ -24,13 +24,6 @@
|
|
24
24
|
buttons:
|
25
25
|
filter: "Filtrar"
|
26
26
|
clear: "Limpar Filtros"
|
27
|
-
predicates:
|
28
|
-
contains: "Contém"
|
29
|
-
equals: "Igual A"
|
30
|
-
starts_with: "Começa com"
|
31
|
-
ends_with: "Termina com"
|
32
|
-
greater_than: "Maior Que"
|
33
|
-
less_than: "Menor Que"
|
34
27
|
status_tag:
|
35
28
|
"yes": "Sim"
|
36
29
|
"no": "Não"
|
data/config/locales/ro.yml
CHANGED
@@ -24,13 +24,6 @@ ro:
|
|
24
24
|
buttons:
|
25
25
|
filter: "Cautati"
|
26
26
|
clear: "Stergeti filtrele"
|
27
|
-
predicates:
|
28
|
-
contains: "Conține"
|
29
|
-
equals: "Egal Cu"
|
30
|
-
starts_with: "începe cu"
|
31
|
-
ends_with: "se termină cu"
|
32
|
-
greater_than: "Mai Mare Decat"
|
33
|
-
less_than: "Mai Mic Decat"
|
34
27
|
status_tag:
|
35
28
|
"yes": "Da"
|
36
29
|
"no": "Nu"
|
@@ -47,8 +40,9 @@ ro:
|
|
47
40
|
multiple: "Sunt afisate <b>%{from} - %{to}</b> din <b>%{total}</b> inregistrari"
|
48
41
|
multiple_without_total: "Sunt afisate <b>%{from} - %{to}</b>"
|
49
42
|
entry:
|
50
|
-
one: "
|
51
|
-
|
43
|
+
one: "înregistrăre"
|
44
|
+
few: "înregistrări"
|
45
|
+
other: "înregistrări"
|
52
46
|
any: "Oricare"
|
53
47
|
blank_slate:
|
54
48
|
content: "Momentan nu exista %{resource_name}."
|
data/config/locales/ru.yml
CHANGED
@@ -25,12 +25,6 @@ ru:
|
|
25
25
|
filter: "Фильтровать"
|
26
26
|
clear: "Очистить"
|
27
27
|
predicates:
|
28
|
-
contains: "Содержит"
|
29
|
-
equals: "Равно"
|
30
|
-
starts_with: "Начинается с"
|
31
|
-
ends_with: "Заканчивается"
|
32
|
-
greater_than: "больше"
|
33
|
-
less_than: "меньше"
|
34
28
|
from: "От"
|
35
29
|
to: "До"
|
36
30
|
search_status:
|
data/config/locales/sk.yml
CHANGED
@@ -47,14 +47,6 @@ sk:
|
|
47
47
|
filter: "Filtrovať"
|
48
48
|
clear: "Vyčistiť filtre"
|
49
49
|
predicates:
|
50
|
-
contains: "Obsahuje"
|
51
|
-
equals: "Je presne"
|
52
|
-
starts_with: "Začína na"
|
53
|
-
ends_with: "Končí na"
|
54
|
-
greater_than: "Väčší ako"
|
55
|
-
less_than: "Menší ako"
|
56
|
-
gteq_datetime: "Od"
|
57
|
-
lteq_datetime: "Do"
|
58
50
|
from: "Od"
|
59
51
|
to: "Do"
|
60
52
|
scopes:
|
data/config/locales/sv-SE.yml
CHANGED
@@ -1,17 +1,34 @@
|
|
1
1
|
"sv-SE":
|
2
|
+
activerecord:
|
3
|
+
models:
|
4
|
+
comment:
|
5
|
+
one: "Kommentar"
|
6
|
+
other: "Kommentarer"
|
7
|
+
active_admin/comment:
|
8
|
+
one: "Kommentar"
|
9
|
+
other: "Kommentarer"
|
10
|
+
attributes:
|
11
|
+
active_admin/comment:
|
12
|
+
author_type: "Författartyp"
|
13
|
+
body: "Innehåll"
|
14
|
+
created_at: "Skapad"
|
15
|
+
namespace: "Namnrymd"
|
16
|
+
resource_type: "Resurstyp"
|
17
|
+
updated_at: "Aktualiserad"
|
2
18
|
active_admin:
|
3
19
|
dashboard: Skrivbord
|
4
20
|
dashboard_welcome:
|
5
21
|
welcome: "Välkommen till Active Admin. Detta är ditt standardskrivbord."
|
6
|
-
call_to_action: "För att lägga till sektioner,
|
22
|
+
call_to_action: "För att lägga till sektioner, gå till 'app/admin/dashboard.rb'"
|
7
23
|
view: "Visa"
|
8
24
|
edit: "Redigera"
|
9
25
|
delete: "Ta bort"
|
10
|
-
delete_confirmation: "Är du säker att du vill ta bort
|
26
|
+
delete_confirmation: "Är du säker på att du vill ta bort detta?"
|
27
|
+
create_another: "Skapa en till %{model}"
|
11
28
|
new_model: "Ny %{model}"
|
12
29
|
edit_model: "Redigera %{model}"
|
13
30
|
delete_model: "Ta bort %{model}"
|
14
|
-
details: "
|
31
|
+
details: "%{model}-detaljer"
|
15
32
|
cancel: "Avbryt"
|
16
33
|
empty: "Tom"
|
17
34
|
previous: "Föregående"
|
@@ -20,82 +37,84 @@
|
|
20
37
|
has_many_new: "Skapa en ny %{model}"
|
21
38
|
has_many_delete: "Ta bort"
|
22
39
|
has_many_remove: "Ta bort"
|
40
|
+
move: "Flytta"
|
23
41
|
filters:
|
24
42
|
buttons:
|
25
|
-
filter: "
|
43
|
+
filter: "Filtrera"
|
26
44
|
clear: "Rensa filter"
|
27
45
|
predicates:
|
28
|
-
contains: "Innehåller"
|
29
|
-
equals: "Lika med"
|
30
|
-
starts_with: "Börjar med"
|
31
|
-
ends_with: "Slutar med"
|
32
|
-
greater_than: "Större än"
|
33
|
-
less_than: "Mindre än"
|
34
46
|
from: "Från"
|
35
47
|
to: "Till"
|
48
|
+
scopes:
|
49
|
+
all: "Alla"
|
36
50
|
search_status:
|
37
|
-
headline: "
|
38
|
-
current_scope: "
|
39
|
-
current_filters: "
|
51
|
+
headline: "Sökstatus:"
|
52
|
+
current_scope: "Omfattning:"
|
53
|
+
current_filters: "Aktiva filter:"
|
40
54
|
no_current_filters: "Inga"
|
41
55
|
status_tag:
|
42
56
|
"yes": "Ja"
|
43
57
|
"no": "Nej"
|
44
58
|
"unset": "Nej"
|
45
|
-
main_content: "Implementera %{model}#main_content för att
|
59
|
+
main_content: "Implementera %{model}#main_content för att visa innehåll."
|
46
60
|
logout: "Logga ut"
|
47
61
|
powered_by: "Powered by %{active_admin} %{version}"
|
48
62
|
sidebars:
|
49
63
|
filters: "Filter"
|
50
|
-
search_status: "
|
64
|
+
search_status: "Sökstatus"
|
51
65
|
pagination:
|
52
|
-
empty: "Ingen %{model}
|
53
|
-
one: "Visar <b>1</b>
|
54
|
-
one_page: "Visar <b>alla %{n}</b>
|
66
|
+
empty: "Ingen %{model} hittades"
|
67
|
+
one: "Visar <b>1</b> %{model}"
|
68
|
+
one_page: "Visar <b>alla %{n}</b> %{model}"
|
55
69
|
multiple: "Visar %{model} <b>%{from} - %{to}</b> av <b>%{total}</b> totalt"
|
56
70
|
multiple_without_total: "Visar %{model} <b>%{from} - %{to}</b>"
|
71
|
+
per_page: "Per sida: "
|
57
72
|
entry:
|
58
73
|
one: "inlägg"
|
59
74
|
other: "inlägg"
|
60
|
-
any: "
|
75
|
+
any: "Alla"
|
61
76
|
blank_slate:
|
62
|
-
content: "
|
77
|
+
content: "Det finns inga %{resource_name} än."
|
63
78
|
link: "Skapa en"
|
64
79
|
dropdown_actions:
|
65
|
-
button_label: "
|
80
|
+
button_label: "Åtgärder"
|
66
81
|
batch_actions:
|
67
|
-
button_label: "Batch
|
82
|
+
button_label: "Batch-åtgärder"
|
68
83
|
default_confirmation: "Är du säker på att du vill göra detta?"
|
69
84
|
delete_confirmation: "Är du säker på att du vill radera dessa %{plural_model}?"
|
70
85
|
succesfully_destroyed:
|
71
86
|
one: "Lyckades radera 1 %{model}"
|
72
87
|
other: "Lyckades radera %{count} %{plural_model}"
|
73
|
-
selection_toggle_explanation: "(
|
74
|
-
action_label: "%{title}
|
88
|
+
selection_toggle_explanation: "(Byt markering)"
|
89
|
+
action_label: "%{title} markerad"
|
75
90
|
labels:
|
76
91
|
destroy: "Radera"
|
77
92
|
comments:
|
78
93
|
created_at: "Skapad"
|
79
|
-
resource_type: "
|
80
|
-
author_type: "
|
94
|
+
resource_type: "Resurstyp"
|
95
|
+
author_type: "Författartyp"
|
81
96
|
body: "Innehåll"
|
82
97
|
author: "Författare"
|
83
98
|
add: "Lägg till kommentar"
|
99
|
+
delete: "Radera kommentar"
|
100
|
+
delete_confirmation: "Är du säker på att du vill radera dessa kommentarer?"
|
84
101
|
resource: "Resurs"
|
85
102
|
no_comments_yet: "Inga kommentarer än."
|
86
103
|
author_missing: "Anonym"
|
87
104
|
title_content: "Kommentarer (%{count})"
|
88
105
|
errors:
|
89
|
-
empty_text: "Kommentaren sparades inte
|
106
|
+
empty_text: "Kommentaren sparades inte. Textfältet får inte vara tomt."
|
90
107
|
devise:
|
91
108
|
username:
|
92
109
|
title: "Användarnamn"
|
93
110
|
email:
|
94
|
-
title: "
|
111
|
+
title: "E-post"
|
95
112
|
subdomain:
|
96
113
|
title: "Subdomän"
|
97
114
|
password:
|
98
115
|
title: "Lösenord"
|
116
|
+
password_confirmation:
|
117
|
+
title: "Bekräfta lösenord"
|
99
118
|
sign_up:
|
100
119
|
title: "Registera"
|
101
120
|
submit: "Registera"
|
@@ -105,29 +124,29 @@
|
|
105
124
|
submit: "Inloggning"
|
106
125
|
reset_password:
|
107
126
|
title: "Glömt ditt lösenord?"
|
108
|
-
submit: "
|
127
|
+
submit: "Återställ mitt lösenord"
|
109
128
|
change_password:
|
110
129
|
title: "Ändra ditt lösenord"
|
111
130
|
submit: "Ändra mitt lösenord"
|
112
131
|
unlock:
|
113
|
-
title: "Skicka
|
114
|
-
submit: "Skicka
|
132
|
+
title: "Skicka upplåsningsinstruktioner"
|
133
|
+
submit: "Skicka upplåsningsinstruktioner"
|
115
134
|
resend_confirmation_instructions:
|
116
|
-
title: "Skicka
|
117
|
-
submit: "Skicka
|
135
|
+
title: "Skicka bekräftelseinstruktioner"
|
136
|
+
submit: "Skicka bekräftelseinstruktioner"
|
118
137
|
links:
|
119
138
|
sign_up: "Registera"
|
120
139
|
sign_in: "Logga in"
|
121
140
|
forgot_your_password: "Glömt ditt lösenord?"
|
122
141
|
sign_in_with_omniauth_provider: "Logga in med %{provider}"
|
123
|
-
resend_unlock_instructions: "Skicka
|
124
|
-
resend_confirmation_instructions: "Skicka
|
142
|
+
resend_unlock_instructions: "Skicka upplåsningsinstruktioner igen"
|
143
|
+
resend_confirmation_instructions: "Skicka bekräftningsinstruktioner igen"
|
125
144
|
unsupported_browser:
|
126
|
-
headline: "
|
127
|
-
recommendation: "Vi rekommenderar
|
128
|
-
turn_off_compatibility_view: "Om du använder IE 9 eller senare, se till att <a href=\"https://support.microsoft.com/sv-se/help/17471\">
|
145
|
+
headline: "Observera att ActiveAdmin inte längre stödjer Internet Explorer version 8 eller lägre."
|
146
|
+
recommendation: "Vi rekommenderar att du uppgraderar till den senaste versionen av <a href=\"http://windows.microsoft.com/ie\">Internet Explorer</a>, <a href=\"https://chrome.google.com/\">Google Chrome</a>, eller <a href=\"https://mozilla.org/firefox/\">Firefox</a>."
|
147
|
+
turn_off_compatibility_view: "Om du använder IE 9 eller senare, se till att <a href=\"https://support.microsoft.com/sv-se/help/17471\">stänga av \"Compatibility View\"</a>."
|
129
148
|
access_denied:
|
130
|
-
message: "Du har inte
|
149
|
+
message: "Du har inte behörighet att utföra denna åtgärd."
|
131
150
|
index_list:
|
132
151
|
table: "Tabell"
|
133
152
|
block: "Lista"
|
data/config/locales/tr.yml
CHANGED
@@ -26,17 +26,6 @@ tr:
|
|
26
26
|
buttons:
|
27
27
|
filter: "Filtrele"
|
28
28
|
clear: "Filtreleri Temizle"
|
29
|
-
predicates:
|
30
|
-
contains: "İçerir"
|
31
|
-
equals: "Eşittir"
|
32
|
-
starts_with: "İle başlar"
|
33
|
-
ends_with: "İle biter"
|
34
|
-
greater_than: "Büyüktür"
|
35
|
-
less_than: "Küçüktür"
|
36
|
-
gteq_datetime: "Büyük yada eşit"
|
37
|
-
lteq_datetime: "Küçük yada eşit"
|
38
|
-
from: "Başlangıç"
|
39
|
-
to: "Bitiş"
|
40
29
|
search_status:
|
41
30
|
headline: "Arama"
|
42
31
|
current_scope: "Kapsam:"
|
data/config/locales/uk.yml
CHANGED
@@ -25,12 +25,6 @@ uk:
|
|
25
25
|
filter: "Фільтрувати"
|
26
26
|
clear: "Очистити"
|
27
27
|
predicates:
|
28
|
-
contains: "Містить"
|
29
|
-
equals: "="
|
30
|
-
starts_with: "Починається з"
|
31
|
-
ends_with: "Закінчується"
|
32
|
-
greater_than: "більше"
|
33
|
-
less_than: "менше"
|
34
28
|
from: "від"
|
35
29
|
to: "до"
|
36
30
|
search_status:
|
data/config/locales/vi.yml
CHANGED
@@ -1,13 +1,29 @@
|
|
1
1
|
vi:
|
2
|
+
activerecord:
|
3
|
+
models:
|
4
|
+
comment:
|
5
|
+
one: "Bình luận"
|
6
|
+
other: "Các bình luận"
|
7
|
+
active_admin/comment:
|
8
|
+
one: "Bình luận"
|
9
|
+
other: "Các bình luận"
|
10
|
+
attributes:
|
11
|
+
active_admin/comment:
|
12
|
+
author_type: "Loại tác giả"
|
13
|
+
body: "Nội dung"
|
14
|
+
created_at: "Đã tạo"
|
15
|
+
namespace: "Namespace"
|
16
|
+
resource_type: "Resource type"
|
17
|
+
updated_at: "Đã cập nhật"
|
2
18
|
active_admin:
|
3
19
|
dashboard: Bảng điều khiển
|
4
20
|
dashboard_welcome:
|
5
21
|
welcome: "Chào mừng bạn đến với Active Admin. Đây là trang điều khiển mặc định."
|
6
|
-
call_to_action: "Để thêm
|
22
|
+
call_to_action: "Để thêm thành phần cho trang điều khiển hãy chỉnh sửa 'app/admin/dashboard.rb'"
|
7
23
|
view: "Xem"
|
8
24
|
edit: "Chỉnh sửa"
|
9
25
|
delete: "Xóa"
|
10
|
-
delete_confirmation: "Bạn có chắc chắn rằng mình muốn xóa
|
26
|
+
delete_confirmation: "Bạn có chắc chắn rằng mình muốn xóa không?"
|
11
27
|
new_model: "Tạo mới %{model}"
|
12
28
|
edit_model: "Chỉnh sửa %{model}"
|
13
29
|
delete_model: "Xóa %{model}"
|
@@ -16,30 +32,25 @@ vi:
|
|
16
32
|
cancel: "Hủy"
|
17
33
|
empty: "Trống"
|
18
34
|
previous: "Trước"
|
19
|
-
next: "
|
20
|
-
download: "
|
35
|
+
next: "Sau"
|
36
|
+
download: "Tải về:"
|
21
37
|
has_many_new: "Thêm mới %{model}"
|
22
38
|
has_many_delete: "Xóa"
|
23
39
|
has_many_remove: "Hủy bỏ"
|
40
|
+
move: "Di chuyển"
|
24
41
|
filters:
|
25
42
|
buttons:
|
26
43
|
filter: "Lọc"
|
27
44
|
clear: "Xóa dữ liệu lọc"
|
28
45
|
predicates:
|
29
|
-
contains: "Có chứa"
|
30
|
-
equals: "Bằng"
|
31
|
-
starts_with: "Bắt đầu với"
|
32
|
-
ends_with: "Kết thúc với việc"
|
33
|
-
greater_than: "Lớn hơn"
|
34
|
-
less_than: "Nhỏ hơn"
|
35
|
-
gteq_datetime: "Lớn hơn hoặc bằng"
|
36
|
-
lteq_datetime: "Nhỏ hơn hoặc bằng"
|
37
46
|
from: "Từ"
|
38
47
|
to: "Đến"
|
48
|
+
scopes:
|
49
|
+
all: "Tất cả"
|
39
50
|
search_status:
|
40
51
|
headline: "Danh sách tìm kiếm:"
|
41
52
|
current_scope: "Phạm vi:"
|
42
|
-
current_filters: "Bộ
|
53
|
+
current_filters: "Bộ lọc hiện tại:"
|
43
54
|
no_current_filters: "Không có"
|
44
55
|
status_tag:
|
45
56
|
"yes": "Có"
|
@@ -47,7 +58,7 @@ vi:
|
|
47
58
|
"unset": "Không Có"
|
48
59
|
main_content: "Xin bổ sung %{model}#main_content để hiển thị nội dung."
|
49
60
|
logout: "Đăng xuất"
|
50
|
-
powered_by: "
|
61
|
+
powered_by: "Bản quyền bởi %{active_admin} %{version}"
|
51
62
|
sidebars:
|
52
63
|
filters: "Bộ Lọc"
|
53
64
|
search_status: "Trạng thái tìm kiếm"
|
@@ -75,12 +86,13 @@ vi:
|
|
75
86
|
one: "Đã xóa thành công 1 %{model}"
|
76
87
|
other: "Đã xóa thành công %{count} %{plural_model}"
|
77
88
|
selection_toggle_explanation: "(Thay đổi lựa chọn)"
|
78
|
-
action_label: "%{title} được chọn"
|
89
|
+
action_label: "%{title} đã được chọn"
|
79
90
|
labels:
|
80
91
|
destroy: "Xóa"
|
81
92
|
comments:
|
82
93
|
created_at: "Đã tạo"
|
83
94
|
resource_type: "Resource Type"
|
95
|
+
author_type: "Loại tác giả"
|
84
96
|
body: "Nội dung"
|
85
97
|
author: "Tác giả"
|
86
98
|
add: "Thêm bình luận"
|
@@ -117,15 +129,22 @@ vi:
|
|
117
129
|
title: "Thay đổi mật khẩu của bạn"
|
118
130
|
submit: "Thay đổi mật khẩu của tôi"
|
119
131
|
unlock:
|
120
|
-
title: "
|
121
|
-
submit: "
|
132
|
+
title: "Gửi lại hướng dẫn mở khoá"
|
133
|
+
submit: "Gửi lại hướng dẫn mở khoá"
|
122
134
|
resend_confirmation_instructions:
|
123
|
-
title: "
|
124
|
-
submit: "
|
135
|
+
title: "Gửi lại hướng dẫn xác nhận"
|
136
|
+
submit: "Gửi lại hướng dẫn xác nhận"
|
125
137
|
links:
|
138
|
+
sign_up: "Đăng ký"
|
126
139
|
sign_in: "Đăng nhập"
|
127
140
|
forgot_your_password: "Quên mật khẩu của bạn?"
|
128
141
|
sign_in_with_omniauth_provider: "Đăng nhập với %{provider}"
|
142
|
+
resend_unlock_instructions: "Gửi lại hướng dẫn mở khoá"
|
143
|
+
resend_confirmation_instructions: "Gửi lại hướng dẫn xác nhận"
|
144
|
+
unsupported_browser:
|
145
|
+
headline: "Vui lòng lưu ý rằng ActiveAdmin không còn hỗ trợ trên Internet Explorer các phiên bản 8 và thấp hơn."
|
146
|
+
recommendation: "Chúng tôi khuyên bạn hãy vào <a href=\"http://browsehappy.com/\">nâng cấp trình duyệt của bạn </a> để cải thiện trải nghiệm của bạn."
|
147
|
+
turn_off_compatibility_view: "Nếu bạn đang sử dụng IE 9 hoặc mới hơn, hãy chắc chắn bạn <a href=\"https://support.microsoft.com/en-us/help/17471\">tắt \"Compatibility View\"</a>."
|
129
148
|
access_denied:
|
130
149
|
message: "Bạn không có quyền thực hiện tính năng này"
|
131
150
|
index_list:
|
data/config/locales/zh-CN.yml
CHANGED
@@ -1,4 +1,20 @@
|
|
1
1
|
"zh-CN":
|
2
|
+
activerecord:
|
3
|
+
models:
|
4
|
+
comment:
|
5
|
+
one: "评论"
|
6
|
+
other: "评论"
|
7
|
+
active_admin/comment:
|
8
|
+
one: "评论"
|
9
|
+
other: "评论"
|
10
|
+
attributes:
|
11
|
+
active_admin/comment:
|
12
|
+
author_type: "作者类型"
|
13
|
+
body: "内容"
|
14
|
+
created_at: "创建"
|
15
|
+
namespace: "Namespace"
|
16
|
+
resource_type: "Resource 类型"
|
17
|
+
updated_at: "更新"
|
2
18
|
active_admin:
|
3
19
|
dashboard: "控制面板"
|
4
20
|
dashboard_welcome:
|
@@ -8,8 +24,8 @@
|
|
8
24
|
edit: "编辑"
|
9
25
|
delete: "删除"
|
10
26
|
delete_confirmation: "确定删除?"
|
11
|
-
create_another: "
|
12
|
-
new_model: "
|
27
|
+
create_another: "新增另一个%{model}"
|
28
|
+
new_model: "新增%{model}"
|
13
29
|
edit_model: "编辑%{model}"
|
14
30
|
delete_model: "删除%{model}"
|
15
31
|
details: "%{model}详情"
|
@@ -17,37 +33,32 @@
|
|
17
33
|
empty: "未定义"
|
18
34
|
previous: "上一个"
|
19
35
|
next: "下一个"
|
20
|
-
download: "
|
21
|
-
has_many_new: "
|
36
|
+
download: "下载:"
|
37
|
+
has_many_new: "新增一个%{model}"
|
22
38
|
has_many_delete: "删除"
|
23
39
|
has_many_remove: "清除"
|
40
|
+
move: "移动"
|
24
41
|
filters:
|
25
42
|
buttons:
|
26
43
|
filter: "过滤"
|
27
44
|
clear: "清除条件"
|
28
45
|
predicates:
|
29
|
-
contains: "包含"
|
30
|
-
equals: "等于"
|
31
|
-
starts_with: "开头"
|
32
|
-
ends_with: "完与"
|
33
|
-
greater_than: "大于"
|
34
|
-
less_than: "小于"
|
35
|
-
gteq_datetime: "大于等于"
|
36
|
-
lteq_datetime: "小于等于"
|
37
46
|
from: "起"
|
38
47
|
to: "止"
|
48
|
+
scopes:
|
49
|
+
all: "所有"
|
39
50
|
search_status:
|
40
51
|
headline: "搜索条件:"
|
41
|
-
current_scope: "
|
52
|
+
current_scope: "范围:"
|
42
53
|
current_filters: "过滤条件:"
|
43
54
|
no_current_filters: "无"
|
44
55
|
status_tag:
|
45
56
|
"yes": "是"
|
46
57
|
"no": "否"
|
47
58
|
"unset": "否"
|
48
|
-
main_content: "请执行 %{model}#main_content
|
59
|
+
main_content: "请执行 %{model}#main_content 来显示内容。"
|
49
60
|
logout: "退出"
|
50
|
-
powered_by: "
|
61
|
+
powered_by: "构建程序为 %{active_admin} %{version}"
|
51
62
|
sidebars:
|
52
63
|
filters: "所有条件"
|
53
64
|
search_status: "搜索条件"
|
@@ -63,14 +74,14 @@
|
|
63
74
|
other: "条目"
|
64
75
|
any: "任何"
|
65
76
|
blank_slate:
|
66
|
-
content: "暂时还没有%{resource_name}
|
67
|
-
link: "
|
77
|
+
content: "暂时还没有%{resource_name}。"
|
78
|
+
link: "新增一个"
|
68
79
|
dropdown_actions:
|
69
|
-
button_label: "
|
80
|
+
button_label: "操作"
|
70
81
|
batch_actions:
|
71
82
|
button_label: "批处理"
|
72
|
-
default_confirmation: "
|
73
|
-
delete_confirmation: "你确定要删除这些%{plural_model}
|
83
|
+
default_confirmation: "你确定要这样做?"
|
84
|
+
delete_confirmation: "你确定要删除这些%{plural_model}?"
|
74
85
|
succesfully_destroyed:
|
75
86
|
one: "成功删除 1 %{model}"
|
76
87
|
other: "成功删除 %{count} %{plural_model}"
|
@@ -92,7 +103,7 @@
|
|
92
103
|
author_missing: "匿名"
|
93
104
|
title_content: "(%{count})条评论"
|
94
105
|
errors:
|
95
|
-
empty_text: "
|
106
|
+
empty_text: "评论保存失败,内空不能为空。"
|
96
107
|
devise:
|
97
108
|
username:
|
98
109
|
title: "用户名"
|
@@ -121,8 +132,8 @@
|
|
121
132
|
title: "重新发送送解锁命令"
|
122
133
|
submit: "重新发送送解锁命令"
|
123
134
|
resend_confirmation_instructions:
|
124
|
-
title: "
|
125
|
-
submit: "
|
135
|
+
title: " 重新发送确认说明"
|
136
|
+
submit: " 重新发送确认说明"
|
126
137
|
links:
|
127
138
|
sign_up: "注册"
|
128
139
|
sign_in: "登录"
|
data/config/locales/zh-TW.yml
CHANGED