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