gettext 1.10.0 → 1.90.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +156 -2
- data/NEWS +28 -0
- data/README +128 -138
- data/Rakefile +83 -43
- data/data/locale/es/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/hu/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/hu/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ua/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ua/LC_MESSAGES/rgettext.mo +0 -0
- data/doc/classes/ActiveRecord/Base.html +360 -0
- data/doc/classes/ActiveRecord/ConnectionAdapters/Column.html +182 -0
- data/doc/classes/ActiveRecord/Migration.html +118 -0
- data/doc/classes/GetText.html +1790 -0
- data/doc/classes/GetText/ActiveRecordParser.html +236 -0
- data/doc/classes/GetText/Container.html +119 -0
- data/doc/classes/GetText/ErbContainer.html +223 -0
- data/doc/classes/GetText/ErbParser.html +156 -0
- data/doc/classes/GetText/GladeParser.html +133 -0
- data/doc/classes/GetText/NoboundTextDomainError.html +119 -0
- data/doc/classes/GetText/PoParser.html +169 -0
- data/doc/classes/GetText/Rails.html +293 -0
- data/doc/classes/GetText/RubyParser.html +123 -0
- data/doc/classes/GetText/TextDomain.html +572 -0
- data/doc/classes/GetText/TextDomainManager.html +443 -0
- data/doc/classes/Iconv.html +257 -0
- data/doc/classes/Iconv/Failure.html +105 -0
- data/doc/classes/Iconv/IllegalSequence.html +118 -0
- data/doc/classes/Iconv/InvalidCharacter.html +118 -0
- data/doc/classes/Iconv/InvalidEncoding.html +118 -0
- data/doc/classes/Locale.html +839 -0
- data/doc/classes/Locale/Object.html +799 -0
- data/doc/classes/Locale/SystemBase.html +271 -0
- data/doc/classes/Locale/SystemCGI.html +312 -0
- data/doc/classes/Locale/SystemJRuby.html +112 -0
- data/doc/classes/Locale/SystemPosix.html +113 -0
- data/doc/classes/Locale/SystemWin32.html +182 -0
- data/doc/classes/MOFile.html +678 -0
- data/doc/classes/MOFile/InvalidFormat.html +111 -0
- data/doc/classes/Module.html +158 -0
- data/doc/classes/String.html +225 -0
- data/doc/created.rid +1 -0
- data/doc/files/ChangeLog.html +2355 -0
- data/doc/files/README.html +510 -0
- data/doc/files/lib/gettext/active_record_rb.html +110 -0
- data/doc/files/lib/gettext/cgi_rb.html +110 -0
- data/doc/files/lib/gettext/container_rb.html +108 -0
- data/doc/files/lib/gettext/erb_rb.html +109 -0
- data/doc/files/lib/gettext/iconv_rb.html +109 -0
- data/doc/files/lib/gettext/mo_rb.html +108 -0
- data/doc/files/lib/gettext/parser/active_record_rb.html +119 -0
- data/doc/files/lib/gettext/parser/erb_rb.html +109 -0
- data/doc/files/lib/gettext/parser/glade_rb.html +109 -0
- data/doc/files/lib/gettext/parser/ruby_rb.html +110 -0
- data/doc/files/lib/gettext/poparser_rb.html +108 -0
- data/doc/files/lib/gettext/rails_compat_rb.html +108 -0
- data/doc/files/lib/gettext/rails_rb.html +112 -0
- data/doc/files/lib/gettext/rgettext_rb.html +110 -0
- data/doc/files/lib/gettext/rmsgfmt_rb.html +112 -0
- data/doc/files/lib/gettext/rmsgmerge_rb.html +112 -0
- data/doc/files/lib/gettext/string_rb.html +101 -0
- data/doc/files/lib/gettext/textdomain_rb.html +109 -0
- data/doc/files/lib/gettext/textdomainmanager_rb.html +109 -0
- data/doc/files/lib/gettext/utils_rb.html +111 -0
- data/doc/files/lib/gettext/version_rb.html +101 -0
- data/doc/files/lib/gettext_rb.html +113 -0
- data/doc/files/lib/locale/base_rb.html +101 -0
- data/doc/files/lib/locale/cgi_rb.html +108 -0
- data/doc/files/lib/locale/jruby_rb.html +110 -0
- data/doc/files/lib/locale/object_rb.html +101 -0
- data/doc/files/lib/locale/posix_rb.html +108 -0
- data/doc/files/lib/locale/win32_rb.html +110 -0
- data/doc/files/lib/locale/win32_table_rb.html +101 -0
- data/doc/files/lib/locale_rb.html +111 -0
- data/doc/fr_class_index.html +57 -0
- data/doc/fr_file_index.html +58 -0
- data/doc/fr_method_index.html +155 -0
- data/doc/index.html +24 -0
- data/doc/rdoc-style.css +208 -0
- data/lib/gettext.rb +102 -50
- data/lib/gettext/cgi.rb +2 -27
- data/lib/gettext/iconv.rb +76 -62
- data/lib/gettext/mo.rb +3 -3
- data/lib/gettext/parser/erb.rb +2 -2
- data/lib/gettext/rails.rb +69 -48
- data/lib/gettext/rgettext.rb +2 -2
- data/lib/gettext/rmsgmerge.rb +2 -2
- data/lib/gettext/string.rb +9 -5
- data/lib/gettext/textdomain.rb +3 -3
- data/lib/gettext/textdomainmanager.rb +5 -5
- data/lib/gettext/utils.rb +4 -3
- data/lib/gettext/version.rb +1 -1
- data/lib/{gettext/locale.rb → locale.rb} +11 -58
- data/lib/locale/base.rb +60 -0
- data/lib/{gettext/locale_cgi.rb → locale/cgi.rb} +30 -28
- data/lib/locale/jruby.rb +36 -0
- data/lib/{gettext/locale_object.rb → locale/object.rb} +78 -24
- data/lib/locale/posix.rb +22 -0
- data/lib/locale/win32.rb +48 -0
- data/lib/{gettext/locale_table_win32.rb → locale/win32_table.rb} +3 -2
- data/po/es/rails.po +1 -2
- data/po/hu/rails.po +139 -0
- data/po/hu/rgettext.po +126 -0
- data/po/ja/rails.po +5 -5
- data/po/ua/rails.po +150 -0
- data/po/ua/rgettext.po +132 -0
- data/pre-setup.rb +2 -4
- data/samples/cgi/cookie.cgi +1 -0
- data/samples/cgi/helloerb1.cgi +6 -3
- data/samples/cgi/helloerb2.cgi +6 -3
- data/samples/cgi/http.rb +3 -7
- data/samples/cgi/index.cgi +2 -1
- data/samples/cgi/locale/hu/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/hu/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/hu/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/hu/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/ua/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/ua/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/ua/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/ua/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/po/hu/helloerb1.po +59 -0
- data/samples/cgi/po/hu/helloerb2.po +51 -0
- data/samples/cgi/po/hu/hellolib.po +23 -0
- data/samples/cgi/po/hu/main.po +82 -0
- data/samples/cgi/po/ua/helloerb1.po +62 -0
- data/samples/cgi/po/ua/helloerb2.po +54 -0
- data/samples/cgi/po/ua/hellolib.po +26 -0
- data/samples/cgi/po/ua/main.po +84 -0
- data/samples/locale/hu/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/hu/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/hu/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/hu/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/hu/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/hu/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/hu/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/ua/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/ua/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/ua/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/ua/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/ua/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/ua/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/ua/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/po/hu/hello.po +22 -0
- data/samples/po/hu/hello2.po +30 -0
- data/samples/po/hu/hello_noop.po +26 -0
- data/samples/po/hu/hello_plural.po +25 -0
- data/samples/po/hu/helloglade2.po +31 -0
- data/samples/po/hu/hellogtk.po +22 -0
- data/samples/po/hu/hellotk.po +23 -0
- data/samples/po/ua/hello.po +22 -0
- data/samples/po/ua/hello2.po +30 -0
- data/samples/po/ua/hello_noop.po +26 -0
- data/samples/po/ua/hello_plural.po +29 -0
- data/samples/po/ua/helloglade2.po +34 -0
- data/samples/po/ua/hellogtk.po +22 -0
- data/samples/po/ua/hellotk.po +26 -0
- data/samples/rails/README +15 -31
- data/samples/rails/Rakefile +1 -1
- data/samples/rails/app/controllers/application.rb +11 -4
- data/samples/rails/app/controllers/articles_controller.rb +96 -0
- data/samples/rails/app/helpers/application_helper.rb +1 -1
- data/samples/rails/app/helpers/{blog_helper.rb → articles_helper.rb} +6 -7
- data/samples/rails/app/views/articles/edit.html.erb +18 -0
- data/samples/rails/app/views/articles/index.html.erb +17 -0
- data/samples/rails/app/views/articles/new.html.erb +16 -0
- data/samples/rails/app/views/articles/show.html.erb +6 -0
- data/samples/rails/app/views/layouts/articles.html.erb +26 -0
- data/samples/rails/config/boot.rb +104 -13
- data/samples/rails/config/database.yml +24 -21
- data/samples/rails/config/environment.rb +35 -30
- data/samples/rails/config/environments/development.rb +5 -6
- data/samples/rails/config/environments/production.rb +2 -3
- data/samples/rails/config/environments/test.rb +5 -2
- data/samples/rails/config/initializers/inflections.rb +10 -0
- data/samples/rails/config/initializers/mime_types.rb +5 -0
- data/samples/rails/config/routes.rb +30 -11
- data/samples/rails/db/migrate/001_create_articles.rb +14 -0
- data/samples/rails/db/schema.rb +16 -5
- data/samples/rails/lib/tasks/gettext.rake +2 -2
- data/samples/rails/locale/bs/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ca/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/cs/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/de/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/el/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/en/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/eo/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/es/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/fr/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/hr/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/hu/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/it/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ja/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ko/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/nb/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/nl/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/pt_BR/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ru/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ua/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/vi/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/zh/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/zh_TW/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/po/blog.pot +24 -24
- data/samples/rails/po/bs/blog.po +29 -29
- data/samples/rails/po/ca/blog.po +27 -27
- data/samples/rails/po/cs/blog.po +27 -27
- data/samples/rails/po/de/blog.po +27 -27
- data/samples/rails/po/el/blog.po +27 -27
- data/samples/rails/po/en/blog.po +24 -24
- data/samples/rails/po/eo/blog.po +27 -27
- data/samples/rails/po/es/blog.po +27 -27
- data/samples/rails/po/fr/blog.po +27 -27
- data/samples/rails/po/hr/blog.po +29 -29
- data/samples/rails/po/hu/blog.po +105 -0
- data/samples/rails/po/it/blog.po +27 -27
- data/samples/rails/po/ja/blog.po +27 -27
- data/samples/rails/po/ko/blog.po +27 -27
- data/samples/rails/po/nb/blog.po +26 -27
- data/samples/rails/po/nl/blog.po +27 -27
- data/samples/rails/po/pt_BR/blog.po +27 -27
- data/samples/rails/po/ru/blog.po +27 -27
- data/samples/rails/po/ua/blog.po +108 -0
- data/samples/rails/po/vi/blog.po +26 -31
- data/samples/rails/po/zh/blog.po +27 -27
- data/samples/rails/po/zh_TW/blog.po +27 -27
- data/samples/rails/public/404.html +27 -5
- data/samples/rails/public/422.html +30 -0
- data/samples/rails/public/500.html +27 -5
- data/samples/rails/public/index.html +6 -6
- data/samples/rails/public/javascripts/application.js +2 -0
- data/samples/rails/public/javascripts/controls.js +532 -319
- data/samples/rails/public/javascripts/dragdrop.js +521 -133
- data/samples/rails/public/javascripts/effects.js +708 -442
- data/samples/rails/public/javascripts/prototype.js +3393 -953
- data/samples/rails/public/stylesheets/blog.css +4 -0
- data/samples/rails/public/stylesheets/scaffold.css +5 -5
- data/samples/rails/test/functional/articles_controller_test.rb +51 -0
- data/samples/rails/test/test_helper.rb +31 -19
- data/samples/rails/test/unit/article_test.rb +2 -9
- data/samples/rails/vendor/plugins/gettext/init.rb +5 -3
- data/samples/rails/vendor/plugins/gettext/lib/gettext_plugin.rb +9 -10
- data/samples/rails/vendor/plugins/gettext/locale/eo/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/hu/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/ua/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/po/eo/gettext_plugin.po +28 -0
- data/samples/rails/vendor/plugins/gettext/po/hu/gettext_plugin.po +27 -0
- data/samples/rails/vendor/plugins/gettext/po/ua/gettext_plugin.po +30 -0
- data/test/Rakefile +2 -1
- data/test/benchmark.rb +28 -0
- data/test/fixtures/topic.rb +15 -0
- data/test/rails/Rakefile +2 -1
- data/test/rails/app/controllers/articles_controller.rb +1 -1
- data/test/rails/app/controllers/users_controller.rb +10 -0
- data/test/rails/app/models/user.rb +2 -1
- data/test/rails/app/views/articles/{_form.rhtml → _form.html.erb} +0 -0
- data/test/rails/app/views/articles/active_form_error.html.erb +1 -0
- data/test/rails/app/views/articles/change_title_error_messages_for.html.erb +21 -0
- data/test/rails/app/views/articles/{edit.rhtml → edit.html.erb} +0 -0
- data/test/rails/app/views/articles/{list.rhtml → list.html.erb} +0 -3
- data/test/rails/app/views/articles/{list_fr.rhtml → list_fr.html.erb} +0 -0
- data/test/rails/app/views/articles/{multi_error_messages_for.rhtml → multi_error_messages_for.html.erb} +0 -0
- data/test/rails/app/views/articles/{new.rhtml → new.html.erb} +0 -0
- data/test/rails/app/views/articles/{show.rhtml → show.html.erb} +0 -0
- data/test/rails/app/views/layouts/{application.rhtml → application.html.erb} +0 -0
- data/test/rails/app/views/layouts/{mailer.rhtml → mailer.html.erb} +0 -0
- data/test/rails/app/views/layouts/users.html.erb +13 -0
- data/test/rails/app/views/users/custom_error_message.html.erb +13 -0
- data/test/rails/app/views/users/custom_error_message_fr.html.erb +13 -0
- data/test/rails/config/environment.rb +6 -1
- data/test/rails/config/environments/development.rb +0 -3
- data/test/rails/db/schema.rb +17 -10
- data/test/rails/locale/ja/LC_MESSAGES/rails_test.mo +0 -0
- data/test/rails/log/development.log +136 -29
- data/test/rails/log/test.log +2002 -128
- data/test/rails/po/ja/rails_test.po +68 -61
- data/test/rails/po/rails_test.pot +57 -55
- data/test/rails/test/fixtures/users.yml +5 -0
- data/test/rails/test/functional/articles_controller_test.rb +6 -1
- data/test/rails/test/functional/users_controller_test.rb +65 -0
- data/test/rails/test/result/en/custom_error_message.html +83 -0
- data/test/rails/test/result/en/custom_error_message_with_plural.html +83 -0
- data/test/rails/test/result/en/list.html +0 -3
- data/test/rails/test/result/en/multi_error_messages_for.html +1 -1
- data/test/rails/test/result/fr/custom_error_message.html +83 -0
- data/test/rails/test/result/fr/custom_error_message_with_plural.html +83 -0
- data/test/rails/test/result/ja/custom_error_message.html +83 -0
- data/test/rails/test/result/ja/custom_error_message_with_plural.html +83 -0
- data/test/rails/test/result/ja/list.html +0 -3
- data/test/rails/test/result/ja/multi_error_messages_for.html +1 -1
- data/test/test.sh +5 -7
- data/test/{gettext_test_active_record.rb → test_active_record.rb} +20 -10
- data/test/{gettext_test_cgi.rb → test_cgi.rb} +0 -0
- data/test/{gettext_test.rb → test_gettext.rb} +91 -9
- data/test/test_java.sh +12 -0
- data/test/{gettext_test_locale.rb → test_locale.rb} +3 -8
- data/test/{gettext_test_multi_textdomain.rb → test_multi_textdomain.rb} +2 -2
- data/test/{gettext_test_parser.rb → test_parser.rb} +77 -77
- data/test/{gettext_test_rails.rb → test_rails.rb} +0 -0
- data/test/{gettext_test_rails_caching.rb → test_rails_caching.rb} +16 -2
- data/test/{gettext_test_string.rb → test_string.rb} +1 -0
- data/test/{test_rubyparser_N.rb → testlib/N_.rb} +0 -0
- data/test/testlib/erb.rhtml +15 -0
- data/test/testlib/erb.rxml +16 -0
- data/test/{test_rubyparser.rb → testlib/gettext.rb} +0 -0
- data/test/testlib/gladeparser.glade +183 -0
- data/test/{test_rubyparser_n_.rb → testlib/ngettext.rb} +0 -0
- data/test/{test_nsgettext.rb → testlib/nsgettext.rb} +0 -0
- data/test/{test_sgettext.rb → testlib/sgettext.rb} +0 -0
- data/test/{testlib1.rb → testlib/testlib1.rb} +0 -0
- data/test/{testlib2.rb → testlib/testlib2.rb} +1 -1
- data/test/{testlib3.rb → testlib/testlib3.rb} +0 -0
- data/test/{testlib4.rb → testlib/testlib4.rb} +1 -1
- data/test/{testlib5.rb → testlib/testlib5.rb} +0 -0
- data/test/{testlib6.rb → testlib/testlib6.rb} +0 -0
- metadata +1374 -1171
- data/ext/gettext/extconf.rb +0 -20
- data/ext/gettext/locale_system.c +0 -83
- data/lib/gettext/locale_posix.rb +0 -82
- data/lib/gettext/locale_win32.rb +0 -82
- data/samples/cgi/ruby.bat +0 -4
- data/samples/rails/app/controllers/blog_controller.rb +0 -58
- data/samples/rails/app/views/blog/_form.rhtml +0 -25
- data/samples/rails/app/views/blog/edit.rhtml +0 -22
- data/samples/rails/app/views/blog/list.rhtml +0 -29
- data/samples/rails/app/views/blog/new.rhtml +0 -21
- data/samples/rails/app/views/blog/show.rhtml +0 -18
- data/samples/rails/app/views/layouts/blog.rhtml +0 -36
- data/samples/rails/test/functional/blog_controller_test.rb +0 -98
- data/test/gettext_runner.rb +0 -22
data/doc/created.rid
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Sun, 03 Feb 2008 02:34:48 +0900
|
@@ -0,0 +1,2355 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>File: ChangeLog</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="fileHeader">
|
50
|
+
<h1>ChangeLog</h1>
|
51
|
+
<table class="header-table">
|
52
|
+
<tr class="top-aligned-row">
|
53
|
+
<td><strong>Path:</strong></td>
|
54
|
+
<td>ChangeLog
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
<tr class="top-aligned-row">
|
58
|
+
<td><strong>Last Update:</strong></td>
|
59
|
+
<td>Sun Feb 03 01:53:02 +0900 2008</td>
|
60
|
+
</tr>
|
61
|
+
</table>
|
62
|
+
</div>
|
63
|
+
<!-- banner header -->
|
64
|
+
|
65
|
+
<div id="bodyContent">
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
<div id="contextContent">
|
70
|
+
|
71
|
+
<div id="description">
|
72
|
+
<p>
|
73
|
+
2008-02-02 Masao Mutoh <mutoh@highway.ne.jp>
|
74
|
+
</p>
|
75
|
+
<pre>
|
76
|
+
* po/ja/rails.po: Revised. Reported by Paul Clegg.
|
77
|
+
</pre>
|
78
|
+
<p>
|
79
|
+
2008-01-30 Masao Mutoh <mutoh@highway.ne.jp>
|
80
|
+
</p>
|
81
|
+
<pre>
|
82
|
+
* lib/locale/win32.rb, win32_table.rb: Rename SystemWin32Table to SystemWin32.
|
83
|
+
* samples/cgi/http.rb, index.cgi: Works on Windows.
|
84
|
+
</pre>
|
85
|
+
<p>
|
86
|
+
2008-01-28 Masao Mutoh <mutoh@highway.ne.jp>
|
87
|
+
</p>
|
88
|
+
<pre>
|
89
|
+
* lib/gettext.rb: Fixed GetText.output_charset to return current
|
90
|
+
locale's charset not nil.
|
91
|
+
Fixed to work with JRuby.(Bug: http://jira.codehaus.org/browse/JRUBY-1281)
|
92
|
+
</pre>
|
93
|
+
<p>
|
94
|
+
2008-01-27 Masao Mutoh <mutoh@highway.ne.jp>
|
95
|
+
</p>
|
96
|
+
<pre>
|
97
|
+
* lib/gettext/string.rb: String#% doesn't raise an ArgumentError in Debug mode.
|
98
|
+
Because String#% method shouldn't raise ArgumentError in Debug mode.
|
99
|
+
* lib/gettext/rgettext.rb: rgettext fixed to work with similer messages in n_().
|
100
|
+
Reported by Toine Diepstraten.
|
101
|
+
* samples/cgi/*: Works again. Set CGI object explicit.
|
102
|
+
* lib/gettext/textdomainmanager.rb: GetText::TextDomainManager.output_charset returns
|
103
|
+
system locale when nil is set.
|
104
|
+
</pre>
|
105
|
+
<p>
|
106
|
+
2008-01-24 Masao Mutoh <mutoh@highway.ne.jp>
|
107
|
+
</p>
|
108
|
+
<pre>
|
109
|
+
* lib/locale/object.rb: Speedup (cache messages and object hash value)
|
110
|
+
</pre>
|
111
|
+
<p>
|
112
|
+
2008-01-21 Masao Mutoh <mutoh@highway.ne.jp>
|
113
|
+
</p>
|
114
|
+
<pre>
|
115
|
+
* lib/gettext.rb: Fixed to reload messages in debug mode
|
116
|
+
(development mode in rails). Reported by Reynard,
|
117
|
+
Ernesto Jiménez Caballero
|
118
|
+
</pre>
|
119
|
+
<p>
|
120
|
+
2008-01-19 Masao Mutoh <mutoh@highway.ne.jp>
|
121
|
+
</p>
|
122
|
+
<pre>
|
123
|
+
* **/po/hu/*.po: Added hu locales by Tamás Tompa.
|
124
|
+
* Rakefile: Add deploypo task(for me).
|
125
|
+
</pre>
|
126
|
+
<p>
|
127
|
+
2008-01-18 Masao Mutoh <mutoh@highway.ne.jp>
|
128
|
+
</p>
|
129
|
+
<pre>
|
130
|
+
* lib/locale/win32.rb: Removed duplicated function.
|
131
|
+
</pre>
|
132
|
+
<p>
|
133
|
+
2008-01-16 Masao Mutoh <mutoh@highway.ne.jp>
|
134
|
+
</p>
|
135
|
+
<pre>
|
136
|
+
* samples/rails/*: Rewrite to work on Rails-2.0.
|
137
|
+
* lib/gettext/string.rb: Raises ArgumentError when the format are wrong.
|
138
|
+
Bug #16959 by Stephan.
|
139
|
+
</pre>
|
140
|
+
<p>
|
141
|
+
2007-12-25 Masao Mutoh <mutoh@highway.ne.jp>
|
142
|
+
</p>
|
143
|
+
<pre>
|
144
|
+
* lib/gettext/rails.rb: Fixed an error when expire_fragment_with_gettext
|
145
|
+
is called with the name as a Regexp object.Bug #12803 by Hans de Graaff.
|
146
|
+
</pre>
|
147
|
+
<p>
|
148
|
+
2007-12-24 Masao Mutoh <mutoh@highway.ne.jp>
|
149
|
+
</p>
|
150
|
+
<pre>
|
151
|
+
* **/po/ua/*.po: Added ua locales by Alex Rootoff.
|
152
|
+
</pre>
|
153
|
+
<p>
|
154
|
+
2007-12-16 Masao Mutoh <mutoh@highway.ne.jp>
|
155
|
+
</p>
|
156
|
+
<pre>
|
157
|
+
* NEWS: Updated.
|
158
|
+
* README: Updated.
|
159
|
+
</pre>
|
160
|
+
<p>
|
161
|
+
2007-12-15 Masao Mutoh <mutoh@highway.ne.jp>
|
162
|
+
</p>
|
163
|
+
<pre>
|
164
|
+
* test/rails/*: Updated to work with Rails-2.0.
|
165
|
+
Add the test for custom error messages/titles.
|
166
|
+
* lib/gettext/rails.rb: Fixed
|
167
|
+
ActionView::Helpers::ActiveRecordHelper::L10n::error_messages_for
|
168
|
+
that plural messages didn't translated.
|
169
|
+
ActionView::Helpers::ActiveRecordHelper.error_messages_for can accept
|
170
|
+
:message_title, :message_explanation as the error dialog messages.
|
171
|
+
You can set the error dialog messages in the each pages.
|
172
|
+
Add GetText::Rails.normalized_locale.
|
173
|
+
</pre>
|
174
|
+
<p>
|
175
|
+
2007-12-08 Masao Mutoh <mutoh@highway.ne.jp>
|
176
|
+
</p>
|
177
|
+
<pre>
|
178
|
+
* lib/gettext/rails.rb: Add GetText::Rails::available_locales.
|
179
|
+
It returns the locales in RAILS_ROOT/locale directory.
|
180
|
+
fragment_cache_key_with_gettext and expire_fragment_with_gettext uses
|
181
|
+
GetText::Rails::available_locales to select the current locale string.
|
182
|
+
The cache files are created for available locales only.
|
183
|
+
</pre>
|
184
|
+
<p>
|
185
|
+
2007-11-10 Masao Mutoh <mutoh@highway.ne.jp>
|
186
|
+
</p>
|
187
|
+
<pre>
|
188
|
+
* lib/gettext.rb: Fix to work :charset option.
|
189
|
+
[Bug #15513] Reoported by boud indymedia.
|
190
|
+
* lib/gettext/mo.rb: Works with JRuby.
|
191
|
+
</pre>
|
192
|
+
<p>
|
193
|
+
2007-11-09 Masao Mutoh <mutoh@highway.ne.jp>
|
194
|
+
</p>
|
195
|
+
<pre>
|
196
|
+
* lib/locale/cgi.rb: Removed Locale::SystemCGI.default=, set_default.
|
197
|
+
* lib/locale/win32_table.rb: Rename SystemWin32 to SystemWin32Table.
|
198
|
+
* lib/locale/win32.rb, win32_table.rb: Move get_charset to win32_table.rb.
|
199
|
+
* lib/locale/jruby.rb: Require win32_table.rb on Win32.
|
200
|
+
* lib/locale/base.rb: Added as the common module of other LocaleSystem classes.
|
201
|
+
* lib/locale/posix.rb, win32.rb, jruby.rb, cgi.rb: Require locale/base.rb.
|
202
|
+
And Remove the common methods.
|
203
|
+
</pre>
|
204
|
+
<p>
|
205
|
+
2007-11-08 Masao Mutoh <mutoh@highway.ne.jp>
|
206
|
+
</p>
|
207
|
+
<pre>
|
208
|
+
* lib/gettext/iconv.rb: Support JRuby.
|
209
|
+
* lib/locale/jruby.rb: Added. Support JRuby.
|
210
|
+
* test/*.rb: Rename files.
|
211
|
+
* lib/locale/object.rb: Add fallback attribute(a fallback locale).
|
212
|
+
* ext/*: Removed.
|
213
|
+
* Rakefile: Remove tasks for ext.
|
214
|
+
* lib/locale/win32.rb: Removed Locale::SystemWin32.set_default_locale,
|
215
|
+
default_locale=, default_locale.
|
216
|
+
Use Win32API instead of locale_system.so.
|
217
|
+
* lib/locale/posix.rb: Removed Locale::SystemPosix.get_charset, .set_default_locale
|
218
|
+
default_locale=, default_locale and all LC types.
|
219
|
+
Now Posix localed doesn't depend on locale_system.so.
|
220
|
+
# UTF-8 is set as the default charset.
|
221
|
+
* lib/gettext/locale.rb: Move to lib/locale.rb. Now locale class starts to
|
222
|
+
prepare to be separated from gettext.
|
223
|
+
* lib/gettext/locale_*.rb: Move to lib/locale/*.rb. Removed deprecated methods.
|
224
|
+
* Start preparing to release 2.0.
|
225
|
+
- System locales become "read only"(Locale module keeps the current
|
226
|
+
locale).
|
227
|
+
- Don't depend locale_system.so.
|
228
|
+
</pre>
|
229
|
+
<p>
|
230
|
+
2007-08-01 Masao Mutoh <mutoh@highway.ne.jp>
|
231
|
+
</p>
|
232
|
+
<pre>
|
233
|
+
* lib/gettext/utils.rb: Raise exception when msgmerge aren't found.
|
234
|
+
And show error message more helpful. Reported by Vít Ondruch (Bug#12737)
|
235
|
+
* lib/gettext/parser/erb.rb: Add ".erb" as the extname.
|
236
|
+
Reported by Andreas Neuhaus (Bug#12721)
|
237
|
+
* test/gettext_benchmark.rb: Added.
|
238
|
+
</pre>
|
239
|
+
<p>
|
240
|
+
2007-07-29 Masao Mutoh <mutoh@highway.ne.jp>
|
241
|
+
</p>
|
242
|
+
<pre>
|
243
|
+
* lib/gettext.rb: Replace .keys.include? to .has_key? to reduce
|
244
|
+
CPU usage and speed up. Reported by olivier ruffin.
|
245
|
+
</pre>
|
246
|
+
<p>
|
247
|
+
2007-07-22 Masao Mutoh <mutoh@highway.ne.jp>
|
248
|
+
</p>
|
249
|
+
<pre>
|
250
|
+
* lib/gettext/locale_cgi.rb: Fixed to break rails(r7116).
|
251
|
+
Reported by OZAWA Sakuro.
|
252
|
+
</pre>
|
253
|
+
<p>
|
254
|
+
2007-07-16 Masao Mutoh <mutoh@highway.ne.jp>
|
255
|
+
</p>
|
256
|
+
<pre>
|
257
|
+
* lib/gettext.rb: Fixed to support anonymous classes/modules, again.
|
258
|
+
</pre>
|
259
|
+
<p>
|
260
|
+
2007-07-11 Masao Mutoh <mutoh@highway.ne.jp>
|
261
|
+
</p>
|
262
|
+
<pre>
|
263
|
+
* lib/gettext.rb: Support anonymous classes/modules.
|
264
|
+
Pointed out by Yaohan Chen.
|
265
|
+
* test/gettext_test.rb: Add test for anonmous classes/modules.
|
266
|
+
</pre>
|
267
|
+
<p>
|
268
|
+
2007-07-08 Masao Mutoh <mutoh@highway.ne.jp>
|
269
|
+
</p>
|
270
|
+
<pre>
|
271
|
+
* README, Rakefile: Add RDoc support.
|
272
|
+
</pre>
|
273
|
+
<p>
|
274
|
+
2007-07-06 Masao Mutoh <mutoh@highway.ne.jp>
|
275
|
+
</p>
|
276
|
+
<pre>
|
277
|
+
* lib/gettext/rails.rb: Add to support Action/Fragment caching.
|
278
|
+
* test/gettext_test_rails_caching.rb, test.sh: Added the test for caching.
|
279
|
+
* NEWS: Updated.
|
280
|
+
</pre>
|
281
|
+
<p>
|
282
|
+
2007-07-05 Masao Mutoh <mutoh@highway.ne.jp>
|
283
|
+
</p>
|
284
|
+
<pre>
|
285
|
+
* src/poparser.ry, lib/gettext/poparser.rb:
|
286
|
+
Fixed a bug of previous change.
|
287
|
+
</pre>
|
288
|
+
<p>
|
289
|
+
2007-07-04 Masao Mutoh <mutoh@highway.ne.jp>
|
290
|
+
</p>
|
291
|
+
<pre>
|
292
|
+
* NEWS: Updated.
|
293
|
+
* lib/gettext/version.rb: Increment minor version.
|
294
|
+
* lib/gettext/active_record.rb: Work with script/generate
|
295
|
+
scaffold_resource. Reported by Bart ten Brinke(Bug#8308)
|
296
|
+
* lib/gettext/utils.rb: On the Win32 default environment,
|
297
|
+
use "msgmerge" program provided by Ruby-GNOME2 Win32 Installer.
|
298
|
+
* lib/gettext/locale_win32.rb: Fix to find a charset from a locale.
|
299
|
+
</pre>
|
300
|
+
<p>
|
301
|
+
2007-07-03 Masao Mutoh <mutoh@highway.ne.jp>
|
302
|
+
</p>
|
303
|
+
<pre>
|
304
|
+
* lib/gettext/rails.rb:error_messages_for accept plural models.
|
305
|
+
Reported by Florian Hufsky.
|
306
|
+
Fixed set_error_message_title|explanation.
|
307
|
+
* test/rails/app/model/users.rb, test/rails/test/*: Add tests for
|
308
|
+
error_messages_for with plural models.
|
309
|
+
* lib/gettext/parser/active_record.rb:
|
310
|
+
remove to require 'application.rb' to avoid the effect
|
311
|
+
of application.rb when parse models. Pointed out by Michel Loiseleur.
|
312
|
+
* po/ca/rails.po: Updated by Ramon Salvadテウ.
|
313
|
+
* src/poparser.ry, lib/gettext/poparser.rb: Don't append
|
314
|
+
msgids/msgstrs if the msgstrs don't set.
|
315
|
+
* lib/gettext.rb, lib/gettext/parser/ruby.rb:
|
316
|
+
Added GetText.nsgettext, ns_. This method has n_ + s_ function.
|
317
|
+
(e.g.) ns_("File|A file", "%{num} files", i).
|
318
|
+
* test/test_nsgettext.rb, test/po/ja/test_nsgettext.po: Added for
|
319
|
+
the test ns_(), nsgettext.
|
320
|
+
* lib/gettext/rgettext.rb: Normalize msgids.
|
321
|
+
_("Foo") and n_("Foo", "Foos", i) become same msgid "Foo\000Foos".
|
322
|
+
This is the same behavior with xgettext.
|
323
|
+
Reported by Sava Chankov.
|
324
|
+
* lib/gettext/textdomain.rb: Follow above changes.
|
325
|
+
_("Foo") matches the single msgid of n_("Foo", "Foos", i).
|
326
|
+
</pre>
|
327
|
+
<p>
|
328
|
+
2007-06-29 Masao Mutoh <mutoh@highway.ne.jp>
|
329
|
+
</p>
|
330
|
+
<pre>
|
331
|
+
* lib/gettext.rb: Add GetText.cached=, .cached?, clear_cache.
|
332
|
+
messages are cached in default. If the value is false
|
333
|
+
or $DEBUG = true then messages are not cached.
|
334
|
+
_ and n_ become 1.2-1.9 times faster than older versions.
|
335
|
+
* lib/gettext/textdomain.rb, rails.rb: follow the changes
|
336
|
+
below.
|
337
|
+
</pre>
|
338
|
+
<p>
|
339
|
+
2007-06-28 Masao Mutoh <mutoh@highway.ne.jp>
|
340
|
+
</p>
|
341
|
+
<pre>
|
342
|
+
* README: Updated.
|
343
|
+
* po/vi/rails.po: Updated by Ngoc Dao.
|
344
|
+
* po/(zh|zh_TW)/rails.po: Updated by Yang Bob.
|
345
|
+
</pre>
|
346
|
+
<p>
|
347
|
+
2007-06-27 Masao Mutoh <mutoh@highway.ne.jp>
|
348
|
+
</p>
|
349
|
+
<pre>
|
350
|
+
* po/nl/rails.po: Updated by Menno Jonker
|
351
|
+
* po/(bs|hr)/rails.po: Updated by Sanjin Sehic.
|
352
|
+
* po/pt_BR/rails.po: Updated by Joao Pedrosa.
|
353
|
+
* po/eo/rails.po: Updated by Malte Milatz.
|
354
|
+
* po/de/rails.po: Updated by Patrick Lenz.
|
355
|
+
* po/fr/rgettext.po, rails.po: Updated by David Sulc.
|
356
|
+
* po/et/rails.po: Updated by Erkki Eilonen .
|
357
|
+
*
|
358
|
+
</pre>
|
359
|
+
<p>
|
360
|
+
2007-06-26 Masao Mutoh <mutoh@highway.ne.jp>
|
361
|
+
</p>
|
362
|
+
<pre>
|
363
|
+
* test/rails/*: Added tests for ActionMailer.
|
364
|
+
</pre>
|
365
|
+
<p>
|
366
|
+
2007-04-17 Masao Mutoh <mutoh@highway.ne.jp>
|
367
|
+
</p>
|
368
|
+
<pre>
|
369
|
+
* test/rails/* : Added tests for rails.
|
370
|
+
</pre>
|
371
|
+
<p>
|
372
|
+
2007-04-16 Masao Mutoh <mutoh@highway.ne.jp>
|
373
|
+
</p>
|
374
|
+
<pre>
|
375
|
+
* lib/gettext/rails.rb: TestRequest#cgi returns GetTextMockGGI, not CGI.
|
376
|
+
</pre>
|
377
|
+
<p>
|
378
|
+
2007-04-08 Masao Mutoh <mutoh@highway.ne.jp>
|
379
|
+
</p>
|
380
|
+
<pre>
|
381
|
+
* lib/gettext/active_record.rb: Work ActiveRecord::Base::Validation
|
382
|
+
with non ActiveRecord::Base object again. Reported by Maksim Bartenev.
|
383
|
+
* test/gettext_test_activerecord.rb: Add a test for the above change.
|
384
|
+
</pre>
|
385
|
+
<p>
|
386
|
+
2007-04-07 Masao Mutoh <mutoh@highway.ne.jp>
|
387
|
+
</p>
|
388
|
+
<pre>
|
389
|
+
* **/po/nb/*.po: Added nb locales by Runar Ingebrigtsen.
|
390
|
+
</pre>
|
391
|
+
<p>
|
392
|
+
2007-03-24 Masao Mutoh <mutoh@highway.ne.jp>
|
393
|
+
</p>
|
394
|
+
<pre>
|
395
|
+
* **/po/(bs|hr)/*.po: Added bs/hr locales by Sanjin Sehic.
|
396
|
+
</pre>
|
397
|
+
<p>
|
398
|
+
2007-03-23 Masao Mutoh <mutoh@highway.ne.jp>
|
399
|
+
</p>
|
400
|
+
<pre>
|
401
|
+
* **/po/vi/*.po: Added vi locale by Ngoc Dao.
|
402
|
+
</pre>
|
403
|
+
<p>
|
404
|
+
2007-02-11 Masao Mutoh <mutoh@highway.ne.jp>
|
405
|
+
</p>
|
406
|
+
<pre>
|
407
|
+
* lib/gettext/rails_compat.rb: Added for Rails-1.1.6.
|
408
|
+
(Works with both Rails-1.1.6 and 1.2.2)
|
409
|
+
</pre>
|
410
|
+
<p>
|
411
|
+
2007-02-09 Masao Mutoh <mutoh@highway.ne.jp>
|
412
|
+
</p>
|
413
|
+
<pre>
|
414
|
+
* po/nl/rails.po: Fixed wrong translations.
|
415
|
+
Reported by Bart ten Brinke [Bug #8449]
|
416
|
+
</pre>
|
417
|
+
<p>
|
418
|
+
2007-01-30 Masao Mutoh <mutoh@highway.ne.jp>
|
419
|
+
</p>
|
420
|
+
<pre>
|
421
|
+
* po/nl/rails.po: Fixed wrong translations.
|
422
|
+
Reported by Dirkjan Bussink
|
423
|
+
</pre>
|
424
|
+
<p>
|
425
|
+
2007-01-25 Masao Mutoh <mutoh@highway.ne.jp>
|
426
|
+
</p>
|
427
|
+
<pre>
|
428
|
+
* lib/gettext/active_record.rb: Fixed #columns again.
|
429
|
+
[Feature Requests #7428]
|
430
|
+
</pre>
|
431
|
+
<p>
|
432
|
+
2007-01-22 Masao Mutoh <mutoh@highway.ne.jp>
|
433
|
+
</p>
|
434
|
+
<pre>
|
435
|
+
* NEWS: Updated.
|
436
|
+
* lib/gettext/active_record.rb: Use alias_method_chain not to
|
437
|
+
override original methods directly(again). [Feature Requests #7428]
|
438
|
+
* test/gettext_test_parser.rb: Add tests for activerecord parser.
|
439
|
+
* lib/gettext/rails.rb: Require action_controller instead of activesupport
|
440
|
+
for Rails-1.2.1.
|
441
|
+
* po/el/*.po: Updated by Vassilis Rizopoulos.
|
442
|
+
* po/ja/rails.po: Fixed typos by NANKI Haruo.
|
443
|
+
</pre>
|
444
|
+
<p>
|
445
|
+
2007-01-16 Masao Mutoh <mutoh@highway.ne.jp>
|
446
|
+
</p>
|
447
|
+
<pre>
|
448
|
+
* lib/gettext/parser/active_record.rb: Don't duplicate "file:-".
|
449
|
+
</pre>
|
450
|
+
<p>
|
451
|
+
2007-01-14 Masao Mutoh <mutoh@highway.ne.jp>
|
452
|
+
</p>
|
453
|
+
<pre>
|
454
|
+
* lib/gettext/active_record.rb: Use alias_method_chain not to
|
455
|
+
override original methods directly. [Feature Requests #7428]
|
456
|
+
* test/gettext_test_active_record.rb: Update to work Rails-1.2RC2.
|
457
|
+
</pre>
|
458
|
+
<p>
|
459
|
+
2006-12-26 Masao Mutoh <mutoh@highway.ne.jp>
|
460
|
+
</p>
|
461
|
+
<pre>
|
462
|
+
* po/zh/*.po, po/zh_TW/*.po: Updated by Yang Bob.
|
463
|
+
</pre>
|
464
|
+
<p>
|
465
|
+
2006-12-22 Masao Mutoh <mutoh@highway.ne.jp>
|
466
|
+
</p>
|
467
|
+
<pre>
|
468
|
+
* samples/rails/po/eo/blog.po: Fixed some typos by Malte Milatz.
|
469
|
+
</pre>
|
470
|
+
<p>
|
471
|
+
2006-12-22 Masao Mutoh <mutoh@highway.ne.jp>
|
472
|
+
</p>
|
473
|
+
<pre>
|
474
|
+
* **/po/ca/*.po: Added ca(Catalan) locale by Ramon Salvad蝮ヲ.
|
475
|
+
</pre>
|
476
|
+
<p>
|
477
|
+
2006-12-17 Masao Mutoh <mutoh@highway.ne.jp>
|
478
|
+
</p>
|
479
|
+
<pre>
|
480
|
+
* po/cs/*.po: Updated by Karel Miarka.
|
481
|
+
* **/po/eo/*.po: Added eo(Esperanto) locale by Malte Milatz.
|
482
|
+
</pre>
|
483
|
+
<p>
|
484
|
+
2006-12-15 Masao Mutoh <mutoh@highway.ne.jp>
|
485
|
+
</p>
|
486
|
+
<pre>
|
487
|
+
* po/ko/*.po: Updated by Gyoung-Yoon Noh.
|
488
|
+
</pre>
|
489
|
+
<p>
|
490
|
+
2006-12-10 Masao Mutoh <mutoh@highway.ne.jp>
|
491
|
+
</p>
|
492
|
+
<pre>
|
493
|
+
* po/de/*.po: Updated by Patrick Lenz.
|
494
|
+
* po/nl/*.po: Updated by Menno Jonkers.
|
495
|
+
* po/es/*.po: Updated by David Espada.
|
496
|
+
</pre>
|
497
|
+
<p>
|
498
|
+
2006-12-09 Masao Mutoh <mutoh@highway.ne.jp>
|
499
|
+
</p>
|
500
|
+
<pre>
|
501
|
+
* po/pt_BR/*.po: Updated by Joao Pedrosa.
|
502
|
+
* po/ru/*.po: Updated by Yuri Kozlov.
|
503
|
+
* po/ja/*.po: Updated.
|
504
|
+
</pre>
|
505
|
+
<p>
|
506
|
+
2006-12-08 Masao Mutoh <mutoh@highway.ne.jp>
|
507
|
+
</p>
|
508
|
+
<pre>
|
509
|
+
* lib/gettext/rgettext.rb: Improve option messages.
|
510
|
+
</pre>
|
511
|
+
<p>
|
512
|
+
2006-12-07 Masao Mutoh <mutoh@highway.ne.jp>
|
513
|
+
</p>
|
514
|
+
<pre>
|
515
|
+
* lib/gettext/erb.rb: Removed the dependency to GetText::Container which was
|
516
|
+
deprecated.
|
517
|
+
</pre>
|
518
|
+
<p>
|
519
|
+
2006-12-05 Masao Mutoh <mutoh@highway.ne.jp>
|
520
|
+
</p>
|
521
|
+
<pre>
|
522
|
+
* lib/gettext/poparser.rb: Added.
|
523
|
+
</pre>
|
524
|
+
<p>
|
525
|
+
2006-12-03 Masao Mutoh <mutoh@highway.ne.jp>
|
526
|
+
</p>
|
527
|
+
<pre>
|
528
|
+
* lib/gettext.rb: Changed GetText.locale= to set not only current locale
|
529
|
+
to all Textdomains but also default locale.
|
530
|
+
* lib/gettext/locale.rb: Locale.set_default accept locale as String.
|
531
|
+
* test/gettext_test_active_record.rb: Update to test activerecord-1.14.4.6657.
|
532
|
+
</pre>
|
533
|
+
<p>
|
534
|
+
2006-12-02 Masao Mutoh <mutoh@highway.ne.jp>
|
535
|
+
</p>
|
536
|
+
<pre>
|
537
|
+
* lib/gettext/rails.rb: Unit test works on 1.2RC1. Reported by KAKUTANI Shintaro.
|
538
|
+
* lib/gettext.rb: Updates default locale when using GetText.set_locale_all
|
539
|
+
* po/**/rails.po[t]: Updated.
|
540
|
+
</pre>
|
541
|
+
<p>
|
542
|
+
2006-11-27 Masao Mutoh <mutoh@highway.ne.jp>
|
543
|
+
</p>
|
544
|
+
<pre>
|
545
|
+
* lib/gettext/rails.rb: Fix the deprecated accessing to instance variables
|
546
|
+
directly for rails 1.2RC1.
|
547
|
+
</pre>
|
548
|
+
<p>
|
549
|
+
2006-11-06 Masao Mutoh <mutoh@highway.ne.jp>
|
550
|
+
</p>
|
551
|
+
<pre>
|
552
|
+
* lib/gettext/utils.rb: Skip to create new po-files.
|
553
|
+
It avoids the po-files become empty when GNU msgmerge was failed.
|
554
|
+
By Fabian Kreutz.
|
555
|
+
</pre>
|
556
|
+
<p>
|
557
|
+
2006-10-21 Masao Mutoh <mutoh@highway.ne.jp>
|
558
|
+
</p>
|
559
|
+
<pre>
|
560
|
+
* po/fr/rails.po: Improved by David Sulc.
|
561
|
+
</pre>
|
562
|
+
<p>
|
563
|
+
2006-10-15 Masao Mutoh <mutoh@highway.ne.jp>
|
564
|
+
</p>
|
565
|
+
<pre>
|
566
|
+
* lib/gettext/parser/active_record.rb: Work updatepo task with rails_edge.
|
567
|
+
</pre>
|
568
|
+
<p>
|
569
|
+
2006-10-08 Masao Mutoh <mutoh@highway.ne.jp>
|
570
|
+
</p>
|
571
|
+
<pre>
|
572
|
+
* lib/gettext/parser/active_record.rb: Fixed an error using hbtm.
|
573
|
+
Reported by Mihnea Capraru.
|
574
|
+
</pre>
|
575
|
+
<p>
|
576
|
+
2006-10-04 Masao Mutoh <mutoh@highway.ne.jp>
|
577
|
+
</p>
|
578
|
+
<pre>
|
579
|
+
* README, lib/gettext/rgettext.rb: Changed the author e-mail address.
|
580
|
+
</pre>
|
581
|
+
<p>
|
582
|
+
2006-09-24 Masao Mutoh <mutoh@highway.ne.jp>
|
583
|
+
</p>
|
584
|
+
<pre>
|
585
|
+
* lib/gettext/active_record.rb: Re-fix to work rails_edge again.
|
586
|
+
Reported by Isak Hansen.
|
587
|
+
* po/pt_BR/rails.po: Updated by Antonio S. de A. Terceiro.
|
588
|
+
</pre>
|
589
|
+
<p>
|
590
|
+
2006-09-21 Masao Mutoh <mutoh@highway.ne.jp>
|
591
|
+
</p>
|
592
|
+
<pre>
|
593
|
+
* lib/gettext/rails.rb: Fixed a bug init_gettext can't accept
|
594
|
+
any options correctly and locale_path was set wrong value.
|
595
|
+
Reported by pedro palazon.
|
596
|
+
</pre>
|
597
|
+
<p>
|
598
|
+
2006-09-12 Masao Mutoh <mutoh@highway.ne.jp>
|
599
|
+
</p>
|
600
|
+
<pre>
|
601
|
+
* lib/gettext/textdomain.rb: Fixed a bug of add_default_locale_path.
|
602
|
+
* lib/gettext/parser/ruby.rb: Improve to output error messages.
|
603
|
+
</pre>
|
604
|
+
<p>
|
605
|
+
2006-09-11 Masao Mutoh <mutoh@highway.ne.jp>
|
606
|
+
</p>
|
607
|
+
<pre>
|
608
|
+
* lib/gettext/active_record.rb: Works rails_edge again.
|
609
|
+
Reported by Donald Piret. (http://dev.rubyonrails.org/ticket/5810)
|
610
|
+
</pre>
|
611
|
+
<p>
|
612
|
+
2006-09-07 Masao Mutoh <mutoh@highway.ne.jp>
|
613
|
+
</p>
|
614
|
+
<pre>
|
615
|
+
* lib/gettext/locale_cgi.rb, locale_object.rb: Speed up.
|
616
|
+
* lib/gettext.rb: Fixed to extract correct textdomains in each_textdomain.
|
617
|
+
</pre>
|
618
|
+
<p>
|
619
|
+
2006-09-05 Masao Mutoh <mutoh@highway.ne.jp>
|
620
|
+
</p>
|
621
|
+
<pre>
|
622
|
+
* README, NEWS: Updated.
|
623
|
+
</pre>
|
624
|
+
<p>
|
625
|
+
2006-09-04 Masao Mutoh <mutoh@highway.ne.jp>
|
626
|
+
</p>
|
627
|
+
<pre>
|
628
|
+
* lib/gettext/rgettext.rb: Raise error when parsing was failed.
|
629
|
+
* lib/gettext.rb: GetText.locale= is the alias of GetText.set_locale_all instead
|
630
|
+
of GetText.set_locale.
|
631
|
+
* test/gettext_test_active_record.rb: Added tests.
|
632
|
+
* test/fixtures/*.rb: updated.
|
633
|
+
* test/po/active_record.pot, test/po/ja/active_record.po: updated.
|
634
|
+
</pre>
|
635
|
+
<p>
|
636
|
+
2006-09-01 Masao Mutoh <mutoh@highway.ne.jp>
|
637
|
+
</p>
|
638
|
+
<pre>
|
639
|
+
* test/gettext_test_active_record.rb: Added tests.
|
640
|
+
</pre>
|
641
|
+
<p>
|
642
|
+
2006-08-31 Masao Mutoh <mutoh@highway.ne.jp>
|
643
|
+
</p>
|
644
|
+
<pre>
|
645
|
+
* lib/gettext/active_record.rb: Fix the custom messages of validates_length_of
|
646
|
+
with :too_long, :too_short, :wrong_length.
|
647
|
+
</pre>
|
648
|
+
<p>
|
649
|
+
2006-08-30 Masao Mutoh <mutoh@highway.ne.jp>
|
650
|
+
</p>
|
651
|
+
<pre>
|
652
|
+
* test/Rakefile, test/db/*sql: Added.
|
653
|
+
</pre>
|
654
|
+
<p>
|
655
|
+
2006-08-29 Masao Mutoh <mutoh@highway.ne.jp>
|
656
|
+
</p>
|
657
|
+
<pre>
|
658
|
+
* test/gettext_test_active_record.rb, test/fixtures/*, test/po/active_record.pot,
|
659
|
+
test/po/ja/active_record.po: Added tests for ActiveRecord with GetText.
|
660
|
+
* lib/gettext/active_record.rb: Messages updated.
|
661
|
+
* po/*/rails.po[t]: ditto.
|
662
|
+
</pre>
|
663
|
+
<p>
|
664
|
+
2006-08-22 Masao Mutoh <mutoh@highway.ne.jp>
|
665
|
+
</p>
|
666
|
+
<pre>
|
667
|
+
* samples/rails/db/schema.rb: Added.
|
668
|
+
* samples/rails/db/*.sql: Removed. Use rake db:schema:load instead.
|
669
|
+
* samples/rails/README: Follow above changes.
|
670
|
+
* samples/rails/po/*: Updated.
|
671
|
+
* lib/gettext/active_record.rb: Fixed the problem of untranslate(_all).
|
672
|
+
Reported by Tsutomu Kuroda.
|
673
|
+
</pre>
|
674
|
+
<p>
|
675
|
+
2006-08-21 Masao Mutoh <mutoh@highway.ne.jp>
|
676
|
+
</p>
|
677
|
+
<pre>
|
678
|
+
* README: Updated.
|
679
|
+
* **/po/zh_TW/*.po: Added zh_TW locale by LIN CHUNG-YI.
|
680
|
+
</pre>
|
681
|
+
<p>
|
682
|
+
2006-08-18 Masao Mutoh <mutoh@highway.ne.jp>
|
683
|
+
</p>
|
684
|
+
<pre>
|
685
|
+
* lib/gettext/version.rb: Increment minor version.
|
686
|
+
* po/et/rails.po: Added Estonian by Erkki Eilonen.
|
687
|
+
* README: ditto.
|
688
|
+
* lib/gettext/rails.rb: Add ActionController::Base.(before|after)_init_gettext.
|
689
|
+
</pre>
|
690
|
+
<p>
|
691
|
+
2006-08-15 Masao Mutoh <mutoh@highway.ne.jp>
|
692
|
+
</p>
|
693
|
+
<pre>
|
694
|
+
* po/de/rails.po, rgettext.po: Updated by Partick Lenz.
|
695
|
+
</pre>
|
696
|
+
<p>
|
697
|
+
2006-08-13 Masao Mutoh <mutoh@highway.ne.jp>
|
698
|
+
</p>
|
699
|
+
<pre>
|
700
|
+
* lib/gettext/locale.rb: Add Locale.system_module.
|
701
|
+
* lib/gettext/rails.rb: Remove ActionController::Base.textdomainname
|
702
|
+
* lib/gettext.rb, lib/gettext/rails.rb, locale_cgi.rb,
|
703
|
+
locale_object.rb, string.rb:
|
704
|
+
Speed up. Improve CPU usages.
|
705
|
+
</pre>
|
706
|
+
<p>
|
707
|
+
2006-08-10 Masao Mutoh <mutoh@highway.ne.jp>
|
708
|
+
</p>
|
709
|
+
<pre>
|
710
|
+
* lib/gettext/parser/active_record.rb: Improved to find ActiveRecord class
|
711
|
+
by steve dp.
|
712
|
+
</pre>
|
713
|
+
<p>
|
714
|
+
2006-08-09 Masao Mutoh <mutoh@highway.ne.jp>
|
715
|
+
</p>
|
716
|
+
<pre>
|
717
|
+
* lib/gettext/rails.rb: Code clean up.
|
718
|
+
* lib/gettext.rb: Code clean up.
|
719
|
+
* lib/gettext/active_record.rb: Removed to call bindtextdomain in Validations.
|
720
|
+
It's called in bindtextdomain of init_gettext.
|
721
|
+
* lib/gettext/parser/active_record.rb: Rename from activerecord.rb.
|
722
|
+
</pre>
|
723
|
+
<p>
|
724
|
+
2006-08-08 Masao Mutoh <mutoh@highway.ne.jp>
|
725
|
+
</p>
|
726
|
+
<pre>
|
727
|
+
* lib/gettext/active_record.rb: Fixed on, error_messages_for.
|
728
|
+
by Andreas Neuhaus.
|
729
|
+
</pre>
|
730
|
+
<p>
|
731
|
+
2006-08-04 Masao Mutoh <mutoh@highway.ne.jp>
|
732
|
+
</p>
|
733
|
+
<pre>
|
734
|
+
* lib/gettext/rails.rb: Move bindtextdomain_to to lib/gettext.rb.
|
735
|
+
New overrideable callback methods (before|after)_init_gettext(cgi).
|
736
|
+
These methods is called on the each WWW request.
|
737
|
+
* lib/gettext.rb: Add bindtextdomain_to, textdomain_to.
|
738
|
+
* samples/rails/app/controllers/application.rb: Add a sample of
|
739
|
+
(before|after)_init_gettext(cgi).
|
740
|
+
</pre>
|
741
|
+
<p>
|
742
|
+
2006-07-29 Masao Mutoh <mutoh@highway.ne.jp>
|
743
|
+
</p>
|
744
|
+
<pre>
|
745
|
+
* lib/gettext/rgettext.rb: Added -r, -d options.
|
746
|
+
-r is to set an option parser. -d is for debugging mode.
|
747
|
+
(e.g.) $ rgettext -r fooparser test.foo
|
748
|
+
The idea is from Kobayashi Noritada.
|
749
|
+
Fix a trivial bug by Kobayashi Noritada.
|
750
|
+
</pre>
|
751
|
+
<p>
|
752
|
+
2006-07-25 Masao Mutoh <mutoh@highway.ne.jp>
|
753
|
+
</p>
|
754
|
+
<pre>
|
755
|
+
* lib/gettext/active_record.rb: Separate from rails.rb.
|
756
|
+
</pre>
|
757
|
+
<p>
|
758
|
+
2006-07-23 Masao Mutoh <mutoh@highway.ne.jp>
|
759
|
+
</p>
|
760
|
+
<pre>
|
761
|
+
* lib/gettext/rails.rb: init_gettext manages plural textdomains.
|
762
|
+
bindtextdomain binds a domainname to ActionMailer::Base and ActionView::Base.
|
763
|
+
</pre>
|
764
|
+
<p>
|
765
|
+
2006-07-22 Masao Mutoh <mutoh@highway.ne.jp>
|
766
|
+
</p>
|
767
|
+
<pre>
|
768
|
+
* lib/gettext/rails.rb: init_gettext finds the locale path with caller
|
769
|
+
not RAILS_ROOT now for supporting plugins which has app/controller directory
|
770
|
+
such as Rails Engines.
|
771
|
+
And init_gettext accepts :locale_path option to be able to set the locale
|
772
|
+
path manually.
|
773
|
+
* po/pt_BR/rails.po, rgettext.po: Updated by Joao Pedrosa.
|
774
|
+
</pre>
|
775
|
+
<p>
|
776
|
+
2006-07-17 Masao Mutoh <mutoh@highway.ne.jp>
|
777
|
+
</p>
|
778
|
+
<pre>
|
779
|
+
* lib/gettext/rails.rb: bind the textdomain same with ApplictionController
|
780
|
+
to the class which includes ActiveRecord::Validations.
|
781
|
+
</pre>
|
782
|
+
<p>
|
783
|
+
2006-07-16 Masao Mutoh <mutoh@highway.ne.jp>
|
784
|
+
</p>
|
785
|
+
<pre>
|
786
|
+
* lib/gettext/rails.rb: Code cleanup.
|
787
|
+
ActiveRecord::Base.set_error_message_(title|explanation) have been deprecated.
|
788
|
+
Use ActionView::Helpers::ActiveRecordHelper::L10n.set_error_message_(title|explanation)
|
789
|
+
instead. Suggested by Kouhei Sutou
|
790
|
+
* po/zh/rails.po, rgettext.po: Updated by Yingfeng.
|
791
|
+
* NEWS: Updated.
|
792
|
+
</pre>
|
793
|
+
<p>
|
794
|
+
2006-07-15 Masao Mutoh <mutoh@highway.ne.jp>
|
795
|
+
</p>
|
796
|
+
<pre>
|
797
|
+
* lib/gettext/rails.rb: Localize ActiveRecord::Errors#on.
|
798
|
+
Now error_message_on is localized.
|
799
|
+
Reported by kdmsnr.
|
800
|
+
</pre>
|
801
|
+
<p>
|
802
|
+
2006-07-14 Masao Mutoh <mutoh@highway.ne.jp>
|
803
|
+
</p>
|
804
|
+
<pre>
|
805
|
+
* lib/gettext/parser/activerecord.rb: Add "untranslate" feature.
|
806
|
+
* lib/gettext/rails.rb: ditto. Add ActiveRecord::Base.untranslate
|
807
|
+
.untranslate_all, .unstranslate?
|
808
|
+
The idea is from Gyoung-Yoon Noh.
|
809
|
+
</pre>
|
810
|
+
<p>
|
811
|
+
2006-07-13 Masao Mutoh <mutoh@highway.ne.jp>
|
812
|
+
</p>
|
813
|
+
<pre>
|
814
|
+
* po/nl/rails.po, rgettext.po: Updated by Menno Jonkers.
|
815
|
+
* lib/gettext/rails.rb: Support ActiveRecord::Migration.
|
816
|
+
Suggested by OZAWA Sakuro.
|
817
|
+
</pre>
|
818
|
+
<p>
|
819
|
+
2006-07-12 Masao Mutoh <mutoh@highway.ne.jp>
|
820
|
+
</p>
|
821
|
+
<pre>
|
822
|
+
* po/ko/rails.po, rgettext.po: Updated by Gyoung-Yoon Noh.
|
823
|
+
</pre>
|
824
|
+
<p>
|
825
|
+
2006-07-11 Masao Mutoh <mutoh@highway.ne.jp>
|
826
|
+
</p>
|
827
|
+
<pre>
|
828
|
+
* po/ru/rails.po, rgettext.po: Updated by Yuri Kozlov.
|
829
|
+
* po/fr/rails.po, rgettext.po: Updated by Laurent Sansonetti.
|
830
|
+
* po/cs/rails.po, rgettext.po: Updated by Karel Miarka.
|
831
|
+
</pre>
|
832
|
+
<p>
|
833
|
+
2006-07-09 Masao Mutoh <mutoh@highway.ne.jp>
|
834
|
+
</p>
|
835
|
+
<pre>
|
836
|
+
* po/es/rails.po, rgettext.po: Updated by David Espada.
|
837
|
+
* lib/gettext/rails.rb: Increment minor version.
|
838
|
+
* README: Updated.
|
839
|
+
</pre>
|
840
|
+
<p>
|
841
|
+
2006-06-14 Masao Mutoh <mutoh@highway.ne.jp>
|
842
|
+
</p>
|
843
|
+
<pre>
|
844
|
+
* lib/gettext/rails.rb: Fix a problem N_() isn't found in
|
845
|
+
ActiveRecord. Reported by arton.
|
846
|
+
</pre>
|
847
|
+
<p>
|
848
|
+
2006-06-12 Masao Mutoh <mutoh@highway.ne.jp>
|
849
|
+
</p>
|
850
|
+
<pre>
|
851
|
+
* lib/gettext/parser/glade.rb: Show error message correctly.
|
852
|
+
* Rakefile: Added src/poparse.ry as the target for updatepo.
|
853
|
+
* po/rgettext.pot, po/*/rgettext.po: Updated.
|
854
|
+
</pre>
|
855
|
+
<p>
|
856
|
+
2006-06-11 Masao Mutoh <mutoh@highway.ne.jp>
|
857
|
+
</p>
|
858
|
+
<pre>
|
859
|
+
* lib/gettext/parser/ruby.rb: Fixed to extract duplicated messages when "\n"
|
860
|
+
was used in msgid.
|
861
|
+
* lib/gettext/rails.rb, po/rails.pot, po/*/rails.po: Localize
|
862
|
+
ActionView::Helpers::DateHelper.distance_of_time_in_words.
|
863
|
+
* lib/gettext.rb: Added GetText.current_textdomain_info for debuging.
|
864
|
+
* lib/gettext/textdomain.rb: Break if the first mo-file found.
|
865
|
+
* lib/gettext/mo.rb: Added to accessor(r) to filename.
|
866
|
+
</pre>
|
867
|
+
<p>
|
868
|
+
2006-06-09 Masao Mutoh <mutoh@highway.ne.jp>
|
869
|
+
</p>
|
870
|
+
<pre>
|
871
|
+
* samples/*.rb, samples/po/*: Code cleanup 2.
|
872
|
+
</pre>
|
873
|
+
<p>
|
874
|
+
2006-06-08 Masao Mutoh <mutoh@highway.ne.jp>
|
875
|
+
</p>
|
876
|
+
<pre>
|
877
|
+
* lib/gettext/version.rb: Increment minor version.
|
878
|
+
* lib/gettext/locale_posix.rb: Code cleanup.
|
879
|
+
* test/testlib5.rb: Added.
|
880
|
+
</pre>
|
881
|
+
<p>
|
882
|
+
2006-06-07 Masao Mutoh <mutoh@highway.ne.jp>
|
883
|
+
</p>
|
884
|
+
<pre>
|
885
|
+
* lib/gettext.rb: GetText.set_locale accept 2nd parameter.
|
886
|
+
* test/testlib6.rb, test/po/{ja|fr}/test6.po: Added previous test.
|
887
|
+
* samples/*.rb, samples/po/*: Code cleanup.
|
888
|
+
</pre>
|
889
|
+
<p>
|
890
|
+
2006-06-05 Masao Mutoh <mutoh@highway.ne.jp>
|
891
|
+
</p>
|
892
|
+
<pre>
|
893
|
+
* samples/hello.rb: Code cleanup.
|
894
|
+
* lib/gettext/rgettext.rb: Show ruby version with -v option.
|
895
|
+
* lib/gettext/rmsgfmt.rb: ditto.
|
896
|
+
* lib/gettext/rmsgmerge.rb: ditto.
|
897
|
+
</pre>
|
898
|
+
<p>
|
899
|
+
2006-06-04 Masao Mutoh <mutoh@highway.ne.jp>
|
900
|
+
</p>
|
901
|
+
<pre>
|
902
|
+
* lib/gettext.rb: Fixed a bug when options is set nil.
|
903
|
+
* lib/gettext/locale_posix.rb: Fixed the search order of environment
|
904
|
+
variables. Reported by markus koller.
|
905
|
+
* ext/gettext/locale_system.c: Returns nil if locale is not set.
|
906
|
+
* Rakefile: Added makemo task for samples/rails/vendor/plugins/gettext/po.
|
907
|
+
* test/gettext_test_multi_textdomain.rb: Added.
|
908
|
+
</pre>
|
909
|
+
<p>
|
910
|
+
2006-05-31 Masao Mutoh <mutoh@highway.ne.jp>
|
911
|
+
</p>
|
912
|
+
<pre>
|
913
|
+
* samples/rails/vendor/plugins/gettext/lib/gettext_plugin.rb: Rewrite
|
914
|
+
to support new bindtextdomain.
|
915
|
+
* samples/rails/vendor/plugins/gettext/{po|locale}/*: Move gettext_plugin.{po|mo}
|
916
|
+
from samples/rails/{po|locale}/*. Now Rails plugins can release their po/mo-files
|
917
|
+
under their own directory(/vendor/plugins/plugindir/{po|locale}).
|
918
|
+
* samples/rails/vendor/plugins/gettext/Rakefile, README: Added.
|
919
|
+
* samples/rails/lib/tasks/gettext.rake. Move gettext_plugin target to
|
920
|
+
/vendor/plugins/gettext/Rakefile.
|
921
|
+
* samples/rails/README: Updated.
|
922
|
+
</pre>
|
923
|
+
<p>
|
924
|
+
2006-05-30 Masao Mutoh <mutoh@highway.ne.jp>
|
925
|
+
</p>
|
926
|
+
<pre>
|
927
|
+
* lib/gettext.rb: The scope of a textdomain becomes a class/module base
|
928
|
+
instead of a file base.
|
929
|
+
Accept plural textdomains in a class/module.
|
930
|
+
Changed bindtextdomain arguments with backward compatibility.
|
931
|
+
* lib/gettext/textdomainmanager.rb: Added for manage plural textdomains.
|
932
|
+
* lib/gettext/textdomain.rb: Fix wrong DEFAULT_LOCALE_PATHS if ruby is
|
933
|
+
installed non-standard path.
|
934
|
+
* lib/gettext/rails.rb: Changed arguments of bindtextdomain, init_gettext
|
935
|
+
with backward compatibility.
|
936
|
+
</pre>
|
937
|
+
<p>
|
938
|
+
2006-05-29 Masao Mutoh <mutoh@highway.ne.jp>
|
939
|
+
</p>
|
940
|
+
<pre>
|
941
|
+
* lib/gettext/rails.rb:
|
942
|
+
Remove GetText::Rails.use_localized_templates.
|
943
|
+
</pre>
|
944
|
+
<p>
|
945
|
+
2006-05-24 Masao Mutoh <mutoh@highway.ne.jp>
|
946
|
+
</p>
|
947
|
+
<pre>
|
948
|
+
* lib/gettext/locale_win32.rb: Fix to work with environment
|
949
|
+
variables.
|
950
|
+
</pre>
|
951
|
+
<p>
|
952
|
+
2006-05-22 Masao Mutoh <mutoh@highway.ne.jp>
|
953
|
+
</p>
|
954
|
+
<pre>
|
955
|
+
* lib/gettext.rb, lib/gettext/textdomain.rb: Keep a textdomain
|
956
|
+
per a class instead of per a file.
|
957
|
+
</pre>
|
958
|
+
<p>
|
959
|
+
2006-05-21 Masao Mutoh <mutoh@highway.ne.jp>
|
960
|
+
</p>
|
961
|
+
<pre>
|
962
|
+
* lib/gettext/rails.rb: Problem when ActionMailer isn't defined.
|
963
|
+
Reported by Gudao Luo.
|
964
|
+
</pre>
|
965
|
+
<p>
|
966
|
+
2006-05-20 Masao Mutoh <mutoh@highway.ne.jp>
|
967
|
+
</p>
|
968
|
+
<pre>
|
969
|
+
* lib/gettext/mo.rb: Improved to compare the file time stamps.
|
970
|
+
by Nobu Nakada.
|
971
|
+
</pre>
|
972
|
+
<p>
|
973
|
+
2006-05-18 Masao Mutoh <mutoh@highway.ne.jp>
|
974
|
+
</p>
|
975
|
+
<pre>
|
976
|
+
* lib/gettext/mo.rb: Fix MOFile#update! works on MS Windows.
|
977
|
+
* po/it/rails.po, samples/rails/po/it/*.po: Added by Marco Lazzeri.
|
978
|
+
</pre>
|
979
|
+
<p>
|
980
|
+
2006-05-16 Masao Mutoh <mutoh@highway.ne.jp>
|
981
|
+
</p>
|
982
|
+
<pre>
|
983
|
+
* Rakefile: Remove dependency - makemo => poparser.
|
984
|
+
Reported by Marco Lazzeri.
|
985
|
+
</pre>
|
986
|
+
<p>
|
987
|
+
2006-05-14 Masao Mutoh <mutoh@highway.ne.jp>
|
988
|
+
</p>
|
989
|
+
<pre>
|
990
|
+
* README: Updated.
|
991
|
+
* **/po/zh/*.po: Added zh_CN locale by Yingfeng.
|
992
|
+
* pre-setup.rb: Remove to call "rails setup" now needless.
|
993
|
+
Reported by Hiroyuki Iwatsuki.
|
994
|
+
</pre>
|
995
|
+
<p>
|
996
|
+
2006-05-11 Masao Mutoh <mutoh@highway.ne.jp>
|
997
|
+
</p>
|
998
|
+
<pre>
|
999
|
+
* Rakefile: Make samples/rails/log if it's not exisited in
|
1000
|
+
makemo task.
|
1001
|
+
* lib/gettext/parser/activerecord.rb: Fixed to work
|
1002
|
+
Gem-less environment.
|
1003
|
+
Reported by Nobuhiro IMAI.
|
1004
|
+
</pre>
|
1005
|
+
<p>
|
1006
|
+
2006-05-10 Masao Mutoh <mutoh@highway.ne.jp>
|
1007
|
+
</p>
|
1008
|
+
<pre>
|
1009
|
+
* lib/gettext/rails.rb: Fixed custom messages was not
|
1010
|
+
translated of validation_length_of.
|
1011
|
+
Reported by babie, charlie.
|
1012
|
+
* po/ja/rails.po: Separate plural/single messages.
|
1013
|
+
</pre>
|
1014
|
+
<p>
|
1015
|
+
2006-05-07 Masao Mutoh <mutoh@highway.ne.jp>
|
1016
|
+
</p>
|
1017
|
+
<pre>
|
1018
|
+
* lib/gettext/version.rb: Increment revision number.
|
1019
|
+
* NEWS: Updated.
|
1020
|
+
</pre>
|
1021
|
+
<p>
|
1022
|
+
2006-05-06 Masao Mutoh <mutoh@highway.ne.jp>
|
1023
|
+
</p>
|
1024
|
+
<pre>
|
1025
|
+
* lib/gettext/rails.rb: error_messages_for works same as
|
1026
|
+
actionpack-1.12.1 when nil or symbol are given as @object_name.
|
1027
|
+
By arton.
|
1028
|
+
* test/gettext_test_rails.rb: Works again.
|
1029
|
+
</pre>
|
1030
|
+
<p>
|
1031
|
+
2006-05-05 Masao Mutoh <mutoh@highway.ne.jp>
|
1032
|
+
</p>
|
1033
|
+
<pre>
|
1034
|
+
* lib/gettext/parser/activerecord.rb: Fixed again.
|
1035
|
+
</pre>
|
1036
|
+
<p>
|
1037
|
+
2006-05-04 Masao Mutoh <mutoh@highway.ne.jp>
|
1038
|
+
</p>
|
1039
|
+
<pre>
|
1040
|
+
* lib/gettext/parser/activerecord.rb: Fixed "duplicate message definition"
|
1041
|
+
error in rake updatepo task using ActiveRecord::Base.set_table_name.
|
1042
|
+
Reported by Karel Miarka.
|
1043
|
+
</pre>
|
1044
|
+
<p>
|
1045
|
+
2006-05-02 Masao Mutoh <mutoh@highway.ne.jp>
|
1046
|
+
</p>
|
1047
|
+
<pre>
|
1048
|
+
* lib/gettext/rails.rb: Fixed an abort when Rails::Info isn't
|
1049
|
+
required like as Typo. Reported by Masayoshi Takahashi.
|
1050
|
+
</pre>
|
1051
|
+
<p>
|
1052
|
+
2006-04-30 Masao Mutoh <mutoh@highway.ne.jp>
|
1053
|
+
</p>
|
1054
|
+
<pre>
|
1055
|
+
* lib/gettext/textdomain.rb: Added GetText::TextDomain#check_mo=,
|
1056
|
+
#check_mo?. When the value is true, check the MOFile and if it's
|
1057
|
+
updated, reload MOFile again. This is usefule for development
|
1058
|
+
time.
|
1059
|
+
* lib/gettext/rails.rb: When development mode, check mo files
|
1060
|
+
and reload it if it's updated.
|
1061
|
+
* lib/gettext/mo.rb: Added MOFile#update!.
|
1062
|
+
* lib/gettext/string.rb: String#% doesn't raise ArgumentError
|
1063
|
+
when execute ruby with -d option.
|
1064
|
+
</pre>
|
1065
|
+
<p>
|
1066
|
+
2006-04-21 Masao Mutoh <mutoh@highway.ne.jp>
|
1067
|
+
</p>
|
1068
|
+
<pre>
|
1069
|
+
* samples/po/ru/*.po, samples/cgi/po/ru/*.po,
|
1070
|
+
samples/rails/po/ru/*.po, po/rgettext.po,
|
1071
|
+
rails.po: Added Russian locale by Yuri Kozlov.
|
1072
|
+
* README: Revised.
|
1073
|
+
</pre>
|
1074
|
+
<p>
|
1075
|
+
2006-04-15 Masao Mutoh <mutoh@highway.ne.jp>
|
1076
|
+
</p>
|
1077
|
+
<pre>
|
1078
|
+
* NEWS: Updated.
|
1079
|
+
* lib/gettext/version.rb: Increment minor version.
|
1080
|
+
* test/gettext_test_rails.rb: Works with Rails-1.1.2.
|
1081
|
+
* test/gettext_test_locale.rb: Works on OpenBSD 3.8.
|
1082
|
+
* ext/gettext/locale_system.c: Set nil instead of "UTF-8"
|
1083
|
+
when nl_langinfo is not found.
|
1084
|
+
* samples/rails/README: Updated.
|
1085
|
+
</pre>
|
1086
|
+
<p>
|
1087
|
+
2006-04-05 Masao Mutoh <mutoh@highway.ne.jp>
|
1088
|
+
</p>
|
1089
|
+
<pre>
|
1090
|
+
* ext/gettext/locale_system.c: Fix compilation problem
|
1091
|
+
when /usr/include/langinfo.h doesn't have CODESET such as OpenBSD.
|
1092
|
+
You may need to set OUTPUT_CHARSET to ENV variable in such
|
1093
|
+
environment.
|
1094
|
+
Reported by Johan Allard.
|
1095
|
+
</pre>
|
1096
|
+
<p>
|
1097
|
+
2006-03-25 Masao Mutoh <mutoh@highway.ne.jp>
|
1098
|
+
</p>
|
1099
|
+
<pre>
|
1100
|
+
* lib/gettext/rails.rb: Revised docs.
|
1101
|
+
</pre>
|
1102
|
+
<p>
|
1103
|
+
2006-03-24 Masao Mutoh <mutoh@highway.ne.jp>
|
1104
|
+
</p>
|
1105
|
+
<pre>
|
1106
|
+
* lib/gettext/rails.rb: Support ActionWebService.
|
1107
|
+
Reported by Nick Snels.
|
1108
|
+
</pre>
|
1109
|
+
<p>
|
1110
|
+
2006-03-19 Masao Mutoh <mutoh@highway.ne.jp>
|
1111
|
+
</p>
|
1112
|
+
<pre>
|
1113
|
+
* lib/gettext/rails.rb: Improve multipart-mail in ja locale by Nobuhiro IMAI.
|
1114
|
+
</pre>
|
1115
|
+
<p>
|
1116
|
+
2006-03-16 Masao Mutoh <mutoh@highway.ne.jp>
|
1117
|
+
</p>
|
1118
|
+
<pre>
|
1119
|
+
* lib/gettext/rails.rb: ActiveMailer works with multipart-mail in ja locale.
|
1120
|
+
Reported by Nobuhiro IMAI.
|
1121
|
+
* lib/gettext/textdomain.rb: GetText::TextDomain.gettext returns "" when
|
1122
|
+
arg is "" or nil.
|
1123
|
+
* lib/gettext.rb, locale.rb: Fix the problem to switch the locale again.
|
1124
|
+
* test/gettext_test.rb: Add the test for above problem.
|
1125
|
+
* test/gettext_test_rails.rb: Added, too.
|
1126
|
+
* test/test.sh: ditto.
|
1127
|
+
</pre>
|
1128
|
+
<p>
|
1129
|
+
2006-03-12 Masao Mutoh <mutoh@highway.ne.jp>
|
1130
|
+
</p>
|
1131
|
+
<pre>
|
1132
|
+
* lib/gettext.rb: GetText.locale= reset Locale's default locale.
|
1133
|
+
Reported by Donald Piret.
|
1134
|
+
</pre>
|
1135
|
+
<p>
|
1136
|
+
2006-03-11 Masao Mutoh <mutoh@highway.ne.jp>
|
1137
|
+
</p>
|
1138
|
+
<pre>
|
1139
|
+
* lib/gettext/rails.rb: ActiveRecord::Column.human_name translates
|
1140
|
+
the column name using s_("Model|fieldname").
|
1141
|
+
Pointed out by Kazuhiro NISHIYAMA.
|
1142
|
+
* samples/rails/lib/tasks/gettext.rake: Move from Rakefile.
|
1143
|
+
Pointed out by Kazuhiro NISHIYAMA.
|
1144
|
+
* samples/rails/Rakefile: Move gettext tasks to lib/tasks/gettext.rake.
|
1145
|
+
* samples/rails/*: Updates files to which generated with rails 1.0.
|
1146
|
+
* NEWS: Updated.
|
1147
|
+
</pre>
|
1148
|
+
<p>
|
1149
|
+
2006-03-10 Masao Mutoh <mutoh@highway.ne.jp>
|
1150
|
+
</p>
|
1151
|
+
<pre>
|
1152
|
+
* lib/gettext/rails.rb: Localized ActiveRecord::Base.validates_* works correctly
|
1153
|
+
under production mode.
|
1154
|
+
Reported by Nickolay Kolev.
|
1155
|
+
ActionView::Base#render_file supports localized template such as
|
1156
|
+
foo_ja.rhml, foo_ja_JP.rhtml. Revert Action::Controller::Base#render.
|
1157
|
+
* NEWS: follow this change.
|
1158
|
+
</pre>
|
1159
|
+
<p>
|
1160
|
+
2006-03-09 Masao Mutoh <mutoh@highway.ne.jp>
|
1161
|
+
</p>
|
1162
|
+
<pre>
|
1163
|
+
* lib/gettext/rails.rb: ActiveRecord::Base.error_message_(title|explanation)
|
1164
|
+
works production mode.
|
1165
|
+
</pre>
|
1166
|
+
<p>
|
1167
|
+
2006-03-08 Masao Mutoh <mutoh@highway.ne.jp>
|
1168
|
+
</p>
|
1169
|
+
<pre>
|
1170
|
+
* NEWS: Updated.
|
1171
|
+
* lib/gettext/rails.rb: Fix a problem of ActionMailer in "ja".
|
1172
|
+
* lib/gettext/version.rb: Incremented version number.
|
1173
|
+
</pre>
|
1174
|
+
<p>
|
1175
|
+
2006-03-04 Masao Mutoh <mutoh@highway.ne.jp>
|
1176
|
+
</p>
|
1177
|
+
<pre>
|
1178
|
+
* lib/gettext/rails.rb: @params["lang"] is treated as cgi["lang"].
|
1179
|
+
Reported by Erkki Eilonen.
|
1180
|
+
</pre>
|
1181
|
+
<p>
|
1182
|
+
2006-03-03 Masao Mutoh <mutoh@highway.ne.jp>
|
1183
|
+
</p>
|
1184
|
+
<pre>
|
1185
|
+
* lib/gettext/locale_cgi.rb: Remove debug code.
|
1186
|
+
* lib/gettext/locale_object.rb:
|
1187
|
+
- Fix a memory leak. Reported by Jonas Schwertfeger.
|
1188
|
+
- Locale::Object.parser improved.
|
1189
|
+
- Rename Locale::Object#sort_order to #variant.
|
1190
|
+
- "POSIX" and "C" locale strings are converted to "en".
|
1191
|
+
- Add Locale::Object#to_general.
|
1192
|
+
* test/gettext_test_locale.rb: Add tests follow the changes.
|
1193
|
+
* lib/gettext/rails.rb:
|
1194
|
+
- ActionMailer sends a mail
|
1195
|
+
- in ISO-2022-JP if the language is japanese. The idea from
|
1196
|
+
Iso2022Mailer by drawnboy.
|
1197
|
+
- ActionController::Base.render_text is overrided to find
|
1198
|
+
localized templates such as foo_ja.rhml, foo_ja_JP.rhtml.
|
1199
|
+
You can reject this to set false to
|
1200
|
+
GetText::Rails.use_localized_templates.
|
1201
|
+
The idea is from Yugui.
|
1202
|
+
</pre>
|
1203
|
+
<p>
|
1204
|
+
2006-03-02 Masao Mutoh <mutoh@highway.ne.jp>
|
1205
|
+
</p>
|
1206
|
+
<pre>
|
1207
|
+
* samples/rails/app/models/article.rb: Add a sample of
|
1208
|
+
ActiveRecord::Base.set_error_message_(title|explanation).
|
1209
|
+
* lib/gettext/rails.rb: Fix a non-translated problem on production mode.
|
1210
|
+
ActionMailer supported by Albert Ramstedt.
|
1211
|
+
ActiveRecord::Base.set_error_message_(title|explanation) accepts Nn_()
|
1212
|
+
value(Array).
|
1213
|
+
</pre>
|
1214
|
+
<p>
|
1215
|
+
2006-02-25 Masao Mutoh <mutoh@highway.ne.jp>
|
1216
|
+
</p>
|
1217
|
+
<pre>
|
1218
|
+
* lib/gettext/locale.rb: Fix to return system value when @@default is unset.
|
1219
|
+
* lib/gettext/rails.rb: Fix a problem with Locale.default=.
|
1220
|
+
</pre>
|
1221
|
+
<p>
|
1222
|
+
2006-02-24 Masao Mutoh <mutoh@highway.ne.jp>
|
1223
|
+
</p>
|
1224
|
+
<pre>
|
1225
|
+
* lib/gettext.rb: Fix a typo.
|
1226
|
+
</pre>
|
1227
|
+
<p>
|
1228
|
+
2006-02-23 Masao Mutoh <mutoh@highway.ne.jp>
|
1229
|
+
</p>
|
1230
|
+
<pre>
|
1231
|
+
* Rakefile: Fix a problem to make package on Win32.
|
1232
|
+
* lib/gettext/textdomain.rb: Rename @mo to @current_mo
|
1233
|
+
and add a attr_reader for @current_mo.
|
1234
|
+
* README, NEWS: updated.
|
1235
|
+
* lib/gettext/rails.rb: Fix to translate error message
|
1236
|
+
title/explanation.
|
1237
|
+
* lib/gettext/parser/activerecord.rb: Fix an abort when
|
1238
|
+
config/database.xml is not defined.
|
1239
|
+
</pre>
|
1240
|
+
<p>
|
1241
|
+
2006-02-22 Masao Mutoh <mutoh@highway.ne.jp>
|
1242
|
+
</p>
|
1243
|
+
<pre>
|
1244
|
+
* lib/gettext/rmsgfmt.rb, string.rb, iconv.rb, utils.rb, rgettext.rb,
|
1245
|
+
lib/gettext/parser/*.rb: Apply RDoc.
|
1246
|
+
* lib/gettext/version.rb: Increment minor version.
|
1247
|
+
</pre>
|
1248
|
+
<p>
|
1249
|
+
2006-02-21 Masao Mutoh <mutoh@highway.ne.jp>
|
1250
|
+
</p>
|
1251
|
+
<pre>
|
1252
|
+
* test/test.bat: Added for Win32.
|
1253
|
+
* test/gettext_test_locale.rb: Added Win32 tests.
|
1254
|
+
* lib/gettext/locale_win32.rb: Fix problems.
|
1255
|
+
* lib/gettext/locale_object.rb: Added Locale::Object#to_win
|
1256
|
+
</pre>
|
1257
|
+
<p>
|
1258
|
+
2006-02-20 Masao Mutoh <mutoh@highway.ne.jp>
|
1259
|
+
</p>
|
1260
|
+
<pre>
|
1261
|
+
* src/poparser.ry: Added ignore_fuzzy as the 3rd parameter
|
1262
|
+
of GetText::PoParser#parse to parse fuzzy comments.
|
1263
|
+
Pointed out by speakillof.
|
1264
|
+
* lib/gettext/rmsgmerge.rb: Follow the PoParser change below.
|
1265
|
+
* test/gettext_test_locale.rb: Apply Locale.clear.
|
1266
|
+
* lib/gettext/locale.rb: Added Locale.clear.
|
1267
|
+
</pre>
|
1268
|
+
<p>
|
1269
|
+
2006-02-18 Masao Mutoh <mutoh@highway.ne.jp>
|
1270
|
+
</p>
|
1271
|
+
<pre>
|
1272
|
+
* lib/gettext/locale_cgi.rb: Separate from cgi.rb.
|
1273
|
+
* lib/gettext/locale_posix.rb: Rename from locale_default.rb.
|
1274
|
+
</pre>
|
1275
|
+
<p>
|
1276
|
+
2006-02-16 Masao Mutoh <mutoh@highway.ne.jp>
|
1277
|
+
</p>
|
1278
|
+
<pre>
|
1279
|
+
* lib/gettext/textdomain.rb: Add comments.
|
1280
|
+
* lib/gettext.rb: Apply Locale::Object. Code cleanup. Add RDoc.
|
1281
|
+
* test/gettext_test.rb: Apply gettext.rb changes
|
1282
|
+
* test/test.sh: Remove OUTPUT_CHARSET setting.
|
1283
|
+
</pre>
|
1284
|
+
<p>
|
1285
|
+
2006-02-15 Masao Mutoh <mutoh@highway.ne.jp>
|
1286
|
+
</p>
|
1287
|
+
<pre>
|
1288
|
+
* lib/gettext/locale_win32.rb, locale_default.rb, locale.rb: A first argument
|
1289
|
+
of Locale::System.get_charset becomes Locale::Object.
|
1290
|
+
* lib/gettext/textdomain.rb: Apply Locale::Object, Code cleanup.
|
1291
|
+
* lib/gettext.rb: Add GetText.add_default_locale_path.
|
1292
|
+
* lib/gettext/locale_object.rb: Add Locale::Object#==.
|
1293
|
+
* lib/gettext/textdomain.rb: Add GetText::TextDomain.add_default_locale_path.
|
1294
|
+
Pointed out at Bug#3510.
|
1295
|
+
</pre>
|
1296
|
+
<p>
|
1297
|
+
2006-02-14 Masao Mutoh <mutoh@highway.ne.jp>
|
1298
|
+
</p>
|
1299
|
+
<pre>
|
1300
|
+
* Rakefile: Fix compilation problems on mswin32.
|
1301
|
+
* ext/gettext/locale_system.c: locale_id returns language ID not LCID.
|
1302
|
+
</pre>
|
1303
|
+
<p>
|
1304
|
+
2006-02-13 Masao Mutoh <mutoh@highway.ne.jp>
|
1305
|
+
</p>
|
1306
|
+
<pre>
|
1307
|
+
* lib/gettext/locale_table_win32.rb: Replace the table and add charset info.
|
1308
|
+
* lib/gettext/locale_win32.rb: ditto.
|
1309
|
+
</pre>
|
1310
|
+
<p>
|
1311
|
+
2006-02-10 Masao Mutoh <mutoh@highway.ne.jp>
|
1312
|
+
</p>
|
1313
|
+
<pre>
|
1314
|
+
* lib/gettext/locale_object.rb: Add script, sort_order properties.
|
1315
|
+
</pre>
|
1316
|
+
<p>
|
1317
|
+
2006-02-09 Masao Mutoh <mutoh@highway.ne.jp>
|
1318
|
+
</p>
|
1319
|
+
<pre>
|
1320
|
+
* test/gettext_test_locale.rb: Added modifier test.
|
1321
|
+
* lib/gettext/locale_object.rb: Added to parse modifier.
|
1322
|
+
* lib/gettext/locale.rb: Fixed bug of Locale#set_current.
|
1323
|
+
* test/gettext_test_cgi.rb: Added tests.
|
1324
|
+
* lib/gettext/cgi.rb: Apply RDoc.
|
1325
|
+
* lib/gettext/locale_default.rb, locale.rb: Modify RDoc.
|
1326
|
+
* lib/gettext/locale_win32.rb: Imprement pseudo Locale::System.get_charset().
|
1327
|
+
</pre>
|
1328
|
+
<p>
|
1329
|
+
2006-02-07 Masao Mutoh <mutoh@highway.ne.jp>
|
1330
|
+
</p>
|
1331
|
+
<pre>
|
1332
|
+
* test/gettext_test_locale.rb: Added for new Locale.
|
1333
|
+
* lib/gettext/locale.rb: Refactored. Follow to support Locale::Object.
|
1334
|
+
Add Locale.set_default, .default=, .system, .default, .current,
|
1335
|
+
.set_current, .current=, .current_charset. Reimplemented .get/.set.
|
1336
|
+
Locale.set(loctype, localestr) is deprecated. Use Locale.set(localestr) instead.
|
1337
|
+
Locale.setlocale(loctype, localestr) is deprecated. Use Locale.set(localestr) instead.
|
1338
|
+
Locale.get(loctype) is deprecated. Use Locale.get instead.
|
1339
|
+
</pre>
|
1340
|
+
<p>
|
1341
|
+
2006-02-05 Masao Mutoh <mutoh@highway.ne.jp>
|
1342
|
+
</p>
|
1343
|
+
<pre>
|
1344
|
+
* test/test_rubyparser_n_.rb: Rename from test/test_rubyparser_n.rb.
|
1345
|
+
This has a problem on Windows with test/test_rubyparser_N.rb.
|
1346
|
+
</pre>
|
1347
|
+
<p>
|
1348
|
+
2006-02-04 Masao Mutoh <mutoh@highway.ne.jp>
|
1349
|
+
</p>
|
1350
|
+
<pre>
|
1351
|
+
* pre-setup.rb: Remove previous installed files first.
|
1352
|
+
* ext/gettext/gettext: Removed.
|
1353
|
+
* ext/gettext/locale_system.c: Added as Accessor to system(win32/posix).
|
1354
|
+
(Move from ext/gettext/gettext/_locale.c)
|
1355
|
+
* ext/gettext/extconf.rb: ditto.
|
1356
|
+
* lib/gettext/locale_default.rb: Follow above changes. Apply RDoc.
|
1357
|
+
* lib/gettext/locale_win32.rb: Follow above changes. Apply RDoc.
|
1358
|
+
* lib/gettext/locale.rb: Code cleanup. Apply RDoc.
|
1359
|
+
* lib/gettext/locale_object.rb: Added Locale::Object. Apply RDoc.
|
1360
|
+
* setup.rb: Update to 3.4.1.
|
1361
|
+
</pre>
|
1362
|
+
<p>
|
1363
|
+
2006-01-25 Masao Mutoh <mutoh@highway.ne.jp>
|
1364
|
+
</p>
|
1365
|
+
<pre>
|
1366
|
+
* lib/gettext/rmsgmerge.rb: Fixed bugs.
|
1367
|
+
Follow the comment messages to GNU GetText. By speakillof.
|
1368
|
+
</pre>
|
1369
|
+
<p>
|
1370
|
+
2006-01-20 Masao Mutoh <mutoh@highway.ne.jp>
|
1371
|
+
</p>
|
1372
|
+
<pre>
|
1373
|
+
* lib/gettext/rails.rb: Added ActiveRecord::Base#error_message_(title|explanation).
|
1374
|
+
Reimplement ActionView::Helpers::ActiveRecordHelper::L10n.error_messages_for to
|
1375
|
+
separate error_message_(title|explanation) to be able to be overrided by user.
|
1376
|
+
The idea is from Trung Tran.
|
1377
|
+
* samples/rails/app/models/article.rb: Add a sample of
|
1378
|
+
ActiveRecord::Base#error_message_(title|explanation).
|
1379
|
+
</pre>
|
1380
|
+
<p>
|
1381
|
+
2006-01-19 Masao Mutoh <mutoh@highway.ne.jp>
|
1382
|
+
</p>
|
1383
|
+
<pre>
|
1384
|
+
* lib/gettext.rb: n_() accepts first arguments as an Array([msgid, msgid_plural]).
|
1385
|
+
* test/gettext_test.rb: Add tests for n_(ary, n), Nn_().
|
1386
|
+
* lib/gettext/parser/ruby.rb: Added Nn_() is same purpose with N_, but for n_.
|
1387
|
+
* lib/gettext.rb: Added Nn_(msgid, msgid_plural).
|
1388
|
+
</pre>
|
1389
|
+
<p>
|
1390
|
+
2006-01-14 Masao Mutoh <mutoh@highway.ne.jp>
|
1391
|
+
</p>
|
1392
|
+
<pre>
|
1393
|
+
* samples/rails/po/*/blog.po: Updated.
|
1394
|
+
* NEWS: Updated.
|
1395
|
+
</pre>
|
1396
|
+
<p>
|
1397
|
+
2006-01-10 Masao Mutoh <mutoh@highway.ne.jp>
|
1398
|
+
</p>
|
1399
|
+
<pre>
|
1400
|
+
* lib/gettext/parser/activerecord.rb: Fixed to fail loading YAML file.
|
1401
|
+
By Karel Miarka.
|
1402
|
+
</pre>
|
1403
|
+
<p>
|
1404
|
+
2006-01-08 Masao Mutoh <mutoh@highway.ne.jp>
|
1405
|
+
</p>
|
1406
|
+
<pre>
|
1407
|
+
* *po/el/*.po: Convert to UTF-8. By damphyr.
|
1408
|
+
</pre>
|
1409
|
+
<p>
|
1410
|
+
2006-01-07 Masao Mutoh <mutoh@highway.ne.jp>
|
1411
|
+
</p>
|
1412
|
+
<pre>
|
1413
|
+
* test/gettext_test_parser.rb: Add test_rgettext_parse.
|
1414
|
+
* test/test_erb.rxml: Added.
|
1415
|
+
* lib/gettext/rails.rb: Added ActionController::TestRequest for testing.
|
1416
|
+
Reported by Nick Snels.
|
1417
|
+
* samples/rails/README: Added test information.
|
1418
|
+
* samples/rails/test/functional/blog_controller_test.rb: Implemented.
|
1419
|
+
* **/*po[t]: Revised headers.
|
1420
|
+
* samples/po/el/*.po, samples/cgi/po/el/*.po,
|
1421
|
+
samples/rails/po/el/*.po, po/el/rgettext.po,
|
1422
|
+
rails.po: Added Greek locale by damphyr.
|
1423
|
+
* README: Updated.
|
1424
|
+
* lib/gettext/version.rb: Increment micro version.
|
1425
|
+
</pre>
|
1426
|
+
<p>
|
1427
|
+
2006-01-02 Masao Mutoh <mutoh@highway.ne.jp>
|
1428
|
+
</p>
|
1429
|
+
<pre>
|
1430
|
+
* lib/gettext/parser/activerecord.rb: Fixed to read configuration
|
1431
|
+
correctly. Reported by Donald Piret.
|
1432
|
+
Prevent to output duplicate msgid. Reported by Nick Snels.
|
1433
|
+
</pre>
|
1434
|
+
<p>
|
1435
|
+
2005-12-31 Masao Mutoh <mutoh@highway.ne.jp>
|
1436
|
+
</p>
|
1437
|
+
<pre>
|
1438
|
+
* lib/gettext/rails.rb: Check @@gettext_domainname is set first
|
1439
|
+
to avoid set the wrong value to the Content-Type when init_gettext
|
1440
|
+
is not called. Pointed out by Kazuhiro NISHIYAMA.
|
1441
|
+
</pre>
|
1442
|
+
<p>
|
1443
|
+
2005-12-29 Masao Mutoh <mutoh@highway.ne.jp>
|
1444
|
+
</p>
|
1445
|
+
<pre>
|
1446
|
+
* lib/gettext/locale_win32.rb: Fixed a syntax error.
|
1447
|
+
* po/{it,sv}/rgettext.po: Updated.
|
1448
|
+
* samples/rails/po/ja/blog.po: Fixed a fuzzy message.
|
1449
|
+
* po/de/rgettext.po: Fixed a compilingproblem.
|
1450
|
+
* README, NEWS: Updated.
|
1451
|
+
* lib/gettext/rails.rb: Fix a problem when
|
1452
|
+
http://localhost:3000/rails_info/properties is called.
|
1453
|
+
Pointed out by Kazuhiro NISHIYAMA.
|
1454
|
+
* po/de/rails.po: Added by Sasa Ebach.
|
1455
|
+
* po/de/rgettext.po, samples/rails/po/de/*.po:
|
1456
|
+
Updated by Sasa Ebach.
|
1457
|
+
</pre>
|
1458
|
+
<p>
|
1459
|
+
2005-12-28 Masao Mutoh <mutoh@highway.ne.jp>
|
1460
|
+
</p>
|
1461
|
+
<pre>
|
1462
|
+
* NEWS: Updated.
|
1463
|
+
* README: Updated.
|
1464
|
+
* po/es/rails.po: Added by David Espada.
|
1465
|
+
* po/es/rgettext.po, samples/rails/po/es/*.po:
|
1466
|
+
Updated by David Espada.
|
1467
|
+
</pre>
|
1468
|
+
<p>
|
1469
|
+
2005-12-27 Masao Mutoh <mutoh@highway.ne.jp>
|
1470
|
+
</p>
|
1471
|
+
<pre>
|
1472
|
+
* test/gettext_test_string.rb: Add a test.
|
1473
|
+
</pre>
|
1474
|
+
<p>
|
1475
|
+
2005-12-26 Masao Mutoh <mutoh@highway.ne.jp>
|
1476
|
+
</p>
|
1477
|
+
<pre>
|
1478
|
+
* samples/rails/app/controllers/blog_controller.rb: Updated.
|
1479
|
+
</pre>
|
1480
|
+
<p>
|
1481
|
+
2005-12-25 Masao Mutoh <mutoh@highway.ne.jp>
|
1482
|
+
</p>
|
1483
|
+
<pre>
|
1484
|
+
* NEWS: Updated.
|
1485
|
+
* README: Updated.
|
1486
|
+
* lib/gettext/parser/activerecord.rb: Don't show the messages
|
1487
|
+
when ActiveRecord and its subclasses are not found.
|
1488
|
+
* po/ja/rgettext.po: Updated.
|
1489
|
+
</pre>
|
1490
|
+
<p>
|
1491
|
+
2005-12-24 Masao Mutoh <mutoh@highway.ne.jp>
|
1492
|
+
</p>
|
1493
|
+
<pre>
|
1494
|
+
* samples/po/nl/*.po, samples/cgi/po/nl/*.po,
|
1495
|
+
samples/rails/po/nl/*.po, po/nl/rgettext.po,
|
1496
|
+
rails.po: Added Dutch locale by Menno Jonkers.
|
1497
|
+
</pre>
|
1498
|
+
<p>
|
1499
|
+
2005-12-23 Masao Mutoh <mutoh@highway.ne.jp>
|
1500
|
+
</p>
|
1501
|
+
<pre>
|
1502
|
+
* README: Updated.
|
1503
|
+
* README.ja: Removed.
|
1504
|
+
* po/ko/rails.po: Added by Gyoung-Yoon Noh.
|
1505
|
+
* po/ko/rgettext.po, samples/po/ko/*.po, samples/cgi/po/ko/*.po,
|
1506
|
+
samples/rails/po/ko/*.po: Updated by Gyoung-Yoon Noh.
|
1507
|
+
* lib/gettext/textdomain.rb: Fixed a bug when mo-files are not found.
|
1508
|
+
* samples/rails/po/en/blog.po: Added for English.
|
1509
|
+
You can change the table names, field names of ActiveRecord even you use English.
|
1510
|
+
* lib/gettext/textdomain.rb: Code cleanup.
|
1511
|
+
* samples/rails/vendor/plugins/gettext/lib/gettext_plugin.rb: begin a new line
|
1512
|
+
each 6 language.
|
1513
|
+
* samples/rails/vendor/plugins/gettext/po/*: Update version info.
|
1514
|
+
</pre>
|
1515
|
+
<p>
|
1516
|
+
2005-12-21 Masao Mutoh <mutoh@highway.ne.jp>
|
1517
|
+
</p>
|
1518
|
+
<pre>
|
1519
|
+
* samples/rails/README: Updated.
|
1520
|
+
* lib/gettext/utils.rb: Added. GetText.update_pofiles.
|
1521
|
+
* Rakefile, samples/rails/Rakefile: Use GetText.update_pofiles.
|
1522
|
+
</pre>
|
1523
|
+
<p>
|
1524
|
+
2005-12-20 Masao Mutoh <mutoh@highway.ne.jp>
|
1525
|
+
</p>
|
1526
|
+
<pre>
|
1527
|
+
* lib/gettext/utils.rb: Added. Implement GetText.updatepo.
|
1528
|
+
* Rakefile:
|
1529
|
+
</pre>
|
1530
|
+
<p>
|
1531
|
+
2005-12-19 Masao Mutoh <mutoh@highway.ne.jp>
|
1532
|
+
</p>
|
1533
|
+
<pre>
|
1534
|
+
* samples/po/cs/*.po, samples/cgi/po/cs/*.po,
|
1535
|
+
samples/rails/po/cs/*.po, po/cs/rgettext.po,
|
1536
|
+
rails.po: Added Czech locale by Karel Miarka.
|
1537
|
+
</pre>
|
1538
|
+
<p>
|
1539
|
+
2005-12-18 Masao Mutoh <mutoh@highway.ne.jp>
|
1540
|
+
</p>
|
1541
|
+
<pre>
|
1542
|
+
* po/fr/rgettext.po, samples/cgi/po/fr/main.po:
|
1543
|
+
Updated by Laurent Sansonetti.
|
1544
|
+
* po/fr/rails.po: Added by Laurent Sansonetti.
|
1545
|
+
* po/pt_BR/rails.po, samples/cgi/po/pt_BR/*.po,
|
1546
|
+
samples/rails/po/pt_BR/*.po:
|
1547
|
+
Added by Joao Pedrosa.
|
1548
|
+
* po/pt_BR/rgettext.po, samples/po/pt_BR/*.po:
|
1549
|
+
Updated by Joao Pedrosa.
|
1550
|
+
</pre>
|
1551
|
+
<p>
|
1552
|
+
2005-12-17 Masao Mutoh <mutoh@highway.ne.jp>
|
1553
|
+
</p>
|
1554
|
+
<pre>
|
1555
|
+
* po/rails.pot, po/ja/rails.po: Added.
|
1556
|
+
* test/gettext_test_string.rb: Added.
|
1557
|
+
</pre>
|
1558
|
+
<p>
|
1559
|
+
2005-12-12 Masao Mutoh <mutoh@highway.ne.jp>
|
1560
|
+
</p>
|
1561
|
+
<pre>
|
1562
|
+
* samples/rails/Rakefile: Added "updatepo" task.
|
1563
|
+
* lib/gettext/parser/activerecord.rb: Added a parser for
|
1564
|
+
ActiveRecord.
|
1565
|
+
</pre>
|
1566
|
+
<p>
|
1567
|
+
2005-12-10 Masao Mutoh <mutoh@highway.ne.jp>
|
1568
|
+
</p>
|
1569
|
+
<pre>
|
1570
|
+
* lib/gettext/rails.rb: Added GetText information to
|
1571
|
+
Rails::Info.
|
1572
|
+
</pre>
|
1573
|
+
<p>
|
1574
|
+
2005-12-08 Masao Mutoh <mutoh@highway.ne.jp>
|
1575
|
+
</p>
|
1576
|
+
<pre>
|
1577
|
+
* test/gettext_test_cgi.rb: Added tests for Locale.normalize.
|
1578
|
+
* lib/gettext/cgi.rb: Fix a problem of Locale.normalize.
|
1579
|
+
</pre>
|
1580
|
+
<p>
|
1581
|
+
2005-12-07 Masao Mutoh <mutoh@highway.ne.jp>
|
1582
|
+
</p>
|
1583
|
+
<pre>
|
1584
|
+
* lib/gettext/cgi.rb: Separate Locale.normalize.
|
1585
|
+
</pre>
|
1586
|
+
<p>
|
1587
|
+
2005-12-06 Masao Mutoh <mutoh@highway.ne.jp>
|
1588
|
+
</p>
|
1589
|
+
<pre>
|
1590
|
+
* test/gettext_test.rb, test/po/{da,fr}/plural_error.po:
|
1591
|
+
Fix test_plural_format_invalid.
|
1592
|
+
</pre>
|
1593
|
+
<p>
|
1594
|
+
2005-12-05 Masao Mutoh <mutoh@highway.ne.jp>
|
1595
|
+
</p>
|
1596
|
+
<pre>
|
1597
|
+
* test/gettext_test.rb, test/po/*/plural.po: Fix test case.
|
1598
|
+
</pre>
|
1599
|
+
<p>
|
1600
|
+
2005-12-04 Masao Mutoh <mutoh@highway.ne.jp>
|
1601
|
+
</p>
|
1602
|
+
<pre>
|
1603
|
+
* samples/rails/vendor/plugins/gettext/lib/gettext_plugin.rb: Revised comments.
|
1604
|
+
</pre>
|
1605
|
+
<p>
|
1606
|
+
2005-12-01 Masao Mutoh <mutoh@highway.ne.jp>
|
1607
|
+
</p>
|
1608
|
+
<pre>
|
1609
|
+
* lib/gettext/rails.rb: Improved to support L10n for ActiveRecord::Errors.
|
1610
|
+
Improve ActionController::Base.init_gettext(_main).
|
1611
|
+
* samples/rails/app/controller/application.rb: Improved comments.
|
1612
|
+
* samples/rails/app/views/blog/_form.rhtml: Add information to validate.
|
1613
|
+
</pre>
|
1614
|
+
<p>
|
1615
|
+
2005-11-27 Masao Mutoh <mutoh@highway.ne.jp>
|
1616
|
+
</p>
|
1617
|
+
<pre>
|
1618
|
+
* lib/gettext/string.rb: Added. New syntax ":{foo} is bar." % {:foo => "foo"}
|
1619
|
+
is supported.
|
1620
|
+
* lib/gettext/rmsgmerge.rb: Added.
|
1621
|
+
* lib/gettext.rb, lib/gettext/textdomain.rb: Fix a bug of GetText.ngettext.
|
1622
|
+
</pre>
|
1623
|
+
<p>
|
1624
|
+
2005-11-25 Masao Mutoh <mutoh@highway.ne.jp>
|
1625
|
+
</p>
|
1626
|
+
<pre>
|
1627
|
+
* samples/rails/app/*: Rewrite for RoR 0.14.x.
|
1628
|
+
* lib/gettext/rails.rb: Added ActionController::Base.init_gettext.
|
1629
|
+
* samples/rails/app/controllers/application.rb: ditto.
|
1630
|
+
</pre>
|
1631
|
+
<p>
|
1632
|
+
2005-11-23 Masao Mutoh <mutoh@highway.ne.jp>
|
1633
|
+
</p>
|
1634
|
+
<pre>
|
1635
|
+
* samples/rails/app/controllers/application.rb: Use
|
1636
|
+
GetText.output_charset to set the Content-Type.
|
1637
|
+
* lib/gettext/rails.rb: Call bindtextdomain in models(ActiveRecord)
|
1638
|
+
when bindtextdomain is called in before_filter of ActionController.
|
1639
|
+
Inspired from Simon Santoro.
|
1640
|
+
* samples/rails/app/models/article.rb: Added to validate description
|
1641
|
+
with localized message.
|
1642
|
+
</pre>
|
1643
|
+
<p>
|
1644
|
+
2005-10-22 Masao Mutoh <mutoh@highway.ne.jp>
|
1645
|
+
</p>
|
1646
|
+
<pre>
|
1647
|
+
* po/*: Merge rmsgfmt to rgettext.
|
1648
|
+
* po/**/rmsgfmt.po[t]: Removed(merge to rgettext.po[t]).
|
1649
|
+
* lib/gettext/rmsgmerge.rb: Added by speakillof.
|
1650
|
+
* bin/rmsgmerge: Added.
|
1651
|
+
* src/poparser.ry: Renamed rmsgfmt.ry to poparser.ry.
|
1652
|
+
* lib/gettext/rmsgfmt.rb: Added. Separate code from rmsgfmt.ry.
|
1653
|
+
* Rakefile: Check racc is existed or not.
|
1654
|
+
* lib/gettext/mo.rb: Follow poparser.ry changes.
|
1655
|
+
</pre>
|
1656
|
+
<p>
|
1657
|
+
2005-09-16 Masao Mutoh <mutoh@highway.ne.jp>
|
1658
|
+
</p>
|
1659
|
+
<pre>
|
1660
|
+
* lib/gettext/rgettext.rb: Fixed a header of time strings.
|
1661
|
+
Reported by Karel Miarka.
|
1662
|
+
</pre>
|
1663
|
+
<p>
|
1664
|
+
2005-09-12 speakillof <speakillof@yahoo.co.jp>
|
1665
|
+
</p>
|
1666
|
+
<pre>
|
1667
|
+
* lib/gettext/parser/ruby.rb: Added "here document" support.
|
1668
|
+
</pre>
|
1669
|
+
<p>
|
1670
|
+
2005-09-05 Masao Mutoh <mutoh@highway.ne.jp>
|
1671
|
+
</p>
|
1672
|
+
<pre>
|
1673
|
+
* lib/gettext.rb: Added GetText.locale. Both of GetText.locale= and
|
1674
|
+
GetText.locale behaves "global". If you set this once, follow bindtextdomain(s)
|
1675
|
+
use this value.
|
1676
|
+
* lib/gettext/cgi.rb: Added Locale.set.
|
1677
|
+
* lib/gettext/locale_win32.rb: ENV value is prior to native locale.
|
1678
|
+
Added Locale.set.
|
1679
|
+
* test/gettext_test.rb: Follow above changes.
|
1680
|
+
</pre>
|
1681
|
+
<p>
|
1682
|
+
2005-09-04 Masao Mutoh <mutoh@highway.ne.jp>
|
1683
|
+
</p>
|
1684
|
+
<pre>
|
1685
|
+
* Rakefile: move test task to testunit task.
|
1686
|
+
* samples/cgi/*.cgi: Support rubygems.
|
1687
|
+
* lib/gettext/rails.rb: The default of "charset" parameter becomes nil
|
1688
|
+
instead of "UTF-8". You need to call GetText.output_charset=() first.
|
1689
|
+
* samples/rails/app/controllers/application.rb:
|
1690
|
+
Call GetText.output_charset = "UTF-8" first.
|
1691
|
+
</pre>
|
1692
|
+
<p>
|
1693
|
+
2005-09-03 Masao Mutoh <mutoh@highway.ne.jp>
|
1694
|
+
</p>
|
1695
|
+
<pre>
|
1696
|
+
* src/rmsgfmt.ry: Fixed VERSION info.
|
1697
|
+
* Rakefile: Update to make package correctly. Call create_mofiles
|
1698
|
+
for test/po/
|
1699
|
+
Add test task.
|
1700
|
+
Create win32 package correctly on Win32.
|
1701
|
+
* test/makemo.rb: Removed. Use rake makemo instead.
|
1702
|
+
* NEWS: Added.
|
1703
|
+
* 1.0.0 released.
|
1704
|
+
</pre>
|
1705
|
+
<p>
|
1706
|
+
2005-08-31 Masao Mutoh <mutoh@highway.ne.jp>
|
1707
|
+
</p>
|
1708
|
+
<pre>
|
1709
|
+
* samples/cgi/Rakefile: Added.
|
1710
|
+
* samples/cgi/README: Modified.
|
1711
|
+
* samples/README: Modified.
|
1712
|
+
* samples/po/ko/*.po: Added Korean by Gyoung-Yoon Noh.
|
1713
|
+
* src/rmsgfmt.ry, po/**/rmsgfmt.po: Fix a typo.
|
1714
|
+
* samples/makemo.rb: Re-add for creating mo-files.
|
1715
|
+
* po/es/*.po: Updated by David Espada.
|
1716
|
+
* po/samples/rails/es/*.po: Added by David Espada.
|
1717
|
+
* po/de/*.po: Updated by Sven Herzberg.
|
1718
|
+
* po/samples/rails/de/*.po: Added by Sven Herzberg.
|
1719
|
+
* po/fr/*.po: Updated by Laurent Sansonetti.
|
1720
|
+
* po/samples/rails/fr/*.po: Added by Laurent Sansonetti.
|
1721
|
+
* README, README.ja: Updated.
|
1722
|
+
* samples/rails/*.[rb|rhtml]: Modified header informations.
|
1723
|
+
* lib/gettext/version.rb: Modified header information.
|
1724
|
+
* samples/rails/README: Revised.
|
1725
|
+
* samples/rails/db/postgresql.sql: Added.
|
1726
|
+
</pre>
|
1727
|
+
<p>
|
1728
|
+
2005-08-30 Masao Mutoh <mutoh@highway.ne.jp>
|
1729
|
+
</p>
|
1730
|
+
<pre>
|
1731
|
+
* po/ko/*.po, samples/cgi/po/ko/*.po, samples/rails/po/ko/*.po:
|
1732
|
+
Added Korean by Gyoung-Yoon Noh.
|
1733
|
+
* lib/gettext/textdomain.rb: Improve to print error message when
|
1734
|
+
No mo files were found.
|
1735
|
+
</pre>
|
1736
|
+
<p>
|
1737
|
+
2005-08-28 Masao Mutoh <mutoh@highway.ne.jp>
|
1738
|
+
</p>
|
1739
|
+
<pre>
|
1740
|
+
* samples/rails/*: Added a sample for Ruby on Rails.
|
1741
|
+
</pre>
|
1742
|
+
<p>
|
1743
|
+
2005-08-27 Masao Mutoh <mutoh@highway.ne.jp>
|
1744
|
+
</p>
|
1745
|
+
<pre>
|
1746
|
+
* lib/gettext/textdomain.rb: Added search mo-path:
|
1747
|
+
#{gems_path}/#{app}/locale/#{lang}/
|
1748
|
+
* lib/gettext/cgi.rb: Fix an alias bug(set_cgi is an
|
1749
|
+
alias of cgi=, not cgi).
|
1750
|
+
</pre>
|
1751
|
+
<p>
|
1752
|
+
2005-08-23 Masao Mutoh <mutoh@highway.ne.jp>
|
1753
|
+
</p>
|
1754
|
+
<pre>
|
1755
|
+
* samples/cgi/helloerb1.cgi, helloerb2.cgi:
|
1756
|
+
Set @domainname obviously.
|
1757
|
+
* pre-clean.rb: Removed.
|
1758
|
+
* samples/makemo.rb, samples/cgi/makemo.rb:
|
1759
|
+
Removed. Use "rake makemo" instead.
|
1760
|
+
* post-setup.rb: Added "lib" to library path.
|
1761
|
+
* lib/gettext/locale.rb: Added pseudo Locale module when
|
1762
|
+
no _locale.so is found.(installation time by rake only)
|
1763
|
+
</pre>
|
1764
|
+
<p>
|
1765
|
+
2005-08-21 Masao Mutoh <mutoh@highway.ne.jp>
|
1766
|
+
</p>
|
1767
|
+
<pre>
|
1768
|
+
* src/rmsgfmt.ry: Added GetText.create_mofiles.
|
1769
|
+
* test/gettext_test.rb, testlib4.rb: Added tests for
|
1770
|
+
GetText.textdomain.
|
1771
|
+
* samples/hello_textdomain.rb: Added a sample for
|
1772
|
+
GetText.textdomain.
|
1773
|
+
* lib/gettext/locale_default.rb: Call setlocale first.
|
1774
|
+
* lib/gettext.rb: Added GetText.textdomain.
|
1775
|
+
Added NoboundTextDomainError.
|
1776
|
+
* lib/gettext/textdomain.rb: Added TextDomain#charset.
|
1777
|
+
* lib/gettext/container.rb: Rename @domainname to
|
1778
|
+
@gettext_container_domainname.
|
1779
|
+
Pointed out by speakillof.
|
1780
|
+
* pre-setup.rb: call rake setup.
|
1781
|
+
</pre>
|
1782
|
+
<p>
|
1783
|
+
2005-08-20 Masao Mutoh <mutoh@highway.ne.jp>
|
1784
|
+
</p>
|
1785
|
+
<pre>
|
1786
|
+
* lib/gettext/locale.rb: require '_locale' if 'gettext/_locale'
|
1787
|
+
failed to load(for rubygems).
|
1788
|
+
</pre>
|
1789
|
+
<p>
|
1790
|
+
2005-08-18 Masao Mutoh <mutoh@highway.ne.jp>
|
1791
|
+
</p>
|
1792
|
+
<pre>
|
1793
|
+
* lib/gettext/textdomain.rb: Add Gem paths as search paths.
|
1794
|
+
</pre>
|
1795
|
+
<p>
|
1796
|
+
2005-08-15 Masao Mutoh <mutoh@highway.ne.jp>
|
1797
|
+
</p>
|
1798
|
+
<pre>
|
1799
|
+
* bin/rmsgfmt: Move methods to src/rmsgfmt.ry.
|
1800
|
+
* src/rmsgfmt.ry: Improved. Added GetText.rmsgfmt.
|
1801
|
+
</pre>
|
1802
|
+
<p>
|
1803
|
+
2005-08-14 Masao Mutoh <mutoh@highway.ne.jp>
|
1804
|
+
</p>
|
1805
|
+
<pre>
|
1806
|
+
* Rakefile: Added.
|
1807
|
+
* lib/gettext/version.rb: Added.
|
1808
|
+
* lib/pre-setup.rb: Removed.
|
1809
|
+
* lib/gettext/rgettext.rb: Added. Added GetText.rgettext.
|
1810
|
+
</pre>
|
1811
|
+
<p>
|
1812
|
+
2005-08-13 Masao Mutoh <mutoh@highway.ne.jp>
|
1813
|
+
</p>
|
1814
|
+
<pre>
|
1815
|
+
* README, REAMDE.ja: Updated informations.
|
1816
|
+
* The project moves to rubyforge.
|
1817
|
+
</pre>
|
1818
|
+
<p>
|
1819
|
+
2005-05-01 Masao Mutoh <mutoh@highway.ne.jp>
|
1820
|
+
</p>
|
1821
|
+
<pre>
|
1822
|
+
* lib/gettext/locale_win32.rb: Added pseudo constants of setlocale.
|
1823
|
+
* samples/cgi/ruby.bat: Added for Win32.
|
1824
|
+
* samples/cgi/README: Modified.
|
1825
|
+
* samples/cgi/http.rb: Support Win32.
|
1826
|
+
* 0.9.0 released.
|
1827
|
+
</pre>
|
1828
|
+
<p>
|
1829
|
+
2005-04-30 Masao Mutoh <mutoh@highway.ne.jp>
|
1830
|
+
</p>
|
1831
|
+
<pre>
|
1832
|
+
* lib/gettext/cgi.rb: Added Locale.set_cgi() as alias of .cgi=.
|
1833
|
+
</pre>
|
1834
|
+
<p>
|
1835
|
+
2005-04-25 Masao Mutoh <mutoh@highway.ne.jp>
|
1836
|
+
</p>
|
1837
|
+
<pre>
|
1838
|
+
* samples/cgi/po/de/: Translated by Detlef Reichl.
|
1839
|
+
* samples/cgi/po/es/: Translated by David Moreno Garza.
|
1840
|
+
* samples/cgi/po/it/: Translated by Gabriele Renzi.
|
1841
|
+
* samples/po/it/: Translated by Gabriele Renzi.
|
1842
|
+
</pre>
|
1843
|
+
<p>
|
1844
|
+
2005-04-24 Masao Mutoh <mutoh@highway.ne.jp>
|
1845
|
+
</p>
|
1846
|
+
<pre>
|
1847
|
+
* po/de/*.po : Translated by Detlef Reichl.
|
1848
|
+
* po/it/*.po : Translated by Gabriele Renzi.
|
1849
|
+
</pre>
|
1850
|
+
<p>
|
1851
|
+
2005-04-23 Masao Mutoh <mutoh@highway.ne.jp>
|
1852
|
+
</p>
|
1853
|
+
<pre>
|
1854
|
+
* src/rmsgfmt.ry: Fix a bug not to unesacpe '"'.
|
1855
|
+
Support new transltations.
|
1856
|
+
* samples/cgi/*: Updated.
|
1857
|
+
* samples/cgi/po/fr/*: Translated by Laurent Sansonetti.
|
1858
|
+
</pre>
|
1859
|
+
<p>
|
1860
|
+
2005-04-22 Masao Mutoh <mutoh@highway.ne.jp>
|
1861
|
+
</p>
|
1862
|
+
<pre>
|
1863
|
+
* lib/gettext/cgi.rb: Locale.get checks the cookie value.
|
1864
|
+
The search priority is:
|
1865
|
+
query_string(lang) > cookie(lang) > HTTP_ACCEPT_LANGUAGE > "en".
|
1866
|
+
</pre>
|
1867
|
+
<p>
|
1868
|
+
2005-04-21 Masao Mutoh <mutoh@highway.ne.jp>
|
1869
|
+
</p>
|
1870
|
+
<pre>
|
1871
|
+
* lib/gettext/cgi.rb: Added Locale.cgi=, .cgi,
|
1872
|
+
GetText.cgi=, .cgi, .set_cgi.
|
1873
|
+
</pre>
|
1874
|
+
<p>
|
1875
|
+
2005-04-20 Masao Mutoh <mutoh@highway.ne.jp>
|
1876
|
+
</p>
|
1877
|
+
<pre>
|
1878
|
+
* lib/gettext.rb: Defined domain name as @domainname.
|
1879
|
+
Added GetText.set_output_charset as alias of .output_charset=.
|
1880
|
+
* lib/gettext/container.rb: Added.
|
1881
|
+
* lib/gettext/erb.rb: Make ErbContainer a module not a class
|
1882
|
+
and includes GetText::Container.
|
1883
|
+
* samples/erb/*: Follow this changes.
|
1884
|
+
* samples/cgi/, erb/: Move erb/ to cgi/.
|
1885
|
+
</pre>
|
1886
|
+
<p>
|
1887
|
+
2005-04-19 Masao Mutoh <mutoh@highway.ne.jp>
|
1888
|
+
</p>
|
1889
|
+
<pre>
|
1890
|
+
* samples/erb/*: Added sample for CGI/ERB.
|
1891
|
+
</pre>
|
1892
|
+
<p>
|
1893
|
+
2005-04-18 Masao Mutoh <mutoh@highway.ne.jp>
|
1894
|
+
</p>
|
1895
|
+
<pre>
|
1896
|
+
* lib/gettext/erb.rb: Added for ERB support.
|
1897
|
+
* lib/gettext/cgi.rb: Added for CGI support.
|
1898
|
+
* lib/gettext.rb: Add GetText.output_charset=.
|
1899
|
+
</pre>
|
1900
|
+
<p>
|
1901
|
+
2005-04-11 Masao Mutoh <mutoh@highway.ne.jp>
|
1902
|
+
</p>
|
1903
|
+
<pre>
|
1904
|
+
* lib/gettext.rb: Add GetText.set_locale, set_charset.
|
1905
|
+
</pre>
|
1906
|
+
<p>
|
1907
|
+
2005-04-10 Masao Mutoh <mutoh@highway.ne.jp>
|
1908
|
+
</p>
|
1909
|
+
<pre>
|
1910
|
+
* src/rmsgfmt.ry: Remove comment_old which isn't used anymore.
|
1911
|
+
</pre>
|
1912
|
+
<p>
|
1913
|
+
2005-04-09 Masao Mutoh <mutoh@highway.ne.jp>
|
1914
|
+
</p>
|
1915
|
+
<pre>
|
1916
|
+
* lib/gettext/gettext.rb, locale.rb, locale_default.rb:
|
1917
|
+
Fix bugs that Locale.get, Locale.codeset return wrong values.
|
1918
|
+
* test/gettext_text.rb: Add test for Locale module.
|
1919
|
+
</pre>
|
1920
|
+
<p>
|
1921
|
+
2005-04-02 Masao Mutoh <mutoh@highway.ne.jp>
|
1922
|
+
</p>
|
1923
|
+
<pre>
|
1924
|
+
* test/gettext_test_parser.rb, test_erb.rhtml:
|
1925
|
+
Added tests for erb parser.
|
1926
|
+
* lib/gettext/textdomain.rb: print debug message to
|
1927
|
+
$stderr, not $stdout.
|
1928
|
+
* lib/gettext/parser/erb.rb: Added.
|
1929
|
+
rgettext support ERB. Inspired by Sascha Ebach.
|
1930
|
+
* lib/gettext/parser/*.rb, bin/rgettext: Code clean up.
|
1931
|
+
</pre>
|
1932
|
+
<p>
|
1933
|
+
2005-03-31 Masao Mutoh <mutoh@highway.ne.jp>
|
1934
|
+
</p>
|
1935
|
+
<pre>
|
1936
|
+
* lib/gettext.rb, lib/gettext/textdomain.rb:
|
1937
|
+
reimplement sgettext.
|
1938
|
+
* lib/gettext.rb: Improve GetText.bindtextdomain
|
1939
|
+
* test/makemo.rb, samples/makemo.rb: Improve to run rmsgfmt.
|
1940
|
+
* pre-setup.rb: Improve to run racc.
|
1941
|
+
</pre>
|
1942
|
+
<p>
|
1943
|
+
2005-03-28 Masao Mutoh <mutoh@highway.ne.jp>
|
1944
|
+
</p>
|
1945
|
+
<pre>
|
1946
|
+
* ext/gettext/gettext/_locale.c: Locale.codeset calls
|
1947
|
+
setlocale(LC_CTYPE, "") not LC_ALL.
|
1948
|
+
* lib/gettext.rb: Update VERSION info.
|
1949
|
+
* lib/gettext/locale.rb: Remove to read LC_CTYPE.
|
1950
|
+
Now, this uses the environment variables LC_ALL,
|
1951
|
+
LC_MESSAGES and LANG (in that order) same as GNU GetText.
|
1952
|
+
Point outed by Dafydd Harries.
|
1953
|
+
* samples/helloglade2.rb: Run correctly on the samples directory.
|
1954
|
+
* 0.8.1 released.
|
1955
|
+
</pre>
|
1956
|
+
<p>
|
1957
|
+
2005-03-20 Masao Mutoh <mutoh@highway.ne.jp>
|
1958
|
+
</p>
|
1959
|
+
<pre>
|
1960
|
+
* src/rmsgfmt.ry: Fix a problem with \r, \t, \n.
|
1961
|
+
Reported by Guillaume Cottenceau.
|
1962
|
+
</pre>
|
1963
|
+
<p>
|
1964
|
+
2004-11-27 Masao Mutoh <mutoh@highway.ne.jp>
|
1965
|
+
</p>
|
1966
|
+
<pre>
|
1967
|
+
* src/rmsgfmt.ry: Fix an error when #~ lines are existed.
|
1968
|
+
Pointed out by Patrick GUNDLACH.
|
1969
|
+
* lib/gettext/parser/ruby.rb: Fix rgettext ignore "\#" by Kazuhiro NISHIYAMA.
|
1970
|
+
* test/test_rubyparser.rb, gettext_test_parser.rb: Added test for "\#".
|
1971
|
+
</pre>
|
1972
|
+
<p>
|
1973
|
+
2004-11-07 Masao Mutoh <mutoh@highway.ne.jp>
|
1974
|
+
</p>
|
1975
|
+
<pre>
|
1976
|
+
* po/pt_BR/*.po, samples/po/pt_BR/*.po: Added. Translated by Joao Pedrosa.
|
1977
|
+
</pre>
|
1978
|
+
<p>
|
1979
|
+
2004-11-06 Masao Mutoh <mutoh@highway.ne.jp>
|
1980
|
+
</p>
|
1981
|
+
<pre>
|
1982
|
+
* README, README.ja: Revised.
|
1983
|
+
* po/sv/*.po, samples/po/sv/*.po: Added. Translated by Nikolai Weibull.
|
1984
|
+
* po/es/*.po, samples/po/es/*.po: Added. Translated by David Espada.
|
1985
|
+
* 0.8.0 released.
|
1986
|
+
</pre>
|
1987
|
+
<p>
|
1988
|
+
2004-11-05 Masao Mutoh <mutoh@highway.ne.jp>
|
1989
|
+
</p>
|
1990
|
+
<pre>
|
1991
|
+
* po/fr/*.po, samples/po/fr/*.po: Added. Translated by Laurent Sansonetti.
|
1992
|
+
* test/test_rubyparser_N.rb: Added.
|
1993
|
+
* test/test_rubyparser.rb: Added a test.
|
1994
|
+
* lib/gettext.rb: Increment minor version.
|
1995
|
+
</pre>
|
1996
|
+
<p>
|
1997
|
+
2004-11-04 Masao Mutoh <mutoh@highway.ne.jp>
|
1998
|
+
</p>
|
1999
|
+
<pre>
|
2000
|
+
* test/gettext_test_parser.rb: Added test for n_().
|
2001
|
+
* lib/gettext/parser/ruby.rb: Improved to parse n_().
|
2002
|
+
* test/test_rubyparser_n.rb: Added.
|
2003
|
+
</pre>
|
2004
|
+
<p>
|
2005
|
+
2004-11-03 Masao Mutoh <mutoh@highway.ne.jp>
|
2006
|
+
</p>
|
2007
|
+
<pre>
|
2008
|
+
* lib/gettext/parser/ruby.rb: Support _("a" + "b") pattern as "ab".
|
2009
|
+
</pre>
|
2010
|
+
<p>
|
2011
|
+
2004-10-23 Masao Mutoh <mutoh@highway.ne.jp>
|
2012
|
+
</p>
|
2013
|
+
<pre>
|
2014
|
+
* setup.rb: Update to setup.rb-3.3.1.
|
2015
|
+
* README, README.ja: Modified.
|
2016
|
+
* 0.7.0 released.
|
2017
|
+
</pre>
|
2018
|
+
<p>
|
2019
|
+
2004-10-22 Masao Mutoh <mutoh@highway.ne.jp>
|
2020
|
+
</p>
|
2021
|
+
<pre>
|
2022
|
+
* lib/gettext/iconv.rb: Added.
|
2023
|
+
* lib/gettext/mo.rb: Requires 'gettext/iconv' instead of 'iconv'.
|
2024
|
+
</pre>
|
2025
|
+
<p>
|
2026
|
+
2004-10-21 Masao Mutoh <mutoh@highway.ne.jp>
|
2027
|
+
</p>
|
2028
|
+
<pre>
|
2029
|
+
* lib/gettext.rb: every methods don't raise error when
|
2030
|
+
GetText.bindtextdomain isn't called first.
|
2031
|
+
</pre>
|
2032
|
+
<p>
|
2033
|
+
2004-10-12 Masao Mutoh <mutoh@highway.ne.jp>
|
2034
|
+
</p>
|
2035
|
+
<pre>
|
2036
|
+
* bin/rgettext: Modified header like as GNU GetText.
|
2037
|
+
Escape double quote correctly.
|
2038
|
+
* test/gettext_test_parser.rb: Added tests for GetText::GladeParser.
|
2039
|
+
* test/test_gladeparser.rb: Added.
|
2040
|
+
</pre>
|
2041
|
+
<p>
|
2042
|
+
2004-10-11 Masao Mutoh <mutoh@highway.ne.jp>
|
2043
|
+
</p>
|
2044
|
+
<pre>
|
2045
|
+
* lib/gettext/textdomain.rb: Added GETTEXT_PATH environment variable
|
2046
|
+
for searching path. This is for testing/debugging.
|
2047
|
+
Improved GetText::TextDomain#set_locale.
|
2048
|
+
Reported by Dafydd Harries from Debian Bug Tracking System #275010.
|
2049
|
+
* lib/gettext.rb, lib/gettext/textdomain.rb: Separate
|
2050
|
+
GetText::Domain to lib/gettext/textdomain.rb.
|
2051
|
+
* lib/gettext.rb: Increment GetText::VERSION.
|
2052
|
+
</pre>
|
2053
|
+
<p>
|
2054
|
+
2004-08-12 Masao Mutoh <mutoh@highway.ne.jp>
|
2055
|
+
</p>
|
2056
|
+
<pre>
|
2057
|
+
* lib/gettext.rb: Add GetText.sgettext(msgid), .s_(msgid) .
|
2058
|
+
* bin/rgettext: Support GetText.sgettext, .s_.
|
2059
|
+
* test/gettext_test.rb, test_sgettext.rb, test/po/ja/test_sgettext.po:
|
2060
|
+
Added for GetText.sgettext, .s_ tests.
|
2061
|
+
</pre>
|
2062
|
+
<p>
|
2063
|
+
2004-07-21 Masao Mutoh <mutoh@highway.ne.jp>
|
2064
|
+
</p>
|
2065
|
+
<pre>
|
2066
|
+
* README, README.ja: Modified some old descriptions.
|
2067
|
+
* lib/gettext.rb: Incremented revision.
|
2068
|
+
* 0.6.1 released.
|
2069
|
+
</pre>
|
2070
|
+
<p>
|
2071
|
+
2004-07-11 Masao Mutoh <mutoh@highway.ne.jp>
|
2072
|
+
</p>
|
2073
|
+
<pre>
|
2074
|
+
* lib/gettext/parser/glade.rb: Fixed a bug for empty-string value.
|
2075
|
+
* post-setup.rb: Fixed a install problem reported by wwp.
|
2076
|
+
</pre>
|
2077
|
+
<p>
|
2078
|
+
2004-07-04 Masao Mutoh <mutoh@highway.ne.jp>
|
2079
|
+
</p>
|
2080
|
+
<pre>
|
2081
|
+
* post-setup.rb, pre-clean.rb, pre-setup.rb: Improved
|
2082
|
+
by Nobu Nakada.
|
2083
|
+
* setup.rb: Replaced install.rb. Pointed out by Nobu Nakada.
|
2084
|
+
* README, README.ja: Follow above changes.
|
2085
|
+
</pre>
|
2086
|
+
<p>
|
2087
|
+
2004-07-03 Masao Mutoh <mutoh@highway.ne.jp>
|
2088
|
+
</p>
|
2089
|
+
<pre>
|
2090
|
+
* test/gettext_test.rb: Added some complex cases.
|
2091
|
+
* test/gettext_runner.rb: Added.
|
2092
|
+
* test/po/ja/test_rubyparser.po: Added.
|
2093
|
+
* lib/gettext.rb: Added GetText::VERSION.
|
2094
|
+
* docs/*: Removed. See website instead.
|
2095
|
+
* 0.6.0 released.
|
2096
|
+
</pre>
|
2097
|
+
<p>
|
2098
|
+
2004-06-27 Masao Mutoh <mutoh@highway.ne.jp>
|
2099
|
+
</p>
|
2100
|
+
<pre>
|
2101
|
+
* bin/rgettext: Support Glade-2 XML file.
|
2102
|
+
* po/ja/rgettext.po: Ditto.
|
2103
|
+
* lib/gettext/parser/ruby.rb, glade.rb: Added.
|
2104
|
+
* test/gettext_test_parser.rb, test_rubyparser.rb: Added.
|
2105
|
+
* lib/gettext/parser/ruby.rb: Improved to parse complex strings.
|
2106
|
+
</pre>
|
2107
|
+
<p>
|
2108
|
+
2004-06-23 Masao Mutoh <mutoh@highway.ne.jp>
|
2109
|
+
</p>
|
2110
|
+
<pre>
|
2111
|
+
* lib/gettext/mo.rb: Fix a bug to save data to a file.
|
2112
|
+
</pre>
|
2113
|
+
<p>
|
2114
|
+
2004-06-15 Masao Mutoh <mutoh@highway.ne.jp>
|
2115
|
+
</p>
|
2116
|
+
<pre>
|
2117
|
+
* src/rmsgfmt.ry: Force override if the file exist. This is the same
|
2118
|
+
behavior as GNU msgfmt.
|
2119
|
+
* lib/gettext/mo.rb: Fixed a bug that "Plural-Forms"
|
2120
|
+
part isn't defined in po-file but has plural part.
|
2121
|
+
Reported by Dafydd Harries.
|
2122
|
+
* test/po/[fr|ja|de]/plural_error.po: Added for a test of plural forms.
|
2123
|
+
* test/gettext_test.rb: ditto.
|
2124
|
+
</pre>
|
2125
|
+
<p>
|
2126
|
+
2004-03-26 Masao Mutoh <mutoh@highway.ne.jp>
|
2127
|
+
</p>
|
2128
|
+
<pre>
|
2129
|
+
* lib/gettext.rb: Fixed to return empty strings
|
2130
|
+
when translated strings are empty.
|
2131
|
+
* 0.5.5 released.
|
2132
|
+
</pre>
|
2133
|
+
<p>
|
2134
|
+
2004-02-14 Masao Mutoh <mutoh@highway.ne.jp>
|
2135
|
+
</p>
|
2136
|
+
<pre>
|
2137
|
+
* lib/gettext/locale.rb: Changes PLATFORM to RUBY_PLATFORM for ruby-1.9.
|
2138
|
+
* 0.5.4 released.
|
2139
|
+
</pre>
|
2140
|
+
<p>
|
2141
|
+
2003-12-02 Masao Mutoh <mutoh@highway.ne.jp>
|
2142
|
+
</p>
|
2143
|
+
<pre>
|
2144
|
+
* lib/gettext.rb: Improve the initial speed.
|
2145
|
+
* 0.5.3 released.
|
2146
|
+
</pre>
|
2147
|
+
<p>
|
2148
|
+
2003-11-27 Masao Mutoh <mutoh@highway.ne.jp>
|
2149
|
+
</p>
|
2150
|
+
<pre>
|
2151
|
+
* bin/rgettext: Fix bugs when \M or \C are given.
|
2152
|
+
</pre>
|
2153
|
+
<p>
|
2154
|
+
2003-11-12 Masao Mutoh <mutoh@highway.ne.jp>
|
2155
|
+
</p>
|
2156
|
+
<pre>
|
2157
|
+
* ext/gettext/gettext/_locale.c: Fix bugs for Win32.
|
2158
|
+
Pointed out by Nobu Nakada.
|
2159
|
+
* docs/config.rb: Removed.
|
2160
|
+
* docs/rd/*/ruby-gettext.rd: Modified.
|
2161
|
+
* 0.5.2 released.
|
2162
|
+
</pre>
|
2163
|
+
<p>
|
2164
|
+
2003-07-05 Masao Mutoh <mutoh@highway.ne.jp>
|
2165
|
+
</p>
|
2166
|
+
<pre>
|
2167
|
+
* ext/gettext/gettext/_locale.c: Define Locale.setlocale() and LC_* constants.
|
2168
|
+
* lib/gettext.rb, lib/gettext/*.rb: Code cleanup.
|
2169
|
+
* post-setup.rb: Fix mo files had not been compiled.
|
2170
|
+
* 0.5.1 released.
|
2171
|
+
</pre>
|
2172
|
+
<p>
|
2173
|
+
2003-07-04 Masao Mutoh <mutoh@highway.ne.jp>
|
2174
|
+
</p>
|
2175
|
+
<pre>
|
2176
|
+
* samples/hello2.rb: Fix warning for ruby-1.8.x.
|
2177
|
+
* ext/gettext/gettext/_locale.c: Call setlocale(LC_NUMERIC, "C")
|
2178
|
+
for some locales which doesn't use "." as decimal-point.
|
2179
|
+
* pre-setup.rb: Removed.
|
2180
|
+
* post-setup.rb: Fix some bugs.
|
2181
|
+
</pre>
|
2182
|
+
<p>
|
2183
|
+
2003-01-07 Masao Mutoh <mutoh@highway.ne.jp>
|
2184
|
+
</p>
|
2185
|
+
<pre>
|
2186
|
+
* samples/hellogtk2.rb: Support Ruby/GTK2.
|
2187
|
+
* gettext/mo.rb: Fix for bad mo files which don't include header part.
|
2188
|
+
* bin/rgettext: Remove ",fuzzy" for header part. Set default charset to UTF-8.
|
2189
|
+
* src/rmsgfmt.ry, po/rmsgfmt.pot, po/ja/rmsgfmt.po: Add files.
|
2190
|
+
* 0.5.0 released.
|
2191
|
+
</pre>
|
2192
|
+
<p>
|
2193
|
+
2002-10-21 Masao Mutoh <mutoh@highway.ne.jp>
|
2194
|
+
</p>
|
2195
|
+
<pre>
|
2196
|
+
* Support ngettext(alias name is n_).
|
2197
|
+
* Change directory structure.
|
2198
|
+
* Remove *.mo from tar-ball(they are created automatically in installing).
|
2199
|
+
* bin/rgettext, po/rgettext.pot, po/ja/rgettext.po: Revise help message.
|
2200
|
+
* bin/rgettext: Fix POT-Creation-Date was localized.
|
2201
|
+
* samples/hello_plural.rb: Add a sample.
|
2202
|
+
* test/*: Add test for ngettext.
|
2203
|
+
* 0.4.0 released.
|
2204
|
+
</pre>
|
2205
|
+
<p>
|
2206
|
+
2002-10-18 Masao Mutoh <mutoh@highway.ne.jp>
|
2207
|
+
</p>
|
2208
|
+
<pre>
|
2209
|
+
* lib/gettext/mo.rb: Fix bad return value when msgstr is not existed.
|
2210
|
+
Pointed out by Shinobu TAKANASHI <sino@e-turi.net>
|
2211
|
+
* test/*: Change RubyUnit to Test::Unit.
|
2212
|
+
* 0.3.2 released.
|
2213
|
+
</pre>
|
2214
|
+
<p>
|
2215
|
+
2002-07-06 Masao Mutoh <mutoh@highway.ne.jp>
|
2216
|
+
</p>
|
2217
|
+
<pre>
|
2218
|
+
* lib/locale.rb: Support MinGW.
|
2219
|
+
* lib/mo.rb: Support platforms which do not support Iconv.
|
2220
|
+
* 0.3.1 released.
|
2221
|
+
</pre>
|
2222
|
+
<p>
|
2223
|
+
2002-07-02 WATANABE Hirofumi <eban@os.rim.or.jp>
|
2224
|
+
</p>
|
2225
|
+
<pre>
|
2226
|
+
* ext/gettext/gettext/extconf.rb:Support MinGW.
|
2227
|
+
</pre>
|
2228
|
+
<p>
|
2229
|
+
2002-07-01 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
|
2230
|
+
</p>
|
2231
|
+
<pre>
|
2232
|
+
* ext/gettext/gettext/_locale.c: Code cleanup.
|
2233
|
+
* po/ja.po: Fix typo.
|
2234
|
+
* pre-install.rb: Code cleanup.
|
2235
|
+
</pre>
|
2236
|
+
<p>
|
2237
|
+
2002-06-30 Masao Mutoh <mutoh@highway.ne.jp>
|
2238
|
+
</p>
|
2239
|
+
<pre>
|
2240
|
+
* Support to convert output strings with charset(codeset).
|
2241
|
+
- Add 4th parameter to GetText.bindtextdomain for charset
|
2242
|
+
- Add GetText.charset=().
|
2243
|
+
- Support Environment variable OUTPUT_CHARSET.
|
2244
|
+
* samples/po/makemo.rb: support Ruby-1.6.x.
|
2245
|
+
Reported by KUMAGAI Hidetake <ggb03124@nifty.ne.jp>
|
2246
|
+
* 0.3.0 released.
|
2247
|
+
</pre>
|
2248
|
+
<p>
|
2249
|
+
2002-02-22 Masao Mutoh <mutoh@highway.ne.jp>
|
2250
|
+
</p>
|
2251
|
+
<pre>
|
2252
|
+
* docs/rd/[ja|en]/ruby-gettext.rd: Some modified.
|
2253
|
+
* lib/gettext.rb: show more informations in debug mode(-d)
|
2254
|
+
* bin/rgettext: BugFix for bad implementation of GetText.N_(msg).
|
2255
|
+
by Masahiro Sakai<zvm01052@nifty.ne.jp>
|
2256
|
+
* po/ja.po: change charset from iso-2022-jp to euc-jp.
|
2257
|
+
by Masahiro Sakai<zvm01052@nifty.ne.jp>
|
2258
|
+
* 0.2.1 released.
|
2259
|
+
</pre>
|
2260
|
+
<p>
|
2261
|
+
2002-02-21 Masao Mutoh <mutoh@highway.ne.jp>
|
2262
|
+
</p>
|
2263
|
+
<pre>
|
2264
|
+
* lib/gettext.rb: Implement GetText.N_(msg)
|
2265
|
+
* bin/rgettext: Apply to GetText.N_(msg)
|
2266
|
+
* samples/hello_noop.rb: Add a sample for GetText.N_(msg).
|
2267
|
+
* test/gettext_test.rb: Add test_noop.
|
2268
|
+
* docs/rd/[ja|en]/ruby-gettext.rd: Add an explanation of GetText.N_(msg).
|
2269
|
+
* 0.2.0 released.
|
2270
|
+
</pre>
|
2271
|
+
<p>
|
2272
|
+
2002-02-13 Masao Mutoh <mutoh@highway.ne.jp>
|
2273
|
+
</p>
|
2274
|
+
<pre>
|
2275
|
+
* ruby-gettext-package:
|
2276
|
+
Move pre-clean.rb to pre-install.rb.
|
2277
|
+
Reported by Yoshifumi Hiramatsu<hiramatu@boreas.dti.ne.jp>
|
2278
|
+
* lib/gettext.rb: Improve search-path(@locale_dirs).
|
2279
|
+
* bin/rgettext, samples/*.rb:
|
2280
|
+
Improve first line(Add #! line or change #!/usr/bin/env ruby to
|
2281
|
+
#!/usr/local/bin/ruby).
|
2282
|
+
* samples/hellotk.rb: add new sample for Ruby/Tk
|
2283
|
+
* 0.1.2 released.
|
2284
|
+
</pre>
|
2285
|
+
<p>
|
2286
|
+
2002-02-03 Masao Mutoh <mutoh@highway.ne.jp>
|
2287
|
+
</p>
|
2288
|
+
<pre>
|
2289
|
+
* lib/gettext.rb: BugFix to occur an error
|
2290
|
+
when all of locale is not set.
|
2291
|
+
* README, README.ja: Modified about Bad explanation
|
2292
|
+
in Install section. Reported by
|
2293
|
+
Yoshifumi Hiramatsu<hiramatu@boreas.dti.ne.jp>
|
2294
|
+
* docs/rd/*/ruby-gettext.rd: Some improvements.
|
2295
|
+
* docs/yard2html.rb: Some improvements.
|
2296
|
+
* 0.1.1 released.
|
2297
|
+
</pre>
|
2298
|
+
<p>
|
2299
|
+
2002-01-06 Masao Mutoh <mutoh@highway.ne.jp>
|
2300
|
+
</p>
|
2301
|
+
<pre>
|
2302
|
+
* lib/gettext.rb: Bugfix for bad scope.
|
2303
|
+
* bin/rgettext: Sort by file, lineno.
|
2304
|
+
* test/: Add one test.
|
2305
|
+
* docs/rd/*/ruby-gettext.rd: Modified about rgettext.
|
2306
|
+
* 0.1.0 released.
|
2307
|
+
</pre>
|
2308
|
+
<p>
|
2309
|
+
2002-01-01 Masao Mutoh <mutoh@highway.ne.jp>
|
2310
|
+
</p>
|
2311
|
+
<pre>
|
2312
|
+
* docs/: Add english document and some improvements.
|
2313
|
+
* test/: Add one test.
|
2314
|
+
* samples/: Add hello2.rb.
|
2315
|
+
* 0.0.2 released.
|
2316
|
+
</pre>
|
2317
|
+
<p>
|
2318
|
+
2001-12-24 Masao Mutoh <mutoh@highway.ne.jp>
|
2319
|
+
</p>
|
2320
|
+
<pre>
|
2321
|
+
* test release
|
2322
|
+
</pre>
|
2323
|
+
|
2324
|
+
</div>
|
2325
|
+
|
2326
|
+
|
2327
|
+
</div>
|
2328
|
+
|
2329
|
+
|
2330
|
+
</div>
|
2331
|
+
|
2332
|
+
|
2333
|
+
<!-- if includes -->
|
2334
|
+
|
2335
|
+
<div id="section">
|
2336
|
+
|
2337
|
+
|
2338
|
+
|
2339
|
+
|
2340
|
+
|
2341
|
+
|
2342
|
+
|
2343
|
+
|
2344
|
+
<!-- if method_list -->
|
2345
|
+
|
2346
|
+
|
2347
|
+
</div>
|
2348
|
+
|
2349
|
+
|
2350
|
+
<div id="validator-badges">
|
2351
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
2352
|
+
</div>
|
2353
|
+
|
2354
|
+
</body>
|
2355
|
+
</html>
|