gettext_rails 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +55 -0
- data/ChangeLog +4 -0
- data/README.rdoc +173 -0
- data/Rakefile +113 -0
- data/data/locale/bg/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/bs/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/ca/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/cs/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/de/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/el/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/eo/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/es/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/et/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/hr/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/hu/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/it/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/ko/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/lv/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/nb/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/nl/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/pt_BR/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/ru/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/sr/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/ua/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/vi/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/zh/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/zh_TW/LC_MESSAGES/gettext_rails.mo +0 -0
- data/lib/gettext_rails.rb +33 -0
- data/lib/gettext_rails/action_controller.rb +104 -0
- data/lib/gettext_rails/action_mailer.rb +45 -0
- data/lib/gettext_rails/action_view.rb +16 -0
- data/lib/gettext_rails/action_view/active_record_helper.rb +109 -0
- data/lib/gettext_rails/action_view/date_helper.rb +48 -0
- data/lib/gettext_rails/action_view/form_builder.rb +26 -0
- data/lib/gettext_rails/tools.rb +22 -0
- data/lib/gettext_rails/version.rb +14 -0
- data/po/bg/gettext_rails.po +89 -0
- data/po/bs/gettext_rails.po +98 -0
- data/po/ca/gettext_rails.po +90 -0
- data/po/cs/gettext_rails.po +102 -0
- data/po/de/gettext_rails.po +94 -0
- data/po/el/gettext_rails.po +89 -0
- data/po/eo/gettext_rails.po +90 -0
- data/po/es/gettext_rails.po +90 -0
- data/po/et/gettext_rails.po +90 -0
- data/po/fr/gettext_rails.po +94 -0
- data/po/gettext_rails.pot +87 -0
- data/po/hr/gettext_rails.po +99 -0
- data/po/hu/gettext_rails.po +90 -0
- data/po/it/gettext_rails.po +89 -0
- data/po/ja/gettext_rails.po +90 -0
- data/po/ko/gettext_rails.po +87 -0
- data/po/lv/gettext_rails.po +95 -0
- data/po/nb/gettext_rails.po +91 -0
- data/po/nl/gettext_rails.po +91 -0
- data/po/pt_BR/gettext_rails.po +91 -0
- data/po/ru/gettext_rails.po +98 -0
- data/po/sr/gettext_rails.po +98 -0
- data/po/test.rb +11 -0
- data/po/ua/gettext_rails.po +104 -0
- data/po/vi/gettext_rails.po +90 -0
- data/po/zh/gettext_rails.po +86 -0
- data/po/zh_TW/gettext_rails.po +86 -0
- data/replace.rb +21 -0
- data/sample/README +80 -0
- data/sample/Rakefile +11 -0
- data/sample/app/controllers/application_controller.rb +37 -0
- data/sample/app/controllers/articles_controller.rb +97 -0
- data/sample/app/helpers/application_helper.rb +3 -0
- data/sample/app/helpers/articles_helper.rb +60 -0
- data/sample/app/models/article.rb +16 -0
- data/sample/app/views/articles/edit.html.erb +22 -0
- data/sample/app/views/articles/index.html.erb +18 -0
- data/sample/app/views/articles/new.html.erb +20 -0
- data/sample/app/views/articles/show.html.erb +7 -0
- data/sample/app/views/layouts/articles.html.erb +27 -0
- data/sample/config/boot.rb +109 -0
- data/sample/config/database.yml +22 -0
- data/sample/config/environment.rb +45 -0
- data/sample/config/environments/development.rb +17 -0
- data/sample/config/environments/production.rb +27 -0
- data/sample/config/environments/test.rb +27 -0
- data/sample/config/initializers/backtrace_silencers.rb +7 -0
- data/sample/config/initializers/inflections.rb +10 -0
- data/sample/config/initializers/mime_types.rb +5 -0
- data/sample/config/initializers/new_rails_defaults.rb +19 -0
- data/sample/config/initializers/session_store.rb +15 -0
- data/sample/config/routes.rb +45 -0
- data/sample/db/development.sqlite3 +0 -0
- data/sample/db/production.sqlite3 +0 -0
- data/sample/db/schema.rb +19 -0
- data/sample/db/test.sqlite3 +0 -0
- data/sample/doc/README_FOR_APP +2 -0
- data/sample/lib/tasks/gettext.rake +13 -0
- data/sample/locale/bg/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/bs/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/ca/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/cs/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/de/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/el/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/en/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/eo/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/es/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/fr/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/hr/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/hu/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/it/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/ja/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/ko/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/lv/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/nb/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/nl/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/pt_BR/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/ru/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/sr/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/ua/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/vi/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/zh/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/zh_TW/LC_MESSAGES/blog.mo +0 -0
- data/sample/log/development.log +635 -0
- data/sample/log/production.log +79475 -0
- data/sample/log/test.log +1592 -0
- data/sample/po/bg/blog.po +101 -0
- data/sample/po/blog.pot +102 -0
- data/sample/po/bs/blog.po +103 -0
- data/sample/po/ca/blog.po +101 -0
- data/sample/po/cs/blog.po +104 -0
- data/sample/po/de/blog.po +104 -0
- data/sample/po/el/blog.po +102 -0
- data/sample/po/en/blog.po +103 -0
- data/sample/po/eo/blog.po +102 -0
- data/sample/po/eo/tmp.patch +21 -0
- data/sample/po/es/blog.po +101 -0
- data/sample/po/fr/blog.po +102 -0
- data/sample/po/hr/blog.po +102 -0
- data/sample/po/hu/blog.po +101 -0
- data/sample/po/it/blog.po +102 -0
- data/sample/po/ja/blog.po +101 -0
- data/sample/po/ko/blog.po +102 -0
- data/sample/po/lv/blog.po +103 -0
- data/sample/po/nb/blog.po +102 -0
- data/sample/po/nl/blog.po +102 -0
- data/sample/po/pt_BR/blog.po +102 -0
- data/sample/po/ru/blog.po +102 -0
- data/sample/po/sr/blog.po +103 -0
- data/sample/po/ua/blog.po +105 -0
- data/sample/po/vi/blog.po +102 -0
- data/sample/po/zh/blog.po +101 -0
- data/sample/po/zh_TW/blog.po +103 -0
- data/sample/public/404.html +30 -0
- data/sample/public/422.html +30 -0
- data/sample/public/500.html +33 -0
- data/sample/public/favicon.ico +0 -0
- data/sample/public/images/rails.png +0 -0
- data/sample/public/index.html +275 -0
- data/sample/public/javascripts/application.js +2 -0
- data/sample/public/javascripts/controls.js +963 -0
- data/sample/public/javascripts/dragdrop.js +973 -0
- data/sample/public/javascripts/effects.js +1128 -0
- data/sample/public/javascripts/prototype.js +4320 -0
- data/sample/public/robots.txt +5 -0
- data/sample/public/stylesheets/blog.css +136 -0
- data/sample/public/stylesheets/scaffold.css +54 -0
- data/sample/script/about +4 -0
- data/sample/script/console +3 -0
- data/sample/script/dbconsole +3 -0
- data/sample/script/destroy +3 -0
- data/sample/script/generate +3 -0
- data/sample/script/performance/benchmarker +3 -0
- data/sample/script/performance/profiler +3 -0
- data/sample/script/plugin +3 -0
- data/sample/script/runner +3 -0
- data/sample/script/server +3 -0
- data/sample/test/fixtures/articles.yml +11 -0
- data/sample/test/functional/articles_controller_test.rb +45 -0
- data/sample/test/performance/browsing_test.rb +9 -0
- data/sample/test/result/en/list.html +69 -0
- data/sample/test/test_helper.rb +38 -0
- data/sample/test/unit/article_test.rb +8 -0
- data/sample/test/unit/helpers/articles_helper_test.rb +4 -0
- data/sample/vendor/plugins/lang_helper/README +17 -0
- data/sample/vendor/plugins/lang_helper/Rakefile +17 -0
- data/sample/vendor/plugins/lang_helper/init.rb +21 -0
- data/sample/vendor/plugins/lang_helper/lib/lang_helper.rb +32 -0
- data/sample/vendor/plugins/lang_helper/locale/bg/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/bs/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/ca/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/cs/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/de/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/el/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/eo/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/es/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/fr/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/hr/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/hu/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/it/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/ja/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/ko/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/lv/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/nb/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/nl/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/pt_BR/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/ru/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/sr/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/ua/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/vi/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/zh/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/zh_TW/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/po/bg/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/bs/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/ca/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/cs/lang_helper.po +29 -0
- data/sample/vendor/plugins/lang_helper/po/de/lang_helper.po +29 -0
- data/sample/vendor/plugins/lang_helper/po/el/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/eo/lang_helper.po +28 -0
- data/sample/vendor/plugins/lang_helper/po/es/lang_helper.po +28 -0
- data/sample/vendor/plugins/lang_helper/po/fr/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/hr/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/hu/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/it/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/ja/lang_helper.po +28 -0
- data/sample/vendor/plugins/lang_helper/po/ko/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/lang_helper.pot +28 -0
- data/sample/vendor/plugins/lang_helper/po/lv/lang_helper.po +28 -0
- data/sample/vendor/plugins/lang_helper/po/nb/lang_helper.po +29 -0
- data/sample/vendor/plugins/lang_helper/po/nl/lang_helper.po +28 -0
- data/sample/vendor/plugins/lang_helper/po/pt_BR/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/ru/lang_helper.po +25 -0
- data/sample/vendor/plugins/lang_helper/po/sr/lang_helper.po +28 -0
- data/sample/vendor/plugins/lang_helper/po/ua/lang_helper.po +30 -0
- data/sample/vendor/plugins/lang_helper/po/vi/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/zh/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/zh_TW/lang_helper.po +29 -0
- data/test/README +6 -0
- data/test/Rakefile +27 -0
- data/test/app/controllers/application_controller.rb +18 -0
- data/test/app/controllers/articles_controller.rb +114 -0
- data/test/app/controllers/mailers_controller.rb +18 -0
- data/test/app/controllers/users_controller.rb +19 -0
- data/test/app/helpers/application_helper.rb +3 -0
- data/test/app/helpers/articles_helper.rb +2 -0
- data/test/app/models/article.rb +9 -0
- data/test/app/models/human_resources/resume.rb +3 -0
- data/test/app/models/mailer.rb +38 -0
- data/test/app/models/user.rb +4 -0
- data/test/app/models/user_observer.rb +7 -0
- data/test/app/views/articles/_form.html.erb +13 -0
- data/test/app/views/articles/_form_fr.html.erb +1 -0
- data/test/app/views/articles/active_form_error.html.erb +1 -0
- data/test/app/views/articles/change_title_error_messages_for.html.erb +15 -0
- data/test/app/views/articles/edit.html.erb +9 -0
- data/test/app/views/articles/list.html.erb +25 -0
- data/test/app/views/articles/list_fr.html.erb +1 -0
- data/test/app/views/articles/multi_error_messages_for.html.erb +19 -0
- data/test/app/views/articles/new.html.erb +8 -0
- data/test/app/views/articles/show.html.erb +9 -0
- data/test/app/views/layouts/application.html.erb +16 -0
- data/test/app/views/layouts/mailers.html.erb +20 -0
- data/test/app/views/layouts/users.html.erb +14 -0
- data/test/app/views/mailer/coverpage.html.erb +6 -0
- data/test/app/views/mailer/coverpage_fr.html.erb +6 -0
- data/test/app/views/mailer/index.html.erb +1 -0
- data/test/app/views/mailer/singlepart.html.erb +3 -0
- data/test/app/views/mailer/singlepart_fr.html.erb +3 -0
- data/test/app/views/users/custom_error_message.html.erb +13 -0
- data/test/app/views/users/custom_error_message_fr.html.erb +13 -0
- data/test/app/views/users/distance_of_time_in_words.html.erb +18 -0
- data/test/config/boot.rb +109 -0
- data/test/config/database.yml +22 -0
- data/test/config/environment.rb +45 -0
- data/test/config/environments/development.rb +17 -0
- data/test/config/environments/production.rb +27 -0
- data/test/config/environments/test.rb +27 -0
- data/test/config/initializers/backtrace_silencers.rb +7 -0
- data/test/config/initializers/inflections.rb +10 -0
- data/test/config/initializers/mime_types.rb +5 -0
- data/test/config/initializers/new_rails_defaults.rb +19 -0
- data/test/config/initializers/session_store.rb +15 -0
- data/test/config/routes.rb +13 -0
- data/test/db/development.sqlite3 +0 -0
- data/test/db/schema.rb +45 -0
- data/test/db/test.sqlite3 +0 -0
- data/test/doc/README_FOR_APP +2 -0
- data/test/locale/ja/LC_MESSAGES/rails_test.mo +0 -0
- data/test/log/development.log +1284 -0
- data/test/log/test.log +5595 -0
- data/test/po/ja/rails_test.po +206 -0
- data/test/po/rails_test.pot +206 -0
- data/test/public/404.html +30 -0
- data/test/public/422.html +30 -0
- data/test/public/500.html +33 -0
- data/test/public/favicon.ico +0 -0
- data/test/public/images/rails.png +0 -0
- data/test/public/index.html +28 -0
- data/test/public/javascripts/application.js +2 -0
- data/test/public/javascripts/controls.js +963 -0
- data/test/public/javascripts/dragdrop.js +973 -0
- data/test/public/javascripts/effects.js +1128 -0
- data/test/public/javascripts/prototype.js +4320 -0
- data/test/public/robots.txt +5 -0
- data/test/public/stylesheets/blog.css +136 -0
- data/test/public/stylesheets/scaffold.css +54 -0
- data/test/script/about +4 -0
- data/test/script/console +3 -0
- data/test/script/dbconsole +3 -0
- data/test/script/destroy +3 -0
- data/test/script/generate +3 -0
- data/test/script/performance/benchmarker +3 -0
- data/test/script/performance/profiler +3 -0
- data/test/script/plugin +3 -0
- data/test/script/runner +3 -0
- data/test/script/server +3 -0
- data/test/test/fixtures/articles.yml +13 -0
- data/test/test/functional/articles_controller_test.rb +97 -0
- data/test/test/functional/mailers_controller_test.rb +54 -0
- data/test/test/functional/users_controller_test.rb +47 -0
- data/test/test/performance/browsing_test.rb +9 -0
- data/test/test/result/en/change_title_error_messages_for.html +89 -0
- data/test/test/result/en/create_error.html +97 -0
- data/test/test/result/en/custom_error_message.html +84 -0
- data/test/test/result/en/custom_error_message_with_plural.html +84 -0
- data/test/test/result/en/distance_of_time_in_words.html +32 -0
- data/test/test/result/en/list.html +62 -0
- data/test/test/result/en/multi_error_messages_for.html +155 -0
- data/test/test/result/en/multipart.html +175 -0
- data/test/test/result/en/new.html +97 -0
- data/test/test/result/en/show.html +33 -0
- data/test/test/result/en/singlepart.html +10 -0
- data/test/test/result/fr/custom_error_message.html +84 -0
- data/test/test/result/fr/custom_error_message_with_plural.html +84 -0
- data/test/test/result/fr/distance_of_time_in_words.html +32 -0
- data/test/test/result/fr/list.html +17 -0
- data/test/test/result/fr/multipart.html +175 -0
- data/test/test/result/fr/new.html +25 -0
- data/test/test/result/fr/singlepart.html +10 -0
- data/test/test/result/ja/change_title_error_messages_for.html +89 -0
- data/test/test/result/ja/create_error.html +97 -0
- data/test/test/result/ja/custom_error_message.html +84 -0
- data/test/test/result/ja/custom_error_message_with_plural.html +84 -0
- data/test/test/result/ja/distance_of_time_in_words.html +32 -0
- data/test/test/result/ja/list.html +62 -0
- data/test/test/result/ja/multi_error_messages_for.html +155 -0
- data/test/test/result/ja/multipart.html +175 -0
- data/test/test/result/ja/new.html +97 -0
- data/test/test/result/ja/show.html +33 -0
- data/test/test/result/ja/singlepart.html +10 -0
- data/test/test/test_helper.rb +83 -0
- data/test/test/unit/article_test.rb +8 -0
- data/test/test/unit/helpers/articles_helper_test.rb +4 -0
- metadata +754 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
Date: Mon, 1 Jan 2007 00:00:00 +0900
|
2
|
+
From: mutomasa@gmail.com
|
3
|
+
To: mutomasa@gmail.com
|
4
|
+
Subject: $B%7%s%0%k%Q!<%H%F%9%H%a!<%k(B
|
5
|
+
Mime-Version: 1.0
|
6
|
+
Content-Type: text/plain; charset=iso-2022-jp
|
7
|
+
|
8
|
+
$B$3$s$K$A$o(B foo$B$5$s(B
|
9
|
+
|
10
|
+
$B%7%s%0%k%Q!<%H%a!<%k$G$9!#$$$$$G$9$+!)(B
|
@@ -0,0 +1,83 @@
|
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
2
|
+
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
|
3
|
+
require 'test_help'
|
4
|
+
|
5
|
+
class ActiveSupport::TestCase
|
6
|
+
# Transactional fixtures accelerate your tests by wrapping each test method
|
7
|
+
# in a transaction that's rolled back on completion. This ensures that the
|
8
|
+
# test database remains unchanged so your fixtures don't have to be reloaded
|
9
|
+
# between every test method. Fewer database queries means faster tests.
|
10
|
+
#
|
11
|
+
# Read Mike Clark's excellent walkthrough at
|
12
|
+
# http://clarkware.com/cgi/blosxom/2005/10/24#Rails10FastTesting
|
13
|
+
#
|
14
|
+
# Every Active Record database supports transactions except MyISAM tables
|
15
|
+
# in MySQL. Turn off transactional fixtures in this case; however, if you
|
16
|
+
# don't care one way or the other, switching from MyISAM to InnoDB tables
|
17
|
+
# is recommended.
|
18
|
+
#
|
19
|
+
# The only drawback to using transactional fixtures is when you actually
|
20
|
+
# need to test transactions. Since your test is bracketed by a transaction,
|
21
|
+
# any transactions started in your code will be automatically rolled back.
|
22
|
+
self.use_transactional_fixtures = true
|
23
|
+
|
24
|
+
# Instantiated fixtures are slow, but give you @david where otherwise you
|
25
|
+
# would need people(:david). If you don't want to migrate your existing
|
26
|
+
# test cases which use the @david style and don't mind the speed hit (each
|
27
|
+
# instantiated fixtures translates to a database query per test method),
|
28
|
+
# then set this back to true.
|
29
|
+
self.use_instantiated_fixtures = false
|
30
|
+
|
31
|
+
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
|
32
|
+
#
|
33
|
+
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
34
|
+
# -- they do not yet inherit this setting
|
35
|
+
fixtures :all
|
36
|
+
|
37
|
+
unless defined? RESULT_DIR
|
38
|
+
RESULT_DIR = File.join(File.dirname(__FILE__), "result/")
|
39
|
+
end
|
40
|
+
|
41
|
+
def save_data(path, data)
|
42
|
+
complete_path = File.join(RESULT_DIR, path)
|
43
|
+
unless File.exist?(complete_path)
|
44
|
+
base_dir = File.dirname(complete_path)
|
45
|
+
FileUtils.mkdir_p(base_dir) unless File.exist?(base_dir)
|
46
|
+
open(complete_path, "w"){|io| io.write data}
|
47
|
+
end
|
48
|
+
complete_path
|
49
|
+
end
|
50
|
+
|
51
|
+
def save_html(path)
|
52
|
+
save_data(path, @response.body)
|
53
|
+
end
|
54
|
+
|
55
|
+
def assert_html(path)
|
56
|
+
complete_path = save_html(path)
|
57
|
+
ary = IO.readlines(complete_path)
|
58
|
+
i = 0
|
59
|
+
@response.body.each_line{|line|
|
60
|
+
assert_equal ary[i], line
|
61
|
+
i += 1
|
62
|
+
}
|
63
|
+
end
|
64
|
+
|
65
|
+
def assert_mail(path, data)
|
66
|
+
complete_path = save_data(path, data)
|
67
|
+
assert_equal IO.read(complete_path), data
|
68
|
+
end
|
69
|
+
|
70
|
+
def mimepart(data)
|
71
|
+
data.gsub(/^--mimepart_.*$/, "--mimepart").
|
72
|
+
gsub(/boundary\=mimepart_(.*)$/, "boundary=mimepart")
|
73
|
+
end
|
74
|
+
|
75
|
+
def assert_multipart(path, data)
|
76
|
+
complete_path = save_data(path, data)
|
77
|
+
target = mimepart(IO.read(complete_path))
|
78
|
+
data = mimepart(data)
|
79
|
+
assert_equal target, data
|
80
|
+
end
|
81
|
+
|
82
|
+
# Add more helper methods to be used by all tests here...
|
83
|
+
end
|
metadata
ADDED
@@ -0,0 +1,754 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: gettext_rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Masao Mutoh
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-03-22 00:00:00 +09:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: gettext_activerecord
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 2.0.0
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: locale_rails
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.0.0
|
34
|
+
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: rails
|
37
|
+
type: :runtime
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 2.3.2
|
44
|
+
version:
|
45
|
+
description: Localization support for Ruby on Rails(>=2.3.2) by Ruby-GetText-Package.
|
46
|
+
email: mutomasa at gmail.com
|
47
|
+
executables: []
|
48
|
+
|
49
|
+
extensions: []
|
50
|
+
|
51
|
+
extra_rdoc_files: []
|
52
|
+
|
53
|
+
files:
|
54
|
+
- po
|
55
|
+
- po/test.rb
|
56
|
+
- po/gettext_rails.pot
|
57
|
+
- po/es
|
58
|
+
- po/es/gettext_rails.po
|
59
|
+
- po/el
|
60
|
+
- po/el/gettext_rails.po
|
61
|
+
- po/sv
|
62
|
+
- po/cs
|
63
|
+
- po/cs/gettext_rails.po
|
64
|
+
- po/ko
|
65
|
+
- po/ko/gettext_rails.po
|
66
|
+
- po/sr
|
67
|
+
- po/sr/gettext_rails.po
|
68
|
+
- po/nb
|
69
|
+
- po/nb/gettext_rails.po
|
70
|
+
- po/zh
|
71
|
+
- po/zh/gettext_rails.po
|
72
|
+
- po/eo
|
73
|
+
- po/eo/gettext_rails.po
|
74
|
+
- po/vi
|
75
|
+
- po/vi/gettext_rails.po
|
76
|
+
- po/nl
|
77
|
+
- po/nl/gettext_rails.po
|
78
|
+
- po/fr
|
79
|
+
- po/fr/gettext_rails.po
|
80
|
+
- po/bg
|
81
|
+
- po/bg/gettext_rails.po
|
82
|
+
- po/hu
|
83
|
+
- po/hu/gettext_rails.po
|
84
|
+
- po/ua
|
85
|
+
- po/ua/gettext_rails.po
|
86
|
+
- po/hr
|
87
|
+
- po/hr/gettext_rails.po
|
88
|
+
- po/et
|
89
|
+
- po/et/gettext_rails.po
|
90
|
+
- po/lv
|
91
|
+
- po/lv/gettext_rails.po
|
92
|
+
- po/it
|
93
|
+
- po/it/gettext_rails.po
|
94
|
+
- po/pt_BR
|
95
|
+
- po/pt_BR/gettext_rails.po
|
96
|
+
- po/ja
|
97
|
+
- po/ja/gettext_rails.po
|
98
|
+
- po/zh_TW
|
99
|
+
- po/zh_TW/gettext_rails.po
|
100
|
+
- po/ru
|
101
|
+
- po/ru/gettext_rails.po
|
102
|
+
- po/bs
|
103
|
+
- po/bs/gettext_rails.po
|
104
|
+
- po/de
|
105
|
+
- po/de/gettext_rails.po
|
106
|
+
- po/ca
|
107
|
+
- po/ca/gettext_rails.po
|
108
|
+
- replace.rb
|
109
|
+
- ChangeLog
|
110
|
+
- COPYING
|
111
|
+
- lib
|
112
|
+
- lib/gettext_rails
|
113
|
+
- lib/gettext_rails/tools.rb
|
114
|
+
- lib/gettext_rails/action_controller
|
115
|
+
- lib/gettext_rails/action_controller.rb
|
116
|
+
- lib/gettext_rails/version.rb
|
117
|
+
- lib/gettext_rails/action_view.rb
|
118
|
+
- lib/gettext_rails/action_mailer.rb
|
119
|
+
- lib/gettext_rails/action_view
|
120
|
+
- lib/gettext_rails/action_view/active_record_helper.rb
|
121
|
+
- lib/gettext_rails/action_view/date_helper.rb
|
122
|
+
- lib/gettext_rails/action_view/form_builder.rb
|
123
|
+
- lib/gettext_rails.rb
|
124
|
+
- README.rdoc
|
125
|
+
- test
|
126
|
+
- test/po
|
127
|
+
- test/po/rails_test.pot
|
128
|
+
- test/po/ja
|
129
|
+
- test/po/ja/rails_test.po
|
130
|
+
- test/script
|
131
|
+
- test/script/plugin
|
132
|
+
- test/script/about
|
133
|
+
- test/script/generate
|
134
|
+
- test/script/performance
|
135
|
+
- test/script/performance/profiler
|
136
|
+
- test/script/performance/benchmarker
|
137
|
+
- test/script/server
|
138
|
+
- test/script/console
|
139
|
+
- test/script/runner
|
140
|
+
- test/script/destroy
|
141
|
+
- test/script/dbconsole
|
142
|
+
- test/doc
|
143
|
+
- test/doc/README_FOR_APP
|
144
|
+
- test/public
|
145
|
+
- test/public/index.html
|
146
|
+
- test/public/images
|
147
|
+
- test/public/images/rails.png
|
148
|
+
- test/public/robots.txt
|
149
|
+
- test/public/favicon.ico
|
150
|
+
- test/public/500.html
|
151
|
+
- test/public/404.html
|
152
|
+
- test/public/422.html
|
153
|
+
- test/public/javascripts
|
154
|
+
- test/public/javascripts/effects.js
|
155
|
+
- test/public/javascripts/application.js
|
156
|
+
- test/public/javascripts/prototype.js
|
157
|
+
- test/public/javascripts/controls.js
|
158
|
+
- test/public/javascripts/dragdrop.js
|
159
|
+
- test/public/stylesheets
|
160
|
+
- test/public/stylesheets/scaffold.css
|
161
|
+
- test/public/stylesheets/blog.css
|
162
|
+
- test/lib
|
163
|
+
- test/lib/tasks
|
164
|
+
- test/locale
|
165
|
+
- test/locale/ja
|
166
|
+
- test/locale/ja/LC_MESSAGES
|
167
|
+
- test/locale/ja/LC_MESSAGES/rails_test.mo
|
168
|
+
- test/db
|
169
|
+
- test/db/schema.rb
|
170
|
+
- test/db/test.sqlite3
|
171
|
+
- test/db/development.sqlite3
|
172
|
+
- test/README
|
173
|
+
- test/test
|
174
|
+
- test/test/fixtures
|
175
|
+
- test/test/fixtures/articles.yml
|
176
|
+
- test/test/functional
|
177
|
+
- test/test/functional/users_controller_test.rb
|
178
|
+
- test/test/functional/mailers_controller_test.rb
|
179
|
+
- test/test/functional/articles_controller_test.rb
|
180
|
+
- test/test/result
|
181
|
+
- test/test/result/fr
|
182
|
+
- test/test/result/fr/multipart.html
|
183
|
+
- test/test/result/fr/custom_error_message.html
|
184
|
+
- test/test/result/fr/singlepart.html
|
185
|
+
- test/test/result/fr/list.html
|
186
|
+
- test/test/result/fr/new.html
|
187
|
+
- test/test/result/fr/custom_error_message_with_plural.html
|
188
|
+
- test/test/result/fr/distance_of_time_in_words.html
|
189
|
+
- test/test/result/ja
|
190
|
+
- test/test/result/ja/multipart.html
|
191
|
+
- test/test/result/ja/custom_error_message.html
|
192
|
+
- test/test/result/ja/singlepart.html
|
193
|
+
- test/test/result/ja/show.html
|
194
|
+
- test/test/result/ja/list.html
|
195
|
+
- test/test/result/ja/change_title_error_messages_for.html
|
196
|
+
- test/test/result/ja/create_error.html
|
197
|
+
- test/test/result/ja/new.html
|
198
|
+
- test/test/result/ja/multi_error_messages_for.html
|
199
|
+
- test/test/result/ja/custom_error_message_with_plural.html
|
200
|
+
- test/test/result/ja/distance_of_time_in_words.html
|
201
|
+
- test/test/result/en
|
202
|
+
- test/test/result/en/multipart.html
|
203
|
+
- test/test/result/en/custom_error_message.html
|
204
|
+
- test/test/result/en/singlepart.html
|
205
|
+
- test/test/result/en/show.html
|
206
|
+
- test/test/result/en/list.html
|
207
|
+
- test/test/result/en/change_title_error_messages_for.html
|
208
|
+
- test/test/result/en/create_error.html
|
209
|
+
- test/test/result/en/new.html
|
210
|
+
- test/test/result/en/multi_error_messages_for.html
|
211
|
+
- test/test/result/en/custom_error_message_with_plural.html
|
212
|
+
- test/test/result/en/distance_of_time_in_words.html
|
213
|
+
- test/test/test_helper.rb
|
214
|
+
- test/test/unit
|
215
|
+
- test/test/unit/helpers
|
216
|
+
- test/test/unit/helpers/articles_helper_test.rb
|
217
|
+
- test/test/unit/article_test.rb
|
218
|
+
- test/test/performance
|
219
|
+
- test/test/performance/browsing_test.rb
|
220
|
+
- test/test/integration
|
221
|
+
- test/log
|
222
|
+
- test/log/development.log
|
223
|
+
- test/log/test.log
|
224
|
+
- test/config
|
225
|
+
- test/config/initializers
|
226
|
+
- test/config/initializers/session_store.rb
|
227
|
+
- test/config/initializers/backtrace_silencers.rb
|
228
|
+
- test/config/initializers/mime_types.rb
|
229
|
+
- test/config/initializers/inflections.rb
|
230
|
+
- test/config/initializers/new_rails_defaults.rb
|
231
|
+
- test/config/boot.rb
|
232
|
+
- test/config/routes.rb
|
233
|
+
- test/config/environment.rb
|
234
|
+
- test/config/database.yml
|
235
|
+
- test/config/environments
|
236
|
+
- test/config/environments/test.rb
|
237
|
+
- test/config/environments/development.rb
|
238
|
+
- test/config/environments/production.rb
|
239
|
+
- test/app
|
240
|
+
- test/app/helpers
|
241
|
+
- test/app/helpers/application_helper.rb
|
242
|
+
- test/app/helpers/articles_helper.rb
|
243
|
+
- test/app/views
|
244
|
+
- test/app/views/users
|
245
|
+
- test/app/views/users/custom_error_message_fr.html.erb
|
246
|
+
- test/app/views/users/distance_of_time_in_words.html.erb
|
247
|
+
- test/app/views/users/custom_error_message.html.erb
|
248
|
+
- test/app/views/articles
|
249
|
+
- test/app/views/articles/edit.html.erb
|
250
|
+
- test/app/views/articles/list_fr.html.erb
|
251
|
+
- test/app/views/articles/show.html.erb
|
252
|
+
- test/app/views/articles/active_form_error.html.erb
|
253
|
+
- test/app/views/articles/multi_error_messages_for.html.erb
|
254
|
+
- test/app/views/articles/_form_fr.html.erb
|
255
|
+
- test/app/views/articles/_form.html.erb
|
256
|
+
- test/app/views/articles/list.html.erb
|
257
|
+
- test/app/views/articles/new.html.erb
|
258
|
+
- test/app/views/articles/change_title_error_messages_for.html.erb
|
259
|
+
- test/app/views/mailer
|
260
|
+
- test/app/views/mailer/coverpage_fr.html.erb
|
261
|
+
- test/app/views/mailer/singlepart_fr.html.erb
|
262
|
+
- test/app/views/mailer/coverpage.html.erb
|
263
|
+
- test/app/views/mailer/singlepart.html.erb
|
264
|
+
- test/app/views/mailer/index.html.erb
|
265
|
+
- test/app/views/layouts
|
266
|
+
- test/app/views/layouts/users.html.erb
|
267
|
+
- test/app/views/layouts/application.html.erb
|
268
|
+
- test/app/views/layouts/mailers.html.erb
|
269
|
+
- test/app/models
|
270
|
+
- test/app/models/user.rb
|
271
|
+
- test/app/models/article.rb
|
272
|
+
- test/app/models/human_resources
|
273
|
+
- test/app/models/human_resources/resume.rb
|
274
|
+
- test/app/models/mailer.rb
|
275
|
+
- test/app/models/user_observer.rb
|
276
|
+
- test/app/controllers
|
277
|
+
- test/app/controllers/application_controller.rb
|
278
|
+
- test/app/controllers/users_controller.rb
|
279
|
+
- test/app/controllers/mailers_controller.rb
|
280
|
+
- test/app/controllers/articles_controller.rb
|
281
|
+
- test/vendor
|
282
|
+
- test/vendor/plugins
|
283
|
+
- test/tmp
|
284
|
+
- test/tmp/cache
|
285
|
+
- test/tmp/sockets
|
286
|
+
- test/tmp/sessions
|
287
|
+
- test/tmp/pids
|
288
|
+
- test/Rakefile
|
289
|
+
- sample
|
290
|
+
- sample/po
|
291
|
+
- sample/po/es
|
292
|
+
- sample/po/es/blog.po
|
293
|
+
- sample/po/el
|
294
|
+
- sample/po/el/blog.po
|
295
|
+
- sample/po/blog.pot
|
296
|
+
- sample/po/cs
|
297
|
+
- sample/po/cs/blog.po
|
298
|
+
- sample/po/ko
|
299
|
+
- sample/po/ko/blog.po
|
300
|
+
- sample/po/sr
|
301
|
+
- sample/po/sr/blog.po
|
302
|
+
- sample/po/nb
|
303
|
+
- sample/po/nb/blog.po
|
304
|
+
- sample/po/zh
|
305
|
+
- sample/po/zh/blog.po
|
306
|
+
- sample/po/eo
|
307
|
+
- sample/po/eo/blog.po
|
308
|
+
- sample/po/eo/tmp.patch
|
309
|
+
- sample/po/vi
|
310
|
+
- sample/po/vi/blog.po
|
311
|
+
- sample/po/nl
|
312
|
+
- sample/po/nl/blog.po
|
313
|
+
- sample/po/fr
|
314
|
+
- sample/po/fr/blog.po
|
315
|
+
- sample/po/bg
|
316
|
+
- sample/po/bg/blog.po
|
317
|
+
- sample/po/hu
|
318
|
+
- sample/po/hu/blog.po
|
319
|
+
- sample/po/ua
|
320
|
+
- sample/po/ua/blog.po
|
321
|
+
- sample/po/hr
|
322
|
+
- sample/po/hr/blog.po
|
323
|
+
- sample/po/lv
|
324
|
+
- sample/po/lv/blog.po
|
325
|
+
- sample/po/it
|
326
|
+
- sample/po/it/blog.po
|
327
|
+
- sample/po/pt_BR
|
328
|
+
- sample/po/pt_BR/blog.po
|
329
|
+
- sample/po/ja
|
330
|
+
- sample/po/ja/blog.po
|
331
|
+
- sample/po/zh_TW
|
332
|
+
- sample/po/zh_TW/blog.po
|
333
|
+
- sample/po/en
|
334
|
+
- sample/po/en/blog.po
|
335
|
+
- sample/po/ru
|
336
|
+
- sample/po/ru/blog.po
|
337
|
+
- sample/po/bs
|
338
|
+
- sample/po/bs/blog.po
|
339
|
+
- sample/po/de
|
340
|
+
- sample/po/de/blog.po
|
341
|
+
- sample/po/ca
|
342
|
+
- sample/po/ca/blog.po
|
343
|
+
- sample/script
|
344
|
+
- sample/script/plugin
|
345
|
+
- sample/script/about
|
346
|
+
- sample/script/generate
|
347
|
+
- sample/script/performance
|
348
|
+
- sample/script/performance/profiler
|
349
|
+
- sample/script/performance/benchmarker
|
350
|
+
- sample/script/server
|
351
|
+
- sample/script/console
|
352
|
+
- sample/script/runner
|
353
|
+
- sample/script/destroy
|
354
|
+
- sample/script/dbconsole
|
355
|
+
- sample/doc
|
356
|
+
- sample/doc/README_FOR_APP
|
357
|
+
- sample/public
|
358
|
+
- sample/public/index.html
|
359
|
+
- sample/public/images
|
360
|
+
- sample/public/images/rails.png
|
361
|
+
- sample/public/robots.txt
|
362
|
+
- sample/public/favicon.ico
|
363
|
+
- sample/public/500.html
|
364
|
+
- sample/public/404.html
|
365
|
+
- sample/public/422.html
|
366
|
+
- sample/public/javascripts
|
367
|
+
- sample/public/javascripts/effects.js
|
368
|
+
- sample/public/javascripts/application.js
|
369
|
+
- sample/public/javascripts/prototype.js
|
370
|
+
- sample/public/javascripts/controls.js
|
371
|
+
- sample/public/javascripts/dragdrop.js
|
372
|
+
- sample/public/stylesheets
|
373
|
+
- sample/public/stylesheets/scaffold.css
|
374
|
+
- sample/public/stylesheets/blog.css
|
375
|
+
- sample/lib
|
376
|
+
- sample/lib/tasks
|
377
|
+
- sample/lib/tasks/gettext.rake
|
378
|
+
- sample/locale
|
379
|
+
- sample/locale/es
|
380
|
+
- sample/locale/es/LC_MESSAGES
|
381
|
+
- sample/locale/es/LC_MESSAGES/blog.mo
|
382
|
+
- sample/locale/el
|
383
|
+
- sample/locale/el/LC_MESSAGES
|
384
|
+
- sample/locale/el/LC_MESSAGES/blog.mo
|
385
|
+
- sample/locale/cs
|
386
|
+
- sample/locale/cs/LC_MESSAGES
|
387
|
+
- sample/locale/cs/LC_MESSAGES/blog.mo
|
388
|
+
- sample/locale/ko
|
389
|
+
- sample/locale/ko/LC_MESSAGES
|
390
|
+
- sample/locale/ko/LC_MESSAGES/blog.mo
|
391
|
+
- sample/locale/sr
|
392
|
+
- sample/locale/sr/LC_MESSAGES
|
393
|
+
- sample/locale/sr/LC_MESSAGES/blog.mo
|
394
|
+
- sample/locale/nb
|
395
|
+
- sample/locale/nb/LC_MESSAGES
|
396
|
+
- sample/locale/nb/LC_MESSAGES/blog.mo
|
397
|
+
- sample/locale/zh
|
398
|
+
- sample/locale/zh/LC_MESSAGES
|
399
|
+
- sample/locale/zh/LC_MESSAGES/blog.mo
|
400
|
+
- sample/locale/eo
|
401
|
+
- sample/locale/eo/LC_MESSAGES
|
402
|
+
- sample/locale/eo/LC_MESSAGES/blog.mo
|
403
|
+
- sample/locale/vi
|
404
|
+
- sample/locale/vi/LC_MESSAGES
|
405
|
+
- sample/locale/vi/LC_MESSAGES/blog.mo
|
406
|
+
- sample/locale/nl
|
407
|
+
- sample/locale/nl/LC_MESSAGES
|
408
|
+
- sample/locale/nl/LC_MESSAGES/blog.mo
|
409
|
+
- sample/locale/fr
|
410
|
+
- sample/locale/fr/LC_MESSAGES
|
411
|
+
- sample/locale/fr/LC_MESSAGES/blog.mo
|
412
|
+
- sample/locale/bg
|
413
|
+
- sample/locale/bg/LC_MESSAGES
|
414
|
+
- sample/locale/bg/LC_MESSAGES/blog.mo
|
415
|
+
- sample/locale/hu
|
416
|
+
- sample/locale/hu/LC_MESSAGES
|
417
|
+
- sample/locale/hu/LC_MESSAGES/blog.mo
|
418
|
+
- sample/locale/ua
|
419
|
+
- sample/locale/ua/LC_MESSAGES
|
420
|
+
- sample/locale/ua/LC_MESSAGES/blog.mo
|
421
|
+
- sample/locale/hr
|
422
|
+
- sample/locale/hr/LC_MESSAGES
|
423
|
+
- sample/locale/hr/LC_MESSAGES/blog.mo
|
424
|
+
- sample/locale/lv
|
425
|
+
- sample/locale/lv/LC_MESSAGES
|
426
|
+
- sample/locale/lv/LC_MESSAGES/blog.mo
|
427
|
+
- sample/locale/it
|
428
|
+
- sample/locale/it/LC_MESSAGES
|
429
|
+
- sample/locale/it/LC_MESSAGES/blog.mo
|
430
|
+
- sample/locale/pt_BR
|
431
|
+
- sample/locale/pt_BR/LC_MESSAGES
|
432
|
+
- sample/locale/pt_BR/LC_MESSAGES/blog.mo
|
433
|
+
- sample/locale/ja
|
434
|
+
- sample/locale/ja/LC_MESSAGES
|
435
|
+
- sample/locale/ja/LC_MESSAGES/blog.mo
|
436
|
+
- sample/locale/zh_TW
|
437
|
+
- sample/locale/zh_TW/LC_MESSAGES
|
438
|
+
- sample/locale/zh_TW/LC_MESSAGES/blog.mo
|
439
|
+
- sample/locale/en
|
440
|
+
- sample/locale/en/LC_MESSAGES
|
441
|
+
- sample/locale/en/LC_MESSAGES/blog.mo
|
442
|
+
- sample/locale/ru
|
443
|
+
- sample/locale/ru/LC_MESSAGES
|
444
|
+
- sample/locale/ru/LC_MESSAGES/blog.mo
|
445
|
+
- sample/locale/bs
|
446
|
+
- sample/locale/bs/LC_MESSAGES
|
447
|
+
- sample/locale/bs/LC_MESSAGES/blog.mo
|
448
|
+
- sample/locale/de
|
449
|
+
- sample/locale/de/LC_MESSAGES
|
450
|
+
- sample/locale/de/LC_MESSAGES/blog.mo
|
451
|
+
- sample/locale/ca
|
452
|
+
- sample/locale/ca/LC_MESSAGES
|
453
|
+
- sample/locale/ca/LC_MESSAGES/blog.mo
|
454
|
+
- sample/db
|
455
|
+
- sample/db/production.sqlite3
|
456
|
+
- sample/db/schema.rb
|
457
|
+
- sample/db/test.sqlite3
|
458
|
+
- sample/db/development.sqlite3
|
459
|
+
- sample/README
|
460
|
+
- sample/test
|
461
|
+
- sample/test/fixtures
|
462
|
+
- sample/test/fixtures/articles.yml
|
463
|
+
- sample/test/functional
|
464
|
+
- sample/test/functional/articles_controller_test.rb
|
465
|
+
- sample/test/result
|
466
|
+
- sample/test/result/en
|
467
|
+
- sample/test/result/en/list.html
|
468
|
+
- sample/test/test_helper.rb
|
469
|
+
- sample/test/unit
|
470
|
+
- sample/test/unit/helpers
|
471
|
+
- sample/test/unit/helpers/articles_helper_test.rb
|
472
|
+
- sample/test/unit/article_test.rb
|
473
|
+
- sample/test/performance
|
474
|
+
- sample/test/performance/browsing_test.rb
|
475
|
+
- sample/test/integration
|
476
|
+
- sample/log
|
477
|
+
- sample/log/production.log
|
478
|
+
- sample/log/development.log
|
479
|
+
- sample/log/test.log
|
480
|
+
- sample/config
|
481
|
+
- sample/config/initializers
|
482
|
+
- sample/config/initializers/session_store.rb
|
483
|
+
- sample/config/initializers/backtrace_silencers.rb
|
484
|
+
- sample/config/initializers/mime_types.rb
|
485
|
+
- sample/config/initializers/inflections.rb
|
486
|
+
- sample/config/initializers/new_rails_defaults.rb
|
487
|
+
- sample/config/boot.rb
|
488
|
+
- sample/config/routes.rb
|
489
|
+
- sample/config/environment.rb
|
490
|
+
- sample/config/database.yml
|
491
|
+
- sample/config/environments
|
492
|
+
- sample/config/environments/test.rb
|
493
|
+
- sample/config/environments/development.rb
|
494
|
+
- sample/config/environments/production.rb
|
495
|
+
- sample/app
|
496
|
+
- sample/app/helpers
|
497
|
+
- sample/app/helpers/application_helper.rb
|
498
|
+
- sample/app/helpers/articles_helper.rb
|
499
|
+
- sample/app/views
|
500
|
+
- sample/app/views/articles
|
501
|
+
- sample/app/views/articles/edit.html.erb
|
502
|
+
- sample/app/views/articles/show.html.erb
|
503
|
+
- sample/app/views/articles/new.html.erb
|
504
|
+
- sample/app/views/articles/index.html.erb
|
505
|
+
- sample/app/views/layouts
|
506
|
+
- sample/app/views/layouts/articles.html.erb
|
507
|
+
- sample/app/models
|
508
|
+
- sample/app/models/article.rb
|
509
|
+
- sample/app/controllers
|
510
|
+
- sample/app/controllers/application_controller.rb
|
511
|
+
- sample/app/controllers/articles_controller.rb
|
512
|
+
- sample/vendor
|
513
|
+
- sample/vendor/plugins
|
514
|
+
- sample/vendor/plugins/lang_helper
|
515
|
+
- sample/vendor/plugins/lang_helper/po
|
516
|
+
- sample/vendor/plugins/lang_helper/po/es
|
517
|
+
- sample/vendor/plugins/lang_helper/po/es/lang_helper.po
|
518
|
+
- sample/vendor/plugins/lang_helper/po/el
|
519
|
+
- sample/vendor/plugins/lang_helper/po/el/lang_helper.po
|
520
|
+
- sample/vendor/plugins/lang_helper/po/lang_helper.pot
|
521
|
+
- sample/vendor/plugins/lang_helper/po/cs
|
522
|
+
- sample/vendor/plugins/lang_helper/po/cs/lang_helper.po
|
523
|
+
- sample/vendor/plugins/lang_helper/po/ko
|
524
|
+
- sample/vendor/plugins/lang_helper/po/ko/lang_helper.po
|
525
|
+
- sample/vendor/plugins/lang_helper/po/sr
|
526
|
+
- sample/vendor/plugins/lang_helper/po/sr/lang_helper.po
|
527
|
+
- sample/vendor/plugins/lang_helper/po/nb
|
528
|
+
- sample/vendor/plugins/lang_helper/po/nb/lang_helper.po
|
529
|
+
- sample/vendor/plugins/lang_helper/po/zh
|
530
|
+
- sample/vendor/plugins/lang_helper/po/zh/lang_helper.po
|
531
|
+
- sample/vendor/plugins/lang_helper/po/eo
|
532
|
+
- sample/vendor/plugins/lang_helper/po/eo/lang_helper.po
|
533
|
+
- sample/vendor/plugins/lang_helper/po/vi
|
534
|
+
- sample/vendor/plugins/lang_helper/po/vi/lang_helper.po
|
535
|
+
- sample/vendor/plugins/lang_helper/po/nl
|
536
|
+
- sample/vendor/plugins/lang_helper/po/nl/lang_helper.po
|
537
|
+
- sample/vendor/plugins/lang_helper/po/fr
|
538
|
+
- sample/vendor/plugins/lang_helper/po/fr/lang_helper.po
|
539
|
+
- sample/vendor/plugins/lang_helper/po/bg
|
540
|
+
- sample/vendor/plugins/lang_helper/po/bg/lang_helper.po
|
541
|
+
- sample/vendor/plugins/lang_helper/po/hu
|
542
|
+
- sample/vendor/plugins/lang_helper/po/hu/lang_helper.po
|
543
|
+
- sample/vendor/plugins/lang_helper/po/ua
|
544
|
+
- sample/vendor/plugins/lang_helper/po/ua/lang_helper.po
|
545
|
+
- sample/vendor/plugins/lang_helper/po/hr
|
546
|
+
- sample/vendor/plugins/lang_helper/po/hr/lang_helper.po
|
547
|
+
- sample/vendor/plugins/lang_helper/po/lv
|
548
|
+
- sample/vendor/plugins/lang_helper/po/lv/lang_helper.po
|
549
|
+
- sample/vendor/plugins/lang_helper/po/it
|
550
|
+
- sample/vendor/plugins/lang_helper/po/it/lang_helper.po
|
551
|
+
- sample/vendor/plugins/lang_helper/po/pt_BR
|
552
|
+
- sample/vendor/plugins/lang_helper/po/pt_BR/lang_helper.po
|
553
|
+
- sample/vendor/plugins/lang_helper/po/ja
|
554
|
+
- sample/vendor/plugins/lang_helper/po/ja/lang_helper.po
|
555
|
+
- sample/vendor/plugins/lang_helper/po/zh_TW
|
556
|
+
- sample/vendor/plugins/lang_helper/po/zh_TW/lang_helper.po
|
557
|
+
- sample/vendor/plugins/lang_helper/po/ru
|
558
|
+
- sample/vendor/plugins/lang_helper/po/ru/lang_helper.po
|
559
|
+
- sample/vendor/plugins/lang_helper/po/bs
|
560
|
+
- sample/vendor/plugins/lang_helper/po/bs/lang_helper.po
|
561
|
+
- sample/vendor/plugins/lang_helper/po/de
|
562
|
+
- sample/vendor/plugins/lang_helper/po/de/lang_helper.po
|
563
|
+
- sample/vendor/plugins/lang_helper/po/ca
|
564
|
+
- sample/vendor/plugins/lang_helper/po/ca/lang_helper.po
|
565
|
+
- sample/vendor/plugins/lang_helper/init.rb
|
566
|
+
- sample/vendor/plugins/lang_helper/lib
|
567
|
+
- sample/vendor/plugins/lang_helper/lib/lang_helper.rb
|
568
|
+
- sample/vendor/plugins/lang_helper/locale
|
569
|
+
- sample/vendor/plugins/lang_helper/locale/es
|
570
|
+
- sample/vendor/plugins/lang_helper/locale/es/LC_MESSAGES
|
571
|
+
- sample/vendor/plugins/lang_helper/locale/es/LC_MESSAGES/lang_helper.mo
|
572
|
+
- sample/vendor/plugins/lang_helper/locale/el
|
573
|
+
- sample/vendor/plugins/lang_helper/locale/el/LC_MESSAGES
|
574
|
+
- sample/vendor/plugins/lang_helper/locale/el/LC_MESSAGES/lang_helper.mo
|
575
|
+
- sample/vendor/plugins/lang_helper/locale/cs
|
576
|
+
- sample/vendor/plugins/lang_helper/locale/cs/LC_MESSAGES
|
577
|
+
- sample/vendor/plugins/lang_helper/locale/cs/LC_MESSAGES/lang_helper.mo
|
578
|
+
- sample/vendor/plugins/lang_helper/locale/ko
|
579
|
+
- sample/vendor/plugins/lang_helper/locale/ko/LC_MESSAGES
|
580
|
+
- sample/vendor/plugins/lang_helper/locale/ko/LC_MESSAGES/lang_helper.mo
|
581
|
+
- sample/vendor/plugins/lang_helper/locale/sr
|
582
|
+
- sample/vendor/plugins/lang_helper/locale/sr/LC_MESSAGES
|
583
|
+
- sample/vendor/plugins/lang_helper/locale/sr/LC_MESSAGES/lang_helper.mo
|
584
|
+
- sample/vendor/plugins/lang_helper/locale/nb
|
585
|
+
- sample/vendor/plugins/lang_helper/locale/nb/LC_MESSAGES
|
586
|
+
- sample/vendor/plugins/lang_helper/locale/nb/LC_MESSAGES/lang_helper.mo
|
587
|
+
- sample/vendor/plugins/lang_helper/locale/zh
|
588
|
+
- sample/vendor/plugins/lang_helper/locale/zh/LC_MESSAGES
|
589
|
+
- sample/vendor/plugins/lang_helper/locale/zh/LC_MESSAGES/lang_helper.mo
|
590
|
+
- sample/vendor/plugins/lang_helper/locale/eo
|
591
|
+
- sample/vendor/plugins/lang_helper/locale/eo/LC_MESSAGES
|
592
|
+
- sample/vendor/plugins/lang_helper/locale/eo/LC_MESSAGES/lang_helper.mo
|
593
|
+
- sample/vendor/plugins/lang_helper/locale/vi
|
594
|
+
- sample/vendor/plugins/lang_helper/locale/vi/LC_MESSAGES
|
595
|
+
- sample/vendor/plugins/lang_helper/locale/vi/LC_MESSAGES/lang_helper.mo
|
596
|
+
- sample/vendor/plugins/lang_helper/locale/nl
|
597
|
+
- sample/vendor/plugins/lang_helper/locale/nl/LC_MESSAGES
|
598
|
+
- sample/vendor/plugins/lang_helper/locale/nl/LC_MESSAGES/lang_helper.mo
|
599
|
+
- sample/vendor/plugins/lang_helper/locale/fr
|
600
|
+
- sample/vendor/plugins/lang_helper/locale/fr/LC_MESSAGES
|
601
|
+
- sample/vendor/plugins/lang_helper/locale/fr/LC_MESSAGES/lang_helper.mo
|
602
|
+
- sample/vendor/plugins/lang_helper/locale/bg
|
603
|
+
- sample/vendor/plugins/lang_helper/locale/bg/LC_MESSAGES
|
604
|
+
- sample/vendor/plugins/lang_helper/locale/bg/LC_MESSAGES/lang_helper.mo
|
605
|
+
- sample/vendor/plugins/lang_helper/locale/hu
|
606
|
+
- sample/vendor/plugins/lang_helper/locale/hu/LC_MESSAGES
|
607
|
+
- sample/vendor/plugins/lang_helper/locale/hu/LC_MESSAGES/lang_helper.mo
|
608
|
+
- sample/vendor/plugins/lang_helper/locale/ua
|
609
|
+
- sample/vendor/plugins/lang_helper/locale/ua/LC_MESSAGES
|
610
|
+
- sample/vendor/plugins/lang_helper/locale/ua/LC_MESSAGES/lang_helper.mo
|
611
|
+
- sample/vendor/plugins/lang_helper/locale/hr
|
612
|
+
- sample/vendor/plugins/lang_helper/locale/hr/LC_MESSAGES
|
613
|
+
- sample/vendor/plugins/lang_helper/locale/hr/LC_MESSAGES/lang_helper.mo
|
614
|
+
- sample/vendor/plugins/lang_helper/locale/lv
|
615
|
+
- sample/vendor/plugins/lang_helper/locale/lv/LC_MESSAGES
|
616
|
+
- sample/vendor/plugins/lang_helper/locale/lv/LC_MESSAGES/lang_helper.mo
|
617
|
+
- sample/vendor/plugins/lang_helper/locale/it
|
618
|
+
- sample/vendor/plugins/lang_helper/locale/it/LC_MESSAGES
|
619
|
+
- sample/vendor/plugins/lang_helper/locale/it/LC_MESSAGES/lang_helper.mo
|
620
|
+
- sample/vendor/plugins/lang_helper/locale/pt_BR
|
621
|
+
- sample/vendor/plugins/lang_helper/locale/pt_BR/LC_MESSAGES
|
622
|
+
- sample/vendor/plugins/lang_helper/locale/pt_BR/LC_MESSAGES/lang_helper.mo
|
623
|
+
- sample/vendor/plugins/lang_helper/locale/ja
|
624
|
+
- sample/vendor/plugins/lang_helper/locale/ja/LC_MESSAGES
|
625
|
+
- sample/vendor/plugins/lang_helper/locale/ja/LC_MESSAGES/lang_helper.mo
|
626
|
+
- sample/vendor/plugins/lang_helper/locale/zh_TW
|
627
|
+
- sample/vendor/plugins/lang_helper/locale/zh_TW/LC_MESSAGES
|
628
|
+
- sample/vendor/plugins/lang_helper/locale/zh_TW/LC_MESSAGES/lang_helper.mo
|
629
|
+
- sample/vendor/plugins/lang_helper/locale/ru
|
630
|
+
- sample/vendor/plugins/lang_helper/locale/ru/LC_MESSAGES
|
631
|
+
- sample/vendor/plugins/lang_helper/locale/ru/LC_MESSAGES/lang_helper.mo
|
632
|
+
- sample/vendor/plugins/lang_helper/locale/bs
|
633
|
+
- sample/vendor/plugins/lang_helper/locale/bs/LC_MESSAGES
|
634
|
+
- sample/vendor/plugins/lang_helper/locale/bs/LC_MESSAGES/lang_helper.mo
|
635
|
+
- sample/vendor/plugins/lang_helper/locale/de
|
636
|
+
- sample/vendor/plugins/lang_helper/locale/de/LC_MESSAGES
|
637
|
+
- sample/vendor/plugins/lang_helper/locale/de/LC_MESSAGES/lang_helper.mo
|
638
|
+
- sample/vendor/plugins/lang_helper/locale/ca
|
639
|
+
- sample/vendor/plugins/lang_helper/locale/ca/LC_MESSAGES
|
640
|
+
- sample/vendor/plugins/lang_helper/locale/ca/LC_MESSAGES/lang_helper.mo
|
641
|
+
- sample/vendor/plugins/lang_helper/README
|
642
|
+
- sample/vendor/plugins/lang_helper/Rakefile
|
643
|
+
- sample/tmp
|
644
|
+
- sample/tmp/cache
|
645
|
+
- sample/tmp/sockets
|
646
|
+
- sample/tmp/sessions
|
647
|
+
- sample/tmp/pids
|
648
|
+
- sample/Rakefile
|
649
|
+
- data
|
650
|
+
- data/locale
|
651
|
+
- data/locale/es
|
652
|
+
- data/locale/es/LC_MESSAGES
|
653
|
+
- data/locale/es/LC_MESSAGES/gettext_rails.mo
|
654
|
+
- data/locale/el
|
655
|
+
- data/locale/el/LC_MESSAGES
|
656
|
+
- data/locale/el/LC_MESSAGES/gettext_rails.mo
|
657
|
+
- data/locale/cs
|
658
|
+
- data/locale/cs/LC_MESSAGES
|
659
|
+
- data/locale/cs/LC_MESSAGES/gettext_rails.mo
|
660
|
+
- data/locale/ko
|
661
|
+
- data/locale/ko/LC_MESSAGES
|
662
|
+
- data/locale/ko/LC_MESSAGES/gettext_rails.mo
|
663
|
+
- data/locale/sr
|
664
|
+
- data/locale/sr/LC_MESSAGES
|
665
|
+
- data/locale/sr/LC_MESSAGES/gettext_rails.mo
|
666
|
+
- data/locale/nb
|
667
|
+
- data/locale/nb/LC_MESSAGES
|
668
|
+
- data/locale/nb/LC_MESSAGES/gettext_rails.mo
|
669
|
+
- data/locale/zh
|
670
|
+
- data/locale/zh/LC_MESSAGES
|
671
|
+
- data/locale/zh/LC_MESSAGES/gettext_rails.mo
|
672
|
+
- data/locale/eo
|
673
|
+
- data/locale/eo/LC_MESSAGES
|
674
|
+
- data/locale/eo/LC_MESSAGES/gettext_rails.mo
|
675
|
+
- data/locale/vi
|
676
|
+
- data/locale/vi/LC_MESSAGES
|
677
|
+
- data/locale/vi/LC_MESSAGES/gettext_rails.mo
|
678
|
+
- data/locale/nl
|
679
|
+
- data/locale/nl/LC_MESSAGES
|
680
|
+
- data/locale/nl/LC_MESSAGES/gettext_rails.mo
|
681
|
+
- data/locale/fr
|
682
|
+
- data/locale/fr/LC_MESSAGES
|
683
|
+
- data/locale/fr/LC_MESSAGES/gettext_rails.mo
|
684
|
+
- data/locale/bg
|
685
|
+
- data/locale/bg/LC_MESSAGES
|
686
|
+
- data/locale/bg/LC_MESSAGES/gettext_rails.mo
|
687
|
+
- data/locale/hu
|
688
|
+
- data/locale/hu/LC_MESSAGES
|
689
|
+
- data/locale/hu/LC_MESSAGES/gettext_rails.mo
|
690
|
+
- data/locale/ua
|
691
|
+
- data/locale/ua/LC_MESSAGES
|
692
|
+
- data/locale/ua/LC_MESSAGES/gettext_rails.mo
|
693
|
+
- data/locale/hr
|
694
|
+
- data/locale/hr/LC_MESSAGES
|
695
|
+
- data/locale/hr/LC_MESSAGES/gettext_rails.mo
|
696
|
+
- data/locale/et
|
697
|
+
- data/locale/et/LC_MESSAGES
|
698
|
+
- data/locale/et/LC_MESSAGES/gettext_rails.mo
|
699
|
+
- data/locale/lv
|
700
|
+
- data/locale/lv/LC_MESSAGES
|
701
|
+
- data/locale/lv/LC_MESSAGES/gettext_rails.mo
|
702
|
+
- data/locale/it
|
703
|
+
- data/locale/it/LC_MESSAGES
|
704
|
+
- data/locale/it/LC_MESSAGES/gettext_rails.mo
|
705
|
+
- data/locale/pt_BR
|
706
|
+
- data/locale/pt_BR/LC_MESSAGES
|
707
|
+
- data/locale/pt_BR/LC_MESSAGES/gettext_rails.mo
|
708
|
+
- data/locale/ja
|
709
|
+
- data/locale/ja/LC_MESSAGES
|
710
|
+
- data/locale/ja/LC_MESSAGES/gettext_rails.mo
|
711
|
+
- data/locale/zh_TW
|
712
|
+
- data/locale/zh_TW/LC_MESSAGES
|
713
|
+
- data/locale/zh_TW/LC_MESSAGES/gettext_rails.mo
|
714
|
+
- data/locale/ru
|
715
|
+
- data/locale/ru/LC_MESSAGES
|
716
|
+
- data/locale/ru/LC_MESSAGES/gettext_rails.mo
|
717
|
+
- data/locale/bs
|
718
|
+
- data/locale/bs/LC_MESSAGES
|
719
|
+
- data/locale/bs/LC_MESSAGES/gettext_rails.mo
|
720
|
+
- data/locale/de
|
721
|
+
- data/locale/de/LC_MESSAGES
|
722
|
+
- data/locale/de/LC_MESSAGES/gettext_rails.mo
|
723
|
+
- data/locale/ca
|
724
|
+
- data/locale/ca/LC_MESSAGES
|
725
|
+
- data/locale/ca/LC_MESSAGES/gettext_rails.mo
|
726
|
+
- Rakefile
|
727
|
+
has_rdoc: true
|
728
|
+
homepage: http://gettext.rubyforge.org/
|
729
|
+
post_install_message:
|
730
|
+
rdoc_options: []
|
731
|
+
|
732
|
+
require_paths:
|
733
|
+
- lib
|
734
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
735
|
+
requirements:
|
736
|
+
- - ">="
|
737
|
+
- !ruby/object:Gem::Version
|
738
|
+
version: "0"
|
739
|
+
version:
|
740
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
741
|
+
requirements:
|
742
|
+
- - ">="
|
743
|
+
- !ruby/object:Gem::Version
|
744
|
+
version: "0"
|
745
|
+
version:
|
746
|
+
requirements: []
|
747
|
+
|
748
|
+
rubyforge_project: gettext
|
749
|
+
rubygems_version: 1.3.1
|
750
|
+
signing_key:
|
751
|
+
specification_version: 2
|
752
|
+
summary: Localization support for Ruby on Rails(>=2.3) by Ruby-GetText-Package.
|
753
|
+
test_files: []
|
754
|
+
|