gettext_rails 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (352) hide show
  1. data/COPYING +55 -0
  2. data/ChangeLog +4 -0
  3. data/README.rdoc +173 -0
  4. data/Rakefile +113 -0
  5. data/data/locale/bg/LC_MESSAGES/gettext_rails.mo +0 -0
  6. data/data/locale/bs/LC_MESSAGES/gettext_rails.mo +0 -0
  7. data/data/locale/ca/LC_MESSAGES/gettext_rails.mo +0 -0
  8. data/data/locale/cs/LC_MESSAGES/gettext_rails.mo +0 -0
  9. data/data/locale/de/LC_MESSAGES/gettext_rails.mo +0 -0
  10. data/data/locale/el/LC_MESSAGES/gettext_rails.mo +0 -0
  11. data/data/locale/eo/LC_MESSAGES/gettext_rails.mo +0 -0
  12. data/data/locale/es/LC_MESSAGES/gettext_rails.mo +0 -0
  13. data/data/locale/et/LC_MESSAGES/gettext_rails.mo +0 -0
  14. data/data/locale/fr/LC_MESSAGES/gettext_rails.mo +0 -0
  15. data/data/locale/hr/LC_MESSAGES/gettext_rails.mo +0 -0
  16. data/data/locale/hu/LC_MESSAGES/gettext_rails.mo +0 -0
  17. data/data/locale/it/LC_MESSAGES/gettext_rails.mo +0 -0
  18. data/data/locale/ja/LC_MESSAGES/gettext_rails.mo +0 -0
  19. data/data/locale/ko/LC_MESSAGES/gettext_rails.mo +0 -0
  20. data/data/locale/lv/LC_MESSAGES/gettext_rails.mo +0 -0
  21. data/data/locale/nb/LC_MESSAGES/gettext_rails.mo +0 -0
  22. data/data/locale/nl/LC_MESSAGES/gettext_rails.mo +0 -0
  23. data/data/locale/pt_BR/LC_MESSAGES/gettext_rails.mo +0 -0
  24. data/data/locale/ru/LC_MESSAGES/gettext_rails.mo +0 -0
  25. data/data/locale/sr/LC_MESSAGES/gettext_rails.mo +0 -0
  26. data/data/locale/ua/LC_MESSAGES/gettext_rails.mo +0 -0
  27. data/data/locale/vi/LC_MESSAGES/gettext_rails.mo +0 -0
  28. data/data/locale/zh/LC_MESSAGES/gettext_rails.mo +0 -0
  29. data/data/locale/zh_TW/LC_MESSAGES/gettext_rails.mo +0 -0
  30. data/lib/gettext_rails.rb +33 -0
  31. data/lib/gettext_rails/action_controller.rb +104 -0
  32. data/lib/gettext_rails/action_mailer.rb +45 -0
  33. data/lib/gettext_rails/action_view.rb +16 -0
  34. data/lib/gettext_rails/action_view/active_record_helper.rb +109 -0
  35. data/lib/gettext_rails/action_view/date_helper.rb +48 -0
  36. data/lib/gettext_rails/action_view/form_builder.rb +26 -0
  37. data/lib/gettext_rails/tools.rb +22 -0
  38. data/lib/gettext_rails/version.rb +14 -0
  39. data/po/bg/gettext_rails.po +89 -0
  40. data/po/bs/gettext_rails.po +98 -0
  41. data/po/ca/gettext_rails.po +90 -0
  42. data/po/cs/gettext_rails.po +102 -0
  43. data/po/de/gettext_rails.po +94 -0
  44. data/po/el/gettext_rails.po +89 -0
  45. data/po/eo/gettext_rails.po +90 -0
  46. data/po/es/gettext_rails.po +90 -0
  47. data/po/et/gettext_rails.po +90 -0
  48. data/po/fr/gettext_rails.po +94 -0
  49. data/po/gettext_rails.pot +87 -0
  50. data/po/hr/gettext_rails.po +99 -0
  51. data/po/hu/gettext_rails.po +90 -0
  52. data/po/it/gettext_rails.po +89 -0
  53. data/po/ja/gettext_rails.po +90 -0
  54. data/po/ko/gettext_rails.po +87 -0
  55. data/po/lv/gettext_rails.po +95 -0
  56. data/po/nb/gettext_rails.po +91 -0
  57. data/po/nl/gettext_rails.po +91 -0
  58. data/po/pt_BR/gettext_rails.po +91 -0
  59. data/po/ru/gettext_rails.po +98 -0
  60. data/po/sr/gettext_rails.po +98 -0
  61. data/po/test.rb +11 -0
  62. data/po/ua/gettext_rails.po +104 -0
  63. data/po/vi/gettext_rails.po +90 -0
  64. data/po/zh/gettext_rails.po +86 -0
  65. data/po/zh_TW/gettext_rails.po +86 -0
  66. data/replace.rb +21 -0
  67. data/sample/README +80 -0
  68. data/sample/Rakefile +11 -0
  69. data/sample/app/controllers/application_controller.rb +37 -0
  70. data/sample/app/controllers/articles_controller.rb +97 -0
  71. data/sample/app/helpers/application_helper.rb +3 -0
  72. data/sample/app/helpers/articles_helper.rb +60 -0
  73. data/sample/app/models/article.rb +16 -0
  74. data/sample/app/views/articles/edit.html.erb +22 -0
  75. data/sample/app/views/articles/index.html.erb +18 -0
  76. data/sample/app/views/articles/new.html.erb +20 -0
  77. data/sample/app/views/articles/show.html.erb +7 -0
  78. data/sample/app/views/layouts/articles.html.erb +27 -0
  79. data/sample/config/boot.rb +109 -0
  80. data/sample/config/database.yml +22 -0
  81. data/sample/config/environment.rb +45 -0
  82. data/sample/config/environments/development.rb +17 -0
  83. data/sample/config/environments/production.rb +27 -0
  84. data/sample/config/environments/test.rb +27 -0
  85. data/sample/config/initializers/backtrace_silencers.rb +7 -0
  86. data/sample/config/initializers/inflections.rb +10 -0
  87. data/sample/config/initializers/mime_types.rb +5 -0
  88. data/sample/config/initializers/new_rails_defaults.rb +19 -0
  89. data/sample/config/initializers/session_store.rb +15 -0
  90. data/sample/config/routes.rb +45 -0
  91. data/sample/db/development.sqlite3 +0 -0
  92. data/sample/db/production.sqlite3 +0 -0
  93. data/sample/db/schema.rb +19 -0
  94. data/sample/db/test.sqlite3 +0 -0
  95. data/sample/doc/README_FOR_APP +2 -0
  96. data/sample/lib/tasks/gettext.rake +13 -0
  97. data/sample/locale/bg/LC_MESSAGES/blog.mo +0 -0
  98. data/sample/locale/bs/LC_MESSAGES/blog.mo +0 -0
  99. data/sample/locale/ca/LC_MESSAGES/blog.mo +0 -0
  100. data/sample/locale/cs/LC_MESSAGES/blog.mo +0 -0
  101. data/sample/locale/de/LC_MESSAGES/blog.mo +0 -0
  102. data/sample/locale/el/LC_MESSAGES/blog.mo +0 -0
  103. data/sample/locale/en/LC_MESSAGES/blog.mo +0 -0
  104. data/sample/locale/eo/LC_MESSAGES/blog.mo +0 -0
  105. data/sample/locale/es/LC_MESSAGES/blog.mo +0 -0
  106. data/sample/locale/fr/LC_MESSAGES/blog.mo +0 -0
  107. data/sample/locale/hr/LC_MESSAGES/blog.mo +0 -0
  108. data/sample/locale/hu/LC_MESSAGES/blog.mo +0 -0
  109. data/sample/locale/it/LC_MESSAGES/blog.mo +0 -0
  110. data/sample/locale/ja/LC_MESSAGES/blog.mo +0 -0
  111. data/sample/locale/ko/LC_MESSAGES/blog.mo +0 -0
  112. data/sample/locale/lv/LC_MESSAGES/blog.mo +0 -0
  113. data/sample/locale/nb/LC_MESSAGES/blog.mo +0 -0
  114. data/sample/locale/nl/LC_MESSAGES/blog.mo +0 -0
  115. data/sample/locale/pt_BR/LC_MESSAGES/blog.mo +0 -0
  116. data/sample/locale/ru/LC_MESSAGES/blog.mo +0 -0
  117. data/sample/locale/sr/LC_MESSAGES/blog.mo +0 -0
  118. data/sample/locale/ua/LC_MESSAGES/blog.mo +0 -0
  119. data/sample/locale/vi/LC_MESSAGES/blog.mo +0 -0
  120. data/sample/locale/zh/LC_MESSAGES/blog.mo +0 -0
  121. data/sample/locale/zh_TW/LC_MESSAGES/blog.mo +0 -0
  122. data/sample/log/development.log +635 -0
  123. data/sample/log/production.log +79475 -0
  124. data/sample/log/test.log +1592 -0
  125. data/sample/po/bg/blog.po +101 -0
  126. data/sample/po/blog.pot +102 -0
  127. data/sample/po/bs/blog.po +103 -0
  128. data/sample/po/ca/blog.po +101 -0
  129. data/sample/po/cs/blog.po +104 -0
  130. data/sample/po/de/blog.po +104 -0
  131. data/sample/po/el/blog.po +102 -0
  132. data/sample/po/en/blog.po +103 -0
  133. data/sample/po/eo/blog.po +102 -0
  134. data/sample/po/eo/tmp.patch +21 -0
  135. data/sample/po/es/blog.po +101 -0
  136. data/sample/po/fr/blog.po +102 -0
  137. data/sample/po/hr/blog.po +102 -0
  138. data/sample/po/hu/blog.po +101 -0
  139. data/sample/po/it/blog.po +102 -0
  140. data/sample/po/ja/blog.po +101 -0
  141. data/sample/po/ko/blog.po +102 -0
  142. data/sample/po/lv/blog.po +103 -0
  143. data/sample/po/nb/blog.po +102 -0
  144. data/sample/po/nl/blog.po +102 -0
  145. data/sample/po/pt_BR/blog.po +102 -0
  146. data/sample/po/ru/blog.po +102 -0
  147. data/sample/po/sr/blog.po +103 -0
  148. data/sample/po/ua/blog.po +105 -0
  149. data/sample/po/vi/blog.po +102 -0
  150. data/sample/po/zh/blog.po +101 -0
  151. data/sample/po/zh_TW/blog.po +103 -0
  152. data/sample/public/404.html +30 -0
  153. data/sample/public/422.html +30 -0
  154. data/sample/public/500.html +33 -0
  155. data/sample/public/favicon.ico +0 -0
  156. data/sample/public/images/rails.png +0 -0
  157. data/sample/public/index.html +275 -0
  158. data/sample/public/javascripts/application.js +2 -0
  159. data/sample/public/javascripts/controls.js +963 -0
  160. data/sample/public/javascripts/dragdrop.js +973 -0
  161. data/sample/public/javascripts/effects.js +1128 -0
  162. data/sample/public/javascripts/prototype.js +4320 -0
  163. data/sample/public/robots.txt +5 -0
  164. data/sample/public/stylesheets/blog.css +136 -0
  165. data/sample/public/stylesheets/scaffold.css +54 -0
  166. data/sample/script/about +4 -0
  167. data/sample/script/console +3 -0
  168. data/sample/script/dbconsole +3 -0
  169. data/sample/script/destroy +3 -0
  170. data/sample/script/generate +3 -0
  171. data/sample/script/performance/benchmarker +3 -0
  172. data/sample/script/performance/profiler +3 -0
  173. data/sample/script/plugin +3 -0
  174. data/sample/script/runner +3 -0
  175. data/sample/script/server +3 -0
  176. data/sample/test/fixtures/articles.yml +11 -0
  177. data/sample/test/functional/articles_controller_test.rb +45 -0
  178. data/sample/test/performance/browsing_test.rb +9 -0
  179. data/sample/test/result/en/list.html +69 -0
  180. data/sample/test/test_helper.rb +38 -0
  181. data/sample/test/unit/article_test.rb +8 -0
  182. data/sample/test/unit/helpers/articles_helper_test.rb +4 -0
  183. data/sample/vendor/plugins/lang_helper/README +17 -0
  184. data/sample/vendor/plugins/lang_helper/Rakefile +17 -0
  185. data/sample/vendor/plugins/lang_helper/init.rb +21 -0
  186. data/sample/vendor/plugins/lang_helper/lib/lang_helper.rb +32 -0
  187. data/sample/vendor/plugins/lang_helper/locale/bg/LC_MESSAGES/lang_helper.mo +0 -0
  188. data/sample/vendor/plugins/lang_helper/locale/bs/LC_MESSAGES/lang_helper.mo +0 -0
  189. data/sample/vendor/plugins/lang_helper/locale/ca/LC_MESSAGES/lang_helper.mo +0 -0
  190. data/sample/vendor/plugins/lang_helper/locale/cs/LC_MESSAGES/lang_helper.mo +0 -0
  191. data/sample/vendor/plugins/lang_helper/locale/de/LC_MESSAGES/lang_helper.mo +0 -0
  192. data/sample/vendor/plugins/lang_helper/locale/el/LC_MESSAGES/lang_helper.mo +0 -0
  193. data/sample/vendor/plugins/lang_helper/locale/eo/LC_MESSAGES/lang_helper.mo +0 -0
  194. data/sample/vendor/plugins/lang_helper/locale/es/LC_MESSAGES/lang_helper.mo +0 -0
  195. data/sample/vendor/plugins/lang_helper/locale/fr/LC_MESSAGES/lang_helper.mo +0 -0
  196. data/sample/vendor/plugins/lang_helper/locale/hr/LC_MESSAGES/lang_helper.mo +0 -0
  197. data/sample/vendor/plugins/lang_helper/locale/hu/LC_MESSAGES/lang_helper.mo +0 -0
  198. data/sample/vendor/plugins/lang_helper/locale/it/LC_MESSAGES/lang_helper.mo +0 -0
  199. data/sample/vendor/plugins/lang_helper/locale/ja/LC_MESSAGES/lang_helper.mo +0 -0
  200. data/sample/vendor/plugins/lang_helper/locale/ko/LC_MESSAGES/lang_helper.mo +0 -0
  201. data/sample/vendor/plugins/lang_helper/locale/lv/LC_MESSAGES/lang_helper.mo +0 -0
  202. data/sample/vendor/plugins/lang_helper/locale/nb/LC_MESSAGES/lang_helper.mo +0 -0
  203. data/sample/vendor/plugins/lang_helper/locale/nl/LC_MESSAGES/lang_helper.mo +0 -0
  204. data/sample/vendor/plugins/lang_helper/locale/pt_BR/LC_MESSAGES/lang_helper.mo +0 -0
  205. data/sample/vendor/plugins/lang_helper/locale/ru/LC_MESSAGES/lang_helper.mo +0 -0
  206. data/sample/vendor/plugins/lang_helper/locale/sr/LC_MESSAGES/lang_helper.mo +0 -0
  207. data/sample/vendor/plugins/lang_helper/locale/ua/LC_MESSAGES/lang_helper.mo +0 -0
  208. data/sample/vendor/plugins/lang_helper/locale/vi/LC_MESSAGES/lang_helper.mo +0 -0
  209. data/sample/vendor/plugins/lang_helper/locale/zh/LC_MESSAGES/lang_helper.mo +0 -0
  210. data/sample/vendor/plugins/lang_helper/locale/zh_TW/LC_MESSAGES/lang_helper.mo +0 -0
  211. data/sample/vendor/plugins/lang_helper/po/bg/lang_helper.po +27 -0
  212. data/sample/vendor/plugins/lang_helper/po/bs/lang_helper.po +27 -0
  213. data/sample/vendor/plugins/lang_helper/po/ca/lang_helper.po +27 -0
  214. data/sample/vendor/plugins/lang_helper/po/cs/lang_helper.po +29 -0
  215. data/sample/vendor/plugins/lang_helper/po/de/lang_helper.po +29 -0
  216. data/sample/vendor/plugins/lang_helper/po/el/lang_helper.po +27 -0
  217. data/sample/vendor/plugins/lang_helper/po/eo/lang_helper.po +28 -0
  218. data/sample/vendor/plugins/lang_helper/po/es/lang_helper.po +28 -0
  219. data/sample/vendor/plugins/lang_helper/po/fr/lang_helper.po +27 -0
  220. data/sample/vendor/plugins/lang_helper/po/hr/lang_helper.po +27 -0
  221. data/sample/vendor/plugins/lang_helper/po/hu/lang_helper.po +27 -0
  222. data/sample/vendor/plugins/lang_helper/po/it/lang_helper.po +27 -0
  223. data/sample/vendor/plugins/lang_helper/po/ja/lang_helper.po +28 -0
  224. data/sample/vendor/plugins/lang_helper/po/ko/lang_helper.po +27 -0
  225. data/sample/vendor/plugins/lang_helper/po/lang_helper.pot +28 -0
  226. data/sample/vendor/plugins/lang_helper/po/lv/lang_helper.po +28 -0
  227. data/sample/vendor/plugins/lang_helper/po/nb/lang_helper.po +29 -0
  228. data/sample/vendor/plugins/lang_helper/po/nl/lang_helper.po +28 -0
  229. data/sample/vendor/plugins/lang_helper/po/pt_BR/lang_helper.po +27 -0
  230. data/sample/vendor/plugins/lang_helper/po/ru/lang_helper.po +25 -0
  231. data/sample/vendor/plugins/lang_helper/po/sr/lang_helper.po +28 -0
  232. data/sample/vendor/plugins/lang_helper/po/ua/lang_helper.po +30 -0
  233. data/sample/vendor/plugins/lang_helper/po/vi/lang_helper.po +27 -0
  234. data/sample/vendor/plugins/lang_helper/po/zh/lang_helper.po +27 -0
  235. data/sample/vendor/plugins/lang_helper/po/zh_TW/lang_helper.po +29 -0
  236. data/test/README +6 -0
  237. data/test/Rakefile +27 -0
  238. data/test/app/controllers/application_controller.rb +18 -0
  239. data/test/app/controllers/articles_controller.rb +114 -0
  240. data/test/app/controllers/mailers_controller.rb +18 -0
  241. data/test/app/controllers/users_controller.rb +19 -0
  242. data/test/app/helpers/application_helper.rb +3 -0
  243. data/test/app/helpers/articles_helper.rb +2 -0
  244. data/test/app/models/article.rb +9 -0
  245. data/test/app/models/human_resources/resume.rb +3 -0
  246. data/test/app/models/mailer.rb +38 -0
  247. data/test/app/models/user.rb +4 -0
  248. data/test/app/models/user_observer.rb +7 -0
  249. data/test/app/views/articles/_form.html.erb +13 -0
  250. data/test/app/views/articles/_form_fr.html.erb +1 -0
  251. data/test/app/views/articles/active_form_error.html.erb +1 -0
  252. data/test/app/views/articles/change_title_error_messages_for.html.erb +15 -0
  253. data/test/app/views/articles/edit.html.erb +9 -0
  254. data/test/app/views/articles/list.html.erb +25 -0
  255. data/test/app/views/articles/list_fr.html.erb +1 -0
  256. data/test/app/views/articles/multi_error_messages_for.html.erb +19 -0
  257. data/test/app/views/articles/new.html.erb +8 -0
  258. data/test/app/views/articles/show.html.erb +9 -0
  259. data/test/app/views/layouts/application.html.erb +16 -0
  260. data/test/app/views/layouts/mailers.html.erb +20 -0
  261. data/test/app/views/layouts/users.html.erb +14 -0
  262. data/test/app/views/mailer/coverpage.html.erb +6 -0
  263. data/test/app/views/mailer/coverpage_fr.html.erb +6 -0
  264. data/test/app/views/mailer/index.html.erb +1 -0
  265. data/test/app/views/mailer/singlepart.html.erb +3 -0
  266. data/test/app/views/mailer/singlepart_fr.html.erb +3 -0
  267. data/test/app/views/users/custom_error_message.html.erb +13 -0
  268. data/test/app/views/users/custom_error_message_fr.html.erb +13 -0
  269. data/test/app/views/users/distance_of_time_in_words.html.erb +18 -0
  270. data/test/config/boot.rb +109 -0
  271. data/test/config/database.yml +22 -0
  272. data/test/config/environment.rb +45 -0
  273. data/test/config/environments/development.rb +17 -0
  274. data/test/config/environments/production.rb +27 -0
  275. data/test/config/environments/test.rb +27 -0
  276. data/test/config/initializers/backtrace_silencers.rb +7 -0
  277. data/test/config/initializers/inflections.rb +10 -0
  278. data/test/config/initializers/mime_types.rb +5 -0
  279. data/test/config/initializers/new_rails_defaults.rb +19 -0
  280. data/test/config/initializers/session_store.rb +15 -0
  281. data/test/config/routes.rb +13 -0
  282. data/test/db/development.sqlite3 +0 -0
  283. data/test/db/schema.rb +45 -0
  284. data/test/db/test.sqlite3 +0 -0
  285. data/test/doc/README_FOR_APP +2 -0
  286. data/test/locale/ja/LC_MESSAGES/rails_test.mo +0 -0
  287. data/test/log/development.log +1284 -0
  288. data/test/log/test.log +5595 -0
  289. data/test/po/ja/rails_test.po +206 -0
  290. data/test/po/rails_test.pot +206 -0
  291. data/test/public/404.html +30 -0
  292. data/test/public/422.html +30 -0
  293. data/test/public/500.html +33 -0
  294. data/test/public/favicon.ico +0 -0
  295. data/test/public/images/rails.png +0 -0
  296. data/test/public/index.html +28 -0
  297. data/test/public/javascripts/application.js +2 -0
  298. data/test/public/javascripts/controls.js +963 -0
  299. data/test/public/javascripts/dragdrop.js +973 -0
  300. data/test/public/javascripts/effects.js +1128 -0
  301. data/test/public/javascripts/prototype.js +4320 -0
  302. data/test/public/robots.txt +5 -0
  303. data/test/public/stylesheets/blog.css +136 -0
  304. data/test/public/stylesheets/scaffold.css +54 -0
  305. data/test/script/about +4 -0
  306. data/test/script/console +3 -0
  307. data/test/script/dbconsole +3 -0
  308. data/test/script/destroy +3 -0
  309. data/test/script/generate +3 -0
  310. data/test/script/performance/benchmarker +3 -0
  311. data/test/script/performance/profiler +3 -0
  312. data/test/script/plugin +3 -0
  313. data/test/script/runner +3 -0
  314. data/test/script/server +3 -0
  315. data/test/test/fixtures/articles.yml +13 -0
  316. data/test/test/functional/articles_controller_test.rb +97 -0
  317. data/test/test/functional/mailers_controller_test.rb +54 -0
  318. data/test/test/functional/users_controller_test.rb +47 -0
  319. data/test/test/performance/browsing_test.rb +9 -0
  320. data/test/test/result/en/change_title_error_messages_for.html +89 -0
  321. data/test/test/result/en/create_error.html +97 -0
  322. data/test/test/result/en/custom_error_message.html +84 -0
  323. data/test/test/result/en/custom_error_message_with_plural.html +84 -0
  324. data/test/test/result/en/distance_of_time_in_words.html +32 -0
  325. data/test/test/result/en/list.html +62 -0
  326. data/test/test/result/en/multi_error_messages_for.html +155 -0
  327. data/test/test/result/en/multipart.html +175 -0
  328. data/test/test/result/en/new.html +97 -0
  329. data/test/test/result/en/show.html +33 -0
  330. data/test/test/result/en/singlepart.html +10 -0
  331. data/test/test/result/fr/custom_error_message.html +84 -0
  332. data/test/test/result/fr/custom_error_message_with_plural.html +84 -0
  333. data/test/test/result/fr/distance_of_time_in_words.html +32 -0
  334. data/test/test/result/fr/list.html +17 -0
  335. data/test/test/result/fr/multipart.html +175 -0
  336. data/test/test/result/fr/new.html +25 -0
  337. data/test/test/result/fr/singlepart.html +10 -0
  338. data/test/test/result/ja/change_title_error_messages_for.html +89 -0
  339. data/test/test/result/ja/create_error.html +97 -0
  340. data/test/test/result/ja/custom_error_message.html +84 -0
  341. data/test/test/result/ja/custom_error_message_with_plural.html +84 -0
  342. data/test/test/result/ja/distance_of_time_in_words.html +32 -0
  343. data/test/test/result/ja/list.html +62 -0
  344. data/test/test/result/ja/multi_error_messages_for.html +155 -0
  345. data/test/test/result/ja/multipart.html +175 -0
  346. data/test/test/result/ja/new.html +97 -0
  347. data/test/test/result/ja/show.html +33 -0
  348. data/test/test/result/ja/singlepart.html +10 -0
  349. data/test/test/test_helper.rb +83 -0
  350. data/test/test/unit/article_test.rb +8 -0
  351. data/test/test/unit/helpers/articles_helper_test.rb +4 -0
  352. metadata +754 -0
@@ -0,0 +1,90 @@
1
+ #
2
+ # a po-file for Ruby-GetText-Package and Ruby on Rails.
3
+ #
4
+ # Copyright (C) 2005-2008 Masao Mutoh
5
+ #
6
+ # This file is distributed under the same license as the Ruby-GetText-Package.
7
+ #
8
+ # Tamás Tompa <tompata at gmail.com>, 2008.
9
+ #
10
+ msgid ""
11
+ msgstr ""
12
+ "Project-Id-Version: gettext_rails 1.93.0\n"
13
+ "POT-Creation-Date: 2009-02-20 20:21+0900\n"
14
+ "PO-Revision-Date: 2008-07-15 09:00+0900\n"
15
+ "Last-Translator: Tamás Tompa <tompata at gmail.com>\n"
16
+ "Language-Team: Hungarian\n"
17
+ "MIME-Version: 1.0\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+ "Content-Transfer-Encoding: 8bit\n"
20
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
21
+
22
+ #: lib/gettext_rails/action_view/active_record_helper.rb:23
23
+ msgid "%{num} error prohibited this %{record} from being saved"
24
+ msgid_plural "%{num} errors prohibited this %{record} from being saved"
25
+ msgstr[0] "%{num} hiba miatt az elemet %{record} nem lehet elmenteni"
26
+ msgstr[1] "%{num} hiba miatt az elemet %{record} nem lehet elmenteni"
27
+
28
+ #: lib/gettext_rails/action_view/active_record_helper.rb:25
29
+ msgid "There was a problem with the following field:"
30
+ msgid_plural "There were problems with the following fields:"
31
+ msgstr[0] "Hiba a következő mezőnél:"
32
+ msgstr[1] "Hibák a következő mezőknél:"
33
+
34
+ #: lib/gettext_rails/action_view/date_helper.rb:24
35
+ msgid "less than 5 seconds"
36
+ msgstr "kevesebb mint 5 másodperce"
37
+
38
+ #: lib/gettext_rails/action_view/date_helper.rb:24
39
+ msgid "less than 10 seconds"
40
+ msgstr "kevesebb mint 10 másodperce"
41
+
42
+ #: lib/gettext_rails/action_view/date_helper.rb:24
43
+ msgid "less than 20 seconds"
44
+ msgstr "kevesebb mint 20 másodperce"
45
+
46
+ #: lib/gettext_rails/action_view/date_helper.rb:25
47
+ msgid "half a minute"
48
+ msgstr "kevesebb mint fél perce"
49
+
50
+ #: lib/gettext_rails/action_view/date_helper.rb:25
51
+ msgid "less than a minute"
52
+ msgstr "kevesebb mint egy perce"
53
+
54
+ #: lib/gettext_rails/action_view/date_helper.rb:25
55
+ msgid "about 1 month"
56
+ msgstr "egy hónapja"
57
+
58
+ #: lib/gettext_rails/action_view/date_helper.rb:26
59
+ msgid "about 1 year"
60
+ msgstr "egy éve"
61
+
62
+ #: lib/gettext_rails/action_view/date_helper.rb:27
63
+ msgid "1 minute"
64
+ msgid_plural "%{num} minutes"
65
+ msgstr[0] "egy perce"
66
+ msgstr[1] "%{num} perce"
67
+
68
+ #: lib/gettext_rails/action_view/date_helper.rb:28
69
+ msgid "about 1 hour"
70
+ msgid_plural "about %{num} hours"
71
+ msgstr[0] "egy órája"
72
+ msgstr[1] "%{num} órája"
73
+
74
+ #: lib/gettext_rails/action_view/date_helper.rb:29
75
+ msgid "1 day"
76
+ msgid_plural "%{num} days"
77
+ msgstr[0] "egy napja"
78
+ msgstr[1] "%{num} napja"
79
+
80
+ #: lib/gettext_rails/action_view/date_helper.rb:30
81
+ msgid "1 month"
82
+ msgid_plural "%{num} months"
83
+ msgstr[0] "egy hónapja"
84
+ msgstr[1] "%{num} hónapja"
85
+
86
+ #: lib/gettext_rails/action_view/date_helper.rb:31
87
+ msgid "over 1 year"
88
+ msgid_plural "over %{num} years"
89
+ msgstr[0] "több mint egy éve"
90
+ msgstr[1] "%{num} évnél régebben"
@@ -0,0 +1,89 @@
1
+ #
2
+ # a po-file for Ruby-GetText-Package and Ruby on Rails.
3
+ #
4
+ # Copyright (C) 2006 Masao Mutoh
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # Marco Lazzeri <marco.lazzeri at gmail.com>, 2006.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: gettext_rails 1.93.0\n"
12
+ "POT-Creation-Date: 2009-02-20 20:21+0900\n"
13
+ "PO-Revision-Date: 2005-12-17 14:33+0900\n"
14
+ "Last-Translator: Marco Lazzeri <marco.lazzeri at gmail.com>\n"
15
+ "Language-Team: Italian\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
+ #: lib/gettext_rails/action_view/active_record_helper.rb:23
22
+ msgid "%{num} error prohibited this %{record} from being saved"
23
+ msgid_plural "%{num} errors prohibited this %{record} from being saved"
24
+ msgstr[0] "%{num} errore impedisce il salvataggio di questo %{record}"
25
+ msgstr[1] "%{num} errori impediscono il salvataggio di questo %{record}"
26
+
27
+ #: lib/gettext_rails/action_view/active_record_helper.rb:25
28
+ msgid "There was a problem with the following field:"
29
+ msgid_plural "There were problems with the following fields:"
30
+ msgstr[0] "Si è verificato un problema con il seguente campo:"
31
+ msgstr[1] "Si è verificato un problema con i seguenti campi:"
32
+
33
+ #: lib/gettext_rails/action_view/date_helper.rb:24
34
+ msgid "less than 5 seconds"
35
+ msgstr ""
36
+
37
+ #: lib/gettext_rails/action_view/date_helper.rb:24
38
+ msgid "less than 10 seconds"
39
+ msgstr ""
40
+
41
+ #: lib/gettext_rails/action_view/date_helper.rb:24
42
+ msgid "less than 20 seconds"
43
+ msgstr ""
44
+
45
+ #: lib/gettext_rails/action_view/date_helper.rb:25
46
+ msgid "half a minute"
47
+ msgstr ""
48
+
49
+ #: lib/gettext_rails/action_view/date_helper.rb:25
50
+ msgid "less than a minute"
51
+ msgstr ""
52
+
53
+ #: lib/gettext_rails/action_view/date_helper.rb:25
54
+ msgid "about 1 month"
55
+ msgstr ""
56
+
57
+ #: lib/gettext_rails/action_view/date_helper.rb:26
58
+ msgid "about 1 year"
59
+ msgstr ""
60
+
61
+ #: lib/gettext_rails/action_view/date_helper.rb:27
62
+ msgid "1 minute"
63
+ msgid_plural "%{num} minutes"
64
+ msgstr[0] ""
65
+ msgstr[1] ""
66
+
67
+ #: lib/gettext_rails/action_view/date_helper.rb:28
68
+ msgid "about 1 hour"
69
+ msgid_plural "about %{num} hours"
70
+ msgstr[0] ""
71
+ msgstr[1] ""
72
+
73
+ #: lib/gettext_rails/action_view/date_helper.rb:29
74
+ msgid "1 day"
75
+ msgid_plural "%{num} days"
76
+ msgstr[0] ""
77
+ msgstr[1] ""
78
+
79
+ #: lib/gettext_rails/action_view/date_helper.rb:30
80
+ msgid "1 month"
81
+ msgid_plural "%{num} months"
82
+ msgstr[0] ""
83
+ msgstr[1] ""
84
+
85
+ #: lib/gettext_rails/action_view/date_helper.rb:31
86
+ msgid "over 1 year"
87
+ msgid_plural "over %{num} years"
88
+ msgstr[0] ""
89
+ msgstr[1] ""
@@ -0,0 +1,90 @@
1
+ #
2
+ # a po-file for Ruby-GetText-Package and Ruby on Rails.
3
+ #
4
+ # Copyright (C) 2005-2008 Masao Mutoh
5
+ #
6
+ # This file is distributed under the same license as the Ruby-GetText-Package.
7
+ #
8
+ # Masao Mutoh, 2005-2008.
9
+ #
10
+ msgid ""
11
+ msgstr ""
12
+ "Project-Id-Version: gettext_rails 1.93.0\n"
13
+ "POT-Creation-Date: 2009-02-20 20:21+0900\n"
14
+ "PO-Revision-Date: 2008-07-13 15:10+0900\n"
15
+ "Last-Translator: Masao Mutoh\n"
16
+ "Language-Team: Japanese\n"
17
+ "MIME-Version: 1.0\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+ "Content-Transfer-Encoding: 8bit\n"
20
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
21
+
22
+ #: lib/gettext_rails/action_view/active_record_helper.rb:23
23
+ msgid "%{num} error prohibited this %{record} from being saved"
24
+ msgid_plural "%{num} errors prohibited this %{record} from being saved"
25
+ msgstr[0] "%{record}にエラーが発生しました。"
26
+ msgstr[1] "%{record}に%{num}つのエラーが発生しました。"
27
+
28
+ #: lib/gettext_rails/action_view/active_record_helper.rb:25
29
+ msgid "There was a problem with the following field:"
30
+ msgid_plural "There were problems with the following fields:"
31
+ msgstr[0] "次の項目を確認してください。"
32
+ msgstr[1] "次の全ての項目を確認してください。"
33
+
34
+ #: lib/gettext_rails/action_view/date_helper.rb:24
35
+ msgid "less than 5 seconds"
36
+ msgstr "5秒以内"
37
+
38
+ #: lib/gettext_rails/action_view/date_helper.rb:24
39
+ msgid "less than 10 seconds"
40
+ msgstr "10秒以内"
41
+
42
+ #: lib/gettext_rails/action_view/date_helper.rb:24
43
+ msgid "less than 20 seconds"
44
+ msgstr "20秒以内"
45
+
46
+ #: lib/gettext_rails/action_view/date_helper.rb:25
47
+ msgid "half a minute"
48
+ msgstr "30秒前後"
49
+
50
+ #: lib/gettext_rails/action_view/date_helper.rb:25
51
+ msgid "less than a minute"
52
+ msgstr "1分未満"
53
+
54
+ #: lib/gettext_rails/action_view/date_helper.rb:25
55
+ msgid "about 1 month"
56
+ msgstr "約1ヵ月"
57
+
58
+ #: lib/gettext_rails/action_view/date_helper.rb:26
59
+ msgid "about 1 year"
60
+ msgstr "約1年"
61
+
62
+ #: lib/gettext_rails/action_view/date_helper.rb:27
63
+ msgid "1 minute"
64
+ msgid_plural "%{num} minutes"
65
+ msgstr[0] "1分"
66
+ msgstr[1] "%{num}分"
67
+
68
+ #: lib/gettext_rails/action_view/date_helper.rb:28
69
+ msgid "about 1 hour"
70
+ msgid_plural "about %{num} hours"
71
+ msgstr[0] "約1時間"
72
+ msgstr[1] "約%{num}時間"
73
+
74
+ #: lib/gettext_rails/action_view/date_helper.rb:29
75
+ msgid "1 day"
76
+ msgid_plural "%{num} days"
77
+ msgstr[0] "1日"
78
+ msgstr[1] "%{num}日"
79
+
80
+ #: lib/gettext_rails/action_view/date_helper.rb:30
81
+ msgid "1 month"
82
+ msgid_plural "%{num} months"
83
+ msgstr[0] "1ヶ月"
84
+ msgstr[1] "%{num}ヶ月"
85
+
86
+ #: lib/gettext_rails/action_view/date_helper.rb:31
87
+ msgid "over 1 year"
88
+ msgid_plural "over %{num} years"
89
+ msgstr[0] "%{num}年以上"
90
+ msgstr[1] "%{num}年以上"
@@ -0,0 +1,87 @@
1
+ #
2
+ # a po-file for Ruby-GetText-Package and Ruby on Rails.
3
+ #
4
+ # Copyright (C) 2005,2006 Masao Mutoh
5
+ #
6
+ # This file is distributed under the same license as the Ruby-GetText-Package.
7
+ #
8
+ # Gyoung-Yoon Noh <nohmad at gmail.com>, 2006.
9
+ #
10
+ msgid ""
11
+ msgstr ""
12
+ "Project-Id-Version: gettext_rails 1.93.0\n"
13
+ "POT-Creation-Date: 2009-02-20 20:21+0900\n"
14
+ "PO-Revision-Date: 2006-07-10 02:00+0900\n"
15
+ "Last-Translator: Gyoung-Yoon Noh <nohmad at gmail.com>\n"
16
+ "Language-Team: Korean\n"
17
+ "MIME-Version: 1.0\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+ "Content-Transfer-Encoding: 8bit\n"
20
+ "Plural-Forms: nplurals=1; plural=0;\n"
21
+
22
+ #: lib/gettext_rails/action_view/active_record_helper.rb:23
23
+ msgid "%{num} error prohibited this %{record} from being saved"
24
+ msgid_plural "%{num} errors prohibited this %{record} from being saved"
25
+ msgstr[0] "%{num}개의 에러로 인해 %{record}이(가) 저장되지 않았습니다"
26
+
27
+ #: lib/gettext_rails/action_view/active_record_helper.rb:25
28
+ msgid "There was a problem with the following field:"
29
+ msgid_plural "There were problems with the following fields:"
30
+ msgstr[0] "다음 항목에 문제가 있습니다:"
31
+
32
+ #: lib/gettext_rails/action_view/date_helper.rb:24
33
+ msgid "less than 5 seconds"
34
+ msgstr "5초 미만"
35
+
36
+ #: lib/gettext_rails/action_view/date_helper.rb:24
37
+ msgid "less than 10 seconds"
38
+ msgstr "10초 미만"
39
+
40
+ #: lib/gettext_rails/action_view/date_helper.rb:24
41
+ msgid "less than 20 seconds"
42
+ msgstr "20초 미만"
43
+
44
+ #: lib/gettext_rails/action_view/date_helper.rb:25
45
+ msgid "half a minute"
46
+ msgstr "30초"
47
+
48
+ #: lib/gettext_rails/action_view/date_helper.rb:25
49
+ msgid "less than a minute"
50
+ msgstr "1분 미만"
51
+
52
+ #: lib/gettext_rails/action_view/date_helper.rb:25
53
+ #, fuzzy
54
+ msgid "about 1 month"
55
+ msgstr "%{num}시간"
56
+
57
+ #: lib/gettext_rails/action_view/date_helper.rb:26
58
+ #, fuzzy
59
+ msgid "about 1 year"
60
+ msgstr "%{num}시간"
61
+
62
+ #: lib/gettext_rails/action_view/date_helper.rb:27
63
+ msgid "1 minute"
64
+ msgid_plural "%{num} minutes"
65
+ msgstr[0] "%{num}분"
66
+
67
+ #: lib/gettext_rails/action_view/date_helper.rb:28
68
+ msgid "about 1 hour"
69
+ msgid_plural "about %{num} hours"
70
+ msgstr[0] "%{num}시간"
71
+
72
+ #: lib/gettext_rails/action_view/date_helper.rb:29
73
+ msgid "1 day"
74
+ msgid_plural "%{num} days"
75
+ msgstr[0] "%{num}일"
76
+
77
+ #: lib/gettext_rails/action_view/date_helper.rb:30
78
+ #, fuzzy
79
+ msgid "1 month"
80
+ msgid_plural "%{num} months"
81
+ msgstr[0] "%{num}분"
82
+
83
+ #: lib/gettext_rails/action_view/date_helper.rb:31
84
+ #, fuzzy
85
+ msgid "over 1 year"
86
+ msgid_plural "over %{num} years"
87
+ msgstr[0] "%{num}시간"
@@ -0,0 +1,95 @@
1
+ #
2
+ # a po-file for Ruby-GetText-Package and Ruby on Rails.
3
+ #
4
+ # Copyright (C) 2005,2006 Masao Mutoh
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # Aivars Akots, 2008.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: gettext_rails 1.93.0\n"
12
+ "POT-Creation-Date: 2009-02-20 20:21+0900\n"
13
+ "PO-Revision-Date: 2008-07-25 09:37+0200\n"
14
+ "Last-Translator: Aivars Akots <aivars.akots@gmail.com>\n"
15
+ "Language-Team: Latvian\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=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
20
+ "2);\n"
21
+
22
+ #: lib/gettext_rails/action_view/active_record_helper.rb:23
23
+ msgid "%{num} error prohibited this %{record} from being saved"
24
+ msgid_plural "%{num} errors prohibited this %{record} from being saved"
25
+ msgstr[0] "%d kļūdas rezultātā %s netika saglabāts"
26
+ msgstr[1] "%d kļūdu rezultātā %s netika saglabāts"
27
+
28
+ #: lib/gettext_rails/action_view/active_record_helper.rb:25
29
+ msgid "There was a problem with the following field:"
30
+ msgid_plural "There were problems with the following fields:"
31
+ msgstr[0] "Radās problēmas ar sekojošu lauku:"
32
+ msgstr[1] "Radās problēmas ar sekojošajiem laukiem:"
33
+
34
+ #: lib/gettext_rails/action_view/date_helper.rb:24
35
+ msgid "less than 5 seconds"
36
+ msgstr "mazāk kā 5 sekundes"
37
+
38
+ #: lib/gettext_rails/action_view/date_helper.rb:24
39
+ msgid "less than 10 seconds"
40
+ msgstr "mazāk kā 10 sekundes"
41
+
42
+ #: lib/gettext_rails/action_view/date_helper.rb:24
43
+ msgid "less than 20 seconds"
44
+ msgstr "mazāk kā 20 sekundes"
45
+
46
+ #: lib/gettext_rails/action_view/date_helper.rb:25
47
+ msgid "half a minute"
48
+ msgstr "pus minūte"
49
+
50
+ #: lib/gettext_rails/action_view/date_helper.rb:25
51
+ msgid "less than a minute"
52
+ msgstr "mazāk kā 1 minūte"
53
+
54
+ #: lib/gettext_rails/action_view/date_helper.rb:25
55
+ msgid "about 1 month"
56
+ msgstr "apmēram 1 mēnesis"
57
+
58
+ #: lib/gettext_rails/action_view/date_helper.rb:26
59
+ msgid "about 1 year"
60
+ msgstr "apmēram 1 gads"
61
+
62
+ #: lib/gettext_rails/action_view/date_helper.rb:27
63
+ #, fuzzy
64
+ msgid "1 minute"
65
+ msgid_plural "%{num} minutes"
66
+ msgstr[0] "pus minūte"
67
+ msgstr[1] "pus minūte"
68
+ msgstr[2] "pus minūte"
69
+
70
+ #: lib/gettext_rails/action_view/date_helper.rb:28
71
+ msgid "about 1 hour"
72
+ msgid_plural "about %{num} hours"
73
+ msgstr[0] "apmēram 1 stunda"
74
+ msgstr[1] "apmērm %{num} stundas"
75
+
76
+ #: lib/gettext_rails/action_view/date_helper.rb:29
77
+ msgid "1 day"
78
+ msgid_plural "%{num} days"
79
+ msgstr[0] ""
80
+ msgstr[1] ""
81
+ msgstr[2] ""
82
+
83
+ #: lib/gettext_rails/action_view/date_helper.rb:30
84
+ #, fuzzy
85
+ msgid "1 month"
86
+ msgid_plural "%{num} months"
87
+ msgstr[0] "apmēram 1 mēnesis"
88
+ msgstr[1] "apmēram 1 mēnesis"
89
+ msgstr[2] "apmēram 1 mēnesis"
90
+
91
+ #: lib/gettext_rails/action_view/date_helper.rb:31
92
+ msgid "over 1 year"
93
+ msgid_plural "over %{num} years"
94
+ msgstr[0] "vairāk kā 1 gads"
95
+ msgstr[1] "vairāk kā %{num} gadi"