gettext 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. data/README.rdoc +10 -6
  2. data/Rakefile +15 -66
  3. data/data/locale/bg/LC_MESSAGES/rgettext.mo +0 -0
  4. data/data/locale/bs/LC_MESSAGES/rgettext.mo +0 -0
  5. data/data/locale/ca/LC_MESSAGES/rgettext.mo +0 -0
  6. data/data/locale/cs/LC_MESSAGES/rgettext.mo +0 -0
  7. data/data/locale/de/LC_MESSAGES/rgettext.mo +0 -0
  8. data/data/locale/el/LC_MESSAGES/rgettext.mo +0 -0
  9. data/data/locale/eo/LC_MESSAGES/rgettext.mo +0 -0
  10. data/data/locale/es/LC_MESSAGES/rgettext.mo +0 -0
  11. data/data/locale/et/LC_MESSAGES/rgettext.mo +0 -0
  12. data/data/locale/fr/LC_MESSAGES/rgettext.mo +0 -0
  13. data/data/locale/hr/LC_MESSAGES/rgettext.mo +0 -0
  14. data/data/locale/hu/LC_MESSAGES/rgettext.mo +0 -0
  15. data/data/locale/it/LC_MESSAGES/rgettext.mo +0 -0
  16. data/data/locale/ja/LC_MESSAGES/rgettext.mo +0 -0
  17. data/data/locale/ko/LC_MESSAGES/rgettext.mo +0 -0
  18. data/data/locale/lv/LC_MESSAGES/rgettext.mo +0 -0
  19. data/data/locale/nb/LC_MESSAGES/rgettext.mo +0 -0
  20. data/data/locale/nl/LC_MESSAGES/rgettext.mo +0 -0
  21. data/data/locale/pt_BR/LC_MESSAGES/rgettext.mo +0 -0
  22. data/data/locale/ru/LC_MESSAGES/rgettext.mo +0 -0
  23. data/data/locale/sr/LC_MESSAGES/rgettext.mo +0 -0
  24. data/data/locale/sv/LC_MESSAGES/rgettext.mo +0 -0
  25. data/data/locale/uk/LC_MESSAGES/rgettext.mo +0 -0
  26. data/data/locale/vi/LC_MESSAGES/rgettext.mo +0 -0
  27. data/data/locale/zh/LC_MESSAGES/rgettext.mo +0 -0
  28. data/data/locale/zh_TW/LC_MESSAGES/rgettext.mo +0 -0
  29. data/doc/text/news.md +30 -0
  30. data/gettext.gemspec +26 -34
  31. data/lib/gettext.rb +26 -24
  32. data/lib/gettext/cgi.rb +2 -0
  33. data/lib/gettext/core_ext/iconv.rb +7 -7
  34. data/lib/gettext/core_ext/string.rb +8 -6
  35. data/lib/gettext/parser/erb.rb +2 -0
  36. data/lib/gettext/parser/glade.rb +2 -0
  37. data/lib/gettext/parser/ruby.rb +12 -12
  38. data/lib/gettext/runtime/class_info.rb +5 -3
  39. data/lib/gettext/runtime/locale_path.rb +20 -22
  40. data/lib/gettext/runtime/mofile.rb +45 -18
  41. data/lib/gettext/runtime/textdomain.rb +6 -4
  42. data/lib/gettext/runtime/textdomain_group.rb +3 -1
  43. data/lib/gettext/runtime/textdomain_manager.rb +29 -26
  44. data/lib/gettext/tools.rb +15 -13
  45. data/lib/gettext/tools/parser/erb.rb +5 -3
  46. data/lib/gettext/tools/parser/glade.rb +16 -14
  47. data/lib/gettext/tools/parser/ruby.rb +16 -16
  48. data/lib/gettext/tools/pomessage.rb +9 -7
  49. data/lib/gettext/tools/poparser.rb +38 -36
  50. data/lib/gettext/tools/rgettext.rb +38 -13
  51. data/lib/gettext/tools/rmsgfmt.rb +7 -5
  52. data/lib/gettext/tools/rmsgmerge.rb +116 -114
  53. data/lib/gettext/utils.rb +2 -0
  54. data/lib/gettext/version.rb +3 -3
  55. data/po/bg/rgettext.po +17 -12
  56. data/po/bs/rgettext.po +16 -12
  57. data/po/ca/rgettext.po +17 -12
  58. data/po/cs/rgettext.po +16 -12
  59. data/po/de/rgettext.po +17 -12
  60. data/po/el/rgettext.po +17 -12
  61. data/po/eo/rgettext.po +17 -12
  62. data/po/es/rgettext.po +17 -12
  63. data/po/et/rgettext.po +17 -12
  64. data/po/fr/rgettext.po +17 -12
  65. data/po/hr/rgettext.po +19 -15
  66. data/po/hu/rgettext.po +17 -12
  67. data/po/it/rgettext.po +16 -12
  68. data/po/ja/rgettext.po +21 -15
  69. data/po/ko/rgettext.po +16 -12
  70. data/po/lv/rgettext.po +17 -12
  71. data/po/nb/rgettext.po +17 -12
  72. data/po/nl/rgettext.po +16 -12
  73. data/po/pt_BR/rgettext.po +17 -12
  74. data/po/rgettext.pot +16 -12
  75. data/po/ru/rgettext.po +17 -12
  76. data/po/sr/rgettext.po +17 -12
  77. data/po/sv/rgettext.po +16 -12
  78. data/po/{ua → uk}/rgettext.po +17 -12
  79. data/po/vi/rgettext.po +17 -12
  80. data/po/zh/rgettext.po +17 -12
  81. data/po/zh_TW/rgettext.po +17 -12
  82. data/samples/cgi/hellolib.rb +1 -1
  83. data/samples/cgi/http.rb +5 -5
  84. data/samples/cgi/locale/{ua → uk}/LC_MESSAGES/helloerb1.mo +0 -0
  85. data/samples/cgi/locale/{ua → uk}/LC_MESSAGES/helloerb2.mo +0 -0
  86. data/samples/cgi/locale/{ua → uk}/LC_MESSAGES/hellolib.mo +0 -0
  87. data/samples/cgi/locale/{ua → uk}/LC_MESSAGES/main.mo +0 -0
  88. data/samples/cgi/po/{ua → uk}/helloerb1.po +0 -0
  89. data/samples/cgi/po/{ua → uk}/helloerb2.po +0 -0
  90. data/samples/cgi/po/{ua → uk}/hellolib.po +0 -0
  91. data/samples/cgi/po/{ua → uk}/main.po +0 -0
  92. data/samples/hello.rb +1 -1
  93. data/samples/hello_gtk2.rb +1 -1
  94. data/samples/hello_noop.rb +1 -1
  95. data/samples/locale/{ua → uk}/LC_MESSAGES/hello.mo +0 -0
  96. data/samples/locale/{ua → uk}/LC_MESSAGES/hello2.mo +0 -0
  97. data/samples/locale/{ua → uk}/LC_MESSAGES/hello_glade2.mo +0 -0
  98. data/samples/locale/{ua → uk}/LC_MESSAGES/hello_gtk.mo +0 -0
  99. data/samples/locale/{ua → uk}/LC_MESSAGES/hello_noop.mo +0 -0
  100. data/samples/locale/{ua → uk}/LC_MESSAGES/hello_plural.mo +0 -0
  101. data/samples/locale/{ua → uk}/LC_MESSAGES/hello_tk.mo +0 -0
  102. data/samples/makemo.rb +2 -0
  103. data/samples/po/test.rb +2 -0
  104. data/samples/po/{ua → uk}/hello.po +0 -0
  105. data/samples/po/{ua → uk}/hello2.po +0 -0
  106. data/samples/po/{ua → uk}/hello_glade2.po +0 -0
  107. data/samples/po/{ua → uk}/hello_gtk.po +0 -0
  108. data/samples/po/{ua → uk}/hello_noop.po +0 -0
  109. data/samples/po/{ua → uk}/hello_plural.po +0 -0
  110. data/samples/po/{ua → uk}/hello_tk.po +0 -0
  111. data/test/Rakefile +1 -1
  112. data/test/test_class_info.rb +5 -0
  113. data/test/test_gettext.rb +12 -1
  114. data/test/test_locale_path.rb +29 -3
  115. data/test/test_parser.rb +61 -59
  116. data/test/test_po_generation.rb +3 -1
  117. data/test/test_pomessage.rb +4 -2
  118. data/test/test_string.rb +2 -0
  119. data/test/test_textdomain_bind.rb +2 -0
  120. data/test/test_textdomain_multi.rb +2 -0
  121. data/test/test_textdomain_toplevel.rb +2 -0
  122. data/test/test_thread.rb +4 -2
  123. data/test/testlib/N_.rb +5 -3
  124. data/test/testlib/gettext.rb +4 -2
  125. data/test/testlib/helper.rb +2 -0
  126. data/test/testlib/multi_textdomain.rb +2 -0
  127. data/test/testlib/ngettext.rb +10 -8
  128. data/test/testlib/npgettext.rb +9 -7
  129. data/test/testlib/nsgettext.rb +4 -2
  130. data/test/testlib/pgettext.rb +4 -2
  131. data/test/testlib/sgettext.rb +4 -2
  132. data/test/testlib/simple.rb +2 -0
  133. data/test/tools/files/simple_translation.rb +3 -1
  134. data/test/tools/test_tools.rb +3 -1
  135. metadata +772 -737
  136. data/ChangeLog +0 -78
  137. data/ChangeLog-1 +0 -2016
  138. data/NEWS-1 +0 -414
  139. data/benchmark/1.93.0.txt +0 -8
  140. data/benchmark/2.0.0.txt +0 -8
  141. data/benchmark/2.0.4.txt +0 -11
  142. data/benchmark/2.1.0.txt +0 -11
  143. data/benchmark/benchmark.rb +0 -68
  144. data/benchmark/test.rb +0 -28
  145. data/data/locale/ua/LC_MESSAGES/rgettext.mo +0 -0
  146. data/replace.rb +0 -8
  147. data/samples/cgi/po/bg/#main.po# +0 -84
  148. data/test.rb +0 -33
data/NEWS-1 DELETED
@@ -1,414 +0,0 @@
1
- (OBSOLETE: Move to ChangeLog since 2.0.0)
2
-
3
- = Ruby-GetText-Package-1.93.0 (2008-09-14)
4
- * Bulgarian added.
5
- * Estonian updated.
6
- * French updated.
7
- * Japanese updated.
8
- * np_, npgettext support.
9
- * Fixed bugs.
10
- - detect the correct charset on POSIX OS.
11
- - updatepo task works again on Windows OS(with broken GNU msgmerge).
12
- - Remove BOM from po-files before GNU msgmerge is executed.
13
- (GNU msgmerge doesn't support BOM)
14
- - Work with xx(double x) library and the library which uses xx library
15
- such as rcov.
16
- - Fixed expire_fragment with rails < 2.1.
17
-
18
- (NOTE) Rails-2.2 has not been supported yet.
19
-
20
- Thanks to:
21
- Translators:
22
- Vincent Isambart, Erkki Eilonen, Sava Chankov.
23
-
24
- Bug reports, suggestions and patches:
25
- Vladimir Dobriakov, Tatsuki Sugiura, César Duque Calle,
26
- Rémy-Christophe Schermesser, Donald Piret.
27
-
28
- = Ruby-GetText-Package-1.92.0 (2008-08-02)
29
- * Fixed a memory leak(again)
30
- * Fixed bugs.
31
- * Improve to support mo-files.
32
- * Support revision 1 of mo-file format.
33
- * Freeze msgstrs.
34
- * msgctxt - pgettext(msgctxt, msgid) support
35
- (eg)
36
- p_("File", "Open") #=> "Open" is shown in English.
37
- * Update translations
38
- * Catalan, Chinese(Simplified), Chinese(Traditional), (English), Esperanto, German,
39
- Greek, Hungarian, Latvian, Japanese, Norwegian, Portuguese(pt_BR), Russian, Serbian,
40
- Spanish, Ukrainian, Vietnamese,
41
- * Rails Support
42
- * Support rubyonrails-2.1.0 (2.0.0 or later).
43
- * Add new validations for activerecord-2.1.0.
44
- (:greater_than, :greater_than_or_equal_to, :equal_to,
45
- :less_than, :less_than_or_equal_to,:odd, :even)
46
- * validates_(format|inclusion)_of accepts %{val} as the value
47
- (eg)
48
- validates_inclusion_of :name, :in => %w(a, b), :message => N_("%{fn} can't be %{val}")
49
- * Work Fragment caching on rails-2.1.0.
50
- * Support ActiveRecord::Base.abstract_class.
51
- * Work ActiveRecord::Errors#[]
52
- * Work render_partial.
53
-
54
- Thanks to:
55
- Translators:
56
- Slobodan Paunović, Yuri Kozlov, Patrick Lenz, Malte Milatz, Ngoc DAO Thanh, David Espada,
57
- Antonio S. de A. Terceiro, David Espada, Runar Ingebrigtsen, Tamás Tompa, Yang Bob, damphyr,
58
- Ramon Salvadó, Alex Rootoff, Aivars Akots
59
-
60
- Bug reports, suggestions and patches:
61
- Hans de Graaff, Tatsuki Sugiura, Andreas Neuhaus, Loiseleur Michel
62
-
63
- = Ruby-GetText-Package-1.91.0 (2008-05-11)
64
- * Works again on Win32 + JRuby-1.1.1
65
- * Fixed memory leaks.
66
- * Fixed bugs.
67
- * Speed up.
68
- * Support Serbian(sr)
69
- * Rails Support
70
- * rubyonrails-1.2.x isn't supported(2.0.0 or later are supported).
71
- * Localize ActionView::Helpers::FormBuilder#label.
72
- e.g.)
73
- <% form_for(@article) do |f| %>
74
- <p><%= f.label :lastupdate %></p>
75
- <% end %>
76
- => msgid "Article|Lastupdate" is used as the label string.
77
-
78
- Thanks to:
79
- Translators:
80
- Slobodan Paunović
81
- Bug reports, suggestions and patches:
82
- Paul Clegg, Locomotyphus, Simone Carletti, Dao Ngoc, Karl Palmskog,
83
- Tatsuki Sugiura, Bernd Ahlers, craccho.
84
-
85
- = Ruby-GetText-Package-1.90.0 (2008-01-30)
86
- Start to prepare v2.0.
87
-
88
- * Support Ukrainian(ua), Hungarian(hu)
89
- * JRuby supported.
90
- * Become a pure ruby library (Remove .so extention).
91
- * Don't need C compiler to install.
92
- * Unified to one gem package for all environments (Don't need Win32 package).
93
- * Directory structures are refactored.
94
- * locale modules separate from lib/gettext/ to lib/locale/.
95
- * Locale modules are refactored. System locales become read only.
96
- * Ruby on Rails 2.0 supported.
97
- * RDoc supported.
98
- * Fix bugs.
99
- * Enhance to support Ruby on Rails.
100
- * error_messages_for can accept custom error dialog messages.
101
- * Add GetText::Rails.available_locales, .normalized_locale
102
- and fragment_cache_key/expire_fragment reimplement to use these methods
103
- to restrict cached locale files.
104
-
105
- Thanks to:
106
- Translators:
107
- Alex Rootoff, Tamás Tompa
108
- Bug reports, suggestions and patches:
109
- Yaohan Chen, OZAWA Sakuro, olivier ruffin, Vít Ondruch,
110
- Andreas Neuhaus, boud indymedia, Hans de Graaff, Stephan, Reynard,
111
- Ernesto Jiménez Caballero, Paul Clegg
112
-
113
- = Ruby-GetText-Package-1.10.0 (2007-07-06)
114
-
115
- * Support Vietnamese(vi), Bosnian(bs), Croatian(hr), Norwegian(nb)
116
- * Cache messages. Both _() and n_() become 1.3-1.8 times faster
117
- than older version.
118
- * Add GetText.ns_()
119
- * Fix bugs.
120
- * Enhance to support Ruby on Rails.
121
- * Work with script/generate scaffold_resource.
122
- * error_messages_for accepts plural models.
123
- * Support Action/Fragment caching.
124
-
125
- Thanks to:
126
- Translators:
127
- Dirkjan Bussink, Bart ten Brinke, Ngoc Dao, Sanjin Sehic,
128
- Runar Ingebrigtsen, Menno Jonker, Joao Pedrosa, Malte Milatz,
129
- Patrick Lenz, David Sulc, Erkki Eilonen, Yang Bob, Ramon Salvadó
130
- Bug reports, suggestions and patches:
131
- Maksim Bartenev, Bart ten Brinke, Florian Hufsky,
132
- Michel Loiseleur, Sava Chankov
133
-
134
- = Ruby-GetText-Package-1.9.0 (2007-01-22)
135
-
136
- * Support Catalan(ca), Esperanto(eo)
137
- * Update translations: zh_CN, zh_TW, cs, nl, en, de, el, es, ja, ko, pt_BR, ru.
138
- * Support Ruby on Rails-1.2.1.
139
- * Code cleanupand improved. Fixed bugs.
140
-
141
- Thanks to:
142
- Translators:
143
- Antonio S. de A. Terceiro, David Espada, David Sulc, Gyoung-Yoon Noh,
144
- Joao Pedrosa, Malte Milatz, Menno Jonkers, Patrick Lenz, Yang Bob,
145
- Yuri Kozlov, Vassilis Rizopoulos
146
-
147
- Bug reports, suggestions and patches:
148
- Fabian Kreutz, KAKUTANI Shintaro, Mihnea Capraru, NANKI Haruo, pedro palazon
149
-
150
- = Ruby-GetText-Package-1.8.0 (2006-09-11)
151
-
152
- * Support Chinese(Taiwan: zh_TW), Estonian(et: rails.po only)
153
- * Add GetText.bindtextdomain_to(klass, domainname), .textdomain_to(klass, domainname)
154
- * rgettext supports -r, -d options.
155
- -r is to set an option parser. -d is for debugging mode.
156
- (e.g.) $ rgettext -r fooparser test.foo
157
- * Update translations: pt_BR, de, zh_TW,
158
- * Code cleanup, fixed bugs.
159
- * Enhance to support Ruby on Rails.
160
- * init_gettext finds mo-files in /vendor/plugins/{plugin_name}/locale which has
161
- app/controller directories such as Rails Engines.
162
- And init_gettext accepts :locale_path option to be able to set the locale
163
- path manually.
164
- * init_gettext manages plural textdomains.
165
- * Add before_init_gettext, after_init_gettext methods like as before/after_filter.
166
- * Speed up(the sample blog is 1.5 times faster).
167
- * gettext/active_record.rb from gettext/rails.rb.
168
- * ActiveRecord::Validations is set the app's textdomain in init_gettext.
169
- It means the class which includes ActiveRecord::Validtaions are localized with
170
- the app's textdomain.
171
- e.g.) You can use gettext methods in the subclass of ActiveForm[1]
172
- http://www.realityforge.org/svn/code/active-form/trunk/
173
- * Works rails edge again (http://dev.rubyonrails.org/ticket/5810)
174
-
175
- Thanks to:
176
- Translators: Joao Pedrosa(pt_BR), Partick Lenz(de), Erkki Eilonen(et),
177
- LIN CHUNG-YI(zh_TW)
178
- Bug reports and suggestions:
179
- Kobayashi Noritada, Andreas Neuhaus, steve dp, Tsutomu Kuroda, Donald Piret
180
-
181
- = Ruby-GetText-Package-1.7.0 (2006-07-17)
182
-
183
- * GetText.current_textdomain_info for debuging
184
- * Fixed bugs, code cleanup.
185
- * Update translations
186
- * Chinese(zh), Czech(cs), Dutch(nl), English(default), French(fr)
187
- Spanish(es), Japanese(ja), Korean(ko), Russian(ru)
188
- * Improve to support Ruby on Rails
189
- * Localize ActionView::Helpers::DateHelper.distance_of_time_in_words.
190
- * Localize #error_message_on.
191
- * Add ActiveRecord::Base.untranslate, .untranslate_all to prevend to
192
- translate columns.
193
-
194
- Thanks to:
195
- Translators:
196
- David Espada, Karel Miarka, Laurent Sansonetti, Yuri Kozlov,
197
- Gyoung-Yoon Noh, Menno Jonkers, Yingfeng
198
- Bug reports and suggestions:
199
- arton, OZAWA Sakuro, kdmsnr, Kouhei Sutou
200
-
201
- = Ruby-GetText-Package-1.6.0 (2006-06-09)
202
-
203
- * Support Chinese(zh_CN), Italian(it).
204
- * Improve the way to manage textdomains.
205
- * A class/module can have plural textdomains.
206
- * A textdomain belong to a class/module.
207
- * A class/module can have plural textdomains.
208
- * A message is looked up in its class/module and ancestors.
209
-
210
- You don't need to call bindtextdomain in each files.
211
- # A textdomain belong to a file in previous version.
212
- # And a message is looked up in the file which called
213
- # GetText functions only.
214
- * Fix bugs
215
- * Samples are cleaned up.
216
-
217
- = Ruby-GetText-Package-1.5.0 (2006-05-07)
218
-
219
- * Support Russian.
220
- * Fix bugs.
221
- * Refresh mo option was added.
222
- Check mo files and reload it if it's updated.
223
- ruby -d or GetText::TextDomain.check_mo=(true).
224
- Or development mode in Ruby on Rails.
225
-
226
- = Ruby-GetText-Package-1.4.0 (2006-04-15)
227
-
228
- * Support OpenBSD.
229
- * Fix bugs
230
- * Enhance supports of Ruby on Rails.
231
- * Improved ActionMailer localization support.
232
- * Support ActionWebService
233
- * test/gettext_test_rails.rb works with Rails-1.1.2.
234
-
235
- = Ruby-GetText-Package-1.3.0 (2006-03-11)
236
-
237
- * Improve Local::Object
238
- * POSIX, C convert to "en".
239
- * Enhance supports of Ruby on Rails.
240
- * ActionMailer localization support.
241
- * Use GetText function(_() N_() etc) in template.
242
- * ISO-2022-JP charset is used when language is "ja"(Japanese).
243
- * Localization templates support.
244
- * ActionController::Base.render_text is overrided to find
245
- localized templates such as foo_ja.rhml, foo_ja_JP.rhtml.
246
- * @params["lang"] is treated as cgi["lang"]
247
- * Use N_() as localized messages of validates_* instead of _().
248
- * Translates ActiveRecord::Column.human_name values automatically.
249
- * Fix memory leak, other bugs.
250
-
251
- = Ruby-GetText-Package-1.2.0 (2006-02-23)
252
-
253
- * Re-implement Locale module and Implements Locale::Object,
254
- Locale::System, etc.
255
- * Fix bugs.
256
- * Apply RDoc (not complete)
257
- * Improve to support Ruby on Rails.
258
- * Add GetText.Nn_.
259
- * Add rmsgmerge (Experimental)
260
-
261
- = Ruby-GetText-Package-1.1.1 (2006-01-14)
262
-
263
- * Bugfixes.
264
- * Added Greek locale by damphyr.
265
- * Support tests for Ruby on Rails.
266
-
267
- = Ruby-GetText-Package-1.1.0 (2005-12-29)
268
-
269
- * Added some functions which managed po/mo files easily.
270
- * GetText.update_pofiles creates/updates pot/po files.
271
- The idea is from Sascha Ebach.
272
-
273
- * String% is extended to accept named argument.
274
- "%{file} is selected." % {:file => "foo.rb"}
275
- Proposed by Sascha Ebach and Kazuhiro NISHIYAMA.
276
-
277
- * Enhanced Ruby on Rails support.
278
- * ActiveRecord support. Inspired from Simon Santoro(rgtrans).
279
- * the error messages are localized.
280
- Also, you can add your own messages with _("").
281
- * You can use gettext methods in the models unless
282
- preparing anything.
283
-
284
- * rgettext extracts the table names/field names
285
- of the subclass of ActiveRecord::Base as the msgid.
286
-
287
- Even for the English developers who don't need
288
- to localize their application, this function is
289
- useful because the developer can rename
290
- the table/field names using "en" locale.
291
-
292
- * More simple to set up ApplicationController.
293
- Now, you need to call just init_gettext only.
294
-
295
- class ApplicationController < ActionController::Base
296
- init_gettext "myapp" #Easy!
297
- end
298
-
299
- This "myapp" domain affects all of the controllers/views/models.
300
-
301
- * Sample "blog" application with rails.
302
- Improved the sample application on RoR. See: samples/rails/*.
303
-
304
- * New/Updated translations:
305
- Czech - Karel Miarka (NEW)
306
- Dutch - Menno Jonkers (NEW)
307
- French - Laurent Sansonetti
308
- German - Sasa Ebach
309
- Japanese - Masao Mutoh
310
- Korean - Gyoung-Yoon Noh
311
- Portuguese(Brazil) - Joao Pedrosa
312
- Spanish - David Espada
313
-
314
- * bugfixes.
315
-
316
- = Ruby-GetText-Package-1.0.0 (2005-09-03)
317
-
318
- * Ruby on Rails is supported.
319
- Includes sample in samples/rails/
320
- * gem is supported. ($ gem install gettext)
321
- * rake is supported.
322
- * Not required racc anymore on installing time.
323
- * New/Updated translations:
324
- French - Laurent Sansonetti
325
- German - Sven Herzberg
326
- Japanese - Masao Mutoh
327
- Korean - Gyoung-Yoon Noh (NEW)
328
- Spanish - David Espada
329
- * bugfixes.
330
-
331
- * Moved to http://rubyforge.org/projects/gettext/
332
- * Mailinglists started.
333
-
334
-
335
- = Ruby-GetText-Package-0.9.0 (2005-05-01)
336
-
337
- * CGI support: gettext/cgi
338
- * ERB support: gettext/erb, rgettext.
339
- * Added samples for CGI/ERB to samples/cgi/.
340
- * bugfixes.
341
-
342
-
343
- = Ruby-GetText-Package-0.8.1 (2005-03-30)
344
-
345
- * bugfixes.
346
- * New Translations: pt_BR by Joao Pedrosa.
347
-
348
-
349
- = Ruby-GetText-Package-0.8.0 (2004-11-06)
350
-
351
- * rgettext: Improved to parse ruby script.
352
- * New Translations:
353
- French - Laurent Sansonetti
354
- Spanish - David Espada
355
- Swedish - Nikolai Weibull
356
- * Fixed bugs.
357
-
358
-
359
- = Ruby-GetText-Package-0.7.0 (2004-10-25)
360
-
361
- * Support GetText.sgettext.
362
- See: http://www.gnu.org/software/gettext/manual/html_mono/gettext.html#SEC151
363
- * Added gettext/iconv.rb.
364
- If your ruby distribution doesn't have iconv.so but Ruby-GNOME2(Ruby/GTK2),
365
- gettext/iconv.rb provides pseudo Iconv.iconv using Ruby/GLib module.
366
- * GETTEXT_PATH as new environment variables. Define GETTEXT_PATH as locale
367
- diretories. You can debug/test your application unless installing catalog
368
- files.
369
- * Update setup.rb(by Minero Aoki).
370
- * Fix misc bugs
371
-
372
-
373
- = Ruby-GetText-Package-0.6.1 (2004-07-23)
374
-
375
- * rgettext: Fixed a bug of glade XML mode.
376
- * Fixed an installation problem.
377
- * Changed the installer from install.rb to setup.rb.
378
-
379
-
380
- = Ruby-GetText-Package-0.6.0 (2004-07-05)
381
-
382
- * rgettext: Support glade-2 XML file format.
383
- * rgettext: Improved to parse ruby sources.
384
- * rmsgfmt: Fix a bug that it generated wrong mo format.
385
- * Fix bugs
386
-
387
- = Ruby-GetText-Package-0.5.5 (2004-03-26)
388
-
389
- * Fix a bug.
390
-
391
- = Ruby-GetText-Package-0.5.4 (2004-02-14)
392
-
393
- * Improved to support ruby-1.9.x.
394
-
395
- = Ruby-GetText-Package-0.5.3 (2004-02-14)
396
-
397
- * Improve the initial speed.
398
-
399
- = Ruby-GetText-Package-0.5.2 (2003-11-12)
400
-
401
- * Fix bugs for Win32.
402
-
403
- = Ruby-GetText-Package-0.5.1 (2003-07-05)
404
-
405
- * Fix bugs. Code cleanup.
406
-
407
- = Ruby-GetText-Package-0.5.0 (2003-01-08)
408
-
409
- * rmsgfmt: Added.
410
- rmsgfmt is a ruby implementation of msgfmt in GNU gettext.
411
- It creates a mo-file from a po-file.
412
- * Fix bugs.
413
-
414
-
data/benchmark/1.93.0.txt DELETED
@@ -1,8 +0,0 @@
1
- "1.93.0"
2
- user system total real
3
- bindtextdomain 2.580000 0.620000 3.200000 ( 3.237802)
4
- set_locale 18.920000 2.540000 21.460000 ( 21.950700)
5
- gettext ja 1.870000 0.780000 2.650000 ( 2.696046)
6
- gettext en (not found) 1.830000 0.820000 2.650000 ( 2.697443)
7
- ngettext ja 4.260000 1.280000 5.540000 ( 5.689135)
8
- ngettext en (not found) 5.300000 1.430000 6.730000 ( 6.889310)
data/benchmark/2.0.0.txt DELETED
@@ -1,8 +0,0 @@
1
- "2.0.0"
2
- user system total real
3
- bindtextdomain 2.350000 0.490000 2.840000 ( 2.837863)
4
- set_locale 2.700000 0.630000 3.330000 ( 3.330341)
5
- gettext ja 74.160000 8.680000 82.840000 ( 82.886468)
6
- gettext en (not found) 62.030000 8.910000 70.940000 ( 70.976801)
7
- ngettext ja 75.610000 8.660000 84.270000 ( 84.316501)
8
- ngettext en (not found) 68.940000 9.630000 78.570000 ( 78.630459)
data/benchmark/2.0.4.txt DELETED
@@ -1,11 +0,0 @@
1
- "2.0.4"
2
- user system total real
3
- bindtextdomain 1.960000 0.440000 2.400000 ( 2.439888)
4
- set_locale 5.970000 2.070000 8.040000 ( 8.050040)
5
- gettext ja 1.210000 0.390000 1.600000 ( 1.604350)
6
- gettext en (not found) 1.220000 0.370000 1.590000 ( 1.593880)
7
- ngettext ja 2.200000 0.500000 2.700000 ( 2.699904)
8
- ngettext en (not found) 1.850000 0.450000 2.300000 ( 2.318696)
9
- create object ja 168.840000 26.220000 195.060000 (195.235649)
10
- create object en 222.410000 32.830000 255.240000 (255.385031)
11
- 190140K
data/benchmark/2.1.0.txt DELETED
@@ -1,11 +0,0 @@
1
- "2.1.0"
2
- user system total real
3
- bindtextdomain 1.320000 0.000000 1.320000 ( 1.348555)
4
- set_locale 3.990000 0.000000 3.990000 ( 4.073860)
5
- gettext ja 1.130000 0.000000 1.130000 ( 1.144062)
6
- gettext en (not found) 1.130000 0.000000 1.130000 ( 1.141781)
7
- ngettext ja 1.950000 0.000000 1.950000 ( 1.991278)
8
- ngettext en (not found) 1.650000 0.000000 1.650000 ( 1.676332)
9
- create object ja 1.210000 0.000000 1.210000 ( 1.224649)
10
- create object en 1.220000 0.000000 1.220000 ( 1.234247)
11
- 104K