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つのエラーが発生しました。</h2><p>次の項目を確認してください。</p><ul><li>タイトルを入力してください。</li><li>内容は3文字以上で入力してください。</li><li>名前を入力してください。</li></ul></div>
|
12
|
+
|
13
|
+
<!--[form:article]-->
|
14
|
+
<p><label for="article_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">内容</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">最終更新日</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">名前</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">最終更新日</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: $B%^%k%A%Q!<%H%F%9%H%a!<%k(B
|
5
|
+
Mime-Version: 1.0
|
6
|
+
Content-Type: multipart/mixed; boundary=mimepart_4681148438839_1f9d155555598700316
|
7
|
+
|
8
|
+
|
9
|
+
--mimepart_4681148438839_1f9d155555598700316
|
10
|
+
Content-Type: text/plain; charset=iso-2022-jp
|
11
|
+
Content-Transfer-Encoding: 7bit
|
12
|
+
Content-Disposition: inline
|
13
|
+
|
14
|
+
Hi foo,
|
15
|
+
|
16
|
+
$B%5%s%W%k$H$7$F(Bpublic/images/*$B$rE:IU$7$^$7$?!#(B
|
17
|
+
|
18
|
+
--
|
19
|
+
bar@example.com
|
20
|
+
|
21
|
+
--mimepart_4681148438839_1f9d155555598700316
|
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
|
31
|
+
Pe/cyfLg06RcWOXEob9hRL9bVb1YPubDuv79/JwwMK4lLP3699rDwrFlafv4
|
32
|
+
+p9QS/nz8MVhZYYdIq0eIJkvcAEAAAXBSURBVHjalNdbY6JKDABgHK4dlqt4
|
33
|
+
RUVERVSqomA9pfD//9VJZkCp+7R5cHctXzMzhIQVKKXb4Z9/iIVA6VB0XVVV
|
34
|
+
XTc//I5VJ/BfuS5JkioKIFQJQ9WVrL9h0edx5pFl+Nk/K4Ll2bYkCl9MQBb1
|
35
|
+
oAjZeTP6rWQtNc+b/hkYkICRT1fiJFeUDKI/wtgsTS5HJR3Ab0GDpEBSqTwH
|
36
|
+
JGEkO4+Wy+XpTmOUm9HcnMOf/X6WGYIFKwMiNmSlKLAwJOcNISGlJRkR87TV
|
37
|
+
tKmW9mLSF65XBVbGCQpdeZFzf0S2A9MMp/QVWmxcfVgZI+2yngS2vSHxlr7F
|
38
|
+
1DFgZU+SK7+y9Pumpu3eDU2NIHiSQ0sETuLxKT6NnwubpmmqTSi9yUHBibtS
|
39
|
+
OBHOZj+De2f2ThBx3EvvcN02ni9lspTN8EYJz+LqSkuuNB1ZBRn3eg06HdPw
|
40
|
+
msZzUyba+GxcDcziPpMoAqHTgS8ZRyTMnE6j4OLT49w0ZXnZzwQhQPJMoggz
|
41
|
+
OU1ns+N4zAygniFJSUCICUHgjmYNOTTCKqRkT4JeioYjGb7DCJaQhoz6Z2GF
|
42
|
+
hB1wZFmBZxdFkpiD45EZQLESG4wk2Xw+J0tIg6SC6/FqL/AKIMZAS9MW7a3e
|
43
|
+
yeJp5nMoPVjaAUhuFTZE4WHY1nGgcXMcH334DbHHiLRBA5Wq4CHbPBipzckA
|
44
|
+
DEepkdhFIMHPgFg8DSNuSwLPK6JBOW1Mmo7xcon9EMySmwO7L20W2JFDy+m0
|
45
|
+
QZqZSPYzJCVmS1s9SW06M8+blfdJWaIBNDBIlLyIN4e6WW4YQVNbE7pzCpPe
|
46
|
+
77sJN4PjPu1ZrzzSHtOwE3Nd2E1CoF59C0r3dt/tWKLpNfDvpJPGiiHNmRNR
|
47
|
+
AqJRujew0G8sUTmdmEngX7q7IfF81BIXjksgvhDypwMTTco7qeFIiqJzAKf5
|
48
|
+
plmYKEoB1svlTlsDiW5GjeWA0RDbfBJXrCyIQH49soDuP7XneV2T7JevLCIS
|
49
|
+
K+w+57fJPvLsX0gSgCgtWUFbm01+9YbJfuvPWBU90QbqsiWuLgiW8dZP9iGd
|
50
|
+
RsUL2dbyRWBWQBrnjRiX680oAq9F9hmqsiE4XXJBCN+IXHv7ixc0xisC1uCz
|
51
|
+
J1GtrHwjJtRpwIITAedIQ9TD50rPjdsbCQMrCDqmj1NndGaVLMmO8/FN3tup
|
52
|
+
Zr0MIAvH1HnDSeBA5PI72V0Cdocbk+EkhPaLD3Ki+I4jq8P3hVGCW2mNhaMz
|
53
|
+
g15U4XyJiCwP1aH2TkxD3s/aRAK0amzB+IiJFeymKCT5652EsL2pwVdnMQDd
|
54
|
+
TkciVhUcdC470/cZdIHEISu/QMhgulrr9dptSFWJfz4+/kpDLkQ2BWYgwRpD
|
55
|
+
4gSNC+TD2f6eXFe2fUzirZtQO2QBRJadr+7qyswSBDbt7UYUfxMIv3NyssVe
|
56
|
+
QuyGFAVUFid4APpi8R3x152LQZrYB+2jv16zYu4SPDQ3YYFF6lm4ILt+9gr+
|
57
|
+
mEkvgteL0NDZKGFIynME9QthwPct0fNczyts6EkB97pIJKn6s4KhYzVbSdZ4
|
58
|
+
cJ4qtUTfYkPdPhI7ueBft5ek+oaenETagPXLmmjw9dRIXuQ/XrpRsh7wus/F
|
59
|
+
T3gddKMblYEks+bWdkhJQ9mn9CeBa65ySO/f4ucN3gcPO06gk8g/+z3MQPam
|
60
|
+
xMnQXTFyp3to6buGLF7k6vs4aTtk60O3mCEhtQykQlK1JOKFJCddgluRayTl
|
61
|
+
oOwSAocOp3INwwFNiy6BDu64NhKmG/K9o040m63hsCPLB1J3iPNFy0uCxB9+
|
62
|
+
dckNYjbDiXOnoc3eYEW3EnVY5p+STqIkwqOFhxEIRcIPd8YPefoD+1IrRqrP
|
63
|
+
z4W4ePxEtfd4rNTD45Hrq8fjgB8YwfoHgw1b9xNbXyXyQktqKDtX1fHtVIdP
|
64
|
+
LCMWecHqFetNFb/YK1xjJFttgl/YifYZcMUh5VOsSaN2o+LB8+jsK7hwSKmw
|
65
|
+
+Jf/iAzxTfh/AQYADd4StjMb1WUAAAAASUVORK5CYII=
|
66
|
+
|
67
|
+
--mimepart_4681148438839_1f9d155555598700316--
|
@@ -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
|
+
|
15
|
+
|
16
|
+
<!--[form:article]-->
|
17
|
+
<p><label for="article_title">タイトル</label><br/>
|
18
|
+
<input id="article_title" name="article[title]" size="30" type="text" value="" /></p>
|
19
|
+
|
20
|
+
<p><label for="article_description">内容</label><br/>
|
21
|
+
<textarea cols="40" id="article_description" name="article[description]" rows="20"></textarea></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,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>タイトル:</b> タイトル1
|
14
|
+
</p>
|
15
|
+
|
16
|
+
<p>
|
17
|
+
<b>内容:</b> 内容1
|
18
|
+
</p>
|
19
|
+
|
20
|
+
<p>
|
21
|
+
<b>最終更新日:</b> 2007-01-01
|
22
|
+
</p>
|
23
|
+
|
24
|
+
|
25
|
+
<a href="/articles/edit/1">編集</a> |
|
26
|
+
<a href="/articles/list">戻る</a>
|
27
|
+
|
28
|
+
<br/>
|
29
|
+
<h2>test for distance_of_time_in_words</h2>
|
30
|
+
|
31
|
+
5秒以内<br/>
|
32
|
+
10秒以内<br/>
|
33
|
+
30秒前後<br/>
|
34
|
+
1分未満<br/>
|
35
|
+
1分<br/>
|
36
|
+
2分<br/>
|
37
|
+
約1時間<br/>
|
38
|
+
約2時間<br/>
|
39
|
+
1日<br/>
|
40
|
+
2日<br/>
|
41
|
+
約1ヵ月<br/>
|
42
|
+
2月<br/>
|
43
|
+
約1年<br/>
|
44
|
+
2年以上<br/>
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
</body>
|
50
|
+
</html>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
Date: Mon, 1 Jan 2007 00:00:00 +0900
|
2
|
+
From: mutoh@highway.ne.jp
|
3
|
+
To: mutoh@highway.ne.jp
|
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,28 @@
|
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
2
|
+
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
|
3
|
+
require 'test_help'
|
4
|
+
|
5
|
+
class Test::Unit::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
|
+
self.use_transactional_fixtures = true
|
19
|
+
|
20
|
+
# Instantiated fixtures are slow, but give you @david where otherwise you
|
21
|
+
# would need people(:david). If you don't want to migrate your existing
|
22
|
+
# test cases which use the @david style and don't mind the speed hit (each
|
23
|
+
# instantiated fixtures translates to a database query per test method),
|
24
|
+
# then set this back to true.
|
25
|
+
self.use_instantiated_fixtures = false
|
26
|
+
|
27
|
+
# Add more helper methods to be used by all tests here...
|
28
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/../test_helper'
|
2
|
+
|
3
|
+
class ArticleTest < Test::Unit::TestCase
|
4
|
+
fixtures :articles
|
5
|
+
|
6
|
+
# Replace this with your real tests.
|
7
|
+
def test_first
|
8
|
+
article = articles(:first)
|
9
|
+
assert_equal 1, article.id
|
10
|
+
assert_equal "内容1", article.description
|
11
|
+
assert_equal Date.parse("2007-01-01"), article.lastupdate
|
12
|
+
|
13
|
+
article = articles(:second)
|
14
|
+
assert_equal 2, article.id
|
15
|
+
assert_equal "内容2", article.description
|
16
|
+
assert_equal Date.parse("2007-01-02"), article.lastupdate
|
17
|
+
end
|
18
|
+
end
|
data/test/test.sh
CHANGED
@@ -7,4 +7,8 @@ ruby -I../lib -I../ext/gettext gettext_runner.rb $1
|
|
7
7
|
ruby -I../lib -I../ext/gettext gettext_test_multi_textdomain.rb
|
8
8
|
ruby -I../lib -I../ext/gettext gettext_test_cgi.rb
|
9
9
|
ruby -I../lib -I../ext/gettext gettext_test_rails.rb
|
10
|
+
ruby -I../lib -I../ext/gettext gettext_test_rails_caching.rb
|
10
11
|
ruby -I../lib -I../ext/gettext gettext_test_active_record.rb
|
12
|
+
cd rails
|
13
|
+
rake -I../../lib -I../../ext/gettext test
|
14
|
+
cd ..
|
@@ -0,0 +1,44 @@
|
|
1
|
+
require 'gettext'
|
2
|
+
|
3
|
+
class TestNSGetText
|
4
|
+
include GetText
|
5
|
+
def initialize
|
6
|
+
bindtextdomain("test_nsgettext", "locale")
|
7
|
+
end
|
8
|
+
|
9
|
+
def test_1
|
10
|
+
[ns_("AAA|BBB", "CCC", 1), ns_("AAA|BBB", "CCC", 2)]
|
11
|
+
end
|
12
|
+
|
13
|
+
def test_2
|
14
|
+
[nsgettext("AAA|BBB", "CCC", 1), nsgettext("AAA|BBB", "CCC", 2)]
|
15
|
+
end
|
16
|
+
|
17
|
+
def test_3
|
18
|
+
[ns_("AAA", "BBB", 1), ns_("AAA", "BBB", 2)] #not found
|
19
|
+
end
|
20
|
+
|
21
|
+
def test_4
|
22
|
+
[ns_("AAA|CCC", "DDD", 1), ns_("AAA|CCC", "DDD", 2)] #not found
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_5
|
26
|
+
[ns_("AAA|BBB|CCC", "DDD", 1), ns_("AAA|BBB|CCC", "DDD", 2)] #not found
|
27
|
+
end
|
28
|
+
|
29
|
+
def test_6
|
30
|
+
[ns_("AAA$BBB", "CCC", 1, "$"), ns_("AAA$BBB", "CCC", 2, "$")] #not found
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_7
|
34
|
+
[ns_("AAA$B|BB", "CCC", 1, "$"), ns_("AAA$B|BB", "CCC", 2, "$")] #not found
|
35
|
+
end
|
36
|
+
|
37
|
+
def test_8
|
38
|
+
[ns_("AAA$B|CC", "DDD", 1, "$"), ns_("AAA$B|CC", "DDD", 2, "$")]
|
39
|
+
end
|
40
|
+
|
41
|
+
def test_9
|
42
|
+
[ns_("AAA|CCC|BBB", "DDD", 1), ns_("AAA|CCC|BBB", "DDD", 2)] #not found
|
43
|
+
end
|
44
|
+
end
|
data/test/test_rubyparser_n_.rb
CHANGED