gettext 1.91.0 → 1.92.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +111 -1
- data/NEWS +35 -0
- data/README +26 -24
- data/bin/rgettext +2 -2
- data/bin/rmsgfmt +2 -2
- data/bin/rmsgmerge +2 -2
- data/doc/classes/ActionView/Helpers/FormBuilder.html +11 -11
- data/doc/classes/ActionView/TemplateFinder.html +152 -0
- data/doc/classes/ActiveRecord/Base.html +87 -87
- data/doc/classes/ActiveRecord/ConnectionAdapters/Column.html +6 -6
- data/doc/classes/GetText.html +617 -491
- data/doc/classes/GetText/ActiveRecordParser.html +13 -13
- data/doc/classes/GetText/ErbContainer.html +12 -12
- data/doc/classes/GetText/ErbParser.html +6 -6
- data/doc/classes/GetText/NoboundTextDomainError.html +1 -1
- data/doc/classes/GetText/PoParser.html +11 -11
- data/doc/classes/GetText/Rails.html +20 -20
- data/doc/classes/GetText/RubyParser.html +5 -0
- data/doc/classes/GetText/TextDomain.html +53 -53
- data/doc/classes/GetText/TextDomainManager.html +54 -54
- data/doc/classes/Iconv.html +20 -20
- data/doc/classes/Locale.html +151 -151
- data/doc/classes/Locale/Object.html +92 -92
- data/doc/classes/Locale/SystemBase.html +32 -32
- data/doc/classes/Locale/SystemCGI.html +31 -31
- data/doc/classes/Locale/SystemWin32.html +6 -6
- data/doc/classes/MOFile.html +311 -293
- data/doc/classes/MOFile/HeaderRev1.html +150 -0
- data/doc/classes/Module.html +6 -6
- data/doc/created.rid +1 -1
- data/doc/files/ChangeLog.html +143 -2
- data/doc/files/README.html +31 -25
- data/doc/files/lib/gettext/active_record_rb.html +1 -1
- data/doc/files/lib/gettext/mo_rb.html +1 -1
- data/doc/files/lib/gettext/parser/active_record_rb.html +1 -1
- data/doc/files/lib/gettext/parser/ruby_rb.html +1 -1
- data/doc/files/lib/gettext/poparser_rb.html +1 -1
- data/doc/files/lib/gettext/rails_rb.html +1 -1
- data/doc/files/lib/gettext/rgettext_rb.html +1 -1
- data/doc/files/lib/gettext/rmsgfmt_rb.html +2 -1
- data/doc/files/lib/gettext/utils_rb.html +1 -1
- data/doc/files/lib/gettext/version_rb.html +1 -1
- data/doc/files/lib/gettext_rb.html +1 -1
- data/doc/fr_class_index.html +2 -0
- data/doc/fr_method_index.html +133 -129
- data/lib/gettext.rb +49 -7
- data/lib/gettext/active_record.rb +49 -4
- data/lib/gettext/mo.rb +39 -12
- data/lib/gettext/parser/active_record.rb +6 -4
- data/lib/gettext/parser/ruby.rb +11 -4
- data/lib/gettext/poparser.rb +81 -52
- data/lib/gettext/rails.rb +28 -11
- data/lib/gettext/rgettext.rb +6 -1
- data/lib/gettext/rmsgfmt.rb +3 -11
- data/lib/gettext/utils.rb +7 -3
- data/lib/gettext/version.rb +1 -1
- data/po/bs/rails.po +55 -20
- data/po/bs/rgettext.po +3 -3
- data/po/ca/rails.po +58 -31
- data/po/ca/rgettext.po +16 -18
- data/po/cs/rails.po +55 -20
- data/po/cs/rgettext.po +3 -3
- data/po/de/rails.po +55 -27
- data/po/de/rgettext.po +21 -22
- data/po/el/rails.po +60 -36
- data/po/el/rgettext.po +15 -17
- data/po/eo/rails.po +51 -23
- data/po/eo/rgettext.po +21 -20
- data/po/es/rails.po +57 -31
- data/po/es/rgettext.po +17 -18
- data/po/et/rails.po +55 -20
- data/po/fr/rails.po +56 -21
- data/po/fr/rgettext.po +3 -3
- data/po/hr/rails.po +55 -20
- data/po/hr/rgettext.po +3 -3
- data/po/hu/rails.po +54 -26
- data/po/hu/rgettext.po +18 -17
- data/po/it/rails.po +55 -20
- data/po/it/rgettext.po +3 -3
- data/po/ja/rails.po +54 -26
- data/po/ja/rgettext.po +17 -18
- data/po/ko/rails.po +56 -21
- data/po/ko/rgettext.po +3 -3
- data/po/lv/rails.po +155 -0
- data/po/lv/rgettext.po +137 -0
- data/po/nb/rails.po +61 -34
- data/po/nb/rgettext.po +22 -19
- data/po/nl/rails.po +56 -21
- data/po/nl/rgettext.po +3 -3
- data/po/pt_BR/rails.po +53 -26
- data/po/pt_BR/rgettext.po +19 -19
- data/po/rails.pot +44 -16
- data/po/rgettext.pot +3 -3
- data/po/ru/rails.po +62 -36
- data/po/ru/rgettext.po +19 -19
- data/po/sr/rails.po +87 -58
- data/po/sr/rgettext.po +38 -33
- data/po/sv/rgettext.po +3 -3
- data/po/ua/rails.po +62 -32
- data/po/ua/rgettext.po +19 -17
- data/po/vi/rails.po +56 -28
- data/po/vi/rgettext.po +35 -34
- data/po/zh/rails.po +52 -24
- data/po/zh/rgettext.po +22 -24
- data/po/zh_TW/rails.po +51 -23
- data/po/zh_TW/rgettext.po +16 -18
- data/samples/cgi/cookie.cgi +0 -0
- data/samples/cgi/helloerb1.cgi +0 -0
- data/samples/cgi/helloerb2.cgi +0 -0
- data/samples/cgi/http.rb +0 -0
- data/samples/cgi/index.cgi +0 -0
- data/samples/cgi/po/lv/helloerb1.po +65 -0
- data/samples/cgi/po/lv/helloerb2.po +52 -0
- data/samples/cgi/po/lv/hellolib.po +24 -0
- data/samples/cgi/po/lv/main.po +77 -0
- data/samples/cgi/po/nb/helloerb1.po +16 -14
- data/samples/cgi/po/nb/helloerb2.po +14 -12
- data/samples/cgi/po/nb/hellolib.po +9 -7
- data/samples/cgi/po/nb/main.po +20 -18
- data/samples/cgi/po/sr/helloerb1.po +8 -8
- data/samples/cgi/po/sr/helloerb2.po +6 -6
- data/samples/cgi/po/sr/hellolib.po +2 -2
- data/samples/cgi/po/sr/main.po +15 -15
- data/samples/cgi/po/ua/helloerb1.po +2 -2
- data/samples/cgi/po/ua/main.po +3 -3
- data/samples/hello_plural.rb +0 -0
- data/samples/makemo.rb +0 -0
- data/samples/po/lv/hello.po +24 -0
- data/samples/po/lv/hello2.po +32 -0
- data/samples/po/lv/hello_noop.po +28 -0
- data/samples/po/lv/hello_plural.po +26 -0
- data/samples/po/lv/helloglade2.po +38 -0
- data/samples/po/lv/hellogtk.po +24 -0
- data/samples/po/lv/hellotk.po +24 -0
- data/samples/po/nb/hello.po +9 -8
- data/samples/po/nb/hello2.po +9 -9
- data/samples/po/nb/hello_noop.po +10 -9
- data/samples/po/nb/hello_plural.po +10 -8
- data/samples/po/nb/helloglade2.po +10 -8
- data/samples/po/nb/hellogtk.po +9 -8
- data/samples/po/nb/hellotk.po +9 -7
- data/samples/po/sr/hello.po +2 -2
- data/samples/po/sr/hello2.po +4 -4
- data/samples/po/sr/hello_noop.po +3 -3
- data/samples/po/sr/hello_plural.po +3 -3
- data/samples/po/sr/helloglade2.po +4 -4
- data/samples/po/sr/hellogtk.po +2 -2
- data/samples/po/sr/hellotk.po +2 -2
- data/samples/po/ua/hello2.po +2 -2
- data/samples/po/ua/hello_plural.po +2 -2
- data/samples/rails/config/boot.rb +3 -2
- data/samples/rails/config/environment.rb +2 -3
- data/samples/rails/db/schema.rb +0 -0
- data/samples/rails/po/lv/blog.po +110 -0
- data/samples/rails/po/nb/blog.po +19 -15
- data/samples/rails/po/sr/blog.po +23 -23
- data/samples/rails/po/ua/blog.po +3 -3
- data/samples/rails/public/dispatch.cgi +0 -0
- data/samples/rails/public/dispatch.fcgi +0 -0
- data/samples/rails/public/dispatch.rb +0 -0
- data/samples/rails/public/javascripts/controls.js +1 -1
- data/samples/rails/public/javascripts/dragdrop.js +1 -1
- data/samples/rails/public/javascripts/effects.js +1 -1
- data/samples/rails/script/about +0 -0
- data/samples/rails/script/breakpointer +0 -0
- data/samples/rails/script/console +0 -0
- data/samples/rails/script/destroy +0 -0
- data/samples/rails/script/generate +0 -0
- data/samples/rails/script/performance/benchmarker +0 -0
- data/samples/rails/script/performance/profiler +0 -0
- data/samples/rails/script/plugin +0 -0
- data/samples/rails/script/process/reaper +0 -0
- data/samples/rails/script/process/spawner +0 -0
- data/samples/rails/script/process/spinner +0 -0
- data/samples/rails/script/runner +0 -0
- data/samples/rails/script/server +0 -0
- data/samples/rails/vendor/plugins/gettext/po/lv/gettext_plugin.po +28 -0
- data/samples/rails/vendor/plugins/gettext/po/nb/gettext_plugin.po +11 -8
- data/samples/rails/vendor/plugins/gettext/po/sr/gettext_plugin.po +5 -5
- data/src/poparser.ry +27 -6
- data/test/benchmark.rb +1 -1
- data/test/db/mysql.drop.sql +1 -0
- data/test/db/mysql.sql +13 -0
- data/test/fixtures/inept_wizard.rb +3 -0
- data/test/fixtures/people.yml +6 -0
- data/test/fixtures/topic.rb +30 -0
- data/test/fixtures/wizard.rb +5 -0
- data/test/po/active_record.pot +151 -66
- data/test/po/ja/active_record.po +177 -92
- data/test/po/ja/test_pgettext.po +41 -0
- data/test/rails/app/controllers/users_controller.rb +1 -0
- data/test/rails/app/views/articles/_form_fr.html.erb +1 -0
- data/test/rails/config/boot.rb +96 -32
- data/test/rails/config/environment.rb +3 -2
- data/test/rails/db/schema.rb +4 -4
- data/test/rails/public/dispatch.cgi +0 -0
- data/test/rails/public/dispatch.fcgi +0 -0
- data/test/rails/public/dispatch.rb +0 -0
- data/test/rails/public/javascripts/controls.js +484 -354
- data/test/rails/public/javascripts/dragdrop.js +88 -58
- data/test/rails/public/javascripts/effects.js +396 -364
- data/test/rails/public/javascripts/prototype.js +2817 -1107
- data/test/rails/script/about +0 -0
- data/test/rails/script/breakpointer +0 -0
- data/test/rails/script/console +0 -0
- data/test/rails/script/destroy +0 -0
- data/test/rails/script/generate +0 -0
- data/test/rails/script/performance/benchmarker +0 -0
- data/test/rails/script/performance/profiler +0 -0
- data/test/rails/script/plugin +0 -0
- data/test/rails/script/process/inspector +0 -0
- data/test/rails/script/process/reaper +0 -0
- data/test/rails/script/process/spawner +0 -0
- data/test/rails/script/runner +0 -0
- data/test/rails/script/server +0 -0
- data/test/rails/test/functional/articles_controller_test.rb +5 -0
- data/test/rails/test/result/en/create_error.html +3 -3
- data/test/rails/test/result/en/custom_error_message.html +3 -3
- data/test/rails/test/result/en/custom_error_message_with_plural.html +60 -60
- data/test/rails/test/result/en/multi_error_messages_for.html +6 -6
- data/test/rails/test/result/en/new.html +3 -3
- data/test/rails/test/result/fr/custom_error_message.html +3 -3
- data/test/rails/test/result/fr/custom_error_message_with_plural.html +60 -60
- data/test/rails/test/result/fr/new.html +23 -0
- data/test/rails/test/result/ja/create_error.html +3 -3
- data/test/rails/test/result/ja/custom_error_message.html +3 -3
- data/test/rails/test/result/ja/custom_error_message_with_plural.html +60 -60
- data/test/rails/test/result/ja/multi_error_messages_for.html +6 -6
- data/test/rails/test/result/ja/new.html +3 -3
- data/test/test.sh +2 -2
- data/test/test_active_record.rb +824 -20
- data/test/test_gettext.rb +34 -4
- data/test/test_java.sh +0 -0
- data/test/test_locale.rb +2 -2
- data/test/test_parser.rb +13 -2
- data/test/test_rails_caching.rb +11 -4
- data/test/testlib/pgettext.rb +33 -0
- metadata +32 -4
|
@@ -0,0 +1,150 @@
|
|
|
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>Class: MOFile::HeaderRev1</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="classHeader">
|
|
50
|
+
<table class="header-table">
|
|
51
|
+
<tr class="top-aligned-row">
|
|
52
|
+
<td><strong>Class</strong></td>
|
|
53
|
+
<td class="class-name-in-header">MOFile::HeaderRev1</td>
|
|
54
|
+
</tr>
|
|
55
|
+
<tr class="top-aligned-row">
|
|
56
|
+
<td><strong>In:</strong></td>
|
|
57
|
+
<td>
|
|
58
|
+
<a href="../../files/lib/gettext/mo_rb.html">
|
|
59
|
+
lib/gettext/mo.rb
|
|
60
|
+
</a>
|
|
61
|
+
<br />
|
|
62
|
+
</td>
|
|
63
|
+
</tr>
|
|
64
|
+
|
|
65
|
+
<tr class="top-aligned-row">
|
|
66
|
+
<td><strong>Parent:</strong></td>
|
|
67
|
+
<td>
|
|
68
|
+
Header
|
|
69
|
+
</td>
|
|
70
|
+
</tr>
|
|
71
|
+
</table>
|
|
72
|
+
</div>
|
|
73
|
+
<!-- banner header -->
|
|
74
|
+
|
|
75
|
+
<div id="bodyContent">
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
<div id="contextContent">
|
|
80
|
+
|
|
81
|
+
<div id="description">
|
|
82
|
+
<p>
|
|
83
|
+
The following are only used in .mo files with minor revision >= 1.
|
|
84
|
+
</p>
|
|
85
|
+
|
|
86
|
+
</div>
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
</div>
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
</div>
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
<!-- if includes -->
|
|
96
|
+
|
|
97
|
+
<div id="section">
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
<div id="attribute-list">
|
|
104
|
+
<h3 class="section-bar">Attributes</h3>
|
|
105
|
+
|
|
106
|
+
<div class="name-list">
|
|
107
|
+
<table>
|
|
108
|
+
<tr class="top-aligned-row context-row">
|
|
109
|
+
<td class="context-item-name">n_sysdep_segments</td>
|
|
110
|
+
<td class="context-item-value"> [RW] </td>
|
|
111
|
+
<td class="context-item-desc"></td>
|
|
112
|
+
</tr>
|
|
113
|
+
<tr class="top-aligned-row context-row">
|
|
114
|
+
<td class="context-item-name">n_sysdep_strings</td>
|
|
115
|
+
<td class="context-item-value"> [RW] </td>
|
|
116
|
+
<td class="context-item-desc"></td>
|
|
117
|
+
</tr>
|
|
118
|
+
<tr class="top-aligned-row context-row">
|
|
119
|
+
<td class="context-item-name">orig_sysdep_tab_offset</td>
|
|
120
|
+
<td class="context-item-value"> [RW] </td>
|
|
121
|
+
<td class="context-item-desc"></td>
|
|
122
|
+
</tr>
|
|
123
|
+
<tr class="top-aligned-row context-row">
|
|
124
|
+
<td class="context-item-name">sysdep_segments_offset</td>
|
|
125
|
+
<td class="context-item-value"> [RW] </td>
|
|
126
|
+
<td class="context-item-desc"></td>
|
|
127
|
+
</tr>
|
|
128
|
+
<tr class="top-aligned-row context-row">
|
|
129
|
+
<td class="context-item-name">trans_sysdep_tab_offset</td>
|
|
130
|
+
<td class="context-item-value"> [RW] </td>
|
|
131
|
+
<td class="context-item-desc"></td>
|
|
132
|
+
</tr>
|
|
133
|
+
</table>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
<!-- if method_list -->
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
</div>
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
<div id="validator-badges">
|
|
146
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
|
147
|
+
</div>
|
|
148
|
+
|
|
149
|
+
</body>
|
|
150
|
+
</html>
|
data/doc/classes/Module.html
CHANGED
|
@@ -93,7 +93,7 @@ activesupport-1.4.1/lib/active_support/core_ext/module/aliasing.rb
|
|
|
93
93
|
<h3 class="section-bar">Methods</h3>
|
|
94
94
|
|
|
95
95
|
<div class="name-list">
|
|
96
|
-
<a href="#
|
|
96
|
+
<a href="#M000001">alias_method_chain</a>
|
|
97
97
|
</div>
|
|
98
98
|
</div>
|
|
99
99
|
|
|
@@ -115,19 +115,19 @@ activesupport-1.4.1/lib/active_support/core_ext/module/aliasing.rb
|
|
|
115
115
|
<div id="methods">
|
|
116
116
|
<h3 class="section-bar">Public Instance methods</h3>
|
|
117
117
|
|
|
118
|
-
<div id="method-
|
|
119
|
-
<a name="
|
|
118
|
+
<div id="method-M000001" class="method-detail">
|
|
119
|
+
<a name="M000001"></a>
|
|
120
120
|
|
|
121
121
|
<div class="method-heading">
|
|
122
|
-
<a href="#
|
|
122
|
+
<a href="#M000001" class="method-signature">
|
|
123
123
|
<span class="method-name">alias_method_chain</span><span class="method-args">(target, feature) {|aliased_target, punctuation| ...}</span>
|
|
124
124
|
</a>
|
|
125
125
|
</div>
|
|
126
126
|
|
|
127
127
|
<div class="method-description">
|
|
128
128
|
<p><a class="source-toggle" href="#"
|
|
129
|
-
onclick="toggleCode('
|
|
130
|
-
<div class="method-source-code" id="
|
|
129
|
+
onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
|
|
130
|
+
<div class="method-source-code" id="M000001-source">
|
|
131
131
|
<pre>
|
|
132
132
|
<span class="ruby-comment cmt"># File lib/gettext/rails_compat.rb, line 7</span>
|
|
133
133
|
7: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">alias_method_chain</span>(<span class="ruby-identifier">target</span>, <span class="ruby-identifier">feature</span>)
|
data/doc/created.rid
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Sat, 02 Aug 2008 17:44:28 +0900
|
data/doc/files/ChangeLog.html
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
</tr>
|
|
57
57
|
<tr class="top-aligned-row">
|
|
58
58
|
<td><strong>Last Update:</strong></td>
|
|
59
|
-
<td>
|
|
59
|
+
<td>Sat Aug 02 17:42:25 +0900 2008</td>
|
|
60
60
|
</tr>
|
|
61
61
|
</table>
|
|
62
62
|
</div>
|
|
@@ -70,6 +70,147 @@
|
|
|
70
70
|
|
|
71
71
|
<div id="description">
|
|
72
72
|
<p>
|
|
73
|
+
2008-07-31 Masao Mutoh <mutoh@highway.ne.jp>
|
|
74
|
+
</p>
|
|
75
|
+
<pre>
|
|
76
|
+
* lib/gettext/rails.rb: Works on rails-2.0.2 again.
|
|
77
|
+
</pre>
|
|
78
|
+
<p>
|
|
79
|
+
2008-07-27 Masao Mutoh <mutoh@highway.ne.jp>
|
|
80
|
+
</p>
|
|
81
|
+
<pre>
|
|
82
|
+
* src/poparser.ry: msgctxt/pgettext support.
|
|
83
|
+
* test/test_gettext.rb: Add pgettext test.
|
|
84
|
+
</pre>
|
|
85
|
+
<p>
|
|
86
|
+
2008-07-26 Masao Mutoh <mutoh@highway.ne.jp>
|
|
87
|
+
</p>
|
|
88
|
+
<pre>
|
|
89
|
+
* lib/gettext/utils.rb: Improve create_mofiles to show the file which has errors.
|
|
90
|
+
* lib/gettext/parser/ruby.rb,
|
|
91
|
+
lib/gettext/rgettext.rb: msgctxt/pgettext support.
|
|
92
|
+
* test/testlib/pgettext.rb, test/po/ja/test_pgettext.po: Added for msgctxt/pgettext.
|
|
93
|
+
* **/po/lv/*.po: Added lv locales by Aivars Akots.
|
|
94
|
+
</pre>
|
|
95
|
+
<p>
|
|
96
|
+
2008-07-25 Masao Mutoh <mutoh@highway.ne.jp>
|
|
97
|
+
</p>
|
|
98
|
+
<pre>
|
|
99
|
+
* lib/gettext/rails.rb: Fixed render_partial localization.
|
|
100
|
+
(Localize ActionView::TemplateFinder#pick_template) [Bug #20248]
|
|
101
|
+
* test/rails/config/boot.rb, environment.rb: Follow rails-2.1.0.
|
|
102
|
+
* test/rails/app/views/articles/_form_fr.html.erb: Added for
|
|
103
|
+
render_partial.
|
|
104
|
+
* test/rails/test/result/fr/new.html: Ditto.
|
|
105
|
+
* samples/rails/*: Update to rails-2.1.0.
|
|
106
|
+
</pre>
|
|
107
|
+
<p>
|
|
108
|
+
2008-07-20 Masao Mutoh <mutoh@highway.ne.jp>
|
|
109
|
+
</p>
|
|
110
|
+
<pre>
|
|
111
|
+
* test/test_active_record.rb: Add tests for activerecord-2.1.0.
|
|
112
|
+
</pre>
|
|
113
|
+
<p>
|
|
114
|
+
2008-07-17 Masao Mutoh <mutoh@highway.ne.jp>
|
|
115
|
+
</p>
|
|
116
|
+
<pre>
|
|
117
|
+
* lib/gettext/active_record.rb: validates_(format|inclusion)_of accepts %{val} as the value
|
|
118
|
+
(ex)
|
|
119
|
+
User.validates_inclusion_of :name, :in => %w(a, b), :message => N_("%{fn} can't be %{val}")
|
|
120
|
+
* test/test_active_record.rb: Added test for rails-2.1.0.
|
|
121
|
+
* lib/gettext/active_record.rb: Works localization with ActiveRecord::Errors#[]
|
|
122
|
+
* po/el/rails.po, rgettext.po: Updated by damphyr.
|
|
123
|
+
* po/ca/rails.po, rgettext.po: Updated by Ramon Salvadó.
|
|
124
|
+
* **/po/**/ua/*.po: Updated by Alex Rootoff.
|
|
125
|
+
</pre>
|
|
126
|
+
<p>
|
|
127
|
+
2008-07-15 Masao Mutoh <mutoh@highway.ne.jp>
|
|
128
|
+
</p>
|
|
129
|
+
<pre>
|
|
130
|
+
* po/hu/rails.po, rgettext.po: Updated by Tamás Tompa.
|
|
131
|
+
* po/zh/rails.po, rgettext.po: Updated by Yang Bob.
|
|
132
|
+
* po/zh_TW/rails.po, rgettext.po: Updated by Yang Bob.
|
|
133
|
+
* test/fixtures/wizard.rb, inept_wizard.rb: Added.
|
|
134
|
+
</pre>
|
|
135
|
+
<p>
|
|
136
|
+
2008-07-14 Masao Mutoh <mutoh@highway.ne.jp>
|
|
137
|
+
</p>
|
|
138
|
+
<pre>
|
|
139
|
+
* README: Updated.
|
|
140
|
+
* lib/gettext/parser/active_record.rb: Support ActiveRecord::Base.abstract_class.
|
|
141
|
+
* po/pt_BR/rails.po, rgettext.po: Updated by Antonio S. de A. Terceiro.
|
|
142
|
+
* po/es/rails.po: Updated by David Espada.
|
|
143
|
+
* **/po/**/nb/*.po: Updated by Runar Ingebrigtsen.
|
|
144
|
+
</pre>
|
|
145
|
+
<p>
|
|
146
|
+
2008-07-13 Masao Mutoh <mutoh@highway.ne.jp>
|
|
147
|
+
</p>
|
|
148
|
+
<pre>
|
|
149
|
+
* po/ru/rails.po, rgettext.po: Updated by Yuri Kozlov.
|
|
150
|
+
* po/de/rails.po, rgettext.po: Updated by Patrick Lenz.
|
|
151
|
+
* po/eo/rails.po, rgettext.po: Updated by Malte Milatz.
|
|
152
|
+
* po/vi/rails.po, rgettext.po: Updated by Ngoc DAO Thanh.
|
|
153
|
+
* po/es/rgettext.po: Updated by David Espada.
|
|
154
|
+
* po/ja/rgettext.po: Updated.
|
|
155
|
+
</pre>
|
|
156
|
+
<p>
|
|
157
|
+
2008-07-11 Masao Mutoh <mutoh@highway.ne.jp>
|
|
158
|
+
</p>
|
|
159
|
+
<pre>
|
|
160
|
+
* test/test_active_record.rb, test/fixtures/people.yml, warehouse-thing.rb:
|
|
161
|
+
Add rails-2.1.0 tests.
|
|
162
|
+
(ValidationsTest::test_validate_uniqueness_with_non_standard_table_names):
|
|
163
|
+
|
|
164
|
+
* po/ja/rails.po: Apply rails-2.1.0 messages.
|
|
165
|
+
</pre>
|
|
166
|
+
<p>
|
|
167
|
+
2008-07-09 Masao Mutoh <mutoh@highway.ne.jp>
|
|
168
|
+
</p>
|
|
169
|
+
<pre>
|
|
170
|
+
* lib/gettext/rails.rb: Fixed ActionController::Caching::Fragments.expire_fragment
|
|
171
|
+
to work with rails-2.1.0 by Loiseleur Michel.
|
|
172
|
+
* lib/gettext/active_record.rb: Added validation options for activerecord-2.1.0.
|
|
173
|
+
(:greater_than, :greater_than_or_equal_to, :equal_to, :less_than, :less_than_or_equal_to,
|
|
174
|
+
:odd, :even)
|
|
175
|
+
* test/*: Apply rails-2.1.0.
|
|
176
|
+
</pre>
|
|
177
|
+
<p>
|
|
178
|
+
2008-06-30 Masao Mutoh <mutoh@highway.ne.jp>
|
|
179
|
+
</p>
|
|
180
|
+
<pre>
|
|
181
|
+
* lib/gettext/rails.rb: Works with rails-2.1.0.
|
|
182
|
+
Reported by Andreas Neuhaus(Bug #17990)
|
|
183
|
+
</pre>
|
|
184
|
+
<p>
|
|
185
|
+
2008-06-28 Masao Mutoh <mutoh@highway.ne.jp>
|
|
186
|
+
</p>
|
|
187
|
+
<pre>
|
|
188
|
+
* bin/*: Fixed shebang line. (Bug: #20150)
|
|
189
|
+
</pre>
|
|
190
|
+
<p>
|
|
191
|
+
2008-06-25 Masao Mutoh <mutoh@highway.ne.jp>
|
|
192
|
+
</p>
|
|
193
|
+
<pre>
|
|
194
|
+
* lib/gettext.rb: Fixed cache algorithm of bound_targets again.
|
|
195
|
+
</pre>
|
|
196
|
+
<p>
|
|
197
|
+
2008-06-18 Masao Mutoh <mutoh@highway.ne.jp>
|
|
198
|
+
</p>
|
|
199
|
+
<pre>
|
|
200
|
+
* lib/gettext/mo.rb: Support revision 1 of mo-file format.
|
|
201
|
+
* lib/gettext/mo.rb, test/test_gettext.rb:
|
|
202
|
+
Freeze msgstrs by Tatsuki Sugiura (Bug: #19193)
|
|
203
|
+
* **/po/sr/*.po: Replace sr locales to Cyrillic script
|
|
204
|
+
from Latin script by Slobodan Paunović.
|
|
205
|
+
</pre>
|
|
206
|
+
<p>
|
|
207
|
+
2008-05-24 Masao Mutoh <mutoh@highway.ne.jp>
|
|
208
|
+
</p>
|
|
209
|
+
<pre>
|
|
210
|
+
* README: update to support Rails-1.2.x to Rails-2.0.x(Rails-1.2.x aren't
|
|
211
|
+
not supported now). Reported by Hans de Graaff.
|
|
212
|
+
</pre>
|
|
213
|
+
<p>
|
|
73
214
|
2008-05-11 Masao Mutoh <mutoh@highway.ne.jp>
|
|
74
215
|
</p>
|
|
75
216
|
<pre>
|
|
@@ -93,7 +234,7 @@
|
|
|
93
234
|
* test/test_locale.rb: Removed the condition for OpenBSD
|
|
94
235
|
by Bernd Ahlers.
|
|
95
236
|
* lib/gettext.rb: Fixed that bindtextdomain doesn't work on toplevel.
|
|
96
|
-
Reported by Tatsuki Sugiura (
|
|
237
|
+
Reported by Tatsuki Sugiura (Bug: #19056).
|
|
97
238
|
* test/test_gettext.rb: Follow the change.
|
|
98
239
|
* test/test_gettext_toplevel.rb: Added.
|
|
99
240
|
</pre>
|
data/doc/files/README.html
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
</tr>
|
|
57
57
|
<tr class="top-aligned-row">
|
|
58
58
|
<td><strong>Last Update:</strong></td>
|
|
59
|
-
<td>
|
|
59
|
+
<td>Sat Aug 02 17:42:26 +0900 2008</td>
|
|
60
60
|
</tr>
|
|
61
61
|
</table>
|
|
62
62
|
</div>
|
|
@@ -197,7 +197,7 @@ href="http://www.ruby-lang.org/raa/list.rhtml?name=racc">www.ruby-lang.org/raa/l
|
|
|
197
197
|
<li>(for compiling src/rmsgfmt.ry only)
|
|
198
198
|
|
|
199
199
|
<ul>
|
|
200
|
-
<li>Ruby on Rails
|
|
200
|
+
<li>Ruby on Rails 2.0.0 or later (if you use this package with Ruby on Rails)
|
|
201
201
|
<<a href="http://www.rubyonrails.org">www.rubyonrails.org</a>/>
|
|
202
202
|
|
|
203
203
|
</li>
|
|
@@ -365,15 +365,18 @@ This program is licenced under the same licence as Ruby. (See the file
|
|
|
365
365
|
</li>
|
|
366
366
|
<li>Korean(ko) - Gyoung-Yoon Noh <nohmad at gmail.com>
|
|
367
367
|
|
|
368
|
+
</li>
|
|
369
|
+
<li>Latvian(lv) - Aivars Akots <aivars.akots at gmail.com>
|
|
370
|
+
|
|
368
371
|
</li>
|
|
369
372
|
<li>Norwegian(nb) - Runar Ingebrigtsen <runar at mopo.no>
|
|
370
373
|
|
|
371
374
|
</li>
|
|
372
375
|
<li>Portuguese(Brazil)(pt_BR) - Antonio S. de A. Terceiro <terceiro at
|
|
373
|
-
softwarelivre.org>
|
|
376
|
+
softwarelivre.org> (current)
|
|
374
377
|
|
|
375
378
|
<pre>
|
|
376
|
-
Joao Pedrosa <joaopedrosa at gmail.com>
|
|
379
|
+
Joao Pedrosa <joaopedrosa at gmail.com>
|
|
377
380
|
</pre>
|
|
378
381
|
</li>
|
|
379
382
|
<li>Russian(ru) - Yuri Kozlov <kozlov.y at gmail.com>
|
|
@@ -396,85 +399,88 @@ rawuncut.elitemail.org>
|
|
|
396
399
|
<li>Ukrainian(ua) - Alex Rootoff <rootoff at pisem.net>
|
|
397
400
|
|
|
398
401
|
</li>
|
|
399
|
-
<li>Vietnamese(vi) - Ngoc Dao <ngocdaothanh at gmail.com>
|
|
402
|
+
<li>Vietnamese(vi) - Ngoc Dao Thanh <ngocdaothanh at gmail.com>
|
|
400
403
|
|
|
401
404
|
</li>
|
|
402
405
|
</ul>
|
|
403
406
|
<h2>Status of translations</h2>
|
|
404
407
|
<ul>
|
|
405
|
-
<li>Bosnian(bs) - 1.90.0
|
|
408
|
+
<li>Bosnian(bs) - 1.90.0 (old)
|
|
406
409
|
|
|
407
410
|
</li>
|
|
408
|
-
<li>Catalan(ca) - 1.
|
|
411
|
+
<li>Catalan(ca) - 1.92.0
|
|
409
412
|
|
|
410
413
|
</li>
|
|
411
|
-
<li>Croatian(hr) - 1.90.0
|
|
414
|
+
<li>Croatian(hr) - 1.90.0 (old)
|
|
412
415
|
|
|
413
416
|
</li>
|
|
414
|
-
<li>Chinese(zh_CN) - 1.
|
|
417
|
+
<li>Chinese(zh_CN) - 1.92.0
|
|
415
418
|
|
|
416
419
|
</li>
|
|
417
|
-
<li>Chinese(zh_TW) - 1.
|
|
420
|
+
<li>Chinese(zh_TW) - 1.92.0
|
|
418
421
|
|
|
419
422
|
</li>
|
|
420
423
|
<li>Czech(cs) - 1.9.0 (old)
|
|
421
424
|
|
|
422
425
|
</li>
|
|
423
|
-
<li>Dutch(nl) - 1.90.0
|
|
426
|
+
<li>Dutch(nl) - 1.90.0 (old)
|
|
424
427
|
|
|
425
428
|
</li>
|
|
426
|
-
<li>English(default) - 1.90.0
|
|
429
|
+
<li>English(default) - 1.90.0 (old)
|
|
427
430
|
|
|
428
431
|
</li>
|
|
429
|
-
<li>Esperanto(eo) - 1.
|
|
432
|
+
<li>Esperanto(eo) - 1.92.0
|
|
430
433
|
|
|
431
434
|
</li>
|
|
432
435
|
<li>Estonian(et) - 1.9.0 (old, rails.po only)
|
|
433
436
|
|
|
434
437
|
</li>
|
|
435
|
-
<li>French(fr) - 1.90.0
|
|
438
|
+
<li>French(fr) - 1.90.0 (old)
|
|
436
439
|
|
|
437
440
|
</li>
|
|
438
|
-
<li>German(de) - 1.
|
|
441
|
+
<li>German(de) - 1.92.0
|
|
439
442
|
|
|
440
443
|
</li>
|
|
441
|
-
<li>Greek(el) - 1.
|
|
444
|
+
<li>Greek(el) - 1.92.0
|
|
442
445
|
|
|
443
446
|
</li>
|
|
444
|
-
<li>Hungarian(hu) - 1.
|
|
447
|
+
<li>Hungarian(hu) - 1.92.0
|
|
445
448
|
|
|
446
449
|
</li>
|
|
447
450
|
<li>Italian(it) - 1.6.0 (old)
|
|
448
451
|
|
|
449
452
|
</li>
|
|
450
|
-
<li>Japanese(ja) - 1.
|
|
453
|
+
<li>Japanese(ja) - 1.92.0
|
|
451
454
|
|
|
452
455
|
</li>
|
|
453
456
|
<li>Korean(ko) - 1.9.0 (old)
|
|
454
457
|
|
|
455
458
|
</li>
|
|
456
|
-
<li>
|
|
459
|
+
<li>Latvian(lv) - 1.92.0 (new)
|
|
460
|
+
|
|
461
|
+
</li>
|
|
462
|
+
<li>Norwegian(nb) - 1.92.0
|
|
457
463
|
|
|
458
464
|
</li>
|
|
459
|
-
<li>Portuguese(Brazil)(pt_BR) - 1.
|
|
465
|
+
<li>Portuguese(Brazil)(pt_BR) - 1.92.0
|
|
460
466
|
|
|
461
467
|
</li>
|
|
462
|
-
<li>Russian(ru) - 1.
|
|
468
|
+
<li>Russian(ru) - 1.92.0
|
|
463
469
|
|
|
464
470
|
</li>
|
|
465
|
-
<li>Serbian(sr) - 1.91.0 (
|
|
471
|
+
<li>Serbian(sr) - 1.91.0 (old)
|
|
466
472
|
|
|
467
473
|
</li>
|
|
468
|
-
<li>Spanish(es) - 1.
|
|
474
|
+
<li>Spanish(es) - 1.92.0
|
|
469
475
|
|
|
470
476
|
</li>
|
|
471
477
|
<li>Swedish(sv) - 0.8.0 (too much old)
|
|
472
478
|
|
|
473
479
|
</li>
|
|
474
|
-
<li>Ukrainian(ua) - 1.
|
|
480
|
+
<li>Ukrainian(ua) - 1.92.0
|
|
475
481
|
|
|
476
482
|
</li>
|
|
477
|
-
<li>Vietnamese(vi) - 1.
|
|
483
|
+
<li>Vietnamese(vi) - 1.92.0
|
|
478
484
|
|
|
479
485
|
</li>
|
|
480
486
|
</ul>
|