gettext 1.9.0-mswin32 → 1.10.0-mswin32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +122 -1
- data/NEWS +21 -0
- data/README +30 -22
- data/data/locale/bs/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/bs/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ca/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ca/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/cs/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/cs/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/de/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/de/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/el/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/el/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/eo/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/eo/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/es/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/es/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/et/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/hr/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/hr/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/it/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/it/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ko/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ko/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/nb/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/nb/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/nl/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/nl/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/pt_BR/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/pt_BR/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ru/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ru/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/sv/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/vi/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/vi/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/zh/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/zh/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/zh_TW/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/zh_TW/LC_MESSAGES/rgettext.mo +0 -0
- data/ext/gettext/Makefile +2 -2
- data/ext/gettext/locale_system.o +0 -0
- data/ext/gettext/locale_system.so +0 -0
- data/lib/gettext/active_record.rb +51 -31
- data/lib/gettext/locale_win32.rb +2 -1
- data/lib/gettext/parser/active_record.rb +2 -2
- data/lib/gettext/parser/ruby.rb +2 -2
- data/lib/gettext/poparser.rb +303 -298
- data/lib/gettext/rails.rb +104 -50
- data/lib/gettext/rails_compat.rb +16 -0
- data/lib/gettext/rgettext.rb +37 -3
- data/lib/gettext/textdomain.rb +45 -6
- data/lib/gettext/utils.rb +7 -0
- data/lib/gettext/version.rb +1 -1
- data/lib/gettext.rb +119 -37
- data/lib/locale_system.so +0 -0
- data/po/bs/rails.po +148 -0
- data/po/bs/rgettext.po +131 -0
- data/po/ca/rails.po +45 -26
- data/po/ca/rgettext.po +21 -21
- data/po/cs/rails.po +46 -24
- data/po/cs/rgettext.po +21 -21
- data/po/de/rails.po +46 -27
- data/po/de/rgettext.po +21 -21
- data/po/el/rails.po +46 -25
- data/po/el/rgettext.po +22 -22
- data/po/eo/rails.po +49 -30
- data/po/eo/rgettext.po +21 -21
- data/po/es/rails.po +45 -24
- data/po/es/rgettext.po +21 -21
- data/po/et/rails.po +49 -30
- data/po/fr/rails.po +47 -28
- data/po/fr/rgettext.po +31 -29
- data/po/hr/rails.po +148 -0
- data/po/hr/rgettext.po +131 -0
- data/po/it/rails.po +42 -24
- data/po/it/rgettext.po +21 -21
- data/po/ja/rails.po +43 -25
- data/po/ja/rgettext.po +21 -21
- data/po/ko/rails.po +44 -24
- data/po/ko/rgettext.po +21 -21
- data/po/nb/rails.po +140 -0
- data/po/nb/rgettext.po +127 -0
- data/po/nl/rails.po +50 -30
- data/po/nl/rgettext.po +21 -21
- data/po/pt_BR/rails.po +48 -29
- data/po/pt_BR/rgettext.po +21 -21
- data/po/rails.pot +42 -24
- data/po/rgettext.pot +21 -21
- data/po/ru/rails.po +50 -31
- data/po/ru/rgettext.po +21 -21
- data/po/sv/rgettext.po +21 -21
- data/po/vi/rails.po +141 -0
- data/po/vi/rgettext.po +126 -0
- data/po/zh/rails.po +60 -43
- data/po/zh/rgettext.po +22 -22
- data/po/zh_TW/rails.po +61 -43
- data/po/zh_TW/rgettext.po +22 -22
- data/samples/cgi/locale/bs/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/bs/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/bs/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/bs/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/hr/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/hr/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/hr/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/hr/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/nb/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/nb/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/nb/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/nb/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/vi/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/vi/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/vi/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/vi/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/po/bs/helloerb1.po +59 -0
- data/samples/cgi/po/bs/helloerb2.po +51 -0
- data/samples/cgi/po/bs/hellolib.po +23 -0
- data/samples/cgi/po/bs/main.po +83 -0
- data/samples/cgi/po/hr/helloerb1.po +59 -0
- data/samples/cgi/po/hr/helloerb2.po +51 -0
- data/samples/cgi/po/hr/hellolib.po +23 -0
- data/samples/cgi/po/hr/main.po +83 -0
- data/samples/cgi/po/nb/helloerb1.po +58 -0
- data/samples/cgi/po/nb/helloerb2.po +50 -0
- data/samples/cgi/po/nb/hellolib.po +22 -0
- data/samples/cgi/po/nb/main.po +82 -0
- data/samples/cgi/po/vi/helloerb1.po +65 -0
- data/samples/cgi/po/vi/helloerb2.po +52 -0
- data/samples/cgi/po/vi/hellolib.po +24 -0
- data/samples/cgi/po/vi/main.po +77 -0
- data/samples/locale/bs/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/po/bs/hello.po +23 -0
- data/samples/po/bs/hello2.po +31 -0
- data/samples/po/bs/hello_noop.po +27 -0
- data/samples/po/bs/hello_plural.po +26 -0
- data/samples/po/bs/helloglade2.po +31 -0
- data/samples/po/bs/hellogtk.po +23 -0
- data/samples/po/bs/hellotk.po +23 -0
- data/samples/po/hr/hello.po +23 -0
- data/samples/po/hr/hello2.po +31 -0
- data/samples/po/hr/hello_noop.po +27 -0
- data/samples/po/hr/hello_plural.po +26 -0
- data/samples/po/hr/helloglade2.po +31 -0
- data/samples/po/hr/hellogtk.po +23 -0
- data/samples/po/hr/hellotk.po +23 -0
- data/samples/po/ja/hello_plural.po +1 -1
- data/samples/po/nb/hello.po +22 -0
- data/samples/po/nb/hello2.po +31 -0
- data/samples/po/nb/hello_noop.po +26 -0
- data/samples/po/nb/hello_plural.po +24 -0
- data/samples/po/nb/helloglade2.po +30 -0
- data/samples/po/nb/hellogtk.po +22 -0
- data/samples/po/nb/hellotk.po +22 -0
- data/samples/po/vi/hello.po +23 -0
- data/samples/po/vi/hello2.po +31 -0
- data/samples/po/vi/hello_noop.po +27 -0
- data/samples/po/vi/hello_plural.po +26 -0
- data/samples/po/vi/helloglade2.po +38 -0
- data/samples/po/vi/hellogtk.po +23 -0
- data/samples/po/vi/hellotk.po +24 -0
- data/samples/rails/locale/bs/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/hr/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/nb/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/vi/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/po/bs/blog.po +106 -0
- data/samples/rails/po/hr/blog.po +106 -0
- data/samples/rails/po/nb/blog.po +104 -0
- data/samples/rails/po/vi/blog.po +110 -0
- data/samples/rails/vendor/plugins/gettext/locale/bs/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/hr/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/nb/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/vi/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/po/bs/gettext_plugin.po +27 -0
- data/samples/rails/vendor/plugins/gettext/po/hr/gettext_plugin.po +27 -0
- data/samples/rails/vendor/plugins/gettext/po/nb/gettext_plugin.po +27 -0
- data/samples/rails/vendor/plugins/gettext/po/vi/gettext_plugin.po +28 -0
- data/src/poparser.ry +9 -4
- data/test/README +2 -0
- data/test/Rakefile +2 -0
- data/test/gettext_test.rb +51 -13
- data/test/gettext_test_active_record.rb +33 -0
- data/test/gettext_test_parser.rb +5 -0
- data/test/gettext_test_rails_caching.rb +211 -0
- data/test/locale/da/LC_MESSAGES/plural_error.mo +0 -0
- data/test/locale/fr/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/fr/LC_MESSAGES/plural_error.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/plural_error.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/test_nsgettext.mo +0 -0
- data/test/locale/la/LC_MESSAGES/plural_error.mo +0 -0
- data/test/po/da/plural_error.po +3 -3
- data/test/po/fr/plural.po +6 -0
- data/test/po/fr/plural_error.po +3 -3
- data/test/po/ja/plural.po +6 -0
- data/test/po/ja/plural_error.po +2 -2
- data/test/po/ja/test_nsgettext.po +65 -0
- data/test/po/la/plural_error.po +3 -3
- data/test/rails/README +5 -0
- data/test/rails/Rakefile +35 -0
- data/test/rails/app/controllers/application.rb +8 -0
- data/test/rails/app/controllers/articles_controller.rb +61 -0
- data/test/rails/app/controllers/mailer_controller.rb +19 -0
- data/test/rails/app/helpers/application_helper.rb +3 -0
- data/test/rails/app/helpers/articles_helper.rb +2 -0
- data/test/rails/app/helpers/mailer_helper.rb +2 -0
- data/test/rails/app/models/article.rb +5 -0
- data/test/rails/app/models/mailer.rb +38 -0
- data/test/rails/app/models/user.rb +3 -0
- data/test/rails/app/views/articles/_form.rhtml +13 -0
- data/test/rails/app/views/articles/edit.rhtml +9 -0
- data/test/rails/app/views/articles/list.rhtml +30 -0
- data/test/rails/app/views/articles/list_fr.rhtml +1 -0
- data/test/rails/app/views/articles/multi_error_messages_for.rhtml +19 -0
- data/test/rails/app/views/articles/new.rhtml +8 -0
- data/test/rails/app/views/articles/show.rhtml +28 -0
- data/test/rails/app/views/layouts/application.rhtml +14 -0
- data/test/rails/app/views/layouts/mailer.rhtml +20 -0
- data/test/rails/app/views/mailer/coverpage.rhtml +6 -0
- data/test/rails/app/views/mailer/coverpage_fr.rhtml +6 -0
- data/test/rails/app/views/mailer/singlepart.rhtml +3 -0
- data/test/rails/app/views/mailer/singlepart_fr.rhtml +3 -0
- data/test/rails/config/boot.rb +45 -0
- data/test/rails/config/database.yml +36 -0
- data/test/rails/config/environment.rb +64 -0
- data/test/rails/config/environments/development.rb +21 -0
- data/test/rails/config/environments/production.rb +18 -0
- data/test/rails/config/environments/test.rb +19 -0
- data/test/rails/config/routes.rb +23 -0
- data/test/rails/db/schema.rb +27 -0
- data/test/rails/po/ja/rails_test.po +142 -0
- data/test/rails/po/rails_test.pot +147 -0
- data/test/rails/public/404.html +30 -0
- data/test/rails/public/500.html +30 -0
- data/test/rails/public/dispatch.cgi +10 -0
- data/test/rails/public/dispatch.fcgi +24 -0
- data/test/rails/public/dispatch.rb +10 -0
- data/test/rails/public/favicon.ico +0 -0
- data/test/rails/public/images/rails.png +0 -0
- data/test/rails/public/index.html +277 -0
- data/test/rails/public/javascripts/application.js +2 -0
- data/test/rails/public/javascripts/controls.js +833 -0
- data/test/rails/public/javascripts/dragdrop.js +942 -0
- data/test/rails/public/javascripts/effects.js +1088 -0
- data/test/rails/public/javascripts/prototype.js +2515 -0
- data/test/rails/public/robots.txt +1 -0
- data/test/rails/public/stylesheets/scaffold.css +74 -0
- data/test/rails/script/about +3 -0
- data/test/rails/script/breakpointer +3 -0
- data/test/rails/script/console +3 -0
- data/test/rails/script/destroy +3 -0
- data/test/rails/script/generate +3 -0
- data/test/rails/script/performance/benchmarker +3 -0
- data/test/rails/script/performance/profiler +3 -0
- data/test/rails/script/plugin +3 -0
- data/test/rails/script/process/inspector +3 -0
- data/test/rails/script/process/reaper +3 -0
- data/test/rails/script/process/spawner +3 -0
- data/test/rails/script/runner +3 -0
- data/test/rails/script/server +3 -0
- data/test/rails/test/fixtures/articles.yml +11 -0
- data/test/rails/test/functional/articles_controller_test.rb +109 -0
- data/test/rails/test/functional/mailer_controller_test.rb +93 -0
- data/test/rails/test/integration/general_stories_test.rb +58 -0
- data/test/rails/test/result/en/create_error.html +95 -0
- data/test/rails/test/result/en/list.html +65 -0
- data/test/rails/test/result/en/multi_error_messages_for.html +153 -0
- data/test/rails/test/result/en/multipart.html +67 -0
- data/test/rails/test/result/en/new.html +95 -0
- data/test/rails/test/result/en/show.html +50 -0
- data/test/rails/test/result/en/singlepart.html +10 -0
- data/test/rails/test/result/fr/list.html +15 -0
- data/test/rails/test/result/fr/multipart.html +67 -0
- data/test/rails/test/result/fr/singlepart.html +10 -0
- data/test/rails/test/result/ja/create_error.html +95 -0
- data/test/rails/test/result/ja/list.html +65 -0
- data/test/rails/test/result/ja/multi_error_messages_for.html +153 -0
- data/test/rails/test/result/ja/multipart.html +67 -0
- data/test/rails/test/result/ja/new.html +95 -0
- data/test/rails/test/result/ja/show.html +50 -0
- data/test/rails/test/result/ja/singlepart.html +10 -0
- data/test/rails/test/test_helper.rb +28 -0
- data/test/rails/test/unit/article_test.rb +18 -0
- data/test/test.sh +4 -0
- data/test/test_nsgettext.rb +44 -0
- data/test/test_rubyparser_n_.rb +10 -0
- metadata +317 -20
- data/ext/gettext/locale_system-i386-mswin32.def +0 -2
- data/ext/gettext/locale_system-i386-mswin32.exp +0 -0
- data/ext/gettext/locale_system-i386-mswin32.lib +0 -0
- data/ext/gettext/locale_system-i386-mswin32.pdb +0 -0
- data/ext/gettext/locale_system.obj +0 -0
- data/ext/gettext/vc70.pdb +0 -0
- data/samples/rails/locale/cs/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/de/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/el/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/es/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/fr/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/ja/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/ko/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/nl/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/pt_BR/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/ru/LC_MESSAGES/gettext_plugin.mo +0 -0
@@ -0,0 +1,153 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
4
|
+
<title>Ruby-GetText-Package Test Application</title>
|
5
|
+
<link href="/stylesheets/scaffold.css" media="screen" rel="Stylesheet" type="text/css" />
|
6
|
+
</head>
|
7
|
+
<body>
|
8
|
+
|
9
|
+
<p style="color: green"></p>
|
10
|
+
|
11
|
+
<div class="errorExplanation" id="errorExplanation"><h2>3 errors prohibited this Contents from being saved</h2><p>There were problems with the following fields:</p><ul><li>Title can't be blank</li><li>Description is too short (minimum is 3 characters)</li><li>Name can't be blank</li></ul></div>
|
12
|
+
|
13
|
+
<!--[form:article]-->
|
14
|
+
<p><label for="article_title">Title</label><br/>
|
15
|
+
<div class="fieldWithErrors"><input id="article_title" name="article[title]" size="30" type="text" value="" /></div></p>
|
16
|
+
|
17
|
+
<p><label for="article_description">Description</label><br/>
|
18
|
+
<div class="fieldWithErrors"><textarea cols="40" id="article_description" name="article[description]" rows="20"></textarea></div></p>
|
19
|
+
|
20
|
+
<p><label for="article_lastupdate">Lastupdate</label><br/>
|
21
|
+
<select id="article_lastupdate_1i" name="article[lastupdate(1i)]">
|
22
|
+
<option value="2002">2002</option>
|
23
|
+
<option value="2003">2003</option>
|
24
|
+
<option value="2004">2004</option>
|
25
|
+
<option value="2005">2005</option>
|
26
|
+
<option value="2006">2006</option>
|
27
|
+
<option value="2007" selected="selected">2007</option>
|
28
|
+
<option value="2008">2008</option>
|
29
|
+
<option value="2009">2009</option>
|
30
|
+
<option value="2010">2010</option>
|
31
|
+
<option value="2011">2011</option>
|
32
|
+
<option value="2012">2012</option>
|
33
|
+
</select>
|
34
|
+
<select id="article_lastupdate_2i" name="article[lastupdate(2i)]">
|
35
|
+
<option value="1">January</option>
|
36
|
+
<option value="2">February</option>
|
37
|
+
<option value="3">March</option>
|
38
|
+
<option value="4" selected="selected">April</option>
|
39
|
+
<option value="5">May</option>
|
40
|
+
<option value="6">June</option>
|
41
|
+
<option value="7">July</option>
|
42
|
+
<option value="8">August</option>
|
43
|
+
<option value="9">September</option>
|
44
|
+
<option value="10">October</option>
|
45
|
+
<option value="11">November</option>
|
46
|
+
<option value="12">December</option>
|
47
|
+
</select>
|
48
|
+
<select id="article_lastupdate_3i" name="article[lastupdate(3i)]">
|
49
|
+
<option value="1" selected="selected">1</option>
|
50
|
+
<option value="2">2</option>
|
51
|
+
<option value="3">3</option>
|
52
|
+
<option value="4">4</option>
|
53
|
+
<option value="5">5</option>
|
54
|
+
<option value="6">6</option>
|
55
|
+
<option value="7">7</option>
|
56
|
+
<option value="8">8</option>
|
57
|
+
<option value="9">9</option>
|
58
|
+
<option value="10">10</option>
|
59
|
+
<option value="11">11</option>
|
60
|
+
<option value="12">12</option>
|
61
|
+
<option value="13">13</option>
|
62
|
+
<option value="14">14</option>
|
63
|
+
<option value="15">15</option>
|
64
|
+
<option value="16">16</option>
|
65
|
+
<option value="17">17</option>
|
66
|
+
<option value="18">18</option>
|
67
|
+
<option value="19">19</option>
|
68
|
+
<option value="20">20</option>
|
69
|
+
<option value="21">21</option>
|
70
|
+
<option value="22">22</option>
|
71
|
+
<option value="23">23</option>
|
72
|
+
<option value="24">24</option>
|
73
|
+
<option value="25">25</option>
|
74
|
+
<option value="26">26</option>
|
75
|
+
<option value="27">27</option>
|
76
|
+
<option value="28">28</option>
|
77
|
+
<option value="29">29</option>
|
78
|
+
<option value="30">30</option>
|
79
|
+
<option value="31">31</option>
|
80
|
+
</select>
|
81
|
+
</p>
|
82
|
+
|
83
|
+
<p><label for="user_name">Name</label><br/>
|
84
|
+
<div class="fieldWithErrors"><input id="user_name" name="user[name]" size="30" type="text" value="" /></div></p>
|
85
|
+
|
86
|
+
<p><label for="user_lastupdate">Lastupdate</label><br/>
|
87
|
+
<select id="user_lastupdate_1i" name="user[lastupdate(1i)]">
|
88
|
+
<option value="2002">2002</option>
|
89
|
+
<option value="2003">2003</option>
|
90
|
+
<option value="2004">2004</option>
|
91
|
+
<option value="2005">2005</option>
|
92
|
+
<option value="2006">2006</option>
|
93
|
+
<option value="2007" selected="selected">2007</option>
|
94
|
+
<option value="2008">2008</option>
|
95
|
+
<option value="2009">2009</option>
|
96
|
+
<option value="2010">2010</option>
|
97
|
+
<option value="2011">2011</option>
|
98
|
+
<option value="2012">2012</option>
|
99
|
+
</select>
|
100
|
+
<select id="user_lastupdate_2i" name="user[lastupdate(2i)]">
|
101
|
+
<option value="1">January</option>
|
102
|
+
<option value="2">February</option>
|
103
|
+
<option value="3">March</option>
|
104
|
+
<option value="4" selected="selected">April</option>
|
105
|
+
<option value="5">May</option>
|
106
|
+
<option value="6">June</option>
|
107
|
+
<option value="7">July</option>
|
108
|
+
<option value="8">August</option>
|
109
|
+
<option value="9">September</option>
|
110
|
+
<option value="10">October</option>
|
111
|
+
<option value="11">November</option>
|
112
|
+
<option value="12">December</option>
|
113
|
+
</select>
|
114
|
+
<select id="user_lastupdate_3i" name="user[lastupdate(3i)]">
|
115
|
+
<option value="1" selected="selected">1</option>
|
116
|
+
<option value="2">2</option>
|
117
|
+
<option value="3">3</option>
|
118
|
+
<option value="4">4</option>
|
119
|
+
<option value="5">5</option>
|
120
|
+
<option value="6">6</option>
|
121
|
+
<option value="7">7</option>
|
122
|
+
<option value="8">8</option>
|
123
|
+
<option value="9">9</option>
|
124
|
+
<option value="10">10</option>
|
125
|
+
<option value="11">11</option>
|
126
|
+
<option value="12">12</option>
|
127
|
+
<option value="13">13</option>
|
128
|
+
<option value="14">14</option>
|
129
|
+
<option value="15">15</option>
|
130
|
+
<option value="16">16</option>
|
131
|
+
<option value="17">17</option>
|
132
|
+
<option value="18">18</option>
|
133
|
+
<option value="19">19</option>
|
134
|
+
<option value="20">20</option>
|
135
|
+
<option value="21">21</option>
|
136
|
+
<option value="22">22</option>
|
137
|
+
<option value="23">23</option>
|
138
|
+
<option value="24">24</option>
|
139
|
+
<option value="25">25</option>
|
140
|
+
<option value="26">26</option>
|
141
|
+
<option value="27">27</option>
|
142
|
+
<option value="28">28</option>
|
143
|
+
<option value="29">29</option>
|
144
|
+
<option value="30">30</option>
|
145
|
+
<option value="31">31</option>
|
146
|
+
</select>
|
147
|
+
</p>
|
148
|
+
<!--[eoform:article]-->
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
</body>
|
153
|
+
</html>
|
@@ -0,0 +1,67 @@
|
|
1
|
+
Date: Mon, 1 Jan 2007 00:00:00 +0900
|
2
|
+
From: mutoh@highway.ne.jp
|
3
|
+
To: mutoh@highway.ne.jp
|
4
|
+
Subject: multipart test mail
|
5
|
+
Mime-Version: 1.0
|
6
|
+
Content-Type: multipart/mixed; boundary=mimepart_46811fab95892_21951555555987006c8
|
7
|
+
|
8
|
+
|
9
|
+
--mimepart_46811fab95892_21951555555987006c8
|
10
|
+
Content-Type: text/plain; charset=iso-2022-jp
|
11
|
+
Content-Transfer-Encoding: 7bit
|
12
|
+
Content-Disposition: inline
|
13
|
+
|
14
|
+
Hi foo,
|
15
|
+
|
16
|
+
I attached public/images/* for example.
|
17
|
+
|
18
|
+
--
|
19
|
+
bar@example.com
|
20
|
+
|
21
|
+
--mimepart_46811fab95892_21951555555987006c8
|
22
|
+
Content-Type: application/octet-stream; name=rails.png
|
23
|
+
Content-Transfer-Encoding: Base64
|
24
|
+
Content-Disposition: attachment; filename=rails.png
|
25
|
+
|
26
|
+
iVBORw0KGgoAAAANSUhEUgAAADIAAABACAMAAABvC9RJAAAABGdBTUEAANbY
|
27
|
+
1E9YMgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAADA
|
28
|
+
UExURbhJOOnNsM6Hd3wYIqYdJc+VirVVSJgaIvPl27Cmpf///5InK4s2Qsh0
|
29
|
+
atqkkbU7NK4gKNCrpIkVHcNpSLAqLPXr47Z6eMl8VuzVvvv18fjv6d62rb9R
|
30
|
+
T9ehcpRHSLIyL86NYerMxqQ8NbpGQ7IuN8VyTOzZ1N+1k/v39akVHsRmXapJ
|
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bDiXOnoc3eYEW3EnVY5p+STqIkwqOFhxEIRcIPd8YPefoD+1IrRqrP
|
63
|
+
z4W4ePxEtfd4rNTD45Hrq8fjgB8YwfoHgw1b9xNbXyXyQktqKDtX1fHtVIdP
|
64
|
+
LCMWecHqFetNFb/YK1xjJFttgl/YifYZcMUh5VOsSaN2o+LB8+jsK7hwSKmw
|
65
|
+
+Jf/iAzxTfh/AQYADd4StjMb1WUAAAAASUVORK5CYII=
|
66
|
+
|
67
|
+
--mimepart_46811fab95892_21951555555987006c8--
|
@@ -0,0 +1,95 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
4
|
+
<title>Ruby-GetText-Package Test Application</title>
|
5
|
+
<link href="/stylesheets/scaffold.css" media="screen" rel="Stylesheet" type="text/css" />
|
6
|
+
</head>
|
7
|
+
<body>
|
8
|
+
|
9
|
+
<p style="color: green"></p>
|
10
|
+
|
11
|
+
<h1>New article</h1>
|
12
|
+
|
13
|
+
<form action="/articles/create" method="post">
|
14
|
+
|
15
|
+
|
16
|
+
<!--[form:article]-->
|
17
|
+
<p><label for="article_title">Title</label><br/>
|
18
|
+
<input id="article_title" name="article[title]" size="30" type="text" value="" /></p>
|
19
|
+
|
20
|
+
<p><label for="article_description">Description</label><br/>
|
21
|
+
<textarea cols="40" id="article_description" name="article[description]" rows="20"></textarea></p>
|
22
|
+
|
23
|
+
<p><label for="article_lastupdate">Lastupdate</label><br/>
|
24
|
+
<select id="article_lastupdate_1i" name="article[lastupdate(1i)]">
|
25
|
+
<option value="2002">2002</option>
|
26
|
+
<option value="2003">2003</option>
|
27
|
+
<option value="2004">2004</option>
|
28
|
+
<option value="2005">2005</option>
|
29
|
+
<option value="2006">2006</option>
|
30
|
+
<option value="2007" selected="selected">2007</option>
|
31
|
+
<option value="2008">2008</option>
|
32
|
+
<option value="2009">2009</option>
|
33
|
+
<option value="2010">2010</option>
|
34
|
+
<option value="2011">2011</option>
|
35
|
+
<option value="2012">2012</option>
|
36
|
+
</select>
|
37
|
+
<select id="article_lastupdate_2i" name="article[lastupdate(2i)]">
|
38
|
+
<option value="1">January</option>
|
39
|
+
<option value="2">February</option>
|
40
|
+
<option value="3">March</option>
|
41
|
+
<option value="4" selected="selected">April</option>
|
42
|
+
<option value="5">May</option>
|
43
|
+
<option value="6">June</option>
|
44
|
+
<option value="7">July</option>
|
45
|
+
<option value="8">August</option>
|
46
|
+
<option value="9">September</option>
|
47
|
+
<option value="10">October</option>
|
48
|
+
<option value="11">November</option>
|
49
|
+
<option value="12">December</option>
|
50
|
+
</select>
|
51
|
+
<select id="article_lastupdate_3i" name="article[lastupdate(3i)]">
|
52
|
+
<option value="1" selected="selected">1</option>
|
53
|
+
<option value="2">2</option>
|
54
|
+
<option value="3">3</option>
|
55
|
+
<option value="4">4</option>
|
56
|
+
<option value="5">5</option>
|
57
|
+
<option value="6">6</option>
|
58
|
+
<option value="7">7</option>
|
59
|
+
<option value="8">8</option>
|
60
|
+
<option value="9">9</option>
|
61
|
+
<option value="10">10</option>
|
62
|
+
<option value="11">11</option>
|
63
|
+
<option value="12">12</option>
|
64
|
+
<option value="13">13</option>
|
65
|
+
<option value="14">14</option>
|
66
|
+
<option value="15">15</option>
|
67
|
+
<option value="16">16</option>
|
68
|
+
<option value="17">17</option>
|
69
|
+
<option value="18">18</option>
|
70
|
+
<option value="19">19</option>
|
71
|
+
<option value="20">20</option>
|
72
|
+
<option value="21">21</option>
|
73
|
+
<option value="22">22</option>
|
74
|
+
<option value="23">23</option>
|
75
|
+
<option value="24">24</option>
|
76
|
+
<option value="25">25</option>
|
77
|
+
<option value="26">26</option>
|
78
|
+
<option value="27">27</option>
|
79
|
+
<option value="28">28</option>
|
80
|
+
<option value="29">29</option>
|
81
|
+
<option value="30">30</option>
|
82
|
+
<option value="31">31</option>
|
83
|
+
</select>
|
84
|
+
</p>
|
85
|
+
<!--[eoform:article]-->
|
86
|
+
|
87
|
+
|
88
|
+
<input name="commit" type="submit" value="Create" />
|
89
|
+
</form>
|
90
|
+
|
91
|
+
<a href="/articles/list">Back</a>
|
92
|
+
|
93
|
+
|
94
|
+
</body>
|
95
|
+
</html>
|
@@ -0,0 +1,50 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
4
|
+
<title>Ruby-GetText-Package Test Application</title>
|
5
|
+
<link href="/stylesheets/scaffold.css" media="screen" rel="Stylesheet" type="text/css" />
|
6
|
+
</head>
|
7
|
+
<body>
|
8
|
+
|
9
|
+
<p style="color: green"></p>
|
10
|
+
|
11
|
+
|
12
|
+
<p>
|
13
|
+
<b>Title:</b> タイトル1
|
14
|
+
</p>
|
15
|
+
|
16
|
+
<p>
|
17
|
+
<b>Description:</b> 内容1
|
18
|
+
</p>
|
19
|
+
|
20
|
+
<p>
|
21
|
+
<b>Lastupdate:</b> 2007-01-01
|
22
|
+
</p>
|
23
|
+
|
24
|
+
|
25
|
+
<a href="/articles/edit/1">Edit</a> |
|
26
|
+
<a href="/articles/list">Back</a>
|
27
|
+
|
28
|
+
<br/>
|
29
|
+
<h2>test for distance_of_time_in_words</h2>
|
30
|
+
|
31
|
+
less than 5 seconds<br/>
|
32
|
+
less than 10 seconds<br/>
|
33
|
+
half a minute<br/>
|
34
|
+
less than a minute<br/>
|
35
|
+
1 minute<br/>
|
36
|
+
2 minutes<br/>
|
37
|
+
about 1 hour<br/>
|
38
|
+
about 2 hours<br/>
|
39
|
+
1 day<br/>
|
40
|
+
2 days<br/>
|
41
|
+
about 1 month<br/>
|
42
|
+
2 months<br/>
|
43
|
+
about 1 year<br/>
|
44
|
+
over 2 years<br/>
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
</body>
|
50
|
+
</html>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
4
|
+
<title>Ruby-GetText-Package Test Application</title>
|
5
|
+
<link href="/stylesheets/scaffold.css" media="screen" rel="Stylesheet" type="text/css" />
|
6
|
+
</head>
|
7
|
+
<body>
|
8
|
+
|
9
|
+
<p style="color: green"></p>
|
10
|
+
|
11
|
+
<h1>This is in French</h1>
|
12
|
+
|
13
|
+
|
14
|
+
</body>
|
15
|
+
</html>
|
@@ -0,0 +1,67 @@
|
|
1
|
+
Date: Mon, 1 Jan 2007 00:00:00 +0900
|
2
|
+
From: mutoh@highway.ne.jp
|
3
|
+
To: mutoh@highway.ne.jp
|
4
|
+
Subject: multipart test mail
|
5
|
+
Mime-Version: 1.0
|
6
|
+
Content-Type: multipart/mixed; boundary=mimepart_4681203aea274_21a615555559870012f4
|
7
|
+
|
8
|
+
|
9
|
+
--mimepart_4681203aea274_21a615555559870012f4
|
10
|
+
Content-Type: text/plain; charset=iso-2022-jp
|
11
|
+
Content-Transfer-Encoding: 7bit
|
12
|
+
Content-Disposition: inline
|
13
|
+
|
14
|
+
Hi foo,
|
15
|
+
|
16
|
+
I attached public/images/* for example for French.
|
17
|
+
|
18
|
+
--
|
19
|
+
bar@example.com
|
20
|
+
|
21
|
+
--mimepart_4681203aea274_21a615555559870012f4
|
22
|
+
Content-Type: application/octet-stream; name=rails.png
|
23
|
+
Content-Transfer-Encoding: Base64
|
24
|
+
Content-Disposition: attachment; filename=rails.png
|
25
|
+
|
26
|
+
iVBORw0KGgoAAAANSUhEUgAAADIAAABACAMAAABvC9RJAAAABGdBTUEAANbY
|
27
|
+
1E9YMgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAADA
|
28
|
+
UExURbhJOOnNsM6Hd3wYIqYdJc+VirVVSJgaIvPl27Cmpf///5InK4s2Qsh0
|
29
|
+
atqkkbU7NK4gKNCrpIkVHcNpSLAqLPXr47Z6eMl8VuzVvvv18fjv6d62rb9R
|
30
|
+
T9ehcpRHSLIyL86NYerMxqQ8NbpGQ7IuN8VyTOzZ1N+1k/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+
|
62
|
+
dckNYjbDiXOnoc3eYEW3EnVY5p+STqIkwqOFhxEIRcIPd8YPefoD+1IrRqrP
|
63
|
+
z4W4ePxEtfd4rNTD45Hrq8fjgB8YwfoHgw1b9xNbXyXyQktqKDtX1fHtVIdP
|
64
|
+
LCMWecHqFetNFb/YK1xjJFttgl/YifYZcMUh5VOsSaN2o+LB8+jsK7hwSKmw
|
65
|
+
+Jf/iAzxTfh/AQYADd4StjMb1WUAAAAASUVORK5CYII=
|
66
|
+
|
67
|
+
--mimepart_4681203aea274_21a615555559870012f4--
|
@@ -0,0 +1,95 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
4
|
+
<title>Ruby-GetText-Package Test Application</title>
|
5
|
+
<link href="/stylesheets/scaffold.css" media="screen" rel="Stylesheet" type="text/css" />
|
6
|
+
</head>
|
7
|
+
<body>
|
8
|
+
|
9
|
+
<p style="color: green"></p>
|
10
|
+
|
11
|
+
<h1>新しい記事</h1>
|
12
|
+
|
13
|
+
<form action="/articles/create" method="post">
|
14
|
+
<div class="errorExplanation" id="errorExplanation"><h2>記事に2つのエラーが発生しました。</h2><p>次の項目を確認してください。</p><ul><li>タイトルを入力してください。</li><li>内容は3文字以上で入力してください。</li></ul></div>
|
15
|
+
|
16
|
+
<!--[form:article]-->
|
17
|
+
<p><label for="article_title">タイトル</label><br/>
|
18
|
+
<div class="fieldWithErrors"><input id="article_title" name="article[title]" size="30" type="text" value="" /></div></p>
|
19
|
+
|
20
|
+
<p><label for="article_description">内容</label><br/>
|
21
|
+
<div class="fieldWithErrors"><textarea cols="40" id="article_description" name="article[description]" rows="20"></textarea></div></p>
|
22
|
+
|
23
|
+
<p><label for="article_lastupdate">最終更新日</label><br/>
|
24
|
+
<select id="article_lastupdate_1i" name="article[lastupdate(1i)]">
|
25
|
+
<option value="2002">2002</option>
|
26
|
+
<option value="2003">2003</option>
|
27
|
+
<option value="2004">2004</option>
|
28
|
+
<option value="2005">2005</option>
|
29
|
+
<option value="2006">2006</option>
|
30
|
+
<option value="2007" selected="selected">2007</option>
|
31
|
+
<option value="2008">2008</option>
|
32
|
+
<option value="2009">2009</option>
|
33
|
+
<option value="2010">2010</option>
|
34
|
+
<option value="2011">2011</option>
|
35
|
+
<option value="2012">2012</option>
|
36
|
+
</select>
|
37
|
+
<select id="article_lastupdate_2i" name="article[lastupdate(2i)]">
|
38
|
+
<option value="1">January</option>
|
39
|
+
<option value="2">February</option>
|
40
|
+
<option value="3">March</option>
|
41
|
+
<option value="4" selected="selected">April</option>
|
42
|
+
<option value="5">May</option>
|
43
|
+
<option value="6">June</option>
|
44
|
+
<option value="7">July</option>
|
45
|
+
<option value="8">August</option>
|
46
|
+
<option value="9">September</option>
|
47
|
+
<option value="10">October</option>
|
48
|
+
<option value="11">November</option>
|
49
|
+
<option value="12">December</option>
|
50
|
+
</select>
|
51
|
+
<select id="article_lastupdate_3i" name="article[lastupdate(3i)]">
|
52
|
+
<option value="1" selected="selected">1</option>
|
53
|
+
<option value="2">2</option>
|
54
|
+
<option value="3">3</option>
|
55
|
+
<option value="4">4</option>
|
56
|
+
<option value="5">5</option>
|
57
|
+
<option value="6">6</option>
|
58
|
+
<option value="7">7</option>
|
59
|
+
<option value="8">8</option>
|
60
|
+
<option value="9">9</option>
|
61
|
+
<option value="10">10</option>
|
62
|
+
<option value="11">11</option>
|
63
|
+
<option value="12">12</option>
|
64
|
+
<option value="13">13</option>
|
65
|
+
<option value="14">14</option>
|
66
|
+
<option value="15">15</option>
|
67
|
+
<option value="16">16</option>
|
68
|
+
<option value="17">17</option>
|
69
|
+
<option value="18">18</option>
|
70
|
+
<option value="19">19</option>
|
71
|
+
<option value="20">20</option>
|
72
|
+
<option value="21">21</option>
|
73
|
+
<option value="22">22</option>
|
74
|
+
<option value="23">23</option>
|
75
|
+
<option value="24">24</option>
|
76
|
+
<option value="25">25</option>
|
77
|
+
<option value="26">26</option>
|
78
|
+
<option value="27">27</option>
|
79
|
+
<option value="28">28</option>
|
80
|
+
<option value="29">29</option>
|
81
|
+
<option value="30">30</option>
|
82
|
+
<option value="31">31</option>
|
83
|
+
</select>
|
84
|
+
</p>
|
85
|
+
<!--[eoform:article]-->
|
86
|
+
|
87
|
+
|
88
|
+
<input name="commit" type="submit" value="作成" />
|
89
|
+
</form>
|
90
|
+
|
91
|
+
<a href="/articles/list">戻る</a>
|
92
|
+
|
93
|
+
|
94
|
+
</body>
|
95
|
+
</html>
|
@@ -0,0 +1,65 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
4
|
+
<title>Ruby-GetText-Package Test Application</title>
|
5
|
+
<link href="/stylesheets/scaffold.css" media="screen" rel="Stylesheet" type="text/css" />
|
6
|
+
</head>
|
7
|
+
<body>
|
8
|
+
|
9
|
+
<p style="color: green"></p>
|
10
|
+
|
11
|
+
<h1>記事一覧</h1>
|
12
|
+
|
13
|
+
<table>
|
14
|
+
<tr>
|
15
|
+
|
16
|
+
<th>タイトル</th>
|
17
|
+
|
18
|
+
<th>内容</th>
|
19
|
+
|
20
|
+
<th>最終更新日</th>
|
21
|
+
|
22
|
+
</tr>
|
23
|
+
|
24
|
+
|
25
|
+
<tr>
|
26
|
+
|
27
|
+
<td>タイトル1</td>
|
28
|
+
|
29
|
+
<td>内容1</td>
|
30
|
+
|
31
|
+
<td>2007-01-01</td>
|
32
|
+
|
33
|
+
<td><a href="/articles/show/1">表示</a></td>
|
34
|
+
<td><a href="/articles/edit/1">編集</a></td>
|
35
|
+
<td><a href="/articles/destroy/1" onclick="if (confirm('よろしいですか?')) { var f = document.createElement('form'); f.style.display = 'none'; this.parentNode.appendChild(f); f.method = 'POST'; f.action = this.href;f.submit(); };return false;">削除</a></td>
|
36
|
+
</tr>
|
37
|
+
|
38
|
+
<tr>
|
39
|
+
|
40
|
+
<td>タイトル2</td>
|
41
|
+
|
42
|
+
<td>内容2</td>
|
43
|
+
|
44
|
+
<td>2007-01-02</td>
|
45
|
+
|
46
|
+
<td><a href="/articles/show/2">表示</a></td>
|
47
|
+
<td><a href="/articles/edit/2">編集</a></td>
|
48
|
+
<td><a href="/articles/destroy/2" onclick="if (confirm('よろしいですか?')) { var f = document.createElement('form'); f.style.display = 'none'; this.parentNode.appendChild(f); f.method = 'POST'; f.action = this.href;f.submit(); };return false;">削除</a></td>
|
49
|
+
</tr>
|
50
|
+
|
51
|
+
</table>
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
<br />
|
57
|
+
|
58
|
+
<a href="/articles/new">新しい記事</a>
|
59
|
+
<br />
|
60
|
+
<br />
|
61
|
+
<a href="/articles/multi_error_messages_for">error_messages_for Test</a>
|
62
|
+
|
63
|
+
|
64
|
+
</body>
|
65
|
+
</html>
|