gettext 1.92.0 → 1.93.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -9,7 +9,7 @@
9
9
  You may redistribute it and/or modify it under the same
10
10
  license terms as Ruby.
11
11
 
12
- $Id: ruby.rb,v 1.11 2008/07/26 06:59:35 mutoh Exp $
12
+ $Id: ruby.rb,v 1.12 2008/08/06 17:35:52 mutoh Exp $
13
13
  =end
14
14
 
15
15
  require 'irb/ruby-lex.rb'
@@ -64,6 +64,7 @@ module GetText
64
64
  ID = ['gettext', '_', 'N_', 'sgettext', 's_']
65
65
  PLURAL_ID = ['ngettext', 'n_', 'Nn_', 'ns_', 'nsgettext']
66
66
  MSGCTXT_ID = ['pgettext', 'p_']
67
+ MSGCTXT_PLURAL_ID = ['npgettext', 'np_']
67
68
 
68
69
  module_function
69
70
  def parse(file, targets = []) # :nodoc:
@@ -92,6 +93,8 @@ module GetText
92
93
  target = :plural
93
94
  elsif MSGCTXT_ID.include?(tk.name)
94
95
  target = :msgctxt
96
+ elsif MSGCTXT_PLURAL_ID.include?(tk.name)
97
+ target = :msgctxt_plural
95
98
  else
96
99
  target = nil
97
100
  end
@@ -112,8 +115,12 @@ module GetText
112
115
  msgid += "\000"
113
116
  elsif target == :msgctxt
114
117
  msgid += "\004"
118
+ elsif target == :msgctxt_plural
119
+ msgid += "\004"
120
+ target = :plural
121
+ else
122
+ target = :normal
115
123
  end
116
- target = :normal
117
124
  end
118
125
  else
119
126
  if msgid
data/lib/gettext/rails.rb CHANGED
@@ -6,7 +6,7 @@
6
6
  You may redistribute it and/or modify it under the same
7
7
  license terms as Ruby.
8
8
 
9
- $Id: rails.rb,v 1.79 2008/08/02 08:42:06 mutoh Exp $
9
+ $Id: rails.rb,v 1.81 2008/09/13 18:23:56 mutoh Exp $
10
10
  =end
11
11
 
12
12
  require 'gettext/cgi'
@@ -275,11 +275,16 @@ module ActionView #:nodoc:
275
275
  # instead of foo.html.erb. If the file isn't found, foo.html.erb is used.
276
276
  def render_file_with_gettext(template_path, use_full_path = true, local_assigns = {})
277
277
  locale = GetText.locale
278
- [locale.to_general, locale.to_s, locale.language, Locale.default.language].uniq.each do |v|
279
- localized_path = "#{template_path}_#{v}"
280
- if (respond_to? :file_exists?) ? file_exists?(localized_path) : (finder.file_exists? localized_path)
281
- return render_file_without_gettext(localized_path, use_full_path, local_assigns)
278
+ begin
279
+ [locale.to_general, locale.to_s, locale.language, Locale.default.language].uniq.each do |v|
280
+ localized_path = "#{template_path}_#{v}"
281
+ if (respond_to? :file_exists?) ? file_exists?(localized_path) : (finder.file_exists? localized_path)
282
+ return render_file_without_gettext(localized_path, use_full_path, local_assigns)
283
+ end
282
284
  end
285
+ rescue Exception
286
+ logger.debug($!)
287
+ logger.debug($!.backtrace)
283
288
  end
284
289
  render_file_without_gettext(template_path, use_full_path, local_assigns)
285
290
  end
@@ -506,7 +511,7 @@ module ActionController #:nodoc: all
506
511
  def expire_fragment_with_gettext(name, options = nil)
507
512
  return unless perform_caching
508
513
 
509
- fc_store = (defined? :cache_store) ? cache_store : fragment_cache_store
514
+ fc_store = (respond_to? :cache_store) ? cache_store : fragment_cache_store
510
515
  key = name.is_a?(Regexp) ? name : fragment_cache_key_without_gettext(name)
511
516
  if key.is_a?(Regexp)
512
517
  self.class.benchmark "Expired fragments matching: #{key.source}" do
@@ -25,7 +25,7 @@ module GetText
25
25
 
26
26
  # constant values
27
27
  VERSION = GetText::VERSION
28
- DATE = %w($Date: 2008/07/26 06:59:34 $)[1]
28
+ DATE = %w($Date: 2008/08/06 17:35:52 $)[1]
29
29
  MAX_LINE_LEN = 70
30
30
 
31
31
  @ex_parsers = []
@@ -109,19 +109,20 @@ msgstr ""
109
109
  end
110
110
  msgid.gsub!(/"/, '\"')
111
111
  msgid.gsub!(/\r/, '')
112
+ if msgid.include?("\004")
113
+ msgctxt, msgid = msgid.split(/\004/)
114
+ str << "\nmsgctxt \"" << msgctxt << "\"\n"
115
+ else
116
+ str << "\n"
117
+ end
112
118
  if msgid.include?("\000")
113
119
  ids = msgid.split(/\000/)
114
- str << "\nmsgid \"" << ids[0] << "\"\n"
120
+ str << "msgid \"" << ids[0] << "\"\n"
115
121
  str << "msgid_plural \"" << ids[1] << "\"\n"
116
122
  str << "msgstr[0] \"\"\n"
117
123
  str << "msgstr[1] \"\"\n"
118
- elsif msgid.include?("\004")
119
- ids = msgid.split(/\004/)
120
- str << "\nmsgctxt \"" << ids[0] << "\"\n"
121
- str << "msgid \"" << ids[1] << "\"\n"
122
- str << "msgstr \"\"\n"
123
124
  else
124
- str << "\nmsgid \"" << msgid << "\"\n"
125
+ str << "msgid \"" << msgid << "\"\n"
125
126
  str << "msgstr \"\"\n"
126
127
  end
127
128
  end
data/lib/gettext/utils.rb CHANGED
@@ -21,8 +21,21 @@ require 'fileutils'
21
21
  module GetText
22
22
  bindtextdomain "rgettext"
23
23
 
24
+ BOM_UTF8 = [0xef, 0xbb, 0xbf].pack("c3")
25
+
24
26
  module_function
25
27
 
28
+ # Currently, GNU msgmerge doesn't accept BOM.
29
+ # This mesthod remove the UTF-8 BOM from the po-file.
30
+ def remove_bom(path) #:nodoc:
31
+ bom = IO.read(path, 3)
32
+ if bom == BOM_UTF8
33
+ data = IO.read(path)
34
+ File.open(path, "w") do |out|
35
+ out.write(data[3..-1])
36
+ end
37
+ end
38
+ end
26
39
 
27
40
  # Merges two Uniforum style .po files together.
28
41
  #
@@ -45,15 +58,16 @@ module GetText
45
58
  # * app_version: the application information which appears "Project-Id-Version: #{app_version}" in the pot/po-files.
46
59
  # * Returns: self
47
60
  def msgmerge(defpo, refpo, app_version)
48
- $stderr.puts defpo
61
+ $stderr.print defpo + " "
49
62
  cmd = ENV["MSGMERGE_PATH"] || "msgmerge"
50
63
 
51
64
  cont = ""
52
65
  if FileTest.exist? defpo
53
- `#{cmd} --version`
54
- unless $?.success?
55
- raise _("`#{cmd}' may not be found. \nInstall GNU Gettext then set PATH or MSGMERGE_PATH correctly.")
66
+ `#{cmd} --help`
67
+ unless $? && $?.success?
68
+ raise _("`%{cmd}' may not be found. \nInstall GNU Gettext then set PATH or MSGMERGE_PATH correctly.") % {:cmd => cmd}
56
69
  end
70
+ remove_bom(defpo)
57
71
  cont = `#{cmd} #{defpo} #{refpo}`
58
72
  else
59
73
  File.open(refpo) do |io|
@@ -8,5 +8,5 @@
8
8
  license terms as Ruby.
9
9
  =end
10
10
  module GetText
11
- VERSION = "1.92.0"
11
+ VERSION = "1.93.0"
12
12
  end
data/lib/locale/object.rb CHANGED
@@ -6,7 +6,7 @@
6
6
  You may redistribute it and/or modify it under the same
7
7
  license terms as Ruby.
8
8
 
9
- $Id: object.rb,v 1.3 2008/01/27 10:58:10 mutoh Exp $
9
+ $Id: object.rb,v 1.4 2008/08/19 16:22:34 mutoh Exp $
10
10
  =end
11
11
 
12
12
 
@@ -95,11 +95,15 @@ module Locale
95
95
  # "de_DE@collation=phonebook,currency=DDM" => ["de", "DE", nil, nil, "collation=phonebook,currency=DDM"]
96
96
 
97
97
  def self.parse(locale_name)
98
- lang_charset, modifier = locale_name.split(/@/)
99
- lang, charset = lang_charset.split(/\./)
100
- language, country, script, variant = lang.gsub(/_/, "-").split('-')
101
- language = language ? language.downcase : nil
102
- language = "en" if language == "c" || language == "posix"
98
+ if locale_name.nil? || locale_name.empty?
99
+ return ["en", nil, nil, nil, nil, nil]
100
+ else
101
+ lang_charset, modifier = locale_name.split(/@/)
102
+ lang, charset = lang_charset.split(/\./)
103
+ language, country, script, variant = lang.gsub(/_/, "-").split('-')
104
+ language = language ? language.downcase : nil
105
+ language = "en" if language == "c" || language == "posix"
106
+ end
103
107
  if country
104
108
  if country =~ /\A[A-Z][a-z]+\Z/ #Latn => script
105
109
  tmp = script
data/lib/locale/posix.rb CHANGED
@@ -6,7 +6,7 @@
6
6
  You may redistribute it and/or modify it under the same
7
7
  license terms as Ruby.
8
8
 
9
- $Id: posix.rb,v 1.2 2007/11/08 16:44:22 mutoh Exp $
9
+ $Id: posix.rb,v 1.4 2008/09/15 16:32:39 mutoh Exp $
10
10
  =end
11
11
 
12
12
  require 'locale/base'
@@ -16,7 +16,21 @@ module Locale
16
16
  # This is a low-level class. Application shouldn't use this directly.
17
17
  module SystemPosix
18
18
  extend SystemBase
19
+
20
+ module_function
21
+ # Gets the charset of the locale.
22
+ # * locale: Locale::Object
23
+ # * Returns the charset of the locale
24
+ def get_charset(locale)
25
+ charset = `LANG=#{locale.to_str};locale charmap`.strip
26
+ unless $? && $?.success?
27
+ charset = "UTF-8"
28
+ end
29
+ charset
30
+ end
19
31
  end
32
+
20
33
  @@locale_system_module = SystemPosix
34
+
21
35
  end
22
36
 
data/po/bg/rails.po ADDED
@@ -0,0 +1,169 @@
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
+ # Georgi Stoimenov <georgistoimenov@abv.bg>, 2008
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.92.0\n"
12
+ "POT-Creation-Date: 2008-09-14 01:48+0900\n"
13
+ "PO-Revision-Date: 2008-07-11 11:35+0300\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
+ #: lib/gettext/rails.rb:327
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} грешка %{record} не беше записан"
25
+ msgstr[1] "Поради %{num} грешки %{record} не беше записан"
26
+
27
+ #: lib/gettext/rails.rb:329
28
+ msgid "There was a problem with the following field:"
29
+ msgid_plural "There were problems with the following fields:"
30
+ msgstr[0] "Проблемът се дължи на:"
31
+ msgstr[1] "Проблемите се дължат на:"
32
+
33
+ #: lib/gettext/rails.rb:435
34
+ msgid "less than 5 seconds"
35
+ msgstr "по-малко от 5 секунди"
36
+
37
+ #: lib/gettext/rails.rb:435
38
+ msgid "less than 10 seconds"
39
+ msgstr "по-малко от 10 секунди"
40
+
41
+ #: lib/gettext/rails.rb:435
42
+ msgid "less than 20 seconds"
43
+ msgstr "по-малко от 20 секунди"
44
+
45
+ #: lib/gettext/rails.rb:436
46
+ msgid "half a minute"
47
+ msgstr "половин минута"
48
+
49
+ #: lib/gettext/rails.rb:436
50
+ msgid "less than a minute"
51
+ msgstr "по-малко от минута"
52
+
53
+ #: lib/gettext/rails.rb:436
54
+ msgid "about 1 month"
55
+ msgstr "около 1 месец"
56
+
57
+ #: lib/gettext/rails.rb:437
58
+ msgid "about 1 year"
59
+ msgstr "около 1 година"
60
+
61
+ #: lib/gettext/rails.rb:438
62
+ msgid "1 minute"
63
+ msgid_plural "%{num} minutes"
64
+ msgstr[0] "1 минута"
65
+ msgstr[1] "%{num} минути"
66
+
67
+ #: lib/gettext/rails.rb:439
68
+ msgid "about 1 hour"
69
+ msgid_plural "about %{num} hours"
70
+ msgstr[0] "около час"
71
+ msgstr[1] "около %{num} часа"
72
+
73
+ #: lib/gettext/rails.rb:440
74
+ msgid "1 day"
75
+ msgid_plural "%{num} days"
76
+ msgstr[0] "1 ден"
77
+ msgstr[1] "%{num} дни"
78
+
79
+ #: lib/gettext/rails.rb:441
80
+ msgid "1 month"
81
+ msgid_plural "%{num} months"
82
+ msgstr[0] "1 месец"
83
+ msgstr[1] "%{num} месеци"
84
+
85
+ #: lib/gettext/rails.rb:442
86
+ msgid "over 1 year"
87
+ msgid_plural "over %{num} years"
88
+ msgstr[0] "повече от година"
89
+ msgstr[1] "повече %{num} години"
90
+
91
+ #: lib/gettext/active_record.rb:28
92
+ msgid "Validation failed: %{error_messages}"
93
+ msgstr "Неуспешна валидация: %{error_messages}"
94
+
95
+ #: lib/gettext/active_record.rb:247
96
+ msgid "%{fn} is not included in the list"
97
+ msgstr "Полето „%{fn}“ не е в списъка"
98
+
99
+ #: lib/gettext/active_record.rb:248
100
+ msgid "%{fn} is reserved"
101
+ msgstr "Полето „%{fn}“ е резервирано"
102
+
103
+ #: lib/gettext/active_record.rb:249
104
+ msgid "%{fn} is invalid"
105
+ msgstr "Полето „%{fn}“ е невалидно"
106
+
107
+ #: lib/gettext/active_record.rb:250
108
+ msgid "%{fn} doesn't match confirmation"
109
+ msgstr "%{fn} не съвпада"
110
+
111
+ #: lib/gettext/active_record.rb:251
112
+ msgid "%{fn} must be accepted"
113
+ msgstr "Полето „%{fn}“ трябва бъде прието"
114
+
115
+ #: lib/gettext/active_record.rb:252
116
+ msgid "%{fn} can't be empty"
117
+ msgstr "Полето „%{fn}“ не може да е празно"
118
+
119
+ #: lib/gettext/active_record.rb:253
120
+ msgid "%{fn} can't be blank"
121
+ msgstr "Полето „%{fn}“ не може да е празно"
122
+
123
+ #: lib/gettext/active_record.rb:254
124
+ msgid "%{fn} is too long (maximum is %d characters)"
125
+ msgstr "Полето „%{fn}“ е много дълго (максимумът е %d символа)"
126
+
127
+ #: lib/gettext/active_record.rb:255
128
+ msgid "%{fn} is too short (minimum is %d characters)"
129
+ msgstr "Полето „%{fn}“ е много късо (минимумът е %d символа)"
130
+
131
+ #: lib/gettext/active_record.rb:256
132
+ msgid "%{fn} is the wrong length (should be %d characters)"
133
+ msgstr "Полето „%{fn}“ е с неправилна дължина (трябва да е %d символа)"
134
+
135
+ #: lib/gettext/active_record.rb:257
136
+ msgid "%{fn} has already been taken"
137
+ msgstr "Полето „%{fn}“ е вече заето"
138
+
139
+ #: lib/gettext/active_record.rb:258
140
+ msgid "%{fn} is not a number"
141
+ msgstr "Полето „%{fn}“ не е число"
142
+
143
+ #: lib/gettext/active_record.rb:259
144
+ msgid "%{fn} must be greater than %d"
145
+ msgstr "Полето „%{fn}“ трябва бъде по-голямо от %d"
146
+
147
+ #: lib/gettext/active_record.rb:260
148
+ msgid "%{fn} must be greater than or equal to %d"
149
+ msgstr "Полето „%{fn}“ трябва бъде по-голямо или равно на %d"
150
+
151
+ #: lib/gettext/active_record.rb:261
152
+ msgid "%{fn} must be equal to %d"
153
+ msgstr "Полето „%{fn}“ трябва бъде равно на %d"
154
+
155
+ #: lib/gettext/active_record.rb:262
156
+ msgid "%{fn} must be less than %d"
157
+ msgstr "Полето „%{fn}“ трябва бъде по-малко от %d"
158
+
159
+ #: lib/gettext/active_record.rb:263
160
+ msgid "%{fn} must be less than or equal to %d"
161
+ msgstr "Полето „%{fn}“ трябва бъде по-малко или равно на %d"
162
+
163
+ #: lib/gettext/active_record.rb:264
164
+ msgid "%{fn} must be odd"
165
+ msgstr "Полето „%{fn}“ трябва бъде нечетно"
166
+
167
+ #: lib/gettext/active_record.rb:265
168
+ msgid "%{fn} must be even"
169
+ msgstr "Полето „%{fn}“ трябва бъде четно"
data/po/bg/rgettext.po ADDED
@@ -0,0 +1,146 @@
1
+ #
2
+ # a po-file for Ruby-GetText-Package
3
+ #
4
+ # Copyright (C) 2004-2006 Masao Mutoh
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.92.0\n"
12
+ "POT-Creation-Date: 2008-09-14 01:48+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
+ #: lib/gettext/utils.rb:68
22
+ msgid ""
23
+ "`%{cmd}' may not be found. \n"
24
+ "Install GNU Gettext then set PATH or MSGMERGE_PATH correctly."
25
+ msgstr ""
26
+
27
+ #: lib/gettext/utils.rb:80
28
+ msgid "Failed to merge with %{defpo}"
29
+ msgstr "Пропадна сливането с %{defpo}"
30
+
31
+ #: lib/gettext/utils.rb:81
32
+ msgid "New .pot was copied to %{failed_filename}"
33
+ msgstr "Новия .pot беше копиран като %{failed_filename}"
34
+
35
+ #: lib/gettext/utils.rb:82
36
+ msgid "Check these po/pot-files. It may have syntax errors or something wrong."
37
+ msgstr ""
38
+ "Проверете тези po/pot файлове. Може да имат синтактични грешки или нещо "
39
+ "друго."
40
+
41
+ #: lib/gettext/rgettext.rb:43
42
+ msgid "'%{klass}' is ignored."
43
+ msgstr "'%{klass}' беше игнориран."
44
+
45
+ #: lib/gettext/rgettext.rb:189
46
+ msgid "Usage: %s input.rb [-r parser.rb] [-o output.pot]"
47
+ msgstr "Употреба: %s input.rb [-r parser.rb] [-o output.pot] "
48
+
49
+ #: lib/gettext/rgettext.rb:191
50
+ msgid "Extract translatable strings from given input files."
51
+ msgstr "Извличане на преводните низове от зададените файлове."
52
+
53
+ #: lib/gettext/rgettext.rb:193 lib/gettext/rmsgfmt.rb:51
54
+ #: lib/gettext/rmsgmerge.rb:408
55
+ msgid "Specific options:"
56
+ msgstr "Специфични опции:"
57
+
58
+ #: lib/gettext/rgettext.rb:195 lib/gettext/rmsgfmt.rb:53
59
+ #: lib/gettext/rmsgmerge.rb:410
60
+ msgid "write output to specified file"
61
+ msgstr "изходът беше записан в зададения файл"
62
+
63
+ #: lib/gettext/rgettext.rb:199
64
+ msgid "File '%s' already exists."
65
+ msgstr "Файлът '%s' съществува."
66
+
67
+ #: lib/gettext/rgettext.rb:204
68
+ msgid "require the library before executing rgettext"
69
+ msgstr "заредете библиотеката с require преди да изпълните rgettext"
70
+
71
+ #: lib/gettext/rgettext.rb:208
72
+ msgid "run in debugging mode"
73
+ msgstr "изпълнение в режим на дебъгване"
74
+
75
+ #: lib/gettext/rgettext.rb:212 lib/gettext/rmsgfmt.rb:57
76
+ #: lib/gettext/rmsgmerge.rb:421
77
+ msgid "display version information and exit"
78
+ msgstr "показване на версията и изход"
79
+
80
+ #: lib/gettext/rgettext.rb:236 lib/gettext/rmsgfmt.rb:31
81
+ msgid "no input files"
82
+ msgstr "няма зададени файлове"
83
+
84
+ #: lib/gettext/rmsgfmt.rb:47
85
+ msgid "Usage: %s input.po [-o output.mo]"
86
+ msgstr "Употреба: %s input.po [-o output.mo]"
87
+
88
+ #: lib/gettext/rmsgfmt.rb:49
89
+ msgid "Generate binary message catalog from textual translation description."
90
+ msgstr "Генериране на двоични файлове с преводите от текстовите описания."
91
+
92
+ #: lib/gettext/rmsgmerge.rb:403
93
+ msgid "Usage: %s def.po ref.pot [-o output.pot]"
94
+ msgstr "Употреба: %s def.po ref.pot [-o output.pot]"
95
+
96
+ #: lib/gettext/rmsgmerge.rb:406
97
+ msgid ""
98
+ "Merges two Uniforum style .po files together. The def.po file is an existing "
99
+ "PO file with translations. The ref.pot file is the last created PO file with "
100
+ "up-to-date source references. ref.pot is generally created by rgettext."
101
+ msgstr ""
102
+ "Слива два Uniforum .pо файла. def.po е съществуващ PO файл с преводи. ref."
103
+ "pot е пресен PO файл с актуални референции към кода. ref.pot обикновено е "
104
+ "създаден от rgettext."
105
+
106
+ #: lib/gettext/rmsgmerge.rb:447
107
+ msgid "definition po is not given."
108
+ msgstr "съществуващия po не е зададен."
109
+
110
+ #: lib/gettext/rmsgmerge.rb:449
111
+ msgid "reference pot is not given."
112
+ msgstr "pot с референциите не е зададен."
113
+
114
+ #: lib/gettext/parser/glade.rb:74
115
+ msgid "`%{file}' is not glade-2.0 format."
116
+ msgstr "`%{file}' не е във формат glade-2.0."
117
+
118
+ #: lib/gettext/parser/active_record.rb:39
119
+ msgid "'%{file}' is not found."
120
+ msgstr "'%{file}' не беше намерен."
121
+
122
+ #: lib/gettext/parser/active_record.rb:80
123
+ msgid "Ignored '%{file}'. Solve dependencies first."
124
+ msgstr "'%{file}' беше игнориран. Първо оправете зависимостите."
125
+
126
+ #: lib/gettext/parser/active_record.rb:104
127
+ msgid "No database is available."
128
+ msgstr "Базата данни я е хванала липса."
129
+
130
+ #: lib/gettext/parser/active_record.rb:140
131
+ msgid "rubygems are not found."
132
+ msgstr "rubygems липсват."
133
+
134
+ #: lib/gettext.rb:417
135
+ msgid "3rd parmeter is wrong: value = %{number}"
136
+ msgstr "Третият параметър е грешен: value = %{number}"
137
+
138
+ #: src/poparser.ry:38 src/poparser.ry:55
139
+ msgid "Warning: fuzzy message was ignored.\n"
140
+ msgstr "Предупреждение: беше игнорирано неточно съобщение"
141
+
142
+ #: src/poparser.ry:148
143
+ msgid "Warning: obsolete msgid exists.\n"
144
+ msgstr ""
145
+ "Предупреждение: има несъществуващи вече msgid\n"
146
+ "."