typus 3.0.2 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile +20 -9
- data/Gemfile.lock +93 -65
- data/MIT-LICENSE +1 -1
- data/README.md +61 -0
- data/Rakefile +5 -0
- data/app/controllers/admin/account_controller.rb +7 -10
- data/app/controllers/admin/base_controller.rb +16 -1
- data/app/controllers/admin/resources_controller.rb +270 -159
- data/app/controllers/admin/session_controller.rb +8 -9
- data/app/helpers/admin/base_helper.rb +13 -28
- data/app/helpers/admin/dashboard_helper.rb +4 -10
- data/app/helpers/admin/file_preview_helper.rb +70 -0
- data/app/helpers/admin/filters_helper.rb +64 -45
- data/app/helpers/admin/form_helper.rb +37 -62
- data/app/helpers/admin/relationships_helper.rb +63 -78
- data/app/helpers/admin/resources_helper.rb +10 -31
- data/app/helpers/admin/search_helper.rb +6 -9
- data/app/helpers/admin/sidebar_helper.rb +15 -20
- data/app/helpers/admin/table_helper.rb +79 -170
- data/app/mailers/admin/mailer.rb +1 -1
- data/app/views/admin/account/forgot_password.html.erb +2 -2
- data/app/views/admin/account/new.html.erb +8 -4
- data/app/views/admin/base/user_guide.html.erb +85 -0
- data/app/views/admin/dashboard/_sidebar.html.erb +3 -1
- data/app/views/admin/dashboard/show.html.erb +2 -2
- data/app/views/admin/dashboard/styles.html.erb +2 -2
- data/app/views/admin/helpers/_apps.html.erb +5 -4
- data/app/views/admin/helpers/_file_preview.html.erb +3 -0
- data/app/views/admin/helpers/_header.html.erb +3 -3
- data/app/views/admin/helpers/_login_info.html.erb +2 -2
- data/app/views/admin/helpers/dashboard/_applications.html.erb +6 -9
- data/app/views/admin/helpers/dashboard/_resources.html.erb +2 -3
- data/app/views/admin/helpers/filters/_filters.html.erb +1 -1
- data/app/views/admin/helpers/resources/_display_link_to_previous.html.erb +1 -1
- data/app/views/admin/helpers/resources/_errors.html.erb +10 -0
- data/app/views/admin/helpers/search/_search.html.erb +1 -1
- data/app/views/admin/helpers/sidebar/_sidebar.html.erb +6 -3
- data/app/views/admin/helpers/table/_table.html.erb +17 -5
- data/app/views/admin/mailer/reset_password_link.text.erb +2 -2
- data/app/views/admin/resources/_form.html.erb +3 -12
- data/app/views/admin/resources/edit.html.erb +7 -5
- data/app/views/admin/resources/index.html.erb +13 -18
- data/app/views/admin/resources/new.html.erb +4 -4
- data/app/views/admin/resources/show.html.erb +9 -13
- data/app/views/admin/session/new.html.erb +8 -4
- data/app/views/admin/templates/_belongs_to.html.erb +1 -1
- data/app/views/admin/templates/_boolean.html.erb +2 -2
- data/app/views/admin/templates/_date.html.erb +2 -2
- data/app/views/admin/templates/_datetime.html.erb +2 -2
- data/app/views/admin/templates/_file.html.erb +3 -19
- data/app/views/admin/templates/_has_n.html.erb +4 -4
- data/app/views/admin/templates/_has_one.html.erb +14 -0
- data/app/views/admin/templates/_password.html.erb +2 -2
- data/app/views/admin/templates/_profile_sidebar.html.erb +3 -0
- data/app/views/admin/templates/_relate_form.html.erb +2 -1
- data/app/views/admin/templates/_selector.html.erb +1 -1
- data/app/views/admin/templates/_string.html.erb +6 -6
- data/app/views/admin/templates/_text.html.erb +11 -4
- data/app/views/admin/templates/_time.html.erb +2 -2
- data/app/views/admin/templates/_tree.html.erb +1 -1
- data/app/views/layouts/admin/base.html.erb +7 -6
- data/app/views/layouts/admin/session.html.erb +4 -14
- data/config/{available_locales/ca_models.yml → locales/typus.ca.models.yml} +5 -4
- data/config/locales/typus.ca.yml +81 -0
- data/config/{available_locales/de_models.yml → locales/typus.de.models.yml} +6 -2
- data/config/locales/typus.de.yml +80 -0
- data/config/locales/typus.el.models.yml +17 -0
- data/config/locales/typus.el.yml +82 -0
- data/config/{available_locales/es_models.yml → locales/typus.es.models.yml} +9 -4
- data/config/locales/typus.es.yml +82 -0
- data/config/{available_locales/fr_models.yml → locales/typus.fr.models.yml} +8 -3
- data/config/locales/typus.fr.yml +87 -0
- data/config/{available_locales/hu_models.yml → locales/typus.hu.models.yml} +6 -2
- data/config/locales/typus.hu.yml +80 -0
- data/config/{available_locales/it_models.yml → locales/typus.it.models.yml} +7 -4
- data/config/locales/typus.it.yml +89 -0
- data/config/{available_locales/language_models.yml.template → locales/typus.locale.models.yml.template} +8 -4
- data/config/locales/typus.locale.yml.template +81 -0
- data/config/{available_locales/pt-BR_models.yml → locales/typus.pt-BR.models.yml} +6 -2
- data/config/locales/typus.pt-BR.yml +80 -0
- data/config/{available_locales/ru_models.yml → locales/typus.ru.models.yml} +6 -2
- data/config/locales/typus.ru.yml +80 -0
- data/config/locales/typus.zh-CN.models.yml +17 -0
- data/config/locales/typus.zh-CN.yml +79 -0
- data/config/routes.rb +11 -7
- data/lib/generators/templates/config/initializers/typus.rb +8 -5
- data/lib/generators/templates/config/initializers/typus_resources.rb +0 -3
- data/lib/generators/templates/config/typus/README +6 -6
- data/lib/generators/templates/config/typus/typus.yml +5 -5
- data/lib/generators/templates/controller.rb +1 -1
- data/lib/generators/templates/migration.rb +1 -0
- data/lib/generators/templates/public/admin/javascripts/application.js +0 -4
- data/lib/generators/templates/public/admin/javascripts/jquery-1.4.4.min.js +167 -0
- data/lib/generators/templates/public/admin/javascripts/jquery.application.js +16 -0
- data/lib/generators/templates/public/admin/javascripts/jquery.rails.js +50 -22
- data/lib/generators/templates/public/admin/stylesheets/screen.css +43 -34
- data/lib/generators/templates/public/admin/vendor/fancybox/fancy_loading.png +0 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/jquery.easing-1.3.pack.js +32 -32
- data/lib/generators/templates/public/admin/vendor/fancybox/{jquery.fancybox-1.3.1.css → jquery.fancybox-1.3.4.css} +359 -363
- data/lib/generators/templates/public/admin/vendor/fancybox/jquery.fancybox-1.3.4.js +1156 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/jquery.fancybox-1.3.4.pack.js +46 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/jquery.mousewheel-3.0.4.pack.js +14 -0
- data/lib/generators/typus/assets_generator.rb +23 -0
- data/lib/generators/typus/controller_generator.rb +29 -0
- data/lib/generators/typus/migration_generator.rb +39 -20
- data/lib/generators/typus/typus_generator.rb +17 -57
- data/lib/generators/typus/views_generator.rb +2 -6
- data/lib/support/active_record.rb +8 -20
- data/lib/support/fake_user.rb +6 -1
- data/lib/support/hash.rb +1 -2
- data/lib/support/object.rb +4 -17
- data/lib/support/string.rb +34 -3
- data/lib/tasks/typus.rake +1 -1
- data/lib/typus.rb +60 -48
- data/lib/typus/actions.rb +27 -0
- data/lib/typus/authentication/base.rb +3 -4
- data/lib/typus/authentication/http_basic.rb +1 -1
- data/lib/typus/authentication/none.rb +1 -1
- data/lib/typus/authentication/session.rb +53 -108
- data/lib/typus/configuration.rb +13 -11
- data/lib/typus/filters.rb +12 -0
- data/lib/typus/format.rb +9 -13
- data/lib/typus/i18n.rb +30 -0
- data/lib/typus/orm/active_record.rb +97 -194
- data/lib/typus/orm/active_record/search.rb +91 -0
- data/lib/typus/resources.rb +6 -10
- data/lib/typus/user.rb +20 -40
- data/lib/typus/version.rb +1 -1
- metadata +77 -231
- data/CHANGELOG +0 -102
- data/README.rdoc +0 -48
- data/app/helpers/admin/preview_helper.rb +0 -46
- data/app/views/admin/helpers/_preview.html.erb +0 -13
- data/app/views/admin/templates/_has_many.html.erb +0 -22
- data/config/available_locales/ca.yml +0 -122
- data/config/available_locales/de.yml +0 -122
- data/config/available_locales/es.yml +0 -122
- data/config/available_locales/fr.yml +0 -127
- data/config/available_locales/hu.yml +0 -122
- data/config/available_locales/it.yml +0 -132
- data/config/available_locales/language.yml.template +0 -120
- data/config/available_locales/pt-BR.yml +0 -122
- data/config/available_locales/ru.yml +0 -122
- data/lib/generators/templates/functional_test.rb +0 -10
- data/lib/generators/templates/model.rb +0 -8
- data/lib/generators/templates/public/admin/images/ui-icons.png +0 -0
- data/lib/generators/templates/public/admin/javascripts/jquery-1.4.2.min.js +0 -154
- data/lib/generators/templates/public/admin/vendor/fancybox/jquery.fancybox-1.3.1.js +0 -1077
- data/lib/generators/templates/public/admin/vendor/fancybox/jquery.fancybox-1.3.1.pack.js +0 -44
- data/lib/generators/templates/public/admin/vendor/fancybox/jquery.mousewheel-3.0.2.pack.js +0 -13
- data/lib/typus/pagination.rb +0 -18
- data/test/factories.rb +0 -43
- data/test/fixtures/config/broken/application.yml +0 -68
- data/test/fixtures/config/broken/application_roles.yml +0 -20
- data/test/fixtures/config/broken/empty.yml +0 -0
- data/test/fixtures/config/broken/empty_roles.yml +0 -0
- data/test/fixtures/config/broken/undefined.yml +0 -3
- data/test/fixtures/config/broken/undefined_roles.yml +0 -6
- data/test/fixtures/config/default/typus.yml +0 -13
- data/test/fixtures/config/default/typus_roles.yml +0 -2
- data/test/fixtures/config/empty/empty_01.yml +0 -0
- data/test/fixtures/config/empty/empty_01_roles.yml +0 -0
- data/test/fixtures/config/empty/empty_02.yml +0 -0
- data/test/fixtures/config/empty/empty_02_roles.yml +0 -0
- data/test/fixtures/config/locales/es.yml +0 -10
- data/test/fixtures/config/namespaced/application.yml +0 -5
- data/test/fixtures/config/namespaced/application_roles.yml +0 -2
- data/test/fixtures/config/ordered/001_roles.yml +0 -2
- data/test/fixtures/config/ordered/002_roles.yml +0 -2
- data/test/fixtures/config/unordered/app_one_roles.yml +0 -2
- data/test/fixtures/config/unordered/app_two_roles.yml +0 -2
- data/test/fixtures/config/working/application.yml +0 -73
- data/test/fixtures/config/working/application_roles.yml +0 -24
- data/test/fixtures/config/working/typus.yml +0 -13
- data/test/fixtures/config/working/typus_roles.yml +0 -2
- data/test/fixtures/rails_app/Rakefile +0 -7
- data/test/fixtures/rails_app/app/controllers/admin/assets_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/categories_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/comments_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/pages_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/pictures_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/posts_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/status_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/typus_users_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/watch_dog_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/application_controller.rb +0 -3
- data/test/fixtures/rails_app/app/models/asset.rb +0 -5
- data/test/fixtures/rails_app/app/models/category.rb +0 -11
- data/test/fixtures/rails_app/app/models/comment.rb +0 -6
- data/test/fixtures/rails_app/app/models/custom_user.rb +0 -2
- data/test/fixtures/rails_app/app/models/delayed/task.rb +0 -5
- data/test/fixtures/rails_app/app/models/page.rb +0 -5
- data/test/fixtures/rails_app/app/models/picture.rb +0 -6
- data/test/fixtures/rails_app/app/models/post.rb +0 -21
- data/test/fixtures/rails_app/app/models/typus_user.rb +0 -8
- data/test/fixtures/rails_app/app/models/view.rb +0 -5
- data/test/fixtures/rails_app/app/views/admin/categories/_form.html.erb +0 -1
- data/test/fixtures/rails_app/app/views/admin/dashboard/_sidebar.html.erb +0 -1
- data/test/fixtures/rails_app/app/views/admin/mailer/reset_password_link.text.erb +0 -6
- data/test/fixtures/rails_app/app/views/admin/posts/_edit.html.erb +0 -1
- data/test/fixtures/rails_app/app/views/admin/posts/_index.html.erb +0 -1
- data/test/fixtures/rails_app/app/views/admin/posts/_new.html.erb +0 -1
- data/test/fixtures/rails_app/app/views/admin/posts/_show.html.erb +0 -1
- data/test/fixtures/rails_app/app/views/admin/posts/_sidebar.html.erb +0 -1
- data/test/fixtures/rails_app/app/views/admin/resources/_sidebar.html.erb +0 -1
- data/test/fixtures/rails_app/app/views/admin/status/index.html.erb +0 -1
- data/test/fixtures/rails_app/app/views/admin/templates/_datepicker.html.erb +0 -1
- data/test/fixtures/rails_app/config.ru +0 -4
- data/test/fixtures/rails_app/config/application.rb +0 -53
- data/test/fixtures/rails_app/config/boot.rb +0 -13
- data/test/fixtures/rails_app/config/database.yml +0 -14
- data/test/fixtures/rails_app/config/environment.rb +0 -5
- data/test/fixtures/rails_app/config/environments/test.rb +0 -34
- data/test/fixtures/rails_app/config/initializers/secret_token.rb +0 -7
- data/test/fixtures/rails_app/config/initializers/session_store.rb +0 -8
- data/test/fixtures/rails_app/config/initializers/typus.rb +0 -6
- data/test/fixtures/rails_app/config/routes.rb +0 -5
- data/test/fixtures/rails_app/config/typus/application.yml +0 -79
- data/test/fixtures/rails_app/config/typus/application_roles.yml +0 -25
- data/test/fixtures/rails_app/config/typus/typus.yml +0 -12
- data/test/fixtures/rails_app/config/typus/typus_roles.yml +0 -2
- data/test/fixtures/rails_app/db/test.sqlite3 +0 -0
- data/test/fixtures/rails_app/tmp/export-posts-20101012213057.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012213132.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012213234.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012213506.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012215057.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012215217.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012215415.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012215443.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012215509.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012215528.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012215551.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012215615.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012215640.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012215714.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012215744.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012215814.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012215836.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012215906.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012220659.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012221043.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012221258.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012222558.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012222752.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012222848.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012223433.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012223535.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012224003.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012224052.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012224109.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012224139.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012224205.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012224243.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101012225119.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013063215.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013063300.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013063352.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013063427.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013063448.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013063530.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013063559.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013063646.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013063737.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013063822.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013063837.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013063919.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013063939.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013063952.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013064220.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013064253.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013064318.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013064404.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013064452.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013064536.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013064652.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013064845.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013065023.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013065137.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013065713.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013065954.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013070057.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013070116.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013070156.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013070349.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013070429.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013070448.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013070514.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013070709.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013070745.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013070809.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013070905.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013070955.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013071116.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013071209.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013071335.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013071632.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013071643.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013071735.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013071749.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013072030.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013072050.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013072108.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013072713.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013072751.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013072912.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101013074546.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101018180512.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101018183359.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101018183608.csv +0 -2
- data/test/fixtures/rails_app/tmp/export-posts-20101018183759.csv +0 -2
- data/test/functional/admin/account_controller_test.rb +0 -90
- data/test/functional/admin/assets_controller_test.rb +0 -55
- data/test/functional/admin/categories_controller_test.rb +0 -62
- data/test/functional/admin/comments_controller_test.rb +0 -21
- data/test/functional/admin/dashboard_controller_test.rb +0 -138
- data/test/functional/admin/posts_controller_test.rb +0 -548
- data/test/functional/admin/session_controller_test.rb +0 -85
- data/test/functional/admin/status_controller_test.rb +0 -46
- data/test/functional/admin/typus_users_controller_test.rb +0 -159
- data/test/helpers/admin/base_helper_test.rb +0 -67
- data/test/helpers/admin/dashboard_helper_test.rb +0 -19
- data/test/helpers/admin/form_helper_test.rb +0 -117
- data/test/helpers/admin/resources_helper_test.rb +0 -64
- data/test/helpers/admin/sidebar_helper_test.rb +0 -274
- data/test/helpers/admin/table_helper_test.rb +0 -219
- data/test/integration/login_test.rb +0 -13
- data/test/integration_test_helper.rb +0 -21
- data/test/lib/support/active_record_test.rb +0 -86
- data/test/lib/support/array_test.rb +0 -11
- data/test/lib/support/hash_test.rb +0 -11
- data/test/lib/support/string_test.rb +0 -39
- data/test/lib/typus/active_record_test.rb +0 -451
- data/test/lib/typus/configuration_test.rb +0 -52
- data/test/lib/typus/resource_test.rb +0 -17
- data/test/lib/typus/routes_test.rb +0 -29
- data/test/lib/typus_test.rb +0 -107
- data/test/schema.rb +0 -100
- data/test/test_helper.rb +0 -16
- data/test/unit/admin/mailer_test.rb +0 -32
- data/test/unit/typus_user_roles_test.rb +0 -105
- data/test/unit/typus_user_test.rb +0 -142
- data/typus.gemspec +0 -25
data/CHANGELOG
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
= 0.9.40 / 2010-04-??
|
|
2
|
-
|
|
3
|
-
[X] Refactor all forms to be able to use formtastic.
|
|
4
|
-
[X] Cleanup translation files.
|
|
5
|
-
[X] Removed FIXME tests.
|
|
6
|
-
[X] Pass attribute as symbol.
|
|
7
|
-
[X] Simplify configuration files.
|
|
8
|
-
[X] Added '/' to admin_edit_typus_user_path because was not linking to
|
|
9
|
-
the right path on the namespaced models.
|
|
10
|
-
[X] Updated generator defaults.
|
|
11
|
-
[X] Write CSV file to disk and then send_file.
|
|
12
|
-
[X] Replaced CSV separator. Now uses ';' instead of ','.
|
|
13
|
-
[X] Do not show selector on habtm if there are more than 500 records.
|
|
14
|
-
[X] Paginate habtm relationships. Was implemented in the has_many.
|
|
15
|
-
[X] Fixed unrelate action. Was not working properly when not using
|
|
16
|
-
Rails default table names.
|
|
17
|
-
[X] Do not humanize fields on the csv generator. We want to keep the
|
|
18
|
-
real field name.
|
|
19
|
-
[X] Recover password functionality now only needs the email to be defined.
|
|
20
|
-
[X] Added json export format.
|
|
21
|
-
[X] Added default route with conditions. (Ben Scofield)
|
|
22
|
-
[X] We should be able to set preferences and store them on the database.
|
|
23
|
-
[X] Fixed stylesheet and search to be able to use `relative_url_root`.
|
|
24
|
-
[X] Cleanup `display_link_to_previous` helper.
|
|
25
|
-
[X] Cleanup `build_typus_list` helper.
|
|
26
|
-
[X] Fix back_to when using `relative_url_root`.
|
|
27
|
-
[X] Remove toggle option. We always enable it so it's a good default.
|
|
28
|
-
[X] When displaying an item with multiple attachments fancybox preview
|
|
29
|
-
was not working properly because there where multiple items with the
|
|
30
|
-
same id.
|
|
31
|
-
[X] Move partial helpers to `app/views/admin/helpers`.
|
|
32
|
-
[X] Do not set ActionMailer::Base.default_url_options[:host] on the
|
|
33
|
-
controller.
|
|
34
|
-
[X] Cleanup `applications` & `resources`.
|
|
35
|
-
[X] Fix problems on routes.rb when using namespaced models.
|
|
36
|
-
[X] Show the right content on the selectors when listing records on tables.
|
|
37
|
-
[X] Update fancybox to the latest version. Fix paths to make it work when
|
|
38
|
-
`relative_url_root` is active. (and make a donation)
|
|
39
|
-
[X] Test _form.html.erb can be overwrited by model.
|
|
40
|
-
[X] Make tests work again.
|
|
41
|
-
[X] Replace "render :partial => 'template', :locals => {}", by
|
|
42
|
-
"render 'template', :local => 'local'".
|
|
43
|
-
[X] Add support for custom typus_user on the generator.
|
|
44
|
-
[X] Shorten sidebar selectors. (AFS)
|
|
45
|
-
[X] Clicking on a filter removes is. (Gaston Kleiman)
|
|
46
|
-
[X] Possibility to filter by date ranges. (Gaston Kleiman)
|
|
47
|
-
[X] Use `inherit_views` code to `inherit_views`.
|
|
48
|
-
[X] Decide what to do with the QuickEdit. (Removed on 20100409)
|
|
49
|
-
[X] Refactored all sessions/account handling.
|
|
50
|
-
[X] Improved usability on password recovery based on how GitHub works.
|
|
51
|
-
[X] Removed footer links and added them to dashboard#sidebar.
|
|
52
|
-
[X] Add defaults options for the fields and do not fallback into list.
|
|
53
|
-
[X] Support for XSS.
|
|
54
|
-
[X] Fix problem on entries with attachment when using to_label.
|
|
55
|
-
[X] "Remove entry" should become "Remove {{resource}}"
|
|
56
|
-
[X] Merge generator methods to create resource/service controllers.
|
|
57
|
-
[X] Remove Typus "blue" color and use something more neutral.
|
|
58
|
-
[X] Split typus generator in two: typus and typus_migration
|
|
59
|
-
[X] Enable mechanism to skip Typus authentication so we can use other engines.
|
|
60
|
-
[X] Make sure TypusUser model is created in the application.
|
|
61
|
-
[X] Review documentation and decide where to publish it.
|
|
62
|
-
[X] Fix sidebar texts.
|
|
63
|
-
[X] Allow users to download the demo hosted at heroku.com
|
|
64
|
-
[ ] Removed javascript from filters. Now there's a form to submit the
|
|
65
|
-
search. This is how Wordpress works.
|
|
66
|
-
[X] Applications without application name defined will appear as
|
|
67
|
-
unknown on the dashboard.
|
|
68
|
-
[X] Search fields now support exact match, beginning of the field and
|
|
69
|
-
full-text match which is the default.
|
|
70
|
-
[X] Do not depend on Rdiscount when rendering content on resources#show.
|
|
71
|
-
[X] Decide where to put the search box.
|
|
72
|
-
[X] Pagination doesn't work properly when having multiple paginators on edit page
|
|
73
|
-
[X] Generator to copy views to `app/views/admin`.
|
|
74
|
-
[X] Clicking on h1 should open website (root_path) when available.
|
|
75
|
-
|
|
76
|
-
[-] Move html code from helpers to partials.
|
|
77
|
-
[ ] Add `has_many` through relationships.
|
|
78
|
-
[ ] Test default typus forms and remove old tests.
|
|
79
|
-
[ ] Fixed and tested read-only fields.
|
|
80
|
-
[ ] Fixed and tested auto-generated fields.
|
|
81
|
-
[ ] Fixed and tested trees.
|
|
82
|
-
[ ] Fix all fixme tests.
|
|
83
|
-
[ ] Show auto_generated, read_only on string fields. (_string.html.erb)
|
|
84
|
-
[ ] Pass options hash to form fields.
|
|
85
|
-
[ ] Fix css to display correctly "select" fields in relationships.
|
|
86
|
-
[ ] Add test for `typus_table_selector`.
|
|
87
|
-
[ ] Forever loop when schema has not been migrated.
|
|
88
|
-
[ ] Add support for `has_one` relationships.
|
|
89
|
-
[ ] Remove all crappy rescues.
|
|
90
|
-
[ ] Search in multiple models.
|
|
91
|
-
[ ] Nested models.
|
|
92
|
-
[ ] Contextual content depending on the logged user.
|
|
93
|
-
[ ] Verify generator is working properly.
|
|
94
|
-
[ ] Test generator?
|
|
95
|
-
[ ] Added comment on all FIXME tests. Try to fix them first.
|
|
96
|
-
[ ] Remove all raw calls.
|
|
97
|
-
[ ] Refactor typus_form_has_one.
|
|
98
|
-
[ ] Convert plugin to engine.
|
|
99
|
-
[ ] Verify lightbox is working as expected.
|
|
100
|
-
[ ] Fix footer to the bottom.
|
|
101
|
-
[ ] `Typus.applications` should become `Typus.groups`.
|
|
102
|
-
[ ] Removing an item should redirect to back without the page params.
|
data/README.rdoc
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
= Typus: Admin interface for Rails applications
|
|
2
|
-
|
|
3
|
-
Typus is designed for a single activity:
|
|
4
|
-
|
|
5
|
-
Trusted users editing structured content.
|
|
6
|
-
|
|
7
|
-
Typus doesn't try to be all the things to all the people but it's extensible
|
|
8
|
-
enough to match lots of use cases.
|
|
9
|
-
|
|
10
|
-
== Key Features
|
|
11
|
-
|
|
12
|
-
- User Authentication with registration and account activation
|
|
13
|
-
- User Permissions by using Access Control Lists (stored in yaml files)
|
|
14
|
-
- CRUD and custom actions for your models on a clean interface.
|
|
15
|
-
- Internationalized interface.
|
|
16
|
-
- Extensible and overwritable templates.
|
|
17
|
-
- Low memory footprint.
|
|
18
|
-
- Works with Rails 3.0.0 and is Ruby 1.9.2 compatible.
|
|
19
|
-
- Tested with SQLite, MySQL and PostgreSQL.
|
|
20
|
-
- MIT License, the same as Rails.
|
|
21
|
-
|
|
22
|
-
== Links
|
|
23
|
-
|
|
24
|
-
- {Project page and documentation }[http://core.typuscms.com/]
|
|
25
|
-
- {Plugin source code}[http://github.com/fesplugas/typus]
|
|
26
|
-
- {Mailing list}[http://groups.google.com/group/typus]
|
|
27
|
-
- {Gems}[http://rubygems.org/gems/typus]
|
|
28
|
-
- {Contributors}[http://github.com/fesplugas/typus/contributors]
|
|
29
|
-
|
|
30
|
-
== Installing
|
|
31
|
-
|
|
32
|
-
Add *Typus* to your <tt>Gemfile</tt>.
|
|
33
|
-
|
|
34
|
-
gem 'typus', :git => 'git://github.com/fesplugas/typus.git'
|
|
35
|
-
|
|
36
|
-
Update your bundle.
|
|
37
|
-
|
|
38
|
-
$ bundle install
|
|
39
|
-
|
|
40
|
-
Run the *Typus* generator.
|
|
41
|
-
|
|
42
|
-
$ rails generate typus
|
|
43
|
-
|
|
44
|
-
Start the application server and go to {http://0.0.0.0:3000/admin}[http://0.0.0.0:3000/admin]http://0.0.0.0:3000/admin.
|
|
45
|
-
|
|
46
|
-
== License
|
|
47
|
-
|
|
48
|
-
Copyright © 2007-2010 Francesc Esplugas, released under the MIT license.
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
module Admin
|
|
2
|
-
|
|
3
|
-
module PreviewHelper
|
|
4
|
-
|
|
5
|
-
def typus_preview(item, attribute)
|
|
6
|
-
|
|
7
|
-
return unless item.send(attribute).exists?
|
|
8
|
-
|
|
9
|
-
file_preview_is_image = (item.send("#{attribute}_content_type") =~ /^image\/.+/)
|
|
10
|
-
|
|
11
|
-
unless file_preview_is_image
|
|
12
|
-
file = File.basename(item.send(attribute).path(:original))
|
|
13
|
-
link = link_to(file, :action => 'view', :id => item)
|
|
14
|
-
return link
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
has_file_preview = item.send(attribute).styles.member?(Typus.file_preview)
|
|
18
|
-
has_file_thumbnail = item.send(attribute).styles.member?(Typus.file_thumbnail)
|
|
19
|
-
|
|
20
|
-
href = if has_file_preview && file_preview_is_image
|
|
21
|
-
url = item.send(attribute).url(Typus.file_preview)
|
|
22
|
-
# FIXME: This has changed on Rails3.
|
|
23
|
-
# ActionController::Base.relative_url_root + url
|
|
24
|
-
else
|
|
25
|
-
item.send(attribute)
|
|
26
|
-
end
|
|
27
|
-
|
|
28
|
-
content = if has_file_thumbnail && file_preview_is_image
|
|
29
|
-
image_tag item.send(attribute).url(Typus.file_thumbnail)
|
|
30
|
-
else
|
|
31
|
-
item.send(attribute)
|
|
32
|
-
end
|
|
33
|
-
|
|
34
|
-
render "admin/helpers/preview",
|
|
35
|
-
:attribute => attribute,
|
|
36
|
-
:content => content,
|
|
37
|
-
:file_preview_is_image => file_preview_is_image,
|
|
38
|
-
:has_file_preview => has_file_preview,
|
|
39
|
-
:href => href,
|
|
40
|
-
:item => item
|
|
41
|
-
|
|
42
|
-
end
|
|
43
|
-
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
end
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<% if has_file_preview && file_preview_is_image %>
|
|
2
|
-
<% content_for :javascripts do %>
|
|
3
|
-
<script type="text/javascript" charset="utf-8">
|
|
4
|
-
$(document).ready(function() {
|
|
5
|
-
$("#<%= dom_id(item, "#{attribute}_preview") %>").fancybox();
|
|
6
|
-
});
|
|
7
|
-
</script>
|
|
8
|
-
<% end %>
|
|
9
|
-
<% end %>
|
|
10
|
-
|
|
11
|
-
<a id="<%= dom_id(item, "#{attribute}_preview") %>"
|
|
12
|
-
href="<%= href %>"
|
|
13
|
-
title="<%= item.to_label %>"><%= content %></a>
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
<a name="<%= field %>"></a>
|
|
2
|
-
<div class="box_relationships" id="<%= model_to_relate_as_resource %>">
|
|
3
|
-
|
|
4
|
-
<h2>
|
|
5
|
-
<%= link_to model_to_relate.model_name.human.pluralize,
|
|
6
|
-
{ :controller => "admin/#{model_to_relate_as_resource}", foreign_key => @item.id },
|
|
7
|
-
:title => _t("%{model} filtered by %{filtered_by}",
|
|
8
|
-
:model => model_to_relate.model_name.human.pluralize,
|
|
9
|
-
:filtered_by => @item.to_label) %>
|
|
10
|
-
<%= add_new %>
|
|
11
|
-
</h2>
|
|
12
|
-
|
|
13
|
-
<%= form %>
|
|
14
|
-
|
|
15
|
-
<% if @items.any? -%>
|
|
16
|
-
<%= table %>
|
|
17
|
-
<%= will_paginate(@items, :renderer => Typus::Pagination, :anchor => model_to_relate.to_resource) %>
|
|
18
|
-
<% else %>
|
|
19
|
-
<p><%= _t("There are no %{records}.", :records => model_to_relate.model_name.human.pluralize.downcase) %></p>
|
|
20
|
-
<% end %>
|
|
21
|
-
|
|
22
|
-
</div>
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
# Catalan translations for Typus
|
|
2
|
-
# by Lleïr Borràs <http://github.com/lleirborras>
|
|
3
|
-
|
|
4
|
-
ca:
|
|
5
|
-
|
|
6
|
-
"A valid token is required": "Es necessita un token vàlid."
|
|
7
|
-
"Actions": "Accions"
|
|
8
|
-
"Active": "Actiu"
|
|
9
|
-
"Add": "Afegir"
|
|
10
|
-
"Add %{resource}": "Afegir %{resource}"
|
|
11
|
-
"Add new": "Afegir nou"
|
|
12
|
-
"Are you sure?": "Estàs segur?"
|
|
13
|
-
"Are you sure you want to leave this page?": "Estàs segur que vols abandonar aquesta pàgina?"
|
|
14
|
-
"Are you sure you want to sign out and end your session?": "Estàs segur que vols sortir i tancar la sessió?"
|
|
15
|
-
"As you're not the admin or the owner of this record you cannot edit it": "Com que no ets l'administrador o el propietari d'aquest registre no el pots editar."
|
|
16
|
-
|
|
17
|
-
"Cancel and go back":
|
|
18
|
-
"Change password": "Canviar contrasenya"
|
|
19
|
-
"Change %{attribute}?": "Canviar %{attribute}?"
|
|
20
|
-
"Checked if active": "Marca-ho per activar"
|
|
21
|
-
"Click OK to continue, or click Cancel to stay on this page": "Prem OK per continuar, o prem Cancel·lar per romandre en aquesta página."
|
|
22
|
-
"Create %{resource}": "Crear %{resource}"
|
|
23
|
-
"Create one now":
|
|
24
|
-
|
|
25
|
-
"Dashboard": "Panell de control"
|
|
26
|
-
"Do you want to cancel it?": "Vols cancel·lar-lo?"
|
|
27
|
-
"Down": "Baixar"
|
|
28
|
-
|
|
29
|
-
"Edit": "Editar"
|
|
30
|
-
"Edit %{resource}": "Edit %{resource}"
|
|
31
|
-
"Enter your email below to create the first user": "Introdueix el teu email per crear el primer usuari."
|
|
32
|
-
"Error! Typus User or role doesn't exist": "Error! Typus User o el rol no existixen."
|
|
33
|
-
|
|
34
|
-
"False": "Fals"
|
|
35
|
-
"Filter": "Filtrar"
|
|
36
|
-
"Filter by %{attribute}": "Filtrar per %{attribute}"
|
|
37
|
-
|
|
38
|
-
"Go to": "Anar a"
|
|
39
|
-
|
|
40
|
-
"I remember my password": "Recordo la meva contrasenya"
|
|
41
|
-
"If you didn't request a password update, you can ignore this message": "Si no has demanat una actualització de la teva contrasenya, pots ignorar aquest missatge."
|
|
42
|
-
"If you have made any changes to the fields without clicking the Save/Update entry button, your changes will be lost": "Si has realitzat algun canvi en els camps sense premer el botó Guardar/Actualitzar, els teus canvis es perdran."
|
|
43
|
-
"Inactive": "Inactiu"
|
|
44
|
-
|
|
45
|
-
"Last few days": "Últims dies"
|
|
46
|
-
"Last 30 days": "Últims 30 dies"
|
|
47
|
-
"Last 7 days": "Últims 7 dies"
|
|
48
|
-
"List": "Llista"
|
|
49
|
-
"Logged as": "Identificat com"
|
|
50
|
-
"Login": "Login"
|
|
51
|
-
|
|
52
|
-
"New": "Nou"
|
|
53
|
-
"Next": "Següent"
|
|
54
|
-
|
|
55
|
-
"Options": "Opcions"
|
|
56
|
-
|
|
57
|
-
"Password recovery link sent to your email": "L'enllaç de recuperació de contrasenya enviat al teu correu electrònic."
|
|
58
|
-
"Previous": "Anterior"
|
|
59
|
-
|
|
60
|
-
"Record moved %{to}": "Registre desplaçat %{to}."
|
|
61
|
-
"Recover password": "Recuperar contrasenya"
|
|
62
|
-
"Remove": "Eliminar"
|
|
63
|
-
"Remove %{attribute}": "Esborrar %{attribute}"
|
|
64
|
-
"Remove %{resource}?": "Esborrar %{resource}?"
|
|
65
|
-
"Remove filter": "Treure filtre"
|
|
66
|
-
"Remove search": "Treure cerca"
|
|
67
|
-
"Reset password": "Canviar contrasenya"
|
|
68
|
-
"Resources": "Recursos"
|
|
69
|
-
|
|
70
|
-
"Save %{resource}": "Guardar %{resource}"
|
|
71
|
-
"Search": "Cercar"
|
|
72
|
-
"Search by": "Cercar per"
|
|
73
|
-
"Setup": "Configurar"
|
|
74
|
-
"Send us feedback": "Envians comentaris"
|
|
75
|
-
"Show": "Mostrar"
|
|
76
|
-
"Show %{resource}": "Mostrar %{resource}"
|
|
77
|
-
"Sign in": "Entrar"
|
|
78
|
-
"Sign out": "Sortir"
|
|
79
|
-
"Sign up": "Crear compte"
|
|
80
|
-
"Submit a bug report": "Informar d'un error"
|
|
81
|
-
"System Users Administration": "Administrar usuaris del sistema"
|
|
82
|
-
|
|
83
|
-
"That doesn't seem like a valid email address": "Això no sembla ser una adreça de correu electrònic vàlida."
|
|
84
|
-
"The email and/or password you entered is invalid": "El correu i/o la contrasenya proporcionats no són vàlids."
|
|
85
|
-
"There are no %{records}": "No hi han %{records}."
|
|
86
|
-
"There are no %{records} under this filter": "No hi han %{records} amb aquest filtre."
|
|
87
|
-
"Today": "Avui"
|
|
88
|
-
"Toggle is disabled": "Alternar està desactivat."
|
|
89
|
-
"True": "Cert"
|
|
90
|
-
|
|
91
|
-
"Unrelate %{unrelate_model} from %{unrelate_model_from}?": "Deslligat %{unrelate_model} de %{unrelate_model_from}?"
|
|
92
|
-
"Up": "Pujar"
|
|
93
|
-
|
|
94
|
-
"You're adding a new %{resource_from}": "Estàs afegint un nou %{resource_from}."
|
|
95
|
-
"You're adding a new %{resource_from} to %{resource_to}": "Estàs afegint un nou %{resource_from} a %{resource_to}."
|
|
96
|
-
"You're not allowed to remove Typus Users": "No pots esborrar usuaris de typus."
|
|
97
|
-
"You're not allowed to toggle status": "No pots canviar el teu estat."
|
|
98
|
-
"You can update your password at": "Pots actualitzar la teva contrasenya a"
|
|
99
|
-
"You can't change your role": "No pots canviar-te tu mateix el rol."
|
|
100
|
-
"You can't remove yourself": "No et pots eliminar a tu mateix."
|
|
101
|
-
"You can't toggle your status": "No pots canviar-te l'estat."
|
|
102
|
-
"You're updating a %{resource_from}": "Estàs actualitzant un %{resource_from}."
|
|
103
|
-
"You're updating a %{resource_from} for %{resource_to}": "Estàs actualitzant un %{resource_from} de %{resource_to}."
|
|
104
|
-
|
|
105
|
-
"View all %{attribute}":
|
|
106
|
-
"View site": "Veure la web"
|
|
107
|
-
|
|
108
|
-
"%{attachment} can't be removed": "%{attachment} no es pot esborrar."
|
|
109
|
-
"%{attachment} removed": "%{attachment} esborrat."
|
|
110
|
-
"%{current_user_role} can't delete this item": "%{current_user_role} no pot esborrar aquest element."
|
|
111
|
-
"%{current_user_role} can't display items": "%{current_user_role} no pot mostrar els elements."
|
|
112
|
-
"%{current_user_role} can't perform action. (%{action})": "%{current_user_role} no pot realitzar l'acció. (%{action})"
|
|
113
|
-
"%{model} filtered by %{filtered_by}": "%{model} filtrats per %{filtered_by}"
|
|
114
|
-
"%{model} successfully created": "%{model} satisfactòriament creat."
|
|
115
|
-
"%{model} successfully updated": "%{model} satisfactòriament actualitzat."
|
|
116
|
-
"%{model} successfully removed": "%{model} satisfactòriament eliminat."
|
|
117
|
-
"%{model} %{attribute} changed": "%{model} %{attribute} canviat."
|
|
118
|
-
"%{model_a} cannot be unrelated from %{model_b}":
|
|
119
|
-
"%{model_a} cannot be related to %{model_b}":
|
|
120
|
-
"%{model_a} related to %{model_b}": "%{model_a} relacionat amb %{model_b}."
|
|
121
|
-
"%{model_a} successfully assigned to %{model_b}": "%{model_a} assignat satisfactòriament a %{model_b}."
|
|
122
|
-
"%{model_a} unrelated from %{model_b}": "%{model_a} no està relacionat amb %{model_b}."
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
# German translations for Typus
|
|
2
|
-
# by Michael Grunewalder <http://michael.grunewalder.com>
|
|
3
|
-
|
|
4
|
-
de:
|
|
5
|
-
|
|
6
|
-
"A valid token is required": "Ein gültiges Merkmal ist erforderlich"
|
|
7
|
-
"Actions": "Aktionen"
|
|
8
|
-
"Active":
|
|
9
|
-
"Add": "Zufügen"
|
|
10
|
-
"Add %{resource}": "Eintrag %{resource}"
|
|
11
|
-
"Add new": "Erstellen"
|
|
12
|
-
"Are you sure?":
|
|
13
|
-
"Are you sure you want to leave this page?": "Sind Sie sicher, dass Sie diese Seite verlassen möchten?"
|
|
14
|
-
"Are you sure you want to sign out and end your session?": "Wollen Sie sich abmelden und die Sitzung beenden?"
|
|
15
|
-
"As you're not the admin or the owner of this record you cannot edit it": "Nur der Administrator oder der Eigent7uuml;er des Datensates kann ihn bearbeiten"
|
|
16
|
-
|
|
17
|
-
"Cancel and go back":
|
|
18
|
-
"Change password": "Passwort ändern"
|
|
19
|
-
"Change %{attribute}?": "%{attribute}ändern?"
|
|
20
|
-
"Checked if active": "Angekreuzt wenn activiert"
|
|
21
|
-
"Click OK to continue, or click Cancel to stay on this page": "Klicken Sie OK zum Fortfahren oder Abbrechen um auf dieser Seite zu bleiben"
|
|
22
|
-
"Create %{resource}": "Erstellen %{resource}"
|
|
23
|
-
"Create one now":
|
|
24
|
-
|
|
25
|
-
"Dashboard": "Dashboard"
|
|
26
|
-
"Do you want to cancel it?": "Wollen Sie abbrechen?"
|
|
27
|
-
"Down": "Runter"
|
|
28
|
-
|
|
29
|
-
"Edit": "Bearbeiten"
|
|
30
|
-
"Edit %{resource}": "Bearbeiten %{resource}"
|
|
31
|
-
"Enter your email below to create the first user": "Geben Sie Ihre Email Adresse unten ein, um den ersten Benutzer zu erstellen"
|
|
32
|
-
"Error! Typus User or role doesn't exist": "Fehler: Typus Benutzer oder Rolle existiert nicht"
|
|
33
|
-
|
|
34
|
-
"False": "Falsch"
|
|
35
|
-
"Filter": "Filter"
|
|
36
|
-
"Filter by %{attribute}": "Filter nach %{attribute}"
|
|
37
|
-
|
|
38
|
-
"Go to": "Gehe zu"
|
|
39
|
-
|
|
40
|
-
"I remember my password": "Ich erinnere mein Passwort"
|
|
41
|
-
"If you didn't request a password update, you can ignore this message": "Falls Sie keine Passwort Äderung beantragt haben, können Sie diese nachricht ignorieren"
|
|
42
|
-
"If you have made any changes to the fields without clicking the Save/Update entry button, your changes will be lost": "Wenn Sie Änderungen an Feldern vorgenommen haben, ohne den Speichern/Bearbeiten Knopf gedr7uuml;ckt zu haben, gehen diese Änderungen verloren"
|
|
43
|
-
"Inactive":
|
|
44
|
-
|
|
45
|
-
"Last few days": "Letzten Tage"
|
|
46
|
-
"Last 30 days": "Letzten 30 Tage"
|
|
47
|
-
"Last 7 days": "Letzten 7 Tage"
|
|
48
|
-
"List":
|
|
49
|
-
"Logged as": "Aufgezeichnet als"
|
|
50
|
-
"Login": "Anmeldem"
|
|
51
|
-
|
|
52
|
-
"New": "Neu"
|
|
53
|
-
"Next": "Nächster"
|
|
54
|
-
|
|
55
|
-
"Options": "Optionen"
|
|
56
|
-
|
|
57
|
-
"Password recovery link sent to your email": "Der Link zur Wiederfindung des Passworts wurde an Ihre Email Adresse gechickt"
|
|
58
|
-
"Previous": "Vorheriger"
|
|
59
|
-
|
|
60
|
-
"Record moved %{to}": "Datensatz verschoben nach %{to}"
|
|
61
|
-
"Recover password": "Passwort vergessen?"
|
|
62
|
-
"Remove": "Eintrag"
|
|
63
|
-
"Remove %{attribute}": "Eintrag %{attribute}"
|
|
64
|
-
"Remove %{resource}?": "Eintrag %{resource}?"
|
|
65
|
-
"Remove filter": "Filter entfernen"
|
|
66
|
-
"Remove search":
|
|
67
|
-
"Reset password": "Passwort zurücksetzen"
|
|
68
|
-
"Resources": "Resourcen"
|
|
69
|
-
|
|
70
|
-
"Save %{resource}":
|
|
71
|
-
"Search": "Suchen"
|
|
72
|
-
"Search by": "Suchen nach"
|
|
73
|
-
"Send us feedback": "Senden Sie uns Ihr Feedback"
|
|
74
|
-
"Setup": "Einrichten"
|
|
75
|
-
"Show": "Anzeigen"
|
|
76
|
-
"Show %{resource}": "Anzeigen %{resource}"
|
|
77
|
-
"Sign in": "Anmelden"
|
|
78
|
-
"Sign out": "Abmelden"
|
|
79
|
-
"Sign up": "Konto erstellen"
|
|
80
|
-
"Submit a bug report":
|
|
81
|
-
"System Users Administration": "System Benutzer Verwaltung"
|
|
82
|
-
|
|
83
|
-
"That doesn't seem like a valid email address": "Das schein keine gültige Email Dresse zu sein"
|
|
84
|
-
"The email and/or password you entered is invalid": "Die eingegebene Email Adresse und/oder das Passwort ist ungültig"
|
|
85
|
-
"There are no %{records}": "Keine %{records}vorhanden"
|
|
86
|
-
"There are no %{records} under this filter": "Unter diesem Filter sind keine %{records} vorhanden"
|
|
87
|
-
"Today": "Heute"
|
|
88
|
-
"Toggle is disabled": "Schalter ist deaktiviert"
|
|
89
|
-
"True": "Richtig"
|
|
90
|
-
|
|
91
|
-
"Unrelate %{unrelate_model} from %{unrelate_model_from}?": "Verknüpfung zwischen %{unrelate_model} und %{unrelate_model_from}entfernen?"
|
|
92
|
-
"Up": "Hoch"
|
|
93
|
-
|
|
94
|
-
"View all %{attribute}":
|
|
95
|
-
"View site": "Site anzeigen"
|
|
96
|
-
|
|
97
|
-
"You're adding a new %{resource_from}": "Sie erstellen eine neue %{resource_from}"
|
|
98
|
-
"You're adding a new %{resource_from} to %{resource_to}": "Sie fügen eine neue %{resource_from} an %{resource_to}"
|
|
99
|
-
"You're not allowed to remove Typus Users": "Sie sind nicht berechtigt den Typus Benutzer zu entfernen"
|
|
100
|
-
"You're not allowed to toggle status": "Sie können den Status nicht umschalten"
|
|
101
|
-
"You're updating a %{resource_from}": "Sie bearbeiten eine %{resource_from}"
|
|
102
|
-
"You're updating a %{resource_from} for %{resource_to}": "Sie bearbeiten eine %{resource_from} fü %{resource_to}"
|
|
103
|
-
"You can update your password at": "Sie k7ouml;nnen Ihr Passwort ändern unter"
|
|
104
|
-
"You can't change your role": "Sie können Ihre Rolle nicht ändern"
|
|
105
|
-
"You can't remove yourself": "Sie können sich selbst nicht entfernen"
|
|
106
|
-
"You can't toggle your status": "Sie können Ihren Status nicht umschalten"
|
|
107
|
-
|
|
108
|
-
"%{attachment} can't be removed":
|
|
109
|
-
"%{attachment} removed":
|
|
110
|
-
"%{current_user_role} can't delete this item": "%{current_user_role} kann diesen Eintrag nicht löschen"
|
|
111
|
-
"%{current_user_role} can't display items": "%{current_user_role} kann Einträge nicht anzeigen"
|
|
112
|
-
"%{current_user_role} can't perform action. (%{action})": "%{current_user_role} kann die Aktion nicht ausführen. (%{action})"
|
|
113
|
-
"%{model} filtered by %{filtered_by}": "%{model} gefiltert nach %{filtered_by}"
|
|
114
|
-
"%{model} successfully created": "%{model} erfolgreich erstellt"
|
|
115
|
-
"%{model} successfully removed": "%{model} erfolgreich gelöscht"
|
|
116
|
-
"%{model} successfully updated": "%{model} erfolgreich geändert"
|
|
117
|
-
"%{model_a} cannot be related to %{model_b}":
|
|
118
|
-
"%{model_a} cannot be unrelated from %{model_b}":
|
|
119
|
-
"%{model} %{attribute} changed": "%{model} %{attribute} geändert"
|
|
120
|
-
"%{model_a} related to %{model_b}": "%{model_a} ist verknüpft mit %{model_b}"
|
|
121
|
-
"%{model_a} successfully assigned to %{model_b}": "%{model_a} erfolgreich an %{model_b} zugewiesen"
|
|
122
|
-
"%{model_a} unrelated from %{model_b}": "%{model_a} unverbunden mit %{model_b}"
|