gettext 1.92.0 → 1.93.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (314) hide show
  1. data/ChangeLog +52 -0
  2. data/NEWS +25 -0
  3. data/README +21 -18
  4. data/data/locale/bg/LC_MESSAGES/rails.mo +0 -0
  5. data/data/locale/bg/LC_MESSAGES/rgettext.mo +0 -0
  6. data/data/locale/bs/LC_MESSAGES/rails.mo +0 -0
  7. data/data/locale/bs/LC_MESSAGES/rgettext.mo +0 -0
  8. data/data/locale/ca/LC_MESSAGES/rails.mo +0 -0
  9. data/data/locale/ca/LC_MESSAGES/rgettext.mo +0 -0
  10. data/data/locale/cs/LC_MESSAGES/rails.mo +0 -0
  11. data/data/locale/cs/LC_MESSAGES/rgettext.mo +0 -0
  12. data/data/locale/de/LC_MESSAGES/rails.mo +0 -0
  13. data/data/locale/de/LC_MESSAGES/rgettext.mo +0 -0
  14. data/data/locale/el/LC_MESSAGES/rails.mo +0 -0
  15. data/data/locale/el/LC_MESSAGES/rgettext.mo +0 -0
  16. data/data/locale/eo/LC_MESSAGES/rails.mo +0 -0
  17. data/data/locale/eo/LC_MESSAGES/rgettext.mo +0 -0
  18. data/data/locale/es/LC_MESSAGES/rails.mo +0 -0
  19. data/data/locale/es/LC_MESSAGES/rgettext.mo +0 -0
  20. data/data/locale/et/LC_MESSAGES/rails.mo +0 -0
  21. data/data/locale/et/LC_MESSAGES/rgettext.mo +0 -0
  22. data/data/locale/fr/LC_MESSAGES/rails.mo +0 -0
  23. data/data/locale/fr/LC_MESSAGES/rgettext.mo +0 -0
  24. data/data/locale/hr/LC_MESSAGES/rails.mo +0 -0
  25. data/data/locale/hr/LC_MESSAGES/rgettext.mo +0 -0
  26. data/data/locale/hu/LC_MESSAGES/rails.mo +0 -0
  27. data/data/locale/hu/LC_MESSAGES/rgettext.mo +0 -0
  28. data/data/locale/it/LC_MESSAGES/rails.mo +0 -0
  29. data/data/locale/it/LC_MESSAGES/rgettext.mo +0 -0
  30. data/data/locale/ja/LC_MESSAGES/rails.mo +0 -0
  31. data/data/locale/ja/LC_MESSAGES/rgettext.mo +0 -0
  32. data/data/locale/ko/LC_MESSAGES/rails.mo +0 -0
  33. data/data/locale/ko/LC_MESSAGES/rgettext.mo +0 -0
  34. data/data/locale/lv/LC_MESSAGES/rails.mo +0 -0
  35. data/data/locale/lv/LC_MESSAGES/rgettext.mo +0 -0
  36. data/data/locale/nb/LC_MESSAGES/rails.mo +0 -0
  37. data/data/locale/nb/LC_MESSAGES/rgettext.mo +0 -0
  38. data/data/locale/nl/LC_MESSAGES/rails.mo +0 -0
  39. data/data/locale/nl/LC_MESSAGES/rgettext.mo +0 -0
  40. data/data/locale/pt_BR/LC_MESSAGES/rails.mo +0 -0
  41. data/data/locale/pt_BR/LC_MESSAGES/rgettext.mo +0 -0
  42. data/data/locale/ru/LC_MESSAGES/rails.mo +0 -0
  43. data/data/locale/ru/LC_MESSAGES/rgettext.mo +0 -0
  44. data/data/locale/sr/LC_MESSAGES/rails.mo +0 -0
  45. data/data/locale/sr/LC_MESSAGES/rgettext.mo +0 -0
  46. data/data/locale/sv/LC_MESSAGES/rgettext.mo +0 -0
  47. data/data/locale/ua/LC_MESSAGES/rails.mo +0 -0
  48. data/data/locale/ua/LC_MESSAGES/rgettext.mo +0 -0
  49. data/data/locale/vi/LC_MESSAGES/rails.mo +0 -0
  50. data/data/locale/vi/LC_MESSAGES/rgettext.mo +0 -0
  51. data/data/locale/zh/LC_MESSAGES/rails.mo +0 -0
  52. data/data/locale/zh/LC_MESSAGES/rgettext.mo +0 -0
  53. data/data/locale/zh_TW/LC_MESSAGES/rails.mo +0 -0
  54. data/data/locale/zh_TW/LC_MESSAGES/rgettext.mo +0 -0
  55. data/doc/classes/ActionView/Helpers/FormBuilder.html +11 -11
  56. data/doc/classes/ActionView/TemplateFinder.html +16 -16
  57. data/doc/classes/GetText.html +556 -521
  58. data/doc/classes/GetText/ActiveRecordParser.html +13 -13
  59. data/doc/classes/GetText/ErbContainer.html +12 -12
  60. data/doc/classes/GetText/ErbParser.html +6 -6
  61. data/doc/classes/GetText/NoboundTextDomainError.html +1 -1
  62. data/doc/classes/GetText/PoParser.html +6 -6
  63. data/doc/classes/GetText/Rails.html +20 -20
  64. data/doc/classes/GetText/RubyParser.html +5 -0
  65. data/doc/classes/GetText/TextDomain.html +53 -53
  66. data/doc/classes/GetText/TextDomainManager.html +54 -54
  67. data/doc/classes/Locale/Object.html +177 -173
  68. data/doc/classes/Locale/SystemBase.html +32 -32
  69. data/doc/classes/Locale/SystemCGI.html +31 -31
  70. data/doc/classes/Locale/SystemPosix.html +50 -0
  71. data/doc/classes/Locale/SystemWin32.html +6 -6
  72. data/doc/created.rid +1 -1
  73. data/doc/files/ChangeLog.html +69 -1
  74. data/doc/files/README.html +27 -19
  75. data/doc/files/lib/gettext/parser/ruby_rb.html +1 -1
  76. data/doc/files/lib/gettext/rails_rb.html +1 -1
  77. data/doc/files/lib/gettext/rgettext_rb.html +1 -1
  78. data/doc/files/lib/gettext/utils_rb.html +1 -1
  79. data/doc/files/lib/gettext/version_rb.html +1 -1
  80. data/doc/files/lib/gettext_rb.html +1 -1
  81. data/doc/files/lib/locale/object_rb.html +1 -1
  82. data/doc/files/lib/locale/posix_rb.html +1 -1
  83. data/doc/fr_method_index.html +94 -92
  84. data/lib/gettext.rb +27 -6
  85. data/lib/gettext/parser/ruby.rb +9 -2
  86. data/lib/gettext/rails.rb +11 -6
  87. data/lib/gettext/rgettext.rb +9 -8
  88. data/lib/gettext/utils.rb +18 -4
  89. data/lib/gettext/version.rb +1 -1
  90. data/lib/locale/object.rb +10 -6
  91. data/lib/locale/posix.rb +15 -1
  92. data/po/bg/rails.po +169 -0
  93. data/po/bg/rgettext.po +146 -0
  94. data/po/bs/rails.po +34 -34
  95. data/po/bs/rgettext.po +23 -17
  96. data/po/ca/rails.po +34 -34
  97. data/po/ca/rgettext.po +29 -22
  98. data/po/cs/rails.po +34 -34
  99. data/po/cs/rgettext.po +23 -17
  100. data/po/de/rails.po +34 -34
  101. data/po/de/rgettext.po +30 -22
  102. data/po/el/rails.po +38 -38
  103. data/po/el/rgettext.po +29 -22
  104. data/po/eo/rails.po +34 -34
  105. data/po/eo/rgettext.po +30 -23
  106. data/po/es/rails.po +34 -34
  107. data/po/es/rgettext.po +27 -21
  108. data/po/et/rails.po +42 -50
  109. data/po/et/rgettext.po +143 -0
  110. data/po/fr/rails.po +45 -52
  111. data/po/fr/rgettext.po +39 -32
  112. data/po/hr/rails.po +34 -34
  113. data/po/hr/rgettext.po +23 -17
  114. data/po/hu/rails.po +34 -34
  115. data/po/hu/rgettext.po +29 -21
  116. data/po/it/rails.po +34 -34
  117. data/po/it/rgettext.po +23 -17
  118. data/po/ja/rails.po +35 -35
  119. data/po/ja/rgettext.po +30 -22
  120. data/po/ko/rails.po +34 -34
  121. data/po/ko/rgettext.po +23 -17
  122. data/po/lv/rails.po +57 -37
  123. data/po/lv/rgettext.po +37 -28
  124. data/po/nb/rails.po +37 -38
  125. data/po/nb/rgettext.po +29 -22
  126. data/po/nl/rails.po +34 -34
  127. data/po/nl/rgettext.po +23 -17
  128. data/po/pt_BR/rails.po +34 -34
  129. data/po/pt_BR/rgettext.po +30 -22
  130. data/po/rails.pot +34 -34
  131. data/po/rgettext.pot +23 -17
  132. data/po/ru/rails.po +37 -37
  133. data/po/ru/rgettext.po +28 -22
  134. data/po/sr/rails.po +34 -34
  135. data/po/sr/rgettext.po +23 -17
  136. data/po/sv/rgettext.po +23 -17
  137. data/po/ua/rails.po +41 -39
  138. data/po/ua/rgettext.po +26 -19
  139. data/po/vi/rails.po +34 -35
  140. data/po/vi/rgettext.po +34 -27
  141. data/po/zh/rails.po +34 -34
  142. data/po/zh/rgettext.po +28 -22
  143. data/po/zh_TW/rails.po +34 -34
  144. data/po/zh_TW/rgettext.po +27 -21
  145. data/samples/cgi/locale/bg/LC_MESSAGES/helloerb1.mo +0 -0
  146. data/samples/cgi/locale/bg/LC_MESSAGES/helloerb2.mo +0 -0
  147. data/samples/cgi/locale/bg/LC_MESSAGES/hellolib.mo +0 -0
  148. data/samples/cgi/locale/bg/LC_MESSAGES/main.mo +0 -0
  149. data/samples/cgi/locale/lv/LC_MESSAGES/helloerb1.mo +0 -0
  150. data/samples/cgi/locale/lv/LC_MESSAGES/helloerb2.mo +0 -0
  151. data/samples/cgi/locale/lv/LC_MESSAGES/hellolib.mo +0 -0
  152. data/samples/cgi/locale/lv/LC_MESSAGES/main.mo +0 -0
  153. data/samples/cgi/locale/nb/LC_MESSAGES/helloerb1.mo +0 -0
  154. data/samples/cgi/locale/nb/LC_MESSAGES/helloerb2.mo +0 -0
  155. data/samples/cgi/locale/nb/LC_MESSAGES/hellolib.mo +0 -0
  156. data/samples/cgi/locale/nb/LC_MESSAGES/main.mo +0 -0
  157. data/samples/cgi/locale/sr/LC_MESSAGES/helloerb1.mo +0 -0
  158. data/samples/cgi/locale/sr/LC_MESSAGES/helloerb2.mo +0 -0
  159. data/samples/cgi/locale/sr/LC_MESSAGES/hellolib.mo +0 -0
  160. data/samples/cgi/locale/sr/LC_MESSAGES/main.mo +0 -0
  161. data/samples/cgi/locale/ua/LC_MESSAGES/helloerb1.mo +0 -0
  162. data/samples/cgi/locale/ua/LC_MESSAGES/main.mo +0 -0
  163. data/samples/cgi/po/bg/helloerb1.po +59 -0
  164. data/samples/cgi/po/bg/helloerb2.po +51 -0
  165. data/samples/cgi/po/bg/hellolib.po +23 -0
  166. data/samples/cgi/po/bg/main.po +83 -0
  167. data/samples/locale/bg/LC_MESSAGES/hello.mo +0 -0
  168. data/samples/locale/bg/LC_MESSAGES/hello2.mo +0 -0
  169. data/samples/locale/bg/LC_MESSAGES/hello_noop.mo +0 -0
  170. data/samples/locale/bg/LC_MESSAGES/hello_plural.mo +0 -0
  171. data/samples/locale/bg/LC_MESSAGES/helloglade2.mo +0 -0
  172. data/samples/locale/bg/LC_MESSAGES/hellogtk.mo +0 -0
  173. data/samples/locale/bg/LC_MESSAGES/hellotk.mo +0 -0
  174. data/samples/locale/lv/LC_MESSAGES/hello.mo +0 -0
  175. data/samples/locale/lv/LC_MESSAGES/hello2.mo +0 -0
  176. data/samples/locale/lv/LC_MESSAGES/hello_noop.mo +0 -0
  177. data/samples/locale/lv/LC_MESSAGES/hello_plural.mo +0 -0
  178. data/samples/locale/lv/LC_MESSAGES/helloglade2.mo +0 -0
  179. data/samples/locale/lv/LC_MESSAGES/hellogtk.mo +0 -0
  180. data/samples/locale/lv/LC_MESSAGES/hellotk.mo +0 -0
  181. data/samples/locale/nb/LC_MESSAGES/hello.mo +0 -0
  182. data/samples/locale/nb/LC_MESSAGES/hello2.mo +0 -0
  183. data/samples/locale/nb/LC_MESSAGES/hello_noop.mo +0 -0
  184. data/samples/locale/nb/LC_MESSAGES/hello_plural.mo +0 -0
  185. data/samples/locale/nb/LC_MESSAGES/helloglade2.mo +0 -0
  186. data/samples/locale/nb/LC_MESSAGES/hellogtk.mo +0 -0
  187. data/samples/locale/nb/LC_MESSAGES/hellotk.mo +0 -0
  188. data/samples/locale/sr/LC_MESSAGES/hello.mo +0 -0
  189. data/samples/locale/sr/LC_MESSAGES/hello2.mo +0 -0
  190. data/samples/locale/sr/LC_MESSAGES/hello_noop.mo +0 -0
  191. data/samples/locale/sr/LC_MESSAGES/hello_plural.mo +0 -0
  192. data/samples/locale/sr/LC_MESSAGES/helloglade2.mo +0 -0
  193. data/samples/locale/sr/LC_MESSAGES/hellogtk.mo +0 -0
  194. data/samples/locale/sr/LC_MESSAGES/hellotk.mo +0 -0
  195. data/samples/locale/ua/LC_MESSAGES/hello2.mo +0 -0
  196. data/samples/locale/ua/LC_MESSAGES/hello_plural.mo +0 -0
  197. data/samples/po/bg/hello.po +24 -0
  198. data/samples/po/bg/hello2.po +31 -0
  199. data/samples/po/bg/hello_noop.po +27 -0
  200. data/samples/po/bg/hello_plural.po +25 -0
  201. data/samples/po/bg/helloglade2.po +31 -0
  202. data/samples/po/bg/hellogtk.po +23 -0
  203. data/samples/po/bg/hellotk.po +23 -0
  204. data/samples/rails/db/schema.rb +2 -4
  205. data/samples/rails/locale/bg/LC_MESSAGES/blog.mo +0 -0
  206. data/samples/rails/locale/bs/LC_MESSAGES/blog.mo +0 -0
  207. data/samples/rails/locale/ca/LC_MESSAGES/blog.mo +0 -0
  208. data/samples/rails/locale/cs/LC_MESSAGES/blog.mo +0 -0
  209. data/samples/rails/locale/de/LC_MESSAGES/blog.mo +0 -0
  210. data/samples/rails/locale/el/LC_MESSAGES/blog.mo +0 -0
  211. data/samples/rails/locale/en/LC_MESSAGES/blog.mo +0 -0
  212. data/samples/rails/locale/eo/LC_MESSAGES/blog.mo +0 -0
  213. data/samples/rails/locale/es/LC_MESSAGES/blog.mo +0 -0
  214. data/samples/rails/locale/fr/LC_MESSAGES/blog.mo +0 -0
  215. data/samples/rails/locale/hr/LC_MESSAGES/blog.mo +0 -0
  216. data/samples/rails/locale/hu/LC_MESSAGES/blog.mo +0 -0
  217. data/samples/rails/locale/it/LC_MESSAGES/blog.mo +0 -0
  218. data/samples/rails/locale/ja/LC_MESSAGES/blog.mo +0 -0
  219. data/samples/rails/locale/ko/LC_MESSAGES/blog.mo +0 -0
  220. data/samples/rails/locale/lv/LC_MESSAGES/blog.mo +0 -0
  221. data/samples/rails/locale/nb/LC_MESSAGES/blog.mo +0 -0
  222. data/samples/rails/locale/nl/LC_MESSAGES/blog.mo +0 -0
  223. data/samples/rails/locale/pt_BR/LC_MESSAGES/blog.mo +0 -0
  224. data/samples/rails/locale/ru/LC_MESSAGES/blog.mo +0 -0
  225. data/samples/rails/locale/sr/LC_MESSAGES/blog.mo +0 -0
  226. data/samples/rails/locale/ua/LC_MESSAGES/blog.mo +0 -0
  227. data/samples/rails/locale/vi/LC_MESSAGES/blog.mo +0 -0
  228. data/samples/rails/locale/zh/LC_MESSAGES/blog.mo +0 -0
  229. data/samples/rails/locale/zh_TW/LC_MESSAGES/blog.mo +0 -0
  230. data/samples/rails/po/bg/blog.po +101 -0
  231. data/samples/rails/po/blog.pot +36 -40
  232. data/samples/rails/po/bs/blog.po +41 -44
  233. data/samples/rails/po/ca/blog.po +44 -48
  234. data/samples/rails/po/cs/blog.po +44 -47
  235. data/samples/rails/po/de/blog.po +44 -47
  236. data/samples/rails/po/el/blog.po +44 -47
  237. data/samples/rails/po/en/blog.po +37 -41
  238. data/samples/rails/po/eo/blog.po +44 -48
  239. data/samples/rails/po/es/blog.po +44 -48
  240. data/samples/rails/po/fr/blog.po +44 -47
  241. data/samples/rails/po/hr/blog.po +41 -45
  242. data/samples/rails/po/hu/blog.po +41 -45
  243. data/samples/rails/po/it/blog.po +45 -48
  244. data/samples/rails/po/ja/blog.po +44 -48
  245. data/samples/rails/po/ko/blog.po +45 -48
  246. data/samples/rails/po/lv/blog.po +43 -50
  247. data/samples/rails/po/nb/blog.po +42 -47
  248. data/samples/rails/po/nl/blog.po +44 -47
  249. data/samples/rails/po/pt_BR/blog.po +45 -48
  250. data/samples/rails/po/ru/blog.po +43 -46
  251. data/samples/rails/po/sr/blog.po +42 -45
  252. data/samples/rails/po/ua/blog.po +43 -46
  253. data/samples/rails/po/vi/blog.po +40 -43
  254. data/samples/rails/po/zh/blog.po +44 -48
  255. data/samples/rails/po/zh_TW/blog.po +44 -48
  256. data/samples/rails/vendor/plugins/gettext/locale/bg/LC_MESSAGES/gettext_plugin.mo +0 -0
  257. data/samples/rails/vendor/plugins/gettext/locale/bs/LC_MESSAGES/gettext_plugin.mo +0 -0
  258. data/samples/rails/vendor/plugins/gettext/locale/ca/LC_MESSAGES/gettext_plugin.mo +0 -0
  259. data/samples/rails/vendor/plugins/gettext/locale/cs/LC_MESSAGES/gettext_plugin.mo +0 -0
  260. data/samples/rails/vendor/plugins/gettext/locale/de/LC_MESSAGES/gettext_plugin.mo +0 -0
  261. data/samples/rails/vendor/plugins/gettext/locale/el/LC_MESSAGES/gettext_plugin.mo +0 -0
  262. data/samples/rails/vendor/plugins/gettext/locale/eo/LC_MESSAGES/gettext_plugin.mo +0 -0
  263. data/samples/rails/vendor/plugins/gettext/locale/es/LC_MESSAGES/gettext_plugin.mo +0 -0
  264. data/samples/rails/vendor/plugins/gettext/locale/fr/LC_MESSAGES/gettext_plugin.mo +0 -0
  265. data/samples/rails/vendor/plugins/gettext/locale/hr/LC_MESSAGES/gettext_plugin.mo +0 -0
  266. data/samples/rails/vendor/plugins/gettext/locale/hu/LC_MESSAGES/gettext_plugin.mo +0 -0
  267. data/samples/rails/vendor/plugins/gettext/locale/it/LC_MESSAGES/gettext_plugin.mo +0 -0
  268. data/samples/rails/vendor/plugins/gettext/locale/ja/LC_MESSAGES/gettext_plugin.mo +0 -0
  269. data/samples/rails/vendor/plugins/gettext/locale/ko/LC_MESSAGES/gettext_plugin.mo +0 -0
  270. data/samples/rails/vendor/plugins/gettext/locale/lv/LC_MESSAGES/gettext_plugin.mo +0 -0
  271. data/samples/rails/vendor/plugins/gettext/locale/nb/LC_MESSAGES/gettext_plugin.mo +0 -0
  272. data/samples/rails/vendor/plugins/gettext/locale/nl/LC_MESSAGES/gettext_plugin.mo +0 -0
  273. data/samples/rails/vendor/plugins/gettext/locale/pt_BR/LC_MESSAGES/gettext_plugin.mo +0 -0
  274. data/samples/rails/vendor/plugins/gettext/locale/ru/LC_MESSAGES/gettext_plugin.mo +0 -0
  275. data/samples/rails/vendor/plugins/gettext/locale/sr/LC_MESSAGES/gettext_plugin.mo +0 -0
  276. data/samples/rails/vendor/plugins/gettext/locale/ua/LC_MESSAGES/gettext_plugin.mo +0 -0
  277. data/samples/rails/vendor/plugins/gettext/locale/vi/LC_MESSAGES/gettext_plugin.mo +0 -0
  278. data/samples/rails/vendor/plugins/gettext/locale/zh/LC_MESSAGES/gettext_plugin.mo +0 -0
  279. data/samples/rails/vendor/plugins/gettext/locale/zh_TW/LC_MESSAGES/gettext_plugin.mo +0 -0
  280. data/samples/rails/vendor/plugins/gettext/po/bg/gettext_plugin.po +27 -0
  281. data/samples/rails/vendor/plugins/gettext/po/bs/gettext_plugin.po +6 -6
  282. data/samples/rails/vendor/plugins/gettext/po/ca/gettext_plugin.po +3 -3
  283. data/samples/rails/vendor/plugins/gettext/po/cs/gettext_plugin.po +3 -3
  284. data/samples/rails/vendor/plugins/gettext/po/de/gettext_plugin.po +3 -3
  285. data/samples/rails/vendor/plugins/gettext/po/el/gettext_plugin.po +3 -3
  286. data/samples/rails/vendor/plugins/gettext/po/eo/gettext_plugin.po +3 -3
  287. data/samples/rails/vendor/plugins/gettext/po/es/gettext_plugin.po +3 -3
  288. data/samples/rails/vendor/plugins/gettext/po/fr/gettext_plugin.po +3 -3
  289. data/samples/rails/vendor/plugins/gettext/po/gettext_plugin.pot +3 -3
  290. data/samples/rails/vendor/plugins/gettext/po/hr/gettext_plugin.po +6 -6
  291. data/samples/rails/vendor/plugins/gettext/po/hu/gettext_plugin.po +3 -3
  292. data/samples/rails/vendor/plugins/gettext/po/it/gettext_plugin.po +3 -3
  293. data/samples/rails/vendor/plugins/gettext/po/ja/gettext_plugin.po +3 -3
  294. data/samples/rails/vendor/plugins/gettext/po/ko/gettext_plugin.po +3 -3
  295. data/samples/rails/vendor/plugins/gettext/po/lv/gettext_plugin.po +5 -5
  296. data/samples/rails/vendor/plugins/gettext/po/nb/gettext_plugin.po +6 -7
  297. data/samples/rails/vendor/plugins/gettext/po/nl/gettext_plugin.po +3 -3
  298. data/samples/rails/vendor/plugins/gettext/po/pt_BR/gettext_plugin.po +3 -3
  299. data/samples/rails/vendor/plugins/gettext/po/ru/gettext_plugin.po +3 -3
  300. data/samples/rails/vendor/plugins/gettext/po/sr/gettext_plugin.po +4 -4
  301. data/samples/rails/vendor/plugins/gettext/po/ua/gettext_plugin.po +3 -3
  302. data/samples/rails/vendor/plugins/gettext/po/vi/gettext_plugin.po +3 -4
  303. data/samples/rails/vendor/plugins/gettext/po/zh/gettext_plugin.po +3 -3
  304. data/samples/rails/vendor/plugins/gettext/po/zh_TW/gettext_plugin.po +3 -4
  305. data/test/locale/ja/LC_MESSAGES/active_record.mo +0 -0
  306. data/test/locale/ja/LC_MESSAGES/test_npgettext.mo +0 -0
  307. data/test/locale/ja/LC_MESSAGES/test_pgettext.mo +0 -0
  308. data/test/po/active_record.pot +41 -28
  309. data/test/po/ja/active_record.po +41 -28
  310. data/test/po/ja/test_npgettext.po +46 -0
  311. data/test/test_gettext.rb +10 -0
  312. data/test/test_locale.rb +5 -0
  313. data/test/testlib/npgettext.rb +33 -0
  314. metadata +78 -2
@@ -0,0 +1,23 @@
1
+ # Hello World for Ruby/GTK -- sample for ruby-gettext-package
2
+ #
3
+ # Copyright (C) 2001-2006 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # Georgi Stoimenov <georgistoimenov@abv.bg>, 2008
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
12
+ "POT-Creation-Date: 2001-12-24 01:52:10+0900\n"
13
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
+ "Last-Translator: Sava Chankov <sava.chankov@gmail.com>\n"
15
+ "Language-Team: Bulgarian <ruby-on-rails-bulgaria@googlegroups.com>\n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
+
21
+ #: ../hellogtk.rb:14
22
+ msgid "hello, gtk world"
23
+ msgstr "Гепи, gtk копеле"
@@ -0,0 +1,23 @@
1
+ # hellotk.po - sample for Ruby/TK
2
+ #
3
+ # Copyright (C) 2004 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # Georgi Stoimenov <georgistoimenov@abv.bg>, 2008
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
12
+ "POT-Creation-Date: 2004-11-05 21:38+0900\n"
13
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
+ "Last-Translator: Sava Chankov <sava.chankov@gmail.com>\n"
15
+ "Language-Team: Bulgarian <ruby-on-rails-bulgaria@googlegroups.com>\n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
+
21
+ #: hellotk.rb:10
22
+ msgid "hello, tk world"
23
+ msgstr "Гепи, tk копеле"
@@ -1,5 +1,5 @@
1
1
  # This file is auto-generated from the current state of the database. Instead of editing this file,
2
- # please use the migrations feature of ActiveRecord to incrementally modify your database, and
2
+ # please use the migrations feature of Active Record to incrementally modify your database, and
3
3
  # then regenerate this schema definition.
4
4
  #
5
5
  # Note that this schema.rb definition is the authoritative source for your database schema. If you need
@@ -13,10 +13,8 @@ ActiveRecord::Schema.define(:version => 1) do
13
13
 
14
14
  create_table "articles", :force => true do |t|
15
15
  t.string "title", :default => "", :null => false
16
- t.text "description", :default => "", :null => false
16
+ t.text "description", :null => false
17
17
  t.date "lastupdate"
18
- t.datetime "created_at"
19
- t.datetime "updated_at"
20
18
  end
21
19
 
22
20
  end
@@ -0,0 +1,101 @@
1
+ # GetText Sample Blog on RoR.
2
+ #
3
+ # Copyright (C) 2005,2006 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # Georgi Stoimenov <georgistoimenov@abv.bg>, 2008
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: blog 2.0.0\n"
12
+ "POT-Creation-Date: 2008-09-15 00:49+0900\n"
13
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
+ "Last-Translator: Sava Chankov <sava.chankov@gmail.com>\n"
15
+ "Language-Team: Bulgarian <ruby-on-rails-bulgaria@googlegroups.com>\n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
+
21
+ #: app/helpers/articles_helper.rb:42
22
+ msgid "Ruby Links"
23
+ msgstr "Връзки за Руби"
24
+
25
+ #: app/helpers/articles_helper.rb:50
26
+ msgid "Old articles"
27
+ msgstr "Стари статии"
28
+
29
+ #: app/models/article.rb:-
30
+ msgid "article"
31
+ msgstr "статия"
32
+
33
+ #: app/models/article.rb:-
34
+ msgid "Article|Title"
35
+ msgstr "заглавие"
36
+
37
+ #: app/models/article.rb:-
38
+ msgid "Article|Description"
39
+ msgstr "описание"
40
+
41
+ #: app/models/article.rb:-
42
+ msgid "Article|Lastupdate"
43
+ msgstr "Последна промяна"
44
+
45
+ #: app/controllers/articles_controller.rb:58
46
+ msgid "Article was successfully created."
47
+ msgstr "Статията беше създадена."
48
+
49
+ #: app/controllers/articles_controller.rb:75
50
+ msgid "Article was successfully updated."
51
+ msgstr "Статията беше редактирана."
52
+
53
+ #: app/views/articles/edit.html.erb:1
54
+ msgid "Editing article"
55
+ msgstr "Редактиране на статия"
56
+
57
+ #: app/views/articles/edit.html.erb:9 app/views/articles/new.html.erb:9
58
+ msgid "Title: Required."
59
+ msgstr "Заглавието е задължително."
60
+
61
+ #: app/views/articles/edit.html.erb:11 app/views/articles/new.html.erb:11
62
+ msgid "Description: More than 10 characters."
63
+ msgstr "Описанието трябва да е повече от 10 символа."
64
+
65
+ #: app/views/articles/edit.html.erb:13 app/views/articles/show.html.erb:4
66
+ msgid "Edit"
67
+ msgstr "Редактиране"
68
+
69
+ #: app/views/articles/edit.html.erb:18
70
+ msgid "Show"
71
+ msgstr "Разглеждане"
72
+
73
+ #: app/views/articles/edit.html.erb:19
74
+ msgid "Destroy"
75
+ msgstr "Изтриване"
76
+
77
+ #: app/views/articles/edit.html.erb:19
78
+ msgid "Are you sure?"
79
+ msgstr "Сигурен ли сте?"
80
+
81
+ #: app/views/articles/edit.html.erb:20 app/views/articles/show.html.erb:5
82
+ #: app/views/articles/new.html.erb:18
83
+ msgid "Back"
84
+ msgstr "Назад"
85
+
86
+ #: app/views/articles/show.html.erb:1 app/views/articles/index.html.erb:1
87
+ #: app/views/layouts/articles.html.erb:7
88
+ msgid "GetText Sample Blog on RoR"
89
+ msgstr "Примерен блог с GetText и RoR"
90
+
91
+ #: app/views/articles/new.html.erb:1 app/views/articles/index.html.erb:4
92
+ msgid "New article"
93
+ msgstr "Нова статия"
94
+
95
+ #: app/views/articles/new.html.erb:13
96
+ msgid "Create"
97
+ msgstr "Създаване"
98
+
99
+ #: app/views/articles/index.html.erb:7
100
+ msgid "No articles were found."
101
+ msgstr "Не бяха намерени статии."
@@ -1,16 +1,16 @@
1
1
  # GetText Sample Blog on RoR.
2
- #
2
+ #
3
3
  # Copyright (C) 2005,2006 Masao Mutoh
4
- #
4
+ #
5
5
  # This file is distributed under the same license as the Ruby-GetText-Package.
6
- #
6
+ #
7
7
  # FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
8
- #
8
+ #
9
9
  #, fuzzy
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: blog 1.2.0\n"
13
- "POT-Creation-Date: 2007-08-01 23:20+0900\n"
12
+ "Project-Id-Version: blog 2.0.0\n"
13
+ "POT-Creation-Date: 2008-09-15 00:49+0900\n"
14
14
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
15
15
  "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
16
16
  "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -19,11 +19,11 @@ msgstr ""
19
19
  "Content-Transfer-Encoding: 8bit\n"
20
20
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
21
21
 
22
- #: app/helpers/blog_helper.rb:43
22
+ #: app/helpers/articles_helper.rb:42
23
23
  msgid "Ruby Links"
24
24
  msgstr ""
25
25
 
26
- #: app/helpers/blog_helper.rb:51
26
+ #: app/helpers/articles_helper.rb:50
27
27
  msgid "Old articles"
28
28
  msgstr ""
29
29
 
@@ -43,64 +43,60 @@ msgstr ""
43
43
  msgid "Article|Lastupdate"
44
44
  msgstr ""
45
45
 
46
- #: app/controllers/blog_controller.rb:33
46
+ #: app/controllers/articles_controller.rb:58
47
47
  msgid "Article was successfully created."
48
48
  msgstr ""
49
49
 
50
- #: app/controllers/blog_controller.rb:47
50
+ #: app/controllers/articles_controller.rb:75
51
51
  msgid "Article was successfully updated."
52
52
  msgstr ""
53
53
 
54
- #: app/views/blog/show.rhtml:13 app/views/blog/list.rhtml:13
55
- #: app/views/layouts/blog.rhtml:14
56
- msgid "GetText Sample Blog on RoR"
57
- msgstr ""
58
-
59
- #: app/views/blog/show.rhtml:16 app/views/blog/edit.rhtml:16
60
- msgid "Edit"
54
+ #: app/views/articles/edit.html.erb:1
55
+ msgid "Editing article"
61
56
  msgstr ""
62
57
 
63
- #: app/views/blog/show.rhtml:17 app/views/blog/new.rhtml:20
64
- #: app/views/blog/edit.rhtml:21
65
- msgid "Back"
58
+ #: app/views/articles/edit.html.erb:9 app/views/articles/new.html.erb:9
59
+ msgid "Title: Required."
66
60
  msgstr ""
67
61
 
68
- #: app/views/blog/new.rhtml:13 app/views/blog/list.rhtml:15
69
- msgid "New article"
62
+ #: app/views/articles/edit.html.erb:11 app/views/articles/new.html.erb:11
63
+ msgid "Description: More than 10 characters."
70
64
  msgstr ""
71
65
 
72
- #: app/views/blog/new.rhtml:17
73
- msgid "Create"
66
+ #: app/views/articles/edit.html.erb:13 app/views/articles/show.html.erb:4
67
+ msgid "Edit"
74
68
  msgstr ""
75
69
 
76
- #: app/views/blog/list.rhtml:18
77
- msgid "No articles were found."
70
+ #: app/views/articles/edit.html.erb:18
71
+ msgid "Show"
78
72
  msgstr ""
79
73
 
80
- #: app/views/blog/edit.rhtml:12
81
- msgid "Editing article"
74
+ #: app/views/articles/edit.html.erb:19
75
+ msgid "Destroy"
82
76
  msgstr ""
83
77
 
84
- #: app/views/blog/edit.rhtml:19
85
- msgid "Show"
78
+ #: app/views/articles/edit.html.erb:19
79
+ msgid "Are you sure?"
86
80
  msgstr ""
87
81
 
88
- #: app/views/blog/edit.rhtml:20
89
- msgid "Destroy"
82
+ #: app/views/articles/edit.html.erb:20 app/views/articles/show.html.erb:5
83
+ #: app/views/articles/new.html.erb:18
84
+ msgid "Back"
90
85
  msgstr ""
91
86
 
92
- #: app/views/blog/edit.rhtml:20
93
- msgid "Are you sure?"
87
+ #: app/views/articles/show.html.erb:1 app/views/articles/index.html.erb:1
88
+ #: app/views/layouts/articles.html.erb:7
89
+ msgid "GetText Sample Blog on RoR"
94
90
  msgstr ""
95
91
 
96
- #: app/views/blog/_form.rhtml:16
97
- msgid "Lastupdate"
92
+ #: app/views/articles/new.html.erb:1 app/views/articles/index.html.erb:4
93
+ msgid "New article"
98
94
  msgstr ""
99
95
 
100
- #: app/views/blog/_form.rhtml:18
101
- msgid "Title: Required."
96
+ #: app/views/articles/new.html.erb:13
97
+ msgid "Create"
102
98
  msgstr ""
103
99
 
104
- #: app/views/blog/_form.rhtml:21
105
- msgid "Description: More than 10 characters."
100
+ #: app/views/articles/index.html.erb:7
101
+ msgid "No articles were found."
106
102
  msgstr ""
@@ -7,8 +7,8 @@
7
7
  # Sanjin Sehic <saserr@gmail.com>, 2007.
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: blog 1.2.0\n"
11
- "POT-Creation-Date: 2007-08-01 23:20+0900\n"
10
+ "Project-Id-Version: blog 2.0.0\n"
11
+ "POT-Creation-Date: 2008-09-15 00:49+0900\n"
12
12
  "PO-Revision-Date: 2007-03-20 20:06+0100\n"
13
13
  "Last-Translator: Sanjin Sehic <saserr@gmail.com>\n"
14
14
  "Language-Team: Bosnian <saserr@gmail.com>\n"
@@ -19,11 +19,11 @@ msgstr ""
19
19
  "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
20
20
  "X-Generator: KBabel 1.11.4\n"
21
21
 
22
- #: app/helpers/blog_helper.rb:43
22
+ #: app/helpers/articles_helper.rb:42
23
23
  msgid "Ruby Links"
24
24
  msgstr "Ruby prećice"
25
25
 
26
- #: app/helpers/blog_helper.rb:51
26
+ #: app/helpers/articles_helper.rb:50
27
27
  msgid "Old articles"
28
28
  msgstr "Stari članci"
29
29
 
@@ -41,66 +41,63 @@ msgstr "Članak|Opis"
41
41
 
42
42
  #: app/models/article.rb:-
43
43
  msgid "Article|Lastupdate"
44
- msgstr "Članak|Posljednja izmjena"
44
+ msgstr "Posljednja izmjena"
45
45
 
46
- #: app/controllers/blog_controller.rb:33
46
+ #: app/controllers/articles_controller.rb:58
47
47
  msgid "Article was successfully created."
48
48
  msgstr "Članak je usješno napravljen."
49
49
 
50
- #: app/controllers/blog_controller.rb:47
50
+ #: app/controllers/articles_controller.rb:75
51
51
  msgid "Article was successfully updated."
52
52
  msgstr "Članak je usješno izmjenjen."
53
53
 
54
- #: app/views/blog/show.rhtml:13 app/views/blog/list.rhtml:13
55
- #: app/views/layouts/blog.rhtml:14
56
- msgid "GetText Sample Blog on RoR"
57
- msgstr "GetText Primjer Blog-a na RoR-u"
54
+ #: app/views/articles/edit.html.erb:1
55
+ msgid "Editing article"
56
+ msgstr "Mijenjanje članka"
57
+
58
+ #: app/views/articles/edit.html.erb:9 app/views/articles/new.html.erb:9
59
+ msgid "Title: Required."
60
+ msgstr "Naslov: Obavezan"
61
+
62
+ #: app/views/articles/edit.html.erb:11 app/views/articles/new.html.erb:11
63
+ msgid "Description: More than 10 characters."
64
+ msgstr "Opis: Više od 10 karaktera"
58
65
 
59
- #: app/views/blog/show.rhtml:16 app/views/blog/edit.rhtml:16
66
+ #: app/views/articles/edit.html.erb:13 app/views/articles/show.html.erb:4
60
67
  msgid "Edit"
61
68
  msgstr "Izmjeni"
62
69
 
63
- #: app/views/blog/show.rhtml:17 app/views/blog/new.rhtml:20
64
- #: app/views/blog/edit.rhtml:21
70
+ #: app/views/articles/edit.html.erb:18
71
+ msgid "Show"
72
+ msgstr "Pokaži"
73
+
74
+ #: app/views/articles/edit.html.erb:19
75
+ msgid "Destroy"
76
+ msgstr "Uništi"
77
+
78
+ #: app/views/articles/edit.html.erb:19
79
+ msgid "Are you sure?"
80
+ msgstr "Jeste li sigurni?"
81
+
82
+ #: app/views/articles/edit.html.erb:20 app/views/articles/show.html.erb:5
83
+ #: app/views/articles/new.html.erb:18
65
84
  msgid "Back"
66
85
  msgstr "Nazad"
67
86
 
68
- #: app/views/blog/new.rhtml:13 app/views/blog/list.rhtml:15
87
+ #: app/views/articles/show.html.erb:1 app/views/articles/index.html.erb:1
88
+ #: app/views/layouts/articles.html.erb:7
89
+ msgid "GetText Sample Blog on RoR"
90
+ msgstr "GetText Primjer Blog-a na RoR-u"
91
+
92
+ #: app/views/articles/new.html.erb:1 app/views/articles/index.html.erb:4
69
93
  msgid "New article"
70
94
  msgstr "Novi članak"
71
95
 
72
- #: app/views/blog/new.rhtml:17
96
+ #: app/views/articles/new.html.erb:13
73
97
  msgid "Create"
74
98
  msgstr "Napravi"
75
99
 
76
- #: app/views/blog/list.rhtml:18
100
+ #: app/views/articles/index.html.erb:7
77
101
  msgid "No articles were found."
78
102
  msgstr "Nijedan članak nije pronađen."
79
103
 
80
- #: app/views/blog/edit.rhtml:12
81
- msgid "Editing article"
82
- msgstr "Mijenjanje članka"
83
-
84
- #: app/views/blog/edit.rhtml:19
85
- msgid "Show"
86
- msgstr "Pokaži"
87
-
88
- #: app/views/blog/edit.rhtml:20
89
- msgid "Destroy"
90
- msgstr "Uništi"
91
-
92
- #: app/views/blog/edit.rhtml:20
93
- msgid "Are you sure?"
94
- msgstr "Jeste li sigurni?"
95
-
96
- #: app/views/blog/_form.rhtml:16
97
- msgid "Lastupdate"
98
- msgstr "Posljednja izmjena"
99
-
100
- #: app/views/blog/_form.rhtml:18
101
- msgid "Title: Required."
102
- msgstr "Naslov: Obavezan"
103
-
104
- #: app/views/blog/_form.rhtml:21
105
- msgid "Description: More than 10 characters."
106
- msgstr "Opis: Više od 10 karaktera"