gettext 1.7.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (356) hide show
  1. data/ChangeLog +139 -0
  2. data/NEWS +31 -0
  3. data/README +31 -15
  4. data/Rakefile +3 -30
  5. data/bin/rgettext +1 -1
  6. data/bin/rmsgfmt +1 -1
  7. data/bin/rmsgmerge +1 -1
  8. data/data/locale/cs/LC_MESSAGES/rails.mo +0 -0
  9. data/data/locale/cs/LC_MESSAGES/rgettext.mo +0 -0
  10. data/data/locale/de/LC_MESSAGES/rails.mo +0 -0
  11. data/data/locale/de/LC_MESSAGES/rgettext.mo +0 -0
  12. data/data/locale/el/LC_MESSAGES/rails.mo +0 -0
  13. data/data/locale/el/LC_MESSAGES/rgettext.mo +0 -0
  14. data/data/locale/es/LC_MESSAGES/rails.mo +0 -0
  15. data/data/locale/es/LC_MESSAGES/rgettext.mo +0 -0
  16. data/data/locale/et/LC_MESSAGES/rails.mo +0 -0
  17. data/data/locale/fr/LC_MESSAGES/rails.mo +0 -0
  18. data/data/locale/fr/LC_MESSAGES/rgettext.mo +0 -0
  19. data/data/locale/it/LC_MESSAGES/rails.mo +0 -0
  20. data/data/locale/it/LC_MESSAGES/rgettext.mo +0 -0
  21. data/data/locale/ja/LC_MESSAGES/rails.mo +0 -0
  22. data/data/locale/ja/LC_MESSAGES/rgettext.mo +0 -0
  23. data/data/locale/ko/LC_MESSAGES/rails.mo +0 -0
  24. data/data/locale/ko/LC_MESSAGES/rgettext.mo +0 -0
  25. data/data/locale/nl/LC_MESSAGES/rails.mo +0 -0
  26. data/data/locale/nl/LC_MESSAGES/rgettext.mo +0 -0
  27. data/data/locale/pt_BR/LC_MESSAGES/rails.mo +0 -0
  28. data/data/locale/pt_BR/LC_MESSAGES/rgettext.mo +0 -0
  29. data/data/locale/ru/LC_MESSAGES/rails.mo +0 -0
  30. data/data/locale/ru/LC_MESSAGES/rgettext.mo +0 -0
  31. data/data/locale/sv/LC_MESSAGES/rgettext.mo +0 -0
  32. data/data/locale/zh/LC_MESSAGES/rails.mo +0 -0
  33. data/data/locale/zh/LC_MESSAGES/rgettext.mo +0 -0
  34. data/data/locale/zh_TW/LC_MESSAGES/rails.mo +0 -0
  35. data/data/locale/zh_TW/LC_MESSAGES/rgettext.mo +0 -0
  36. data/lib/gettext.rb +50 -23
  37. data/lib/gettext/active_record.rb +275 -0
  38. data/lib/gettext/container.rb +0 -4
  39. data/lib/gettext/locale.rb +9 -2
  40. data/lib/gettext/locale_cgi.rb +5 -4
  41. data/lib/gettext/locale_object.rb +5 -4
  42. data/lib/gettext/parser/{activerecord.rb → active_record.rb} +31 -14
  43. data/lib/gettext/parser/ruby.rb +48 -44
  44. data/lib/gettext/poparser.rb +3 -3
  45. data/lib/gettext/rails.rb +111 -253
  46. data/lib/gettext/rgettext.rb +34 -6
  47. data/lib/gettext/string.rb +3 -2
  48. data/lib/gettext/textdomain.rb +3 -3
  49. data/lib/gettext/version.rb +1 -1
  50. data/pkg/ruby-gettext-package-1.8.0/ext/gettext/extconf.rb +20 -0
  51. data/po/cs/rails.po +61 -61
  52. data/po/cs/rgettext.po +37 -55
  53. data/po/de/rails.po +73 -72
  54. data/po/de/rgettext.po +39 -56
  55. data/po/el/rails.po +60 -60
  56. data/po/el/rgettext.po +26 -44
  57. data/po/es/rails.po +60 -60
  58. data/po/es/rgettext.po +28 -52
  59. data/po/et/rails.po +118 -0
  60. data/po/fr/rails.po +60 -60
  61. data/po/fr/rgettext.po +26 -46
  62. data/po/it/rails.po +68 -68
  63. data/po/it/rgettext.po +35 -53
  64. data/po/ja/rails.po +62 -61
  65. data/po/ja/rgettext.po +27 -45
  66. data/po/ko/rails.po +61 -60
  67. data/po/ko/rgettext.po +34 -54
  68. data/po/nl/rails.po +59 -60
  69. data/po/nl/rgettext.po +35 -55
  70. data/po/pt_BR/rails.po +74 -73
  71. data/po/pt_BR/rgettext.po +36 -52
  72. data/po/rails.pot +61 -61
  73. data/po/rgettext.pot +25 -43
  74. data/po/ru/rails.po +61 -62
  75. data/po/ru/rgettext.po +26 -51
  76. data/po/sv/rgettext.po +27 -44
  77. data/po/zh/rails.po +62 -60
  78. data/po/zh/rgettext.po +28 -47
  79. data/po/zh_TW/rails.po +114 -0
  80. data/po/zh_TW/rgettext.po +121 -0
  81. data/samples/cgi/locale/zh_TW/LC_MESSAGES/helloerb1.mo +0 -0
  82. data/samples/cgi/locale/zh_TW/LC_MESSAGES/helloerb2.mo +0 -0
  83. data/samples/cgi/locale/zh_TW/LC_MESSAGES/hellolib.mo +0 -0
  84. data/samples/cgi/locale/zh_TW/LC_MESSAGES/main.mo +0 -0
  85. data/samples/cgi/po/zh_TW/helloerb1.po +67 -0
  86. data/samples/cgi/po/zh_TW/helloerb2.po +54 -0
  87. data/samples/cgi/po/zh_TW/hellolib.po +26 -0
  88. data/samples/cgi/po/zh_TW/main.po +79 -0
  89. data/samples/locale/zh_TW/LC_MESSAGES/hello.mo +0 -0
  90. data/samples/locale/zh_TW/LC_MESSAGES/hello2.mo +0 -0
  91. data/samples/locale/zh_TW/LC_MESSAGES/hello_noop.mo +0 -0
  92. data/samples/locale/zh_TW/LC_MESSAGES/hello_plural.mo +0 -0
  93. data/samples/locale/zh_TW/LC_MESSAGES/helloglade2.mo +0 -0
  94. data/samples/locale/zh_TW/LC_MESSAGES/hellogtk.mo +0 -0
  95. data/samples/locale/zh_TW/LC_MESSAGES/hellotk.mo +0 -0
  96. data/samples/po/hellogtk.pot +1 -1
  97. data/samples/po/zh_TW/hello.po +26 -0
  98. data/samples/po/zh_TW/hello2.po +34 -0
  99. data/samples/po/zh_TW/hello_noop.po +30 -0
  100. data/samples/po/zh_TW/hello_plural.po +28 -0
  101. data/samples/po/zh_TW/helloglade2.po +40 -0
  102. data/samples/po/zh_TW/hellogtk.po +25 -0
  103. data/samples/po/zh_TW/hellotk.po +26 -0
  104. data/samples/rails/README +8 -11
  105. data/samples/rails/app/controllers/application.rb +6 -9
  106. data/samples/rails/app/views/layouts/blog.rhtml +1 -1
  107. data/samples/rails/config/database.yml +1 -1
  108. data/samples/rails/config/environment.rb +1 -0
  109. data/samples/rails/db/schema.rb +90 -0
  110. data/samples/rails/lib/tasks/gettext.rake +1 -1
  111. data/samples/rails/locale/cs/LC_MESSAGES/blog.mo +0 -0
  112. data/samples/rails/locale/de/LC_MESSAGES/blog.mo +0 -0
  113. data/samples/rails/locale/el/LC_MESSAGES/blog.mo +0 -0
  114. data/samples/rails/locale/en/LC_MESSAGES/blog.mo +0 -0
  115. data/samples/rails/locale/es/LC_MESSAGES/blog.mo +0 -0
  116. data/samples/rails/locale/fr/LC_MESSAGES/blog.mo +0 -0
  117. data/samples/rails/locale/it/LC_MESSAGES/blog.mo +0 -0
  118. data/samples/rails/locale/ja/LC_MESSAGES/blog.mo +0 -0
  119. data/samples/rails/locale/ko/LC_MESSAGES/blog.mo +0 -0
  120. data/samples/rails/locale/nl/LC_MESSAGES/blog.mo +0 -0
  121. data/samples/rails/locale/pt_BR/LC_MESSAGES/blog.mo +0 -0
  122. data/samples/rails/locale/ru/LC_MESSAGES/blog.mo +0 -0
  123. data/samples/rails/locale/zh/LC_MESSAGES/blog.mo +0 -0
  124. data/samples/rails/locale/zh_TW/LC_MESSAGES/blog.mo +0 -0
  125. data/samples/rails/po/blog.pot +106 -110
  126. data/samples/rails/po/cs/blog.po +110 -115
  127. data/samples/rails/po/de/blog.po +107 -112
  128. data/samples/rails/po/el/blog.po +105 -109
  129. data/samples/rails/po/en/blog.po +107 -111
  130. data/samples/rails/po/es/blog.po +105 -110
  131. data/samples/rails/po/fr/blog.po +105 -109
  132. data/samples/rails/po/it/blog.po +105 -109
  133. data/samples/rails/po/ja/blog.po +105 -109
  134. data/samples/rails/po/ko/blog.po +105 -109
  135. data/samples/rails/po/nl/blog.po +105 -110
  136. data/samples/rails/po/pt_BR/blog.po +105 -109
  137. data/samples/rails/po/ru/blog.po +105 -107
  138. data/samples/rails/po/zh/blog.po +105 -109
  139. data/samples/rails/po/zh_TW/blog.po +107 -0
  140. data/samples/rails/vendor/plugins/gettext/locale/zh_TW/LC_MESSAGES/gettext_plugin.mo +0 -0
  141. data/samples/rails/vendor/plugins/gettext/po/zh_TW/gettext_plugin.po +30 -0
  142. data/test/Rakefile +44 -0
  143. data/test/fixtures/developer.rb +5 -0
  144. data/test/fixtures/developers.yml +21 -0
  145. data/test/fixtures/reply.rb +40 -0
  146. data/test/fixtures/topic.rb +23 -0
  147. data/test/fixtures/topics.yml +22 -0
  148. data/test/gettext_test.rb +2 -2
  149. data/test/gettext_test_active_record.rb +1479 -0
  150. data/test/gettext_test_rails.rb +2 -0
  151. data/test/locale/ja/LC_MESSAGES/active_record.mo +0 -0
  152. data/test/po/active_record.pot +295 -0
  153. data/test/po/ja/active_record.po +294 -0
  154. data/test/test.sh +1 -0
  155. data/test/test_rubyparser.rb +10 -2
  156. metadata +68 -236
  157. data/doc/classes/ActionController/Base.html +0 -169
  158. data/doc/classes/ActionController/Base.src/M000014.html +0 -37
  159. data/doc/classes/ActionController/Base.src/M000015.html +0 -30
  160. data/doc/classes/ActiveRecord/Base.html +0 -210
  161. data/doc/classes/ActiveRecord/Base.src/M000114.html +0 -30
  162. data/doc/classes/ActiveRecord/Base.src/M000115.html +0 -30
  163. data/doc/classes/ActiveRecord/Base.src/M000116.html +0 -30
  164. data/doc/classes/ActiveRecord/Base.src/M000117.html +0 -30
  165. data/doc/classes/ActiveRecord/Base.src/M000118.html +0 -37
  166. data/doc/classes/ActiveRecord/Base.src/M000119.html +0 -30
  167. data/doc/classes/ActiveRecord/Base.src/M000120.html +0 -30
  168. data/doc/classes/ActiveRecord/ConnectionAdapters/Column.html +0 -117
  169. data/doc/classes/ActiveRecord/ConnectionAdapters/Column.src/M000113.html +0 -30
  170. data/doc/classes/ActiveRecord/Migration.html +0 -96
  171. data/doc/classes/GetText.html +0 -863
  172. data/doc/classes/GetText.src/M000017.html +0 -30
  173. data/doc/classes/GetText.src/M000018.html +0 -31
  174. data/doc/classes/GetText.src/M000019.html +0 -46
  175. data/doc/classes/GetText.src/M000020.html +0 -42
  176. data/doc/classes/GetText.src/M000021.html +0 -32
  177. data/doc/classes/GetText.src/M000022.html +0 -30
  178. data/doc/classes/GetText.src/M000023.html +0 -30
  179. data/doc/classes/GetText.src/M000024.html +0 -31
  180. data/doc/classes/GetText.src/M000025.html +0 -30
  181. data/doc/classes/GetText.src/M000026.html +0 -49
  182. data/doc/classes/GetText.src/M000027.html +0 -38
  183. data/doc/classes/GetText.src/M000028.html +0 -35
  184. data/doc/classes/GetText.src/M000029.html +0 -44
  185. data/doc/classes/GetText.src/M000030.html +0 -30
  186. data/doc/classes/GetText.src/M000031.html +0 -30
  187. data/doc/classes/GetText.src/M000032.html +0 -36
  188. data/doc/classes/GetText.src/M000033.html +0 -53
  189. data/doc/classes/GetText.src/M000034.html +0 -46
  190. data/doc/classes/GetText.src/M000035.html +0 -31
  191. data/doc/classes/GetText.src/M000036.html +0 -31
  192. data/doc/classes/GetText.src/M000037.html +0 -30
  193. data/doc/classes/GetText.src/M000038.html +0 -30
  194. data/doc/classes/GetText.src/M000039.html +0 -30
  195. data/doc/classes/GetText.src/M000040.html +0 -30
  196. data/doc/classes/GetText.src/M000041.html +0 -48
  197. data/doc/classes/GetText.src/M000042.html +0 -18
  198. data/doc/classes/GetText.src/M000043.html +0 -34
  199. data/doc/classes/GetText.src/M000044.html +0 -30
  200. data/doc/classes/GetText.src/M000045.html +0 -20
  201. data/doc/classes/GetText/ActiveRecordParser.html +0 -148
  202. data/doc/classes/GetText/ActiveRecordParser.src/M000048.html +0 -35
  203. data/doc/classes/GetText/ActiveRecordParser.src/M000049.html +0 -30
  204. data/doc/classes/GetText/ErbContainer.html +0 -161
  205. data/doc/classes/GetText/ErbContainer.src/M000046.html +0 -31
  206. data/doc/classes/GetText/ErbContainer.src/M000047.html +0 -30
  207. data/doc/classes/GetText/ErbParser.html +0 -113
  208. data/doc/classes/GetText/ErbParser.src/M000051.html +0 -32
  209. data/doc/classes/GetText/GetText.html +0 -89
  210. data/doc/classes/GetText/GetText/Container.html +0 -95
  211. data/doc/classes/GetText/GladeParser.html +0 -109
  212. data/doc/classes/GetText/NoboundTextDomainError.html +0 -98
  213. data/doc/classes/GetText/PoParser.html +0 -121
  214. data/doc/classes/GetText/PoParser.src/M000068.html +0 -30
  215. data/doc/classes/GetText/Rails.html +0 -172
  216. data/doc/classes/GetText/Rails.src/M000050.html +0 -43
  217. data/doc/classes/GetText/RubyParser.html +0 -99
  218. data/doc/classes/GetText/TextDomain.html +0 -345
  219. data/doc/classes/GetText/TextDomain.src/M000052.html +0 -30
  220. data/doc/classes/GetText/TextDomain.src/M000053.html +0 -30
  221. data/doc/classes/GetText/TextDomain.src/M000054.html +0 -30
  222. data/doc/classes/GetText/TextDomain.src/M000055.html +0 -58
  223. data/doc/classes/GetText/TextDomain.src/M000056.html +0 -32
  224. data/doc/classes/GetText/TextDomain.src/M000057.html +0 -35
  225. data/doc/classes/GetText/TextDomain.src/M000058.html +0 -49
  226. data/doc/classes/GetText/TextDomain.src/M000059.html +0 -30
  227. data/doc/classes/GetText/TextDomain.src/M000060.html +0 -18
  228. data/doc/classes/GetText/TextDomain.src/M000061.html +0 -18
  229. data/doc/classes/GetText/TextDomain.src/M000062.html +0 -18
  230. data/doc/classes/GetText/TextDomain.src/M000063.html +0 -46
  231. data/doc/classes/GetText/TextDomain.src/M000064.html +0 -20
  232. data/doc/classes/GetText/TextDomain.src/M000065.html +0 -23
  233. data/doc/classes/GetText/TextDomain.src/M000066.html +0 -37
  234. data/doc/classes/GetText/TextDomain.src/M000067.html +0 -18
  235. data/doc/classes/GetText/TextDomainManager.html +0 -253
  236. data/doc/classes/GetText/TextDomainManager.src/M000052.html +0 -18
  237. data/doc/classes/GetText/TextDomainManager.src/M000053.html +0 -18
  238. data/doc/classes/GetText/TextDomainManager.src/M000054.html +0 -20
  239. data/doc/classes/GetText/TextDomainManager.src/M000055.html +0 -18
  240. data/doc/classes/GetText/TextDomainManager.src/M000056.html +0 -20
  241. data/doc/classes/GetText/TextDomainManager.src/M000057.html +0 -31
  242. data/doc/classes/GetText/TextDomainManager.src/M000058.html +0 -21
  243. data/doc/classes/GetText/TextDomainManager.src/M000059.html +0 -24
  244. data/doc/classes/GetText/TextDomainManager.src/M000060.html +0 -30
  245. data/doc/classes/GetText/TextDomainManager.src/M000061.html +0 -30
  246. data/doc/classes/GetText/TextDomainManager.src/M000062.html +0 -32
  247. data/doc/classes/GetText/TextDomainManager.src/M000063.html +0 -30
  248. data/doc/classes/GetText/TextDomainManager.src/M000064.html +0 -32
  249. data/doc/classes/GetText/TextDomainManager.src/M000065.html +0 -43
  250. data/doc/classes/GetText/TextDomainManager.src/M000066.html +0 -33
  251. data/doc/classes/GetText/TextDomainManager.src/M000067.html +0 -36
  252. data/doc/classes/Iconv.html +0 -140
  253. data/doc/classes/Iconv.src/M000016.html +0 -41
  254. data/doc/classes/Iconv/Failure.html +0 -86
  255. data/doc/classes/Iconv/IllegalSequence.html +0 -96
  256. data/doc/classes/Iconv/InvalidCharacter.html +0 -96
  257. data/doc/classes/Iconv/InvalidEncoding.html +0 -96
  258. data/doc/classes/Locale.html +0 -648
  259. data/doc/classes/Locale.src/M000069.html +0 -32
  260. data/doc/classes/Locale.src/M000070.html +0 -31
  261. data/doc/classes/Locale.src/M000071.html +0 -30
  262. data/doc/classes/Locale.src/M000072.html +0 -34
  263. data/doc/classes/Locale.src/M000073.html +0 -31
  264. data/doc/classes/Locale.src/M000074.html +0 -30
  265. data/doc/classes/Locale.src/M000075.html +0 -30
  266. data/doc/classes/Locale.src/M000076.html +0 -31
  267. data/doc/classes/Locale.src/M000077.html +0 -40
  268. data/doc/classes/Locale.src/M000078.html +0 -31
  269. data/doc/classes/Locale.src/M000079.html +0 -46
  270. data/doc/classes/Locale.src/M000080.html +0 -32
  271. data/doc/classes/Locale.src/M000081.html +0 -31
  272. data/doc/classes/Locale.src/M000082.html +0 -30
  273. data/doc/classes/Locale.src/M000083.html +0 -30
  274. data/doc/classes/Locale.src/M000084.html +0 -30
  275. data/doc/classes/Locale.src/M000085.html +0 -32
  276. data/doc/classes/Locale.src/M000086.html +0 -31
  277. data/doc/classes/Locale.src/M000087.html +0 -31
  278. data/doc/classes/Locale.src/M000088.html +0 -30
  279. data/doc/classes/Locale/Object.html +0 -420
  280. data/doc/classes/Locale/Object.src/M000104.html +0 -53
  281. data/doc/classes/Locale/Object.src/M000105.html +0 -34
  282. data/doc/classes/Locale/Object.src/M000106.html +0 -32
  283. data/doc/classes/Locale/Object.src/M000107.html +0 -32
  284. data/doc/classes/Locale/Object.src/M000108.html +0 -33
  285. data/doc/classes/Locale/Object.src/M000109.html +0 -33
  286. data/doc/classes/Locale/Object.src/M000110.html +0 -30
  287. data/doc/classes/Locale/SystemCGI.html +0 -247
  288. data/doc/classes/Locale/SystemCGI.src/M000094.html +0 -48
  289. data/doc/classes/Locale/SystemCGI.src/M000095.html +0 -30
  290. data/doc/classes/Locale/SystemCGI.src/M000096.html +0 -31
  291. data/doc/classes/Locale/SystemCGI.src/M000097.html +0 -31
  292. data/doc/classes/Locale/SystemCGI.src/M000098.html +0 -31
  293. data/doc/classes/Locale/SystemCGI.src/M000099.html +0 -32
  294. data/doc/classes/Locale/SystemCGI.src/M000100.html +0 -31
  295. data/doc/classes/Locale/SystemCGI.src/M000101.html +0 -30
  296. data/doc/classes/Locale/SystemPosix.html +0 -133
  297. data/doc/classes/Locale/SystemPosix.src/M000102.html +0 -39
  298. data/doc/classes/Locale/SystemPosix.src/M000103.html +0 -34
  299. data/doc/classes/Locale/SystemWin32.html +0 -206
  300. data/doc/classes/Locale/SystemWin32.src/M000089.html +0 -31
  301. data/doc/classes/Locale/SystemWin32.src/M000090.html +0 -48
  302. data/doc/classes/Locale/SystemWin32.src/M000091.html +0 -32
  303. data/doc/classes/Locale/SystemWin32.src/M000092.html +0 -31
  304. data/doc/classes/Locale/SystemWin32.src/M000093.html +0 -30
  305. data/doc/classes/MOFile.html +0 -279
  306. data/doc/classes/MOFile.src/M000001.html +0 -31
  307. data/doc/classes/MOFile.src/M000002.html +0 -34
  308. data/doc/classes/MOFile.src/M000003.html +0 -37
  309. data/doc/classes/MOFile.src/M000004.html +0 -42
  310. data/doc/classes/MOFile.src/M000005.html +0 -93
  311. data/doc/classes/MOFile.src/M000006.html +0 -38
  312. data/doc/classes/MOFile.src/M000007.html +0 -34
  313. data/doc/classes/MOFile.src/M000008.html +0 -42
  314. data/doc/classes/MOFile.src/M000009.html +0 -93
  315. data/doc/classes/MOFile.src/M000010.html +0 -31
  316. data/doc/classes/MOFile.src/M000011.html +0 -30
  317. data/doc/classes/MOFile.src/M000012.html +0 -30
  318. data/doc/classes/MOFile/InvalidFormat.html +0 -92
  319. data/doc/classes/String.html +0 -150
  320. data/doc/classes/String.src/M000013.html +0 -44
  321. data/doc/created.rid +0 -1
  322. data/doc/files/lib/gettext/cgi_rb.html +0 -98
  323. data/doc/files/lib/gettext/container_rb.html +0 -96
  324. data/doc/files/lib/gettext/erb_rb.html +0 -97
  325. data/doc/files/lib/gettext/iconv_rb.html +0 -97
  326. data/doc/files/lib/gettext/locale_cgi_rb.html +0 -92
  327. data/doc/files/lib/gettext/locale_object_rb.html +0 -92
  328. data/doc/files/lib/gettext/locale_posix_rb.html +0 -92
  329. data/doc/files/lib/gettext/locale_rb.html +0 -99
  330. data/doc/files/lib/gettext/locale_table_win32_rb.html +0 -92
  331. data/doc/files/lib/gettext/locale_win32_rb.html +0 -96
  332. data/doc/files/lib/gettext/mo_rb.html +0 -96
  333. data/doc/files/lib/gettext/parser/activerecord_rb.html +0 -103
  334. data/doc/files/lib/gettext/parser/erb_rb.html +0 -97
  335. data/doc/files/lib/gettext/parser/glade_rb.html +0 -97
  336. data/doc/files/lib/gettext/parser/ruby_rb.html +0 -98
  337. data/doc/files/lib/gettext/poparser_rb.html +0 -96
  338. data/doc/files/lib/gettext/rails_rb.html +0 -99
  339. data/doc/files/lib/gettext/rgettext_rb.html +0 -98
  340. data/doc/files/lib/gettext/rmsgfmt_rb.html +0 -100
  341. data/doc/files/lib/gettext/rmsgmerge_rb.html +0 -100
  342. data/doc/files/lib/gettext/string_rb.html +0 -92
  343. data/doc/files/lib/gettext/textdomain_rb.html +0 -97
  344. data/doc/files/lib/gettext/textdomainmanager_rb.html +0 -97
  345. data/doc/files/lib/gettext/utils_rb.html +0 -98
  346. data/doc/files/lib/gettext/version_rb.html +0 -92
  347. data/doc/files/lib/gettext_rb.html +0 -101
  348. data/doc/fr_class_index.html +0 -45
  349. data/doc/fr_file_index.html +0 -41
  350. data/doc/fr_method_index.html +0 -135
  351. data/doc/frame-style.css +0 -33
  352. data/doc/index.html +0 -26
  353. data/doc/rdoc-style.css +0 -180
  354. data/jamis.rb +0 -590
  355. data/samples/rails/db/mysql.sql +0 -8
  356. data/samples/rails/db/postgresql.sql +0 -7
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>same_property? (GetText::TextDomain)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/gettext/textdomain.rb, line 159</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">same_property?</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">topdir</span>, <span class="ruby-identifier">locale</span>)
15
- <span class="ruby-ivar">@name</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">name</span> <span class="ruby-keyword kw">and</span> <span class="ruby-ivar">@topdir</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">topdir</span> <span class="ruby-keyword kw">and</span> <span class="ruby-ivar">@current_locale</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">locale</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,253 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
- <html>
6
- <head>
7
- <title>Class: GetText::TextDomainManager</title>
8
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
10
-
11
- <script language="JavaScript" type="text/javascript">
12
- // <![CDATA[
13
-
14
- function toggleSource( id )
15
- {
16
- var elem
17
- var link
18
-
19
- if( document.getElementById )
20
- {
21
- elem = document.getElementById( id )
22
- link = document.getElementById( "l_" + id )
23
- }
24
- else if ( document.all )
25
- {
26
- elem = eval( "document.all." + id )
27
- link = eval( "document.all.l_" + id )
28
- }
29
- else
30
- return false;
31
-
32
- if( elem.style.display == "block" )
33
- {
34
- elem.style.display = "none"
35
- link.innerHTML = "show source"
36
- }
37
- else
38
- {
39
- elem.style.display = "block"
40
- link.innerHTML = "hide source"
41
- }
42
- }
43
-
44
- function openCode( url )
45
- {
46
- window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" )
47
- }
48
- // ]]>
49
- </script>
50
- </head>
51
-
52
- <body>
53
- <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
54
- <td class="file-title"><span class="file-title-prefix">Class</span><br />GetText::TextDomainManager</td>
55
- <td align="right">
56
- <table cellspacing=0 cellpadding=2>
57
- <tr valign="top">
58
- <td>In:</td>
59
- <td>
60
- <a href="../../files/lib/gettext/textdomainmanager_rb.html">lib/gettext/textdomainmanager.rb</a>
61
- </td>
62
- </tr>
63
- <tr>
64
- <td>Parent:</td>
65
- <td>
66
- Object
67
- </td>
68
- </tr>
69
- </table>
70
- </td>
71
- </tr>
72
- </table>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
- <div id="content">
77
-
78
- <div class="description"><p>
79
- Manage <a href="TextDomain.html">TextDomain</a> (Internal use only) A
80
- class/module is able to have plural textdomains.
81
- </p>
82
- </div>
83
-
84
-
85
-
86
- <div class="sectiontitle">Methods</div>
87
- <ul>
88
- <li><a href="#M000065">add_textdomain</a></li>
89
- <li><a href="#M000066">each</a></li>
90
- <li><a href="#M000062">each_all</a></li>
91
- <li><a href="#M000064">new</a></li>
92
- <li><a href="#M000061">output_charset</a></li>
93
- <li><a href="#M000060">output_charset=</a></li>
94
- <li><a href="#M000067">set_locale</a></li>
95
- <li><a href="#M000063">textdomain</a></li>
96
- </ul>
97
-
98
- <div class="sectiontitle">Included Modules</div>
99
- <ul>
100
- <li>Enumerable</li>
101
- </ul>
102
-
103
-
104
-
105
-
106
- <div class="sectiontitle">Attributes</div>
107
- <table border='0' cellpadding='5'>
108
- <tr valign='top'>
109
- <td class='attr-rw'>
110
- [R]
111
- </td>
112
- <td class='attr-name'>target</td>
113
- <td class='attr-desc'></td>
114
- </tr>
115
- </table>
116
-
117
- <div class="sectiontitle">Public Class methods</div>
118
- <div class="method">
119
- <div class="title">
120
- <a name="M000062"></a><b>each_all</b>() {|textdomain| ...}
121
- [ <a href="javascript:openCode('TextDomainManager.src/M000062.html')">source</a> ]
122
- </div>
123
- </div>
124
- <div class="method">
125
- <div class="title">
126
- <a name="M000064"></a><b>new</b>(target, locale)
127
- [ <a href="javascript:openCode('TextDomainManager.src/M000064.html')">source</a> ]
128
- </div>
129
- <div class="description">
130
- <p>
131
- Initialize a <a href="TextDomainManager.html">TextDomainManager</a>
132
- </p>
133
- <ul>
134
- <li>target: a target class/module to bind this <a
135
- href="TextDomainManager.html">TextDomainManager</a>.
136
-
137
- </li>
138
- <li>locale: a <a href="../Locale/Object.html">Locale::Object</a>.
139
-
140
- </li>
141
- </ul>
142
- </div>
143
- </div>
144
- <div class="method">
145
- <div class="title">
146
- <a name="M000061"></a><b>output_charset</b>()
147
- [ <a href="javascript:openCode('TextDomainManager.src/M000061.html')">source</a> ]
148
- </div>
149
- <div class="description">
150
- <p>
151
- Gets the current <a
152
- href="TextDomainManager.html#M000061">output_charset</a>.
153
- </p>
154
- <ul>
155
- <li>Returns: <a href="TextDomainManager.html#M000061">output_charset</a>.
156
-
157
- </li>
158
- </ul>
159
- </div>
160
- </div>
161
- <div class="method">
162
- <div class="title">
163
- <a name="M000060"></a><b>output_charset=</b>(charset)
164
- [ <a href="javascript:openCode('TextDomainManager.src/M000060.html')">source</a> ]
165
- </div>
166
- <div class="description">
167
- <p>
168
- Sets the current <a
169
- href="TextDomainManager.html#M000061">output_charset</a>.
170
- </p>
171
- <ul>
172
- <li>charset: <a href="TextDomainManager.html#M000061">output_charset</a>.
173
-
174
- </li>
175
- <li>Returns: <a href="TextDomainManager.html#M000061">output_charset</a>.
176
-
177
- </li>
178
- </ul>
179
- </div>
180
- </div>
181
- <div class="method">
182
- <div class="title">
183
- <a name="M000063"></a><b>textdomain</b>(domainname)
184
- [ <a href="javascript:openCode('TextDomainManager.src/M000063.html')">source</a> ]
185
- </div>
186
- </div>
187
- <div class="sectiontitle">Public Instance methods</div>
188
- <div class="method">
189
- <div class="title">
190
- <a name="M000065"></a><b>add_textdomain</b>(domainname, options = {})
191
- [ <a href="javascript:openCode('TextDomainManager.src/M000065.html')">source</a> ]
192
- </div>
193
- <div class="description">
194
- <p>
195
- Add a textdomain
196
- </p>
197
- <ul>
198
- <li>options: If they aren&#8217;t set or invalid, default values are used.
199
-
200
- <ul>
201
- <li>:path - the path to the mo-files. If not set, it will search default paths
202
- such as /usr/share/locale, /usr/local/share/locale)
203
-
204
- </li>
205
- </ul>
206
- </li>
207
- </ul>
208
- </div>
209
- </div>
210
- <div class="method">
211
- <div class="title">
212
- <a name="M000066"></a><b>each</b>() {|textdomain| ...}
213
- [ <a href="javascript:openCode('TextDomainManager.src/M000066.html')">source</a> ]
214
- </div>
215
- <div class="description">
216
- <p>
217
- Iterate textdomains.
218
- </p>
219
- </div>
220
- </div>
221
- <div class="method">
222
- <div class="title">
223
- <a name="M000067"></a><b>set_locale</b>(locale, force = false)
224
- [ <a href="javascript:openCode('TextDomainManager.src/M000067.html')">source</a> ]
225
- </div>
226
- <div class="description">
227
- <p>
228
- Sets locale such as &quot;de&quot;, &quot;fr&quot;, &quot;it&quot;,
229
- &quot;ko&quot;, &quot;ja_JP.eucJP&quot;, &quot;zh_CN.EUC&quot; &#8230;
230
- </p>
231
- <p>
232
- Notice that you shouldn&#8217;t use this for your own Libraries.
233
- </p>
234
- <ul>
235
- <li>locale: a locale string or <a
236
- href="../Locale/Object.html">Locale::Object</a>.
237
-
238
- </li>
239
- <li>force: Change locale forcely.
240
-
241
- </li>
242
- <li>Returns: self
243
-
244
- </li>
245
- </ul>
246
- </div>
247
- </div>
248
- </div>
249
-
250
- </div>
251
-
252
- </body>
253
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>output_charset= (GetText::TextDomainManager)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/gettext/textdomainmanager.rb, line 29</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">output_charset=</span>(<span class="ruby-identifier">charset</span>)
15
- <span class="ruby-ivar">@@output_charset</span> = <span class="ruby-identifier">charset</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>output_charset (GetText::TextDomainManager)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/gettext/textdomainmanager.rb, line 35</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">output_charset</span>
15
- <span class="ruby-ivar">@@output_charset</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,20 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>each_all (GetText::TextDomainManager)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/gettext/textdomainmanager.rb, line 39</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">each_all</span>
15
- <span class="ruby-ivar">@@textdomain_all</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">textdomain</span><span class="ruby-operator">|</span>
16
- <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">textdomain</span>
17
- <span class="ruby-keyword kw">end</span>
18
- <span class="ruby-keyword kw">end</span></pre>
19
- </body>
20
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>textdomain (GetText::TextDomainManager)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/gettext/textdomainmanager.rb, line 45</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">textdomain</span>(<span class="ruby-identifier">domainname</span>)
15
- <span class="ruby-ivar">@@textdomain_all</span>[<span class="ruby-identifier">domainname</span>]
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,20 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>new (GetText::TextDomainManager)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/gettext/textdomainmanager.rb, line 52</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">target</span>, <span class="ruby-identifier">locale</span>)
15
- <span class="ruby-ivar">@target</span> = <span class="ruby-identifier">target</span>
16
- <span class="ruby-ivar">@locale</span> = <span class="ruby-identifier">locale</span>
17
- <span class="ruby-ivar">@textdomains</span> = {}
18
- <span class="ruby-keyword kw">end</span></pre>
19
- </body>
20
- </html>
@@ -1,31 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>add_textdomain (GetText::TextDomainManager)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/gettext/textdomainmanager.rb, line 62</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_textdomain</span>(<span class="ruby-identifier">domainname</span>, <span class="ruby-identifier">options</span> = {})
15
- <span class="ruby-identifier">path</span> = <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:path</span>]
16
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">$DEBUG</span>
17
- <span class="ruby-identifier">$stderr</span>.<span class="ruby-identifier">print</span> <span class="ruby-node">&quot;Bind the domain '#{domainname}' to '#{@target}'. &quot;</span>
18
- <span class="ruby-identifier">$stderr</span>.<span class="ruby-identifier">print</span> <span class="ruby-node">&quot;Current locale is #{@locale.inspect}\n&quot;</span>
19
- <span class="ruby-keyword kw">end</span>
20
- <span class="ruby-identifier">textdomain</span> = <span class="ruby-ivar">@@textdomain_all</span>[<span class="ruby-identifier">domainname</span>]
21
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">textdomain</span>
22
- <span class="ruby-identifier">textdomain</span>.<span class="ruby-identifier">set_locale</span>(<span class="ruby-ivar">@locale</span>)
23
- <span class="ruby-keyword kw">else</span>
24
- <span class="ruby-identifier">textdomain</span> = <span class="ruby-constant">TextDomain</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">domainname</span>, <span class="ruby-identifier">path</span>, <span class="ruby-ivar">@locale</span>)
25
- <span class="ruby-ivar">@@textdomain_all</span>[<span class="ruby-identifier">domainname</span>] = <span class="ruby-identifier">textdomain</span>
26
- <span class="ruby-keyword kw">end</span>
27
- <span class="ruby-ivar">@textdomains</span>[<span class="ruby-identifier">domainname</span>] = <span class="ruby-identifier">textdomain</span>
28
- <span class="ruby-identifier">textdomain</span>
29
- <span class="ruby-keyword kw">end</span></pre>
30
- </body>
31
- </html>
@@ -1,21 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>each (GetText::TextDomainManager)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/gettext/textdomainmanager.rb, line 80</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>
15
- <span class="ruby-ivar">@textdomains</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">textdomain</span><span class="ruby-operator">|</span>
16
- <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">textdomain</span>
17
- <span class="ruby-keyword kw">end</span>
18
- <span class="ruby-keyword kw">self</span>
19
- <span class="ruby-keyword kw">end</span></pre>
20
- </body>
21
- </html>
@@ -1,24 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>set_locale (GetText::TextDomainManager)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/gettext/textdomainmanager.rb, line 93</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_locale</span>(<span class="ruby-identifier">locale</span>, <span class="ruby-identifier">force</span> = <span class="ruby-keyword kw">false</span>)
15
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">locale</span> <span class="ruby-operator">!=</span> <span class="ruby-ivar">@locale</span> <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">force</span>
16
- <span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">textdomain</span><span class="ruby-operator">|</span>
17
- <span class="ruby-identifier">textdomain</span>.<span class="ruby-identifier">set_locale</span>(<span class="ruby-identifier">locale</span>)
18
- <span class="ruby-keyword kw">end</span>
19
- <span class="ruby-ivar">@locale</span> = <span class="ruby-identifier">locale</span>
20
- <span class="ruby-keyword kw">end</span>
21
- <span class="ruby-keyword kw">self</span>
22
- <span class="ruby-keyword kw">end</span></pre>
23
- </body>
24
- </html>