gettext 1.93.0 → 2.0.0

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