commontator 5.1.0 → 6.0.0.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/MIT-LICENSE +1 -1
- data/README.md +83 -63
- data/app/assets/javascripts/commontator/mentions.js +2 -2
- data/app/assets/stylesheets/commontator/application.scss +101 -0
- data/app/assets/stylesheets/commontator/comments.scss +103 -0
- data/app/controllers/commontator/application_controller.rb +21 -21
- data/app/controllers/commontator/comments_controller.rb +123 -114
- data/app/controllers/commontator/security_transgression.rb +2 -0
- data/app/controllers/commontator/subscriptions_controller.rb +20 -22
- data/app/controllers/commontator/threads_controller.rb +50 -50
- data/app/helpers/commontator/application_helper.rb +3 -5
- data/app/helpers/commontator/link_renderer.rb +25 -0
- data/app/mailers/commontator/subscriptions_mailer.rb +35 -35
- data/app/models/commontator/comment.rb +208 -91
- data/app/models/commontator/json_array_coder.rb +10 -0
- data/app/models/commontator/subscription.rb +13 -16
- data/app/models/commontator/thread.rb +139 -133
- data/app/views/commontator/comments/_actions.html.erb +9 -10
- data/app/views/commontator/comments/_body.html.erb +11 -6
- data/app/views/commontator/comments/_form.html.erb +31 -20
- data/app/views/commontator/comments/_list.html.erb +6 -5
- data/app/views/commontator/comments/_reply.html.erb +15 -0
- data/app/views/commontator/comments/_show.html.erb +31 -25
- data/app/views/commontator/comments/_votes.html.erb +12 -11
- data/app/views/commontator/comments/cancel.js.erb +6 -14
- data/app/views/commontator/comments/create.js.erb +20 -14
- data/app/views/commontator/comments/delete.js.erb +14 -14
- data/app/views/commontator/comments/edit.js.erb +6 -4
- data/app/views/commontator/comments/new.js.erb +11 -7
- data/app/views/commontator/comments/update.js.erb +6 -4
- data/app/views/commontator/comments/vote.js.erb +3 -4
- data/app/views/commontator/shared/_thread.html.erb +23 -11
- data/app/views/commontator/subscriptions/_link.html.erb +7 -8
- data/app/views/commontator/subscriptions/subscribe.js.erb +3 -4
- data/app/views/commontator/subscriptions_mailer/comment_created.html.erb +9 -8
- data/app/views/commontator/threads/_hide_show_links.js.erb +10 -9
- data/app/views/commontator/threads/_reply.html.erb +17 -16
- data/app/views/commontator/threads/_show.html.erb +75 -76
- data/app/views/commontator/threads/_show.js.erb +12 -16
- data/app/views/commontator/threads/show.js.erb +9 -6
- data/config/initializers/commontator.rb +81 -67
- data/config/locales/de.yml +28 -48
- data/config/locales/en.yml +38 -27
- data/config/locales/pt-BR.yml +31 -29
- data/config/locales/ru.yml +34 -29
- data/config/locales/zh.yml +65 -48
- data/db/migrate/0_install_commontator.rb +27 -32
- data/db/migrate/1_add_replying_to_comments.rb +9 -0
- data/lib/commontator.rb +9 -140
- data/lib/commontator/acts_as_commontable.rb +24 -33
- data/lib/commontator/acts_as_commontator.rb +28 -25
- data/lib/commontator/build_thread.rb +10 -0
- data/lib/commontator/commontable_config.rb +10 -10
- data/lib/commontator/commontator_config.rb +10 -10
- data/lib/{commontator.rb~ → commontator/config.rb} +57 -57
- data/lib/commontator/controllers.rb +35 -29
- data/lib/commontator/engine.rb +6 -4
- data/lib/commontator/shared_helper.rb +58 -21
- data/lib/commontator/version.rb +1 -3
- data/lib/tasks/commontator_tasks.rake +2 -2
- data/vendor/assets/stylesheets/mentionsInput/jquery.mentionsInput.css +0 -1
- metadata +50 -496
- data/Rakefile +0 -22
- data/app/assets/javascripts/commontator/application.js~ +0 -3
- data/app/assets/javascripts/commontator/mentions.js~ +0 -31
- data/app/assets/stylesheets/commontator/application.css +0 -5
- data/app/assets/stylesheets/commontator/application.css~ +0 -14
- data/app/assets/stylesheets/commontator/comments.css +0 -121
- data/app/assets/stylesheets/commontator/threads.css +0 -71
- data/app/assets/stylesheets/commontator/threads.css~ +0 -71
- data/app/controllers/commontator/comments_controller.rb~ +0 -160
- data/app/controllers/commontator/threads_controller.rb~ +0 -75
- data/app/mailers/commontator/subscriptions_mailer.rb~ +0 -65
- data/app/models/commontator/comment.rb~ +0 -124
- data/app/models/commontator/subscription.rb~ +0 -23
- data/app/views/commontator/shared/_thread.html.erb~ +0 -21
- data/app/views/commontator/subscriptions_mailer/comment_created.html.erb~ +0 -10
- data/app/views/commontator/threads/_hide_show.js.erb~ +0 -21
- data/app/views/commontator/threads/_hide_show_links.js.erb~ +0 -17
- data/app/views/commontator/threads/_show.html.erb~ +0 -118
- data/app/views/commontator/threads/_show.js.erb~ +0 -18
- data/config/initializers/commontator.rb~ +0 -290
- data/config/locales/en.yml~ +0 -101
- data/config/locales/ru.yml~ +0 -79
- data/config/locales/zh.yml~ +0 -79
- data/config/routes.rb~ +0 -25
- data/db/migrate/0_install_commontator.rb~ +0 -52
- data/db/migrate/1_add_parent_comment_id_to_commontator_comments.rb~ +0 -9
- data/lib/commontator/link_renderer.rb +0 -28
- data/lib/commontator/security_transgression.rb +0 -4
- data/lib/commontator/shared_helper.rb~ +0 -26
- data/lib/commontator/version.rb~ +0 -3
- data/spec/controllers/commontator/comments_controller_spec.rb +0 -613
- data/spec/controllers/commontator/comments_controller_spec.rb~ +0 -612
- data/spec/controllers/commontator/subscriptions_controller_spec.rb +0 -101
- data/spec/controllers/commontator/subscriptions_controller_spec.rb~ +0 -101
- data/spec/controllers/commontator/threads_controller_spec.rb +0 -219
- data/spec/controllers/commontator/threads_controller_spec.rb~ +0 -218
- data/spec/dummy/README.md +0 -4
- data/spec/dummy/README.md~ +0 -3
- data/spec/dummy/Rakefile +0 -7
- data/spec/dummy/Rakefile~ +0 -6
- data/spec/dummy/app/assets/javascripts/application.js +0 -17
- data/spec/dummy/app/assets/javascripts/application.js~ +0 -16
- data/spec/dummy/app/assets/stylesheets/application.css +0 -15
- data/spec/dummy/app/assets/stylesheets/application.css~ +0 -14
- data/spec/dummy/app/controllers/application_controller.rb +0 -6
- data/spec/dummy/app/controllers/application_controller.rb~ +0 -4
- data/spec/dummy/app/controllers/dummy_models_controller.rb +0 -23
- data/spec/dummy/app/controllers/dummy_models_controller.rb~ +0 -23
- data/spec/dummy/app/helpers/application_helper.rb +0 -16
- data/spec/dummy/app/helpers/application_helper.rb~ +0 -15
- data/spec/dummy/app/models/dummy_dependent_model.rb +0 -4
- data/spec/dummy/app/models/dummy_model.rb +0 -4
- data/spec/dummy/app/models/dummy_model.rb~ +0 -3
- data/spec/dummy/app/models/dummy_user.rb +0 -14
- data/spec/dummy/app/models/dummy_user.rb~ +0 -13
- data/spec/dummy/app/views/dummy_models/index.html.erb~ +0 -6
- data/spec/dummy/app/views/dummy_models/show.html.erb +0 -2
- data/spec/dummy/app/views/dummy_models/show.html.erb~ +0 -2
- data/spec/dummy/app/views/layouts/application.html.erb +0 -14
- data/spec/dummy/app/views/layouts/application.html.erb~ +0 -14
- data/spec/dummy/config.ru +0 -5
- data/spec/dummy/config.ru~ +0 -4
- data/spec/dummy/config/application.rb +0 -27
- data/spec/dummy/config/application.rb~ +0 -26
- data/spec/dummy/config/boot.rb +0 -6
- data/spec/dummy/config/boot.rb~ +0 -5
- data/spec/dummy/config/database.yml +0 -26
- data/spec/dummy/config/database.yml~ +0 -25
- data/spec/dummy/config/environment.rb +0 -8
- data/spec/dummy/config/environment.rb~ +0 -8
- data/spec/dummy/config/environments/development.rb +0 -31
- data/spec/dummy/config/environments/development.rb~ +0 -31
- data/spec/dummy/config/environments/production.rb +0 -82
- data/spec/dummy/config/environments/production.rb~ +0 -82
- data/spec/dummy/config/environments/test.rb +0 -40
- data/spec/dummy/config/environments/test.rb~ +0 -40
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -8
- data/spec/dummy/config/initializers/backtrace_silencers.rb~ +0 -7
- data/spec/dummy/config/initializers/commontator.rb +0 -20
- data/spec/dummy/config/initializers/commontator.rb~ +0 -21
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -5
- data/spec/dummy/config/initializers/filter_parameter_logging.rb~ +0 -4
- data/spec/dummy/config/initializers/inflections.rb +0 -17
- data/spec/dummy/config/initializers/inflections.rb~ +0 -16
- data/spec/dummy/config/initializers/mime_types.rb +0 -6
- data/spec/dummy/config/initializers/mime_types.rb~ +0 -5
- data/spec/dummy/config/initializers/secret_token.rb +0 -13
- data/spec/dummy/config/initializers/secret_token.rb~ +0 -12
- data/spec/dummy/config/initializers/session_store.rb +0 -4
- data/spec/dummy/config/initializers/session_store.rb~ +0 -3
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -15
- data/spec/dummy/config/initializers/wrap_parameters.rb~ +0 -14
- data/spec/dummy/config/routes.rb +0 -9
- data/spec/dummy/config/routes.rb~ +0 -10
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/1_create_dummy_models.rb +0 -7
- data/spec/dummy/db/migrate/1_create_dummy_models.rb~ +0 -7
- data/spec/dummy/db/migrate/2_create_dummy_users.rb +0 -7
- data/spec/dummy/db/migrate/2_create_dummy_users.rb~ +0 -7
- data/spec/dummy/db/migrate/3_acts_as_votable_migration.rb +0 -22
- data/spec/dummy/db/migrate/3_acts_as_votable_migration.rb~ +0 -27
- data/spec/dummy/db/migrate/4_create_dummy_dependent_models.rb +0 -7
- data/spec/dummy/db/schema.rb +0 -85
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/lib/controllers.rb~ +0 -10
- data/spec/dummy/lib/dummy_controllers.rb +0 -10
- data/spec/dummy/log/development.log +0 -6693
- data/spec/dummy/log/test.log +0 -125970
- data/spec/dummy/public/404.html +0 -27
- data/spec/dummy/public/404.html~ +0 -26
- data/spec/dummy/public/422.html +0 -27
- data/spec/dummy/public/422.html~ +0 -26
- data/spec/dummy/public/500.html +0 -26
- data/spec/dummy/public/500.html~ +0 -25
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +0 -7
- data/spec/dummy/script/rails~ +0 -6
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/-RolHYhJdGiLoPkoWZXQdI9AIWUjMMCa2yFJezCE_Bo.cache +0 -2
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/-STzK7UuGeY3gSvnmTELWLvtRMKpmSAQCEw4ao3b1r8.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/3NH8nN7uktAXgA3NqaqXTXDVic3BxBvqCxoLpGGbib4.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/4_iT7KM6P2IT75Rssrk9p4crTBwM8DQWR41gmsxczL0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/58TLCXvf5bFFYY-mIUXrQNOVWlGsq7qPAoSX2OIIB8Y.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/6OQdyrATvNatvWu8Mp1qbuvRx-HLmzCZ5XBGYca-rZU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/6UKCUV-ZLaWCoPMfMB6a2W0RCFPQzPJ6Mz-y67sH7zk.cache +0 -2
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/6wKNjFdNd4OHjIpLC0nq1kBWcbYg1aEYrp7ZhWoJlvY.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/7Xxb5iYP5elo40JRlhNQB1gLbv3ueELK2rTinYt5xdc.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/7twIKlS6VYCyLlwhsQg2vu4wLSUJsT2REHR4DjZf1oE.cache +0 -2
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/87m-4EcbQnkbo2HYkQp4V9I2U3AYQO1mPeReieduolA.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8B331vt8qC4iXTcVzkx3j-ET8i1oaQskj5LyqGq8mPQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8KWvIOgvo7BVJYtdTpFuiSQQFFwZhLWYtwacZv52y48.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/9yQa5M2ObK2-qDu231zMoarjVbhKUUg-ND3r2iXqB_Q.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/A-ffuUI2juZT6qFpTUwUR1P8OPWcyFFN26WSUZe60Ko.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/BbO4diS6uacx69Hn_bCabYlXEbWWdjHShRlfzlWSOMI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/CXhqxaQQAQ8b0Y8y0jTQyiqsZ6Oe4fZn0YiacpJ9IoI.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/E1zaNOh68xzPxdtdOwRtOaMCoKivN2dxVwCP65WEi5I.cache +0 -2
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EmPkV3H8p2Snv9WyPjWran_kOMQ0MqQ1a9CVdGDd8l4.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Hc12Nxe7cw2e0u2pzNsAe8D3ncQpcqLuI2NVL7aAXgw.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/HdWuQr9W2mZvggsAxVjDgLYUNfg3rbI-T8KhaDIsvQk.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/I7lsrHTKpbfLWqIqdDIx2RN_12yFL2PyLRyYsMxg1IU.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/JOCzfBjMjX3D5BUUGh5lJ7fjzMuJrHLxAginRA2_hZQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/JusxTSXt06IqBm9jeCMM2nTmM3Wvbl3i3L1IwEvW5YA.cache +0 -2
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/KAY1_IaTONtGr0KK8ihOdoA-RDXybqBMNSZLIDRHx68.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/KBHIDNfa4ryw9LAkYqK8GgPWne7HkX6mNYgrJajGm94.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/L_lv02y00MmIFiFhg5c9zhl7CDHLSahehzLyi_mRZeY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/MOT2X4iikR8v89A4N1bxDTeS1-xV8c9036TNFXmwXCM.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/MiX2Z4Vbha1riozZWw1U3_PGttRiZ1iQ_o4wSZJnKCs.cache +0 -3
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/MntKfwol0ud4LuvrX3MVPthTlfNlJZRYbQXpQBxhRrs.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/MrqmgPGNYJV1capJKIKJOVEQ4NiO-Z_2YhpjNteJ8B8.cache +0 -2
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/NVMnAwylzGp5bjl_o9dwMAQxVAPDzc4ygddNQSD1fiw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/O2sKqGxNuCYhjzuEZVC9hX_FeemOfRn_1-CCuHBQYyg.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Qy3TykLFmAt5jhSluMTaZaefcA5c_vfBRhQ7tin-gsk.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/R3DpUgZ_hja1dQTIzumiP9AD_r8mlOaqv0U9QqnGQqo.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/RF07mgb06A30OcDWtCaDlM5tEc1yp0uAsk986Gqs5w8.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/S-6Iq5YOEpVnd_vQ0RSSfrmyIwB1dk0op35alFgJ9xA.cache +0 -2
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/TKV8dUTo88gdFY-z2I7Xa5vDC1Z3LY6Paa18385MJsI.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/UI4zPmWfZA2d_5ZZIXqK9KmkjOKSDg6JoM7qcOIxm0Q.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/UP29vrIQbCkfghZGSCFxpW5gjlsgCxlVrncjjopvRqM.cache +0 -2
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/UoU16f4V7haEXM5GY5j4QFuNMP7PJZaAMEvVNNtNLBA.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/VqPqYNG07yqcjbd7FA05Mu-jr5hzsZPaHFf8X0FFbXk.cache +0 -2
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/WkN1QFvcuzXSsyNmfaK02ojXPk-8zmdEegzNPfdAEL4.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/WkQX7Wiz41OKx2aGF7uffOmS04hIVZeGCondBAvwum8.cache +0 -2
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/XMeYF1vwAg53eVjXVkw_IKQH2W3-9tWvtuCdqUCbPBM.cache +0 -2
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/XX0Z7OM0xZKfQaAvHARpyeQNZCstNyu9MlsnwThSkg8.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Y-pGNFTA6bAKxSvqZvmMVs3b4Els1aByxZVFxtJR71c.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Y3p3m5V5NOm7yq56apKmF5KZUUsTfnhT_SG3fqbEJgo.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/YLZuRWklL6q-csC-7A7CiOTTTYEQcA9PCdWEOm9MpNU.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Yo7V5YXukEBm6z37l-TIRCJx3HZExEUBu3MUMhAzkMU.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bK6QttR8pGmMAMJO0avCBLwH0za8_bAC-yWqkU3Yj24.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/cLncjrqpQXzsVBp7K0W7iG1STLrnzfGpbJXxNE7aIUk.cache +0 -2
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/dBcAd64EZFdhHZNXKGXPIR7EtPGf03bzqkci2W12T8g.cache +0 -2
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/d_bbPiareJHKkzFZFCl3pcwfQOFzsB1KHn4A2xxhR20.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/eaHZBuJRcawVlkGZVyyRr5_4xYKVOXbCqnTcmaNXzL0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/gWnmfJty3jBn53qsJfOXKrWv4e8i3Dp80wVel-f1L1E.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/gumo32Bd3W_q7MYEt9JIZEiQdHF93tLSsGfmXIm2MqU.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/jKTlG9KP0iaCGHwg8kQ1amz9SHJ1OAWeCRRn9wc5w7c.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/kPJfTiWbmX-q6i2rjM9MAMdEf2silSihU0_lxlTGVA8.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/lrt1SWPj4qWUZUMH9xg3n9KLYUqJZxRn-XI-NTU6oTI.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/mcCP5u08nlCL6TgWdzzrem9uE2rbsbG3KyIXxvWvlJE.cache +0 -3
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pC4exGjkQLXXPE0O9hjX_2AJ4DASTFeB6RGjXagxEac.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pIRh_Lq-ZhYC_XdRcqIsCtUkTnwVET0Wrrpw1EltHd8.cache +0 -2
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/qfXc71sDbi1cE9f327D6ABPURPU6lLguGiJqH2fqM0w.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/rBcrkzXcMaiCjwvWl8tO0eARzKZS69I3i-lfsTAFzcc.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/sfl8l1_1AGn-4llkmb91Q0wHJ-A-x5gAGkIUWe1zLqo.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/tFQc0MOeWpJ7t7cNP2GOzo7o9Z6YBgLEpdS0tGLvUSw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/tb9v5OemP-ADEwYnETLLi1r088kZm_TMb9ZVeTV5JxI.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/uKmWfbgaNZ8FTsVK1VNuUv15rmtTHzSdJ7TQRGr0Rck.cache +0 -2
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ul0QEoovfr_12YOpyWx8BJs8fvz5Ay3AZG8-lsLr-a4.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/vY6eUgBIXKHqfU2ZroS-GugKPg5_fo2QBs-vS5gBN2o.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/vrRc4DPAbHIJHJqsXfBYdyKUPFv8f8YYKJUrk-1zdVw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/wTET4PQq7wlxzrgvNivPJad-CACkoQS4BNxAP0FQaR4.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/wcvE87iLx7cDjMDs_Yu1jKYvep-VyLEyj1eXL79KLp4.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/xQeZ92qbm2t9FaRck5xUakvNP-MJ2cs0RroN-fm0Tf8.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/xQz9WPf67Mu5uV4rNuOfU-y6_KWSlWcnTWrTvQPonKM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/xhYTRUOS8cIvyRp2Jn6FKnXlGOSsIM2z3HAGOJoJs7w.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/yLxMFI0ARh2OKSOQLF2xEfM7sbst2vUbOBXoOuI6iTE.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ynnYZxuxqerlFUytw54dl_CwP94g0U4HmGjyILWnhfQ.cache +0 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/zCivVPbSRpKF_X-P5OJeld32YhymG-bkjQwzqe2o6zg.cache +0 -2
- data/spec/dummy/tmp/cache/assets/test/sprockets/02d4b791eb831cf2057bf4703a1218d1 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0f196a1a50363b0a076ec6e1ee5417f6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a3fb9025f90ff05a6fd4afc7ded2692c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a41c8be5379abec3c0d0d98e2f0d5609 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c69ee3cc5796188d873574179290a6ef +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e1f674c11941d62aac1764ef3a7134e4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e85565206c3e5fdf9dfeb367c85557b1 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/-gXoYfEJ-e9QQUbNRpNa-pwMCnTc7Eqvkq6Bosde6W8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/6iNAIrMKxHltOChiHQQf9VNsLQuj2rVKz6oqWnK7aSM.cache +0 -1
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/E1zaNOh68xzPxdtdOwRtOaMCoKivN2dxVwCP65WEi5I.cache +0 -2
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/HsNbq1o4RbrEWNL4zXVqFfUVnXXLK_y0F0BvddDre6g.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/JusxTSXt06IqBm9jeCMM2nTmM3Wvbl3i3L1IwEvW5YA.cache +0 -2
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/L5DjABL_iOtoxSOLn3X7_YlxECU5EhnrVIKxJFAysgc.cache +0 -1
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/PNc9TJUmRdGTSwgZvGlxKaIiJIkyoWtTPiGGWBqpHAE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/QkgTHa6nNs7XP6RPoV3yBbWWV-uo1u2-qxLuvLCFe_0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/S-6Iq5YOEpVnd_vQ0RSSfrmyIwB1dk0op35alFgJ9xA.cache +0 -2
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Vuc93A9yywiFxc9CAdxrzdsAQw4jxiCa6JRzRjNxOYs.cache +0 -1
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/YAPBll4U0cgs6cz-WyMRKoakK_gVOOcl9n0CvGyxPjY.cache +0 -1
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/bDNeZfPBQaef5z0YajZc4jFE54nNy9gc06mPNKvvPFk.cache +0 -1
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/c5Wa2loowFYFRBaMoTn1IWYXo4BGMbEy7NIi0vbvfRU.cache +0 -1
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/dkn8MYu2ve_AJW6u0jjTlKrj1KBRqorOHQR0Obx2elU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/fZuAzt_-48u9C7ZXmsPgTraGDYtNC9B9zN-9-EnxJG4.cache +0 -1
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/gumo32Bd3W_q7MYEt9JIZEiQdHF93tLSsGfmXIm2MqU.cache +0 -1
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ige85jXyj8X7XYr7HpA0gSTThqfPUm71HjhSJXtTbUY.cache +0 -1
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/kuYeE5bV6FdXmfB_o-xhflhSDWoQhYYaaupAXODZ9dQ.cache +0 -1
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/qhZbbNIRUaAOtGano94zLHjeBKUhKr4qbh2tTCi0Bnk.cache +0 -2
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/wJJbzdHJHP6tchng3HhfTwmjc5LursgX8yZkAjpO5UA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/xNL1WW-qU3EvV2iTSW6F4hAFRBsCYmFKJhLjgCZkOV8.cache +0 -2
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ytHkF2DwUE6oaiLyrK6tL-0INpeNhjN6ctD7J0LNY6I.cache +0 -2
- data/spec/helpers/commontator/application_helper_spec.rb +0 -10
- data/spec/helpers/commontator/application_helper_spec.rb~ +0 -9
- data/spec/lib/commontator/acts_as_commontable_spec.rb +0 -25
- data/spec/lib/commontator/acts_as_commontable_spec.rb~ +0 -25
- data/spec/lib/commontator/acts_as_commontator_spec.rb +0 -26
- data/spec/lib/commontator/acts_as_commontator_spec.rb~ +0 -52
- data/spec/lib/commontator/commontable_config_spec.rb +0 -28
- data/spec/lib/commontator/commontable_config_spec.rb~ +0 -29
- data/spec/lib/commontator/commontator_config_spec.rb +0 -28
- data/spec/lib/commontator/commontator_config_spec.rb~ +0 -29
- data/spec/lib/commontator/controller_includes_spec.rb~ +0 -18
- data/spec/lib/commontator/controllers_spec.rb +0 -18
- data/spec/lib/commontator/controllers_spec.rb~ +0 -18
- data/spec/lib/commontator/shared_helper_spec.rb +0 -21
- data/spec/lib/commontator/shared_helper_spec.rb~ +0 -22
- data/spec/lib/commontator_spec.rb +0 -25
- data/spec/lib/commontator_spec.rb~ +0 -26
- data/spec/mailers/commontator/subscriptions_mailer_spec.rb +0 -49
- data/spec/mailers/commontator/subscriptions_mailer_spec.rb~ +0 -30
- data/spec/models/commontator/comment_spec.rb +0 -82
- data/spec/models/commontator/comment_spec.rb~ +0 -82
- data/spec/models/commontator/subscription_spec.rb +0 -38
- data/spec/models/commontator/subscription_spec.rb~ +0 -38
- data/spec/models/commontator/thread_spec.rb +0 -159
- data/spec/models/commontator/thread_spec.rb~ +0 -122
- data/spec/rails_helper.rb +0 -72
- data/spec/rails_helper.rb~ +0 -74
- data/spec/spec_helper.rb +0 -94
- data/spec/spec_helper.rb~ +0 -93
- data/vendor/assets/javascripts/mentionsInput/index.js~ +0 -3
data/config/locales/de.yml
CHANGED
@@ -1,24 +1,3 @@
|
|
1
|
-
# Files in the config/locales directory are used for internationalization
|
2
|
-
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
-
# than English, add the necessary files in this directory.
|
4
|
-
#
|
5
|
-
# To use the locales, use `I18n.t`:
|
6
|
-
#
|
7
|
-
# I18n.t 'hello'
|
8
|
-
#
|
9
|
-
# In views, this is aliased to just `t`:
|
10
|
-
#
|
11
|
-
# <%= t('hello') %>
|
12
|
-
#
|
13
|
-
# To use a different locale, set it with `I18n.locale`:
|
14
|
-
#
|
15
|
-
# I18n.locale = :es
|
16
|
-
#
|
17
|
-
# This would use the information in config/locales/es.yml.
|
18
|
-
#
|
19
|
-
# To learn more, please read the Rails Internationalization guide
|
20
|
-
# available at http://guides.rubyonrails.org/i18n.html.
|
21
|
-
|
22
1
|
---
|
23
2
|
de:
|
24
3
|
activerecord:
|
@@ -48,53 +27,54 @@ de:
|
|
48
27
|
comment:
|
49
28
|
actions:
|
50
29
|
cancel: Abbrechen
|
51
|
-
confirm_delete:
|
52
|
-
create:
|
30
|
+
confirm_delete: Sind Sie sicher, dass sie diesen Kommentar löschen wollen?
|
31
|
+
create: Kommentar speichern
|
53
32
|
delete: Löschen
|
54
33
|
edit: Bearbeiten
|
55
|
-
new:
|
34
|
+
new: Neuer Kommentar
|
56
35
|
undelete: Löschen rückgängig
|
57
|
-
update:
|
36
|
+
update: Kommentar bearbeiten
|
37
|
+
reply: Auf Kommentar antworten.
|
58
38
|
errors:
|
59
|
-
already_deleted:
|
39
|
+
already_deleted: Dieser Kommentar wurde bereits gelöscht.
|
60
40
|
create: "Kommentar kann nicht veröffentlicht werden:"
|
61
|
-
double_posted:
|
62
|
-
not_deleted:
|
41
|
+
double_posted: Kommentar ist ein Duplikat.
|
42
|
+
not_deleted: Dieser Kommentar wurde nicht gelöscht..
|
63
43
|
update: "Kommentar kann nicht bearbeitet werden:"
|
64
44
|
status:
|
65
|
-
created_at:
|
66
|
-
deleted_by:
|
67
|
-
updated_at:
|
45
|
+
created_at: Veröffentlich am %{created_at}.
|
46
|
+
deleted_by: Kommentar gelöscht von %{deleter_name}.
|
47
|
+
updated_at: Bearbeitet von %{editor_name} am %{updated_at}.
|
48
|
+
replying: "%{creator_name} Antworten"
|
68
49
|
email:
|
69
50
|
comment_created:
|
70
51
|
body: "%{creator_name} kommentierte zu %{commontable_name}:"
|
71
52
|
subject: "%{creator_name} veröffentlichte einen Kommentar zu %{commontable_name}"
|
72
|
-
thread_link_html:
|
73
|
-
require_login:
|
53
|
+
thread_link_html: <a href="%{comment_url}">Hier klicken</a> um alle Kommentare zu %{commontable_name} zu sehen.
|
54
|
+
require_login: Sie müssen sich anmelden bevor sie einen Kommentar veröffentlichen können.
|
74
55
|
subscription:
|
75
56
|
actions:
|
76
|
-
confirm_unsubscribe: "Sind Sie sicher, dass sie keine Nachrichten mehr zur Diskussion erhalten möchten?"
|
77
57
|
subscribe: Subscribe
|
78
58
|
unsubscribe: Unsubscribe
|
79
59
|
errors:
|
80
|
-
already_subscribed:
|
81
|
-
not_subscribed:
|
60
|
+
already_subscribed: Sie erhalten zu der Diskussion bereits Aktualisierungen
|
61
|
+
not_subscribed: Sie erhalten zu der Diskussion keine Nachrichten.
|
82
62
|
thread:
|
83
63
|
actions:
|
84
|
-
show_all:
|
85
|
-
filter:
|
86
|
-
close:
|
87
|
-
confirm_close:
|
88
|
-
reopen:
|
89
|
-
show:
|
90
|
-
hide:
|
64
|
+
show_all: Alle Kommentare anzeigen
|
65
|
+
filter: Kommentare filtern
|
66
|
+
close: Diskussion beenden
|
67
|
+
confirm_close: Sind Sie sicher, dass sie die Diskussion schliessen wollen?
|
68
|
+
reopen: Diskussion wieder eröffnen
|
69
|
+
show: Kommentare anzeigen
|
70
|
+
hide: Kommentare ausblenden
|
91
71
|
errors:
|
92
|
-
already_closed:
|
93
|
-
not_closed:
|
72
|
+
already_closed: Diese Diskussion ist bereits geschlossen.
|
73
|
+
not_closed: Diese Diskussion ist nicht geschlossen.
|
94
74
|
status:
|
95
|
-
cannot_post:
|
96
|
-
closed:
|
75
|
+
cannot_post: Zurzeit können keine neuen Kommentare verfasst werden.
|
76
|
+
closed: Kommentare (geschlossen von %{closer_name})
|
97
77
|
open: Kommentare
|
98
78
|
time:
|
99
79
|
formats:
|
100
|
-
commontator: "%d. %B %Y um %H:%
|
80
|
+
commontator: "%d. %B %Y um %H:%M %Z"
|
data/config/locales/en.yml
CHANGED
@@ -16,8 +16,18 @@
|
|
16
16
|
#
|
17
17
|
# This would use the information in config/locales/es.yml.
|
18
18
|
#
|
19
|
+
# The following keys must be escaped otherwise they will not be retrieved by
|
20
|
+
# the default I18n backend:
|
21
|
+
#
|
22
|
+
# true, false, on, off, yes, no
|
23
|
+
#
|
24
|
+
# Instead, surround them with single quotes.
|
25
|
+
#
|
26
|
+
# en:
|
27
|
+
# 'true': 'foo'
|
28
|
+
#
|
19
29
|
# To learn more, please read the Rails Internationalization guide
|
20
|
-
# available at
|
30
|
+
# available at https://guides.rubyonrails.org/i18n.html.
|
21
31
|
|
22
32
|
---
|
23
33
|
en:
|
@@ -48,52 +58,53 @@ en:
|
|
48
58
|
comment:
|
49
59
|
actions:
|
50
60
|
cancel: Cancel
|
51
|
-
confirm_delete:
|
52
|
-
create:
|
61
|
+
confirm_delete: Are you sure you want to delete this comment?
|
62
|
+
create: Post Comment
|
53
63
|
delete: Delete
|
54
64
|
edit: Edit
|
55
|
-
new:
|
65
|
+
new: New Comment
|
56
66
|
undelete: Undelete
|
57
|
-
update:
|
67
|
+
update: Modify Comment
|
68
|
+
reply: Reply to Comment.
|
58
69
|
errors:
|
59
|
-
already_deleted:
|
70
|
+
already_deleted: This comment has already been deleted.
|
60
71
|
create: "This comment could not be posted because:"
|
61
|
-
double_posted:
|
62
|
-
not_deleted:
|
72
|
+
double_posted: is a duplicate of another comment.
|
73
|
+
not_deleted: This comment is not deleted.
|
63
74
|
update: "This comment could not be modified because:"
|
64
75
|
status:
|
65
|
-
created_at:
|
66
|
-
deleted_by:
|
67
|
-
updated_at:
|
76
|
+
created_at: Posted on %{created_at}.
|
77
|
+
deleted_by: Comment deleted by %{deleter_name}.
|
78
|
+
updated_at: Last modified by %{editor_name} on %{updated_at}.
|
79
|
+
replying: Replying to %{creator_name}
|
68
80
|
email:
|
69
81
|
comment_created:
|
70
82
|
body: "%{creator_name} commented on %{commontable_name}:"
|
71
83
|
subject: "%{creator_name} posted a comment on %{commontable_name}"
|
72
|
-
thread_link_html:
|
73
|
-
require_login:
|
84
|
+
thread_link_html: <a href="%{comment_url}">Click here</a> to view all comments on %{commontable_name}.
|
85
|
+
require_login: You must login before you can post a comment.
|
74
86
|
subscription:
|
75
87
|
actions:
|
76
|
-
confirm_unsubscribe: "Are you sure you want to unsubscribe from this discussion?"
|
77
88
|
subscribe: Subscribe
|
78
89
|
unsubscribe: Unsubscribe
|
79
90
|
errors:
|
80
|
-
already_subscribed:
|
81
|
-
not_subscribed:
|
91
|
+
already_subscribed: You are already subscribed to this discussion.
|
92
|
+
not_subscribed: You are not subscribed to this discussion.
|
82
93
|
thread:
|
83
94
|
actions:
|
84
|
-
show_all:
|
85
|
-
filter:
|
86
|
-
close:
|
87
|
-
confirm_close:
|
88
|
-
reopen:
|
89
|
-
show:
|
90
|
-
hide:
|
95
|
+
show_all: Show All Comments
|
96
|
+
filter: Filter Comments
|
97
|
+
close: Close Discussion
|
98
|
+
confirm_close: Are you sure you want to close this discussion?
|
99
|
+
reopen: Reopen Discussion
|
100
|
+
show: Show Comments
|
101
|
+
hide: Hide Comments
|
91
102
|
errors:
|
92
|
-
already_closed:
|
93
|
-
not_closed:
|
103
|
+
already_closed: This discussion has already been closed.
|
104
|
+
not_closed: This discussion is not closed.
|
94
105
|
status:
|
95
|
-
cannot_post:
|
96
|
-
closed:
|
106
|
+
cannot_post: New comments cannot be posted at this time.
|
107
|
+
closed: Comments (Closed by %{closer_name})
|
97
108
|
open: Comments
|
98
109
|
time:
|
99
110
|
formats:
|
data/config/locales/pt-BR.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
pt-BR:
|
2
3
|
activerecord:
|
3
4
|
attributes:
|
@@ -26,53 +27,54 @@ pt-BR:
|
|
26
27
|
comment:
|
27
28
|
actions:
|
28
29
|
cancel: Cancelar
|
29
|
-
confirm_delete:
|
30
|
-
create:
|
30
|
+
confirm_delete: Tem certeza que deseja remover este comentário?
|
31
|
+
create: Postar comentário
|
31
32
|
delete: Deletar
|
32
33
|
edit: Editar
|
33
|
-
new:
|
34
|
+
new: Novo comentário
|
34
35
|
undelete: Desfazer
|
35
|
-
update:
|
36
|
+
update: Editar comentário
|
37
|
+
reply: Responder ao comentário.
|
36
38
|
errors:
|
37
|
-
already_deleted:
|
38
|
-
create: "
|
39
|
-
double_posted:
|
40
|
-
not_deleted:
|
41
|
-
update: "
|
39
|
+
already_deleted: Este comentário já foi removido.
|
40
|
+
create: "Este comentário não pôde ser postado porque:"
|
41
|
+
double_posted: é um comentário duplicado.
|
42
|
+
not_deleted: Este comentário não foi removido.
|
43
|
+
update: "Este comentário não pôde ser editado porque:"
|
42
44
|
status:
|
43
|
-
created_at:
|
44
|
-
deleted_by:
|
45
|
-
updated_at:
|
45
|
+
created_at: Postado em %{created_at}.
|
46
|
+
deleted_by: Comentário removido por %{deleter_name}.
|
47
|
+
updated_at: Editado por %{editor_name} em %{updated_at}.
|
48
|
+
replying: Respondendo a %{creator_name}
|
46
49
|
email:
|
47
50
|
comment_created:
|
48
51
|
body: "%{creator_name} comentou em %{commontable_name}:"
|
49
52
|
subject: "%{creator_name} postou um comentário em %{commontable_name}"
|
50
|
-
thread_link_html:
|
51
|
-
require_login:
|
53
|
+
thread_link_html: <a href="%{comment_url}">Clique aqui</a> para ver todos os comentários em %{commontable_name}.
|
54
|
+
require_login: Você deve fazer login para postar um comentário.
|
52
55
|
subscription:
|
53
56
|
actions:
|
54
|
-
confirm_unsubscribe: "Tem certeza que deseja cancelar sua inscrição nessa discussão?"
|
55
57
|
subscribe: Inscrever-se
|
56
58
|
unsubscribe: Cancelar inscrição
|
57
59
|
errors:
|
58
|
-
already_subscribed:
|
59
|
-
not_subscribed:
|
60
|
+
already_subscribed: Você já está inscrito nessa discussão.
|
61
|
+
not_subscribed: Você não está inscrito nessa discussão.
|
60
62
|
thread:
|
61
63
|
actions:
|
62
|
-
show_all:
|
63
|
-
filter:
|
64
|
-
close:
|
65
|
-
confirm_close:
|
66
|
-
reopen:
|
67
|
-
show:
|
68
|
-
hide:
|
64
|
+
show_all: Mostrar todos os comentários
|
65
|
+
filter: Filtrar comentários
|
66
|
+
close: Fechar discussão
|
67
|
+
confirm_close: Tem certeza que deseja fechar a discussão?
|
68
|
+
reopen: Reabrir discussão
|
69
|
+
show: Mostrar comentários
|
70
|
+
hide: Esconder comentários
|
69
71
|
errors:
|
70
|
-
already_closed:
|
71
|
-
not_closed:
|
72
|
+
already_closed: Essa discussão já foi fechada.
|
73
|
+
not_closed: Essa discussão não está fechada.
|
72
74
|
status:
|
73
|
-
cannot_post:
|
74
|
-
closed:
|
75
|
+
cannot_post: Não é possível postar novos comentários.
|
76
|
+
closed: Comentários (Fechado por %{closer_name})
|
75
77
|
open: Comentários
|
76
78
|
time:
|
77
79
|
formats:
|
78
|
-
commontator: "%
|
80
|
+
commontator: "%d de %B de %Y às %H:%M %Z"
|
data/config/locales/ru.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
ru:
|
2
3
|
activerecord:
|
3
4
|
attributes:
|
@@ -14,65 +15,69 @@ ru:
|
|
14
15
|
models:
|
15
16
|
commontator/comment:
|
16
17
|
one: комментарий
|
18
|
+
many: комментарии
|
17
19
|
other: комментарии
|
18
20
|
commontator/subscription:
|
19
21
|
one: подписка
|
22
|
+
many: подписки
|
20
23
|
other: подписки
|
21
24
|
commontator/thread:
|
22
25
|
one: обсуждение
|
26
|
+
many: обсуждения
|
23
27
|
other: обсуждения
|
24
28
|
commontator:
|
25
29
|
anonymous: Аноним
|
26
30
|
comment:
|
27
31
|
actions:
|
28
32
|
cancel: Отменить
|
29
|
-
confirm_delete:
|
30
|
-
create:
|
33
|
+
confirm_delete: Вы уверены, что хотите удалить комментарий?
|
34
|
+
create: Оставить Комментарий
|
31
35
|
delete: Удалить
|
32
36
|
edit: Редактировать
|
33
|
-
new:
|
37
|
+
new: Новый Комментарий
|
34
38
|
undelete: Восстановить
|
35
|
-
update:
|
39
|
+
update: Изменить Комментарий
|
40
|
+
reply: Ответить на Комментарий.
|
36
41
|
errors:
|
37
|
-
already_deleted:
|
38
|
-
create:
|
39
|
-
double_posted:
|
40
|
-
not_deleted:
|
41
|
-
update:
|
42
|
+
already_deleted: Этот комментарий был удален.
|
43
|
+
create: Комментарий нельзя оставить потому что
|
44
|
+
double_posted: этот комментарий уже есть.
|
45
|
+
not_deleted: Этот комментарий не удален.
|
46
|
+
update: Этот комментарий нельзя изменить потому что
|
42
47
|
status:
|
43
|
-
created_at:
|
44
|
-
deleted_by:
|
45
|
-
updated_at:
|
48
|
+
created_at: Создан %{created_at}.
|
49
|
+
deleted_by: Комментарий был удален %{deleter_name}.
|
50
|
+
updated_at: Редактировал %{editor_name}, %{updated_at}.
|
51
|
+
replying: Отвечая %{creator_name}
|
46
52
|
email:
|
47
53
|
comment_created:
|
48
54
|
body: "%{creator_name} комментировал %{commontable_name}:"
|
49
55
|
subject: "%{creator_name} оставил комментарий к %{commontable_name}"
|
50
|
-
thread_link_html:
|
51
|
-
require_login:
|
56
|
+
thread_link_html: <a href="%{comment_url}">Нажмите здесь</a> чтобы посмотреть все комментарии к %{commontable_name}.
|
57
|
+
require_login: Вы должны залогиниться прежде чем оставить комментарий.
|
52
58
|
subscription:
|
53
59
|
actions:
|
54
|
-
confirm_unsubscribe: "Вы уверены, что хотите отписать от обсуждения?"
|
55
60
|
subscribe: Подписаться
|
56
61
|
unsubscribe: Отписаться
|
57
62
|
errors:
|
58
|
-
already_subscribed:
|
59
|
-
not_subscribed:
|
63
|
+
already_subscribed: Вы уже подписаны на это обсуждение.
|
64
|
+
not_subscribed: Вы не подписаны на это обсуждение.
|
60
65
|
thread:
|
61
66
|
actions:
|
62
|
-
show_all:
|
63
|
-
filter:
|
64
|
-
close:
|
65
|
-
confirm_close:
|
66
|
-
reopen:
|
67
|
-
show:
|
68
|
-
hide:
|
67
|
+
show_all: Показать все комментарии
|
68
|
+
filter: Фильтровать комментарии
|
69
|
+
close: Закрыть обсуждение
|
70
|
+
confirm_close: Вы уверены, что хотите закрыть обсуждение?
|
71
|
+
reopen: Открыть заново обсуждение
|
72
|
+
show: Показать комментарии
|
73
|
+
hide: скрыть комментарии
|
69
74
|
errors:
|
70
|
-
already_closed:
|
71
|
-
not_closed:
|
75
|
+
already_closed: Это обсуждение было закрыто.
|
76
|
+
not_closed: Это обсуждение не закрыто.
|
72
77
|
status:
|
73
|
-
cannot_post:
|
74
|
-
closed:
|
78
|
+
cannot_post: Новый комментарии нельзя разместить в данный момент.
|
79
|
+
closed: Комментарии (Закрыты %{closer_name})
|
75
80
|
open: Комментарии
|
76
81
|
time:
|
77
82
|
formats:
|
78
|
-
commontator: "%
|
83
|
+
commontator: "%d %b %Y в %H:%M %Z"
|
data/config/locales/zh.yml
CHANGED
@@ -1,78 +1,95 @@
|
|
1
|
-
|
1
|
+
---
|
2
|
+
zh: &zh
|
2
3
|
activerecord:
|
3
4
|
attributes:
|
4
5
|
commontator/comment:
|
5
|
-
body:
|
6
|
-
creator:
|
7
|
-
editor:
|
8
|
-
thread:
|
6
|
+
body: 留言
|
7
|
+
creator: 留言者
|
8
|
+
editor: 編輯
|
9
|
+
thread: 討論
|
9
10
|
commontator/subscription:
|
10
|
-
subscriber:
|
11
|
-
thread:
|
11
|
+
subscriber: 訂閱者
|
12
|
+
thread: 討論
|
12
13
|
commontator/thread:
|
13
|
-
commontable:
|
14
|
+
commontable: 可以留言
|
14
15
|
models:
|
15
16
|
commontator/comment:
|
16
|
-
one:
|
17
|
-
other:
|
17
|
+
one: 留言
|
18
|
+
other: 留言
|
18
19
|
commontator/subscription:
|
19
|
-
one:
|
20
|
-
other:
|
20
|
+
one: 訂閱
|
21
|
+
other: 訂閱
|
21
22
|
commontator/thread:
|
22
|
-
one:
|
23
|
-
other:
|
23
|
+
one: 討論
|
24
|
+
other: 討論
|
24
25
|
commontator:
|
25
|
-
anonymous:
|
26
|
+
anonymous: 匿名
|
26
27
|
comment:
|
27
28
|
actions:
|
28
|
-
cancel:
|
29
|
-
confirm_delete:
|
30
|
-
create:
|
31
|
-
delete:
|
32
|
-
edit:
|
33
|
-
new:
|
34
|
-
undelete:
|
35
|
-
update:
|
29
|
+
cancel: 取消
|
30
|
+
confirm_delete: 確定要刪除這筆留言嗎?
|
31
|
+
create: 發佈
|
32
|
+
delete: 刪除
|
33
|
+
edit: 編輯
|
34
|
+
new: 新留言
|
35
|
+
undelete: 未刪除
|
36
|
+
update: 修改留言
|
37
|
+
reply: 回复评论
|
36
38
|
errors:
|
37
|
-
already_deleted:
|
39
|
+
already_deleted: 此留言已經被刪除了
|
38
40
|
create: "此留言無法發佈因為:"
|
39
|
-
double_posted:
|
40
|
-
not_deleted:
|
41
|
+
double_posted: 已經有一筆相同的留言。
|
42
|
+
not_deleted: 此留言未被刪除
|
41
43
|
update: "此留言無法被修改因為:"
|
42
44
|
status:
|
43
|
-
created_at:
|
44
|
-
deleted_by:
|
45
|
-
updated_at:
|
45
|
+
created_at: 於%{created_at}發佈
|
46
|
+
deleted_by: 被%{deleter_name}刪除
|
47
|
+
updated_at: 最在於%{updated_at}被%{editor_name}修改
|
48
|
+
replying: 回复%{creator_name}
|
46
49
|
email:
|
47
50
|
comment_created:
|
48
51
|
body: "%{creator_name}留言於%{commontable_name}"
|
49
52
|
subject: "%{creator_name}於%{commontable_name}發佈了一則留言"
|
50
|
-
thread_link_html:
|
51
|
-
require_login:
|
53
|
+
thread_link_html: <a href="%{comment_url}">點此處</a>看%{commontable_name}的所有留言
|
54
|
+
require_login: 你需要先登入
|
52
55
|
subscription:
|
53
56
|
actions:
|
54
|
-
|
55
|
-
|
56
|
-
unsubscribe: "取消訂閱"
|
57
|
+
subscribe: 訂閱
|
58
|
+
unsubscribe: 取消訂閱
|
57
59
|
errors:
|
58
|
-
already_subscribed:
|
59
|
-
not_subscribed:
|
60
|
+
already_subscribed: 你已經訂閱過了
|
61
|
+
not_subscribed: 你沒有訂閱過
|
60
62
|
thread:
|
61
63
|
actions:
|
62
|
-
show_all:
|
63
|
-
filter:
|
64
|
-
close:
|
65
|
-
confirm_close:
|
66
|
-
reopen:
|
67
|
-
show:
|
68
|
-
hide:
|
64
|
+
show_all: 列出所有留言
|
65
|
+
filter: 過濾留言
|
66
|
+
close: 關閉討論
|
67
|
+
confirm_close: 你確定要關閉此討論嗎?
|
68
|
+
reopen: 回復討論
|
69
|
+
show: 打開留言
|
70
|
+
hide: 关闭留言
|
69
71
|
errors:
|
70
|
-
already_closed:
|
71
|
-
not_closed:
|
72
|
+
already_closed: 此討論已經被關閉
|
73
|
+
not_closed: 此討論尚未被關閉
|
72
74
|
status:
|
73
|
-
cannot_post:
|
74
|
-
closed:
|
75
|
+
cannot_post: 現在還不能發佈
|
76
|
+
closed: 留言已經被%{closer_name}關閉
|
75
77
|
open: 留言
|
76
78
|
time:
|
77
79
|
formats:
|
78
|
-
commontator: "%
|
80
|
+
commontator: "%Y年%m月%d日 於 %H:%M %Z"
|
81
|
+
|
82
|
+
zh-CN:
|
83
|
+
<<: *zh
|
84
|
+
|
85
|
+
zh-HK:
|
86
|
+
<<: *zh
|
87
|
+
|
88
|
+
zh-TW:
|
89
|
+
<<: *zh
|
90
|
+
|
91
|
+
zh-YUE:
|
92
|
+
<<: *zh
|
93
|
+
time:
|
94
|
+
formats:
|
95
|
+
commontator: "%Y年%m月%d號 於 %H:%M %Z"
|