gettext 1.5.0-mswin32 → 1.6.0-mswin32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (231) hide show
  1. data/ChangeLog +113 -0
  2. data/NEWS +17 -1
  3. data/README +56 -46
  4. data/Rakefile +7 -3
  5. data/data/locale/cs/LC_MESSAGES/rails.mo +0 -0
  6. data/data/locale/cs/LC_MESSAGES/rgettext.mo +0 -0
  7. data/data/locale/de/LC_MESSAGES/rails.mo +0 -0
  8. data/data/locale/de/LC_MESSAGES/rgettext.mo +0 -0
  9. data/data/locale/el/LC_MESSAGES/rails.mo +0 -0
  10. data/data/locale/el/LC_MESSAGES/rgettext.mo +0 -0
  11. data/data/locale/es/LC_MESSAGES/rails.mo +0 -0
  12. data/data/locale/es/LC_MESSAGES/rgettext.mo +0 -0
  13. data/data/locale/fr/LC_MESSAGES/rails.mo +0 -0
  14. data/data/locale/fr/LC_MESSAGES/rgettext.mo +0 -0
  15. data/data/locale/it/LC_MESSAGES/rails.mo +0 -0
  16. data/data/locale/it/LC_MESSAGES/rgettext.mo +0 -0
  17. data/data/locale/ja/LC_MESSAGES/rails.mo +0 -0
  18. data/data/locale/ja/LC_MESSAGES/rgettext.mo +0 -0
  19. data/data/locale/ko/LC_MESSAGES/rails.mo +0 -0
  20. data/data/locale/ko/LC_MESSAGES/rgettext.mo +0 -0
  21. data/data/locale/nl/LC_MESSAGES/rails.mo +0 -0
  22. data/data/locale/nl/LC_MESSAGES/rgettext.mo +0 -0
  23. data/data/locale/pt_BR/LC_MESSAGES/rails.mo +0 -0
  24. data/data/locale/pt_BR/LC_MESSAGES/rgettext.mo +0 -0
  25. data/data/locale/ru/LC_MESSAGES/rails.mo +0 -0
  26. data/data/locale/ru/LC_MESSAGES/rgettext.mo +0 -0
  27. data/data/locale/sv/LC_MESSAGES/rgettext.mo +0 -0
  28. data/data/locale/zh/LC_MESSAGES/rails.mo +0 -0
  29. data/data/locale/zh/LC_MESSAGES/rgettext.mo +0 -0
  30. data/ext/gettext/locale_system.c +3 -3
  31. data/lib/gettext.rb +149 -98
  32. data/lib/gettext/container.rb +3 -23
  33. data/lib/gettext/erb.rb +2 -2
  34. data/lib/gettext/locale_posix.rb +37 -5
  35. data/lib/gettext/locale_win32.rb +2 -1
  36. data/lib/gettext/mo.rb +6 -4
  37. data/lib/gettext/parser/activerecord.rb +7 -3
  38. data/lib/gettext/poparser.rb +298 -298
  39. data/lib/gettext/rails.rb +131 -112
  40. data/lib/gettext/rgettext.rb +3 -1
  41. data/lib/gettext/rmsgfmt.rb +3 -1
  42. data/lib/gettext/rmsgmerge.rb +3 -1
  43. data/lib/gettext/textdomain.rb +14 -8
  44. data/lib/gettext/textdomainmanager.rb +103 -0
  45. data/lib/gettext/version.rb +1 -1
  46. data/po/cs/rails.po +16 -16
  47. data/po/cs/rgettext.po +7 -3
  48. data/po/de/rails.po +16 -16
  49. data/po/de/rgettext.po +7 -3
  50. data/po/el/rails.po +16 -16
  51. data/po/el/rgettext.po +7 -3
  52. data/po/es/rails.po +16 -16
  53. data/po/es/rgettext.po +7 -3
  54. data/po/fr/rails.po +16 -16
  55. data/po/fr/rgettext.po +7 -3
  56. data/po/it/rails.po +79 -0
  57. data/po/it/rgettext.po +42 -32
  58. data/po/ja/rails.po +20 -18
  59. data/po/ja/rgettext.po +7 -3
  60. data/po/ko/rails.po +16 -16
  61. data/po/ko/rgettext.po +7 -3
  62. data/po/nl/rails.po +16 -16
  63. data/po/nl/rgettext.po +7 -3
  64. data/po/pt_BR/rails.po +16 -16
  65. data/po/pt_BR/rgettext.po +7 -3
  66. data/po/rails.pot +16 -16
  67. data/po/rgettext.pot +7 -3
  68. data/po/ru/rails.po +18 -18
  69. data/po/ru/rgettext.po +13 -9
  70. data/po/sv/rgettext.po +7 -3
  71. data/po/zh/rails.po +78 -0
  72. data/po/zh/rgettext.po +104 -0
  73. data/pre-setup.rb +1 -4
  74. data/samples/cgi/helloerb.rhtml +1 -0
  75. data/samples/cgi/locale/zh/LC_MESSAGES/helloerb1.mo +0 -0
  76. data/samples/cgi/locale/zh/LC_MESSAGES/helloerb2.mo +0 -0
  77. data/samples/cgi/locale/zh/LC_MESSAGES/hellolib.mo +0 -0
  78. data/samples/cgi/locale/zh/LC_MESSAGES/main.mo +0 -0
  79. data/samples/cgi/po/zh/helloerb1.po +60 -0
  80. data/samples/cgi/po/zh/helloerb2.po +52 -0
  81. data/samples/cgi/po/zh/hellolib.po +24 -0
  82. data/samples/cgi/po/zh/main.po +80 -0
  83. data/samples/hello.rb +28 -5
  84. data/samples/hello2.rb +13 -6
  85. data/samples/hello_noop.rb +20 -8
  86. data/samples/hello_plural.rb +16 -6
  87. data/samples/hello_textdomain.rb +13 -4
  88. data/samples/hellogtk.rb +5 -4
  89. data/samples/hellogtk2.rb +5 -6
  90. data/samples/locale/cs/LC_MESSAGES/hello2.mo +0 -0
  91. data/samples/locale/cs/LC_MESSAGES/hello_plural.mo +0 -0
  92. data/samples/locale/de/LC_MESSAGES/hello2.mo +0 -0
  93. data/samples/locale/de/LC_MESSAGES/hello_plural.mo +0 -0
  94. data/samples/locale/el/LC_MESSAGES/hello2.mo +0 -0
  95. data/samples/locale/el/LC_MESSAGES/hello_plural.mo +0 -0
  96. data/samples/locale/es/LC_MESSAGES/hello2.mo +0 -0
  97. data/samples/locale/es/LC_MESSAGES/hello_plural.mo +0 -0
  98. data/samples/locale/fr/LC_MESSAGES/hello2.mo +0 -0
  99. data/samples/locale/fr/LC_MESSAGES/hello_plural.mo +0 -0
  100. data/samples/locale/it/LC_MESSAGES/hello2.mo +0 -0
  101. data/samples/locale/it/LC_MESSAGES/hello_plural.mo +0 -0
  102. data/samples/locale/ja/LC_MESSAGES/hello2.mo +0 -0
  103. data/samples/locale/ja/LC_MESSAGES/hello_plural.mo +0 -0
  104. data/samples/locale/ko/LC_MESSAGES/hello2.mo +0 -0
  105. data/samples/locale/ko/LC_MESSAGES/hello_plural.mo +0 -0
  106. data/samples/locale/nl/LC_MESSAGES/hello2.mo +0 -0
  107. data/samples/locale/nl/LC_MESSAGES/hello_plural.mo +0 -0
  108. data/samples/locale/pt_BR/LC_MESSAGES/hello2.mo +0 -0
  109. data/samples/locale/pt_BR/LC_MESSAGES/hello_plural.mo +0 -0
  110. data/samples/locale/ru/LC_MESSAGES/hello2.mo +0 -0
  111. data/samples/locale/ru/LC_MESSAGES/hello_plural.mo +0 -0
  112. data/samples/locale/sv/LC_MESSAGES/hello2.mo +0 -0
  113. data/samples/locale/sv/LC_MESSAGES/hello_plural.mo +0 -0
  114. data/samples/locale/zh/LC_MESSAGES/hello.mo +0 -0
  115. data/samples/locale/zh/LC_MESSAGES/hello2.mo +0 -0
  116. data/samples/locale/zh/LC_MESSAGES/hello_noop.mo +0 -0
  117. data/samples/locale/zh/LC_MESSAGES/hello_plural.mo +0 -0
  118. data/samples/locale/zh/LC_MESSAGES/helloglade2.mo +0 -0
  119. data/samples/locale/zh/LC_MESSAGES/hellogtk.mo +0 -0
  120. data/samples/locale/zh/LC_MESSAGES/hellotk.mo +0 -0
  121. data/samples/po/cs/hello2.po +4 -4
  122. data/samples/po/cs/hello_plural.po +5 -5
  123. data/samples/po/de/hello2.po +4 -4
  124. data/samples/po/de/hello_plural.po +9 -6
  125. data/samples/po/el/hello2.po +4 -4
  126. data/samples/po/el/hello_plural.po +3 -3
  127. data/samples/po/es/hello2.po +4 -4
  128. data/samples/po/es/hello_plural.po +6 -6
  129. data/samples/po/fr/hello2.po +4 -4
  130. data/samples/po/fr/hello_plural.po +3 -3
  131. data/samples/po/hello2.pot +2 -2
  132. data/samples/po/hello_plural.pot +1 -1
  133. data/samples/po/it/hello2.po +4 -4
  134. data/samples/po/it/hello_plural.po +4 -5
  135. data/samples/po/ja/hello2.po +4 -4
  136. data/samples/po/ja/hello_plural.po +4 -5
  137. data/samples/po/ko/hello2.po +4 -4
  138. data/samples/po/ko/hello_plural.po +10 -7
  139. data/samples/po/nl/hello2.po +4 -4
  140. data/samples/po/nl/hello_plural.po +6 -7
  141. data/samples/po/pt_BR/hello2.po +4 -4
  142. data/samples/po/pt_BR/hello_plural.po +6 -6
  143. data/samples/po/ru/hello2.po +4 -4
  144. data/samples/po/ru/hello_plural.po +10 -7
  145. data/samples/po/sv/hello2.po +4 -4
  146. data/samples/po/sv/hello_plural.po +4 -4
  147. data/samples/po/zh/hello.po +23 -0
  148. data/samples/po/zh/hello2.po +31 -0
  149. data/samples/po/zh/hello_noop.po +27 -0
  150. data/samples/po/zh/hello_plural.po +25 -0
  151. data/samples/po/zh/helloglade2.po +31 -0
  152. data/samples/po/zh/hellogtk.po +23 -0
  153. data/samples/po/zh/hellotk.po +23 -0
  154. data/samples/rails/README +2 -2
  155. data/samples/rails/lib/tasks/gettext.rake +0 -3
  156. data/samples/rails/locale/cs/LC_MESSAGES/blog.mo +0 -0
  157. data/samples/rails/locale/de/LC_MESSAGES/blog.mo +0 -0
  158. data/samples/rails/locale/el/LC_MESSAGES/blog.mo +0 -0
  159. data/samples/rails/locale/en/LC_MESSAGES/blog.mo +0 -0
  160. data/samples/rails/locale/es/LC_MESSAGES/blog.mo +0 -0
  161. data/samples/rails/locale/fr/LC_MESSAGES/blog.mo +0 -0
  162. data/samples/rails/locale/it/LC_MESSAGES/blog.mo +0 -0
  163. data/samples/rails/locale/ja/LC_MESSAGES/blog.mo +0 -0
  164. data/samples/rails/locale/ko/LC_MESSAGES/blog.mo +0 -0
  165. data/samples/rails/locale/nl/LC_MESSAGES/blog.mo +0 -0
  166. data/samples/rails/locale/pt_BR/LC_MESSAGES/blog.mo +0 -0
  167. data/samples/rails/locale/ru/LC_MESSAGES/blog.mo +0 -0
  168. data/samples/rails/locale/zh/LC_MESSAGES/blog.mo +0 -0
  169. data/samples/rails/po/blog.pot +1 -1
  170. data/samples/rails/po/cs/blog.po +1 -1
  171. data/samples/rails/po/de/blog.po +1 -1
  172. data/samples/rails/po/el/blog.po +1 -1
  173. data/samples/rails/po/en/blog.po +3 -3
  174. data/samples/rails/po/es/blog.po +1 -1
  175. data/samples/rails/po/fr/blog.po +1 -1
  176. data/samples/rails/po/it/blog.po +109 -0
  177. data/samples/rails/po/ja/blog.po +1 -14
  178. data/samples/rails/po/ko/blog.po +2 -2
  179. data/samples/rails/po/nl/blog.po +1 -1
  180. data/samples/rails/po/pt_BR/blog.po +1 -1
  181. data/samples/rails/po/ru/blog.po +1 -2
  182. data/samples/rails/po/zh/blog.po +109 -0
  183. data/samples/rails/vendor/plugins/gettext/README +17 -0
  184. data/samples/rails/vendor/plugins/gettext/Rakefile +17 -0
  185. data/samples/rails/vendor/plugins/gettext/lib/gettext_plugin.rb +16 -35
  186. data/samples/rails/{locale → vendor/plugins/gettext/locale}/cs/LC_MESSAGES/gettext_plugin.mo +0 -0
  187. data/samples/rails/{locale → vendor/plugins/gettext/locale}/de/LC_MESSAGES/gettext_plugin.mo +0 -0
  188. data/samples/rails/{locale → vendor/plugins/gettext/locale}/el/LC_MESSAGES/gettext_plugin.mo +0 -0
  189. data/samples/rails/{locale → vendor/plugins/gettext/locale}/es/LC_MESSAGES/gettext_plugin.mo +0 -0
  190. data/samples/rails/{locale → vendor/plugins/gettext/locale}/fr/LC_MESSAGES/gettext_plugin.mo +0 -0
  191. data/samples/rails/vendor/plugins/gettext/locale/it/LC_MESSAGES/gettext_plugin.mo +0 -0
  192. data/samples/rails/{locale → vendor/plugins/gettext/locale}/ja/LC_MESSAGES/gettext_plugin.mo +0 -0
  193. data/samples/rails/{locale → vendor/plugins/gettext/locale}/ko/LC_MESSAGES/gettext_plugin.mo +0 -0
  194. data/samples/rails/{locale → vendor/plugins/gettext/locale}/nl/LC_MESSAGES/gettext_plugin.mo +0 -0
  195. data/samples/rails/{locale → vendor/plugins/gettext/locale}/pt_BR/LC_MESSAGES/gettext_plugin.mo +0 -0
  196. data/samples/rails/{locale → vendor/plugins/gettext/locale}/ru/LC_MESSAGES/gettext_plugin.mo +0 -0
  197. data/samples/rails/vendor/plugins/gettext/locale/zh/LC_MESSAGES/gettext_plugin.mo +0 -0
  198. data/samples/rails/{po → vendor/plugins/gettext/po}/cs/gettext_plugin.po +4 -4
  199. data/samples/rails/{po → vendor/plugins/gettext/po}/de/gettext_plugin.po +4 -4
  200. data/samples/rails/{po → vendor/plugins/gettext/po}/el/gettext_plugin.po +4 -4
  201. data/samples/rails/{po → vendor/plugins/gettext/po}/es/gettext_plugin.po +4 -4
  202. data/samples/rails/{po → vendor/plugins/gettext/po}/fr/gettext_plugin.po +4 -4
  203. data/samples/rails/{po → vendor/plugins/gettext/po}/gettext_plugin.pot +4 -4
  204. data/samples/rails/vendor/plugins/gettext/po/it/gettext_plugin.po +27 -0
  205. data/samples/rails/{po → vendor/plugins/gettext/po}/ja/gettext_plugin.po +4 -4
  206. data/samples/rails/{po → vendor/plugins/gettext/po}/ko/gettext_plugin.po +4 -4
  207. data/samples/rails/{po → vendor/plugins/gettext/po}/nl/gettext_plugin.po +4 -4
  208. data/samples/rails/{po → vendor/plugins/gettext/po}/pt_BR/gettext_plugin.po +4 -4
  209. data/samples/rails/{po → vendor/plugins/gettext/po}/ru/gettext_plugin.po +4 -5
  210. data/samples/rails/vendor/plugins/gettext/po/zh/gettext_plugin.po +27 -0
  211. data/test/gettext_test.rb +18 -14
  212. data/test/gettext_test_multi_textdomain.rb +49 -0
  213. data/test/locale/fr/LC_MESSAGES/test6.mo +0 -0
  214. data/test/locale/ja/LC_MESSAGES/test6.mo +0 -0
  215. data/test/po/fr/test6.po +23 -0
  216. data/test/po/ja/test6.po +23 -0
  217. data/test/test.sh +3 -1
  218. data/test/testlib1.rb +0 -5
  219. data/test/testlib5.rb +70 -0
  220. data/test/testlib6.rb +19 -0
  221. metadata +128 -33
  222. data/COPYING.ja +0 -51
  223. data/ext/gettext/Makefile +0 -178
  224. data/ext/gettext/locale_system-i386-mswin32.def +0 -2
  225. data/ext/gettext/locale_system.exp +0 -0
  226. data/ext/gettext/locale_system.lib +0 -0
  227. data/ext/gettext/locale_system.obj +0 -0
  228. data/ext/gettext/locale_system.pdb +0 -0
  229. data/ext/gettext/locale_system.so +0 -0
  230. data/ext/gettext/mkmf.log +0 -16
  231. data/ext/gettext/vc70.pdb +0 -0
data/po/rails.pot CHANGED
@@ -9,8 +9,8 @@
9
9
  #, fuzzy
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: ruby-gettext 1.4.0\n"
13
- "POT-Creation-Date: 2006-04-17 23:03+0900\n"
12
+ "Project-Id-Version: ruby-gettext 1.5.0\n"
13
+ "POT-Creation-Date: 2006-06-04 18:48+0900\n"
14
14
  "PO-Revision-Date: 2005-12-17 14:33+0900\n"
15
15
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
16
16
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -19,61 +19,61 @@ msgstr ""
19
19
  "Content-Transfer-Encoding: 8bit\n"
20
20
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
21
21
 
22
- #: lib/gettext/rails.rb:263
22
+ #: lib/gettext/rails.rb:277
23
23
  msgid "%{fn} is not included in the list"
24
24
  msgstr ""
25
25
 
26
- #: lib/gettext/rails.rb:264
26
+ #: lib/gettext/rails.rb:278
27
27
  msgid "%{fn} is reserved"
28
28
  msgstr ""
29
29
 
30
- #: lib/gettext/rails.rb:265
30
+ #: lib/gettext/rails.rb:279
31
31
  msgid "%{fn} is invalid"
32
32
  msgstr ""
33
33
 
34
- #: lib/gettext/rails.rb:266
34
+ #: lib/gettext/rails.rb:280
35
35
  msgid "%{fn} doesn't match confirmation"
36
36
  msgstr ""
37
37
 
38
- #: lib/gettext/rails.rb:267
38
+ #: lib/gettext/rails.rb:281
39
39
  msgid "%{fn} must be accepted"
40
40
  msgstr ""
41
41
 
42
- #: lib/gettext/rails.rb:268
42
+ #: lib/gettext/rails.rb:282
43
43
  msgid "%{fn} can't be empty"
44
44
  msgstr ""
45
45
 
46
- #: lib/gettext/rails.rb:269
46
+ #: lib/gettext/rails.rb:283
47
47
  msgid "%{fn} can't be blank"
48
48
  msgstr ""
49
49
 
50
- #: lib/gettext/rails.rb:270
50
+ #: lib/gettext/rails.rb:284
51
51
  msgid "%{fn} is too long (max is %d characters)"
52
52
  msgstr ""
53
53
 
54
- #: lib/gettext/rails.rb:271
54
+ #: lib/gettext/rails.rb:285
55
55
  msgid "%{fn} is too short (min is %d characters)"
56
56
  msgstr ""
57
57
 
58
- #: lib/gettext/rails.rb:272
58
+ #: lib/gettext/rails.rb:286
59
59
  msgid "%{fn} is the wrong length (should be %d characters)"
60
60
  msgstr ""
61
61
 
62
- #: lib/gettext/rails.rb:273
62
+ #: lib/gettext/rails.rb:287
63
63
  msgid "%{fn} has already been taken"
64
64
  msgstr ""
65
65
 
66
- #: lib/gettext/rails.rb:274
66
+ #: lib/gettext/rails.rb:288
67
67
  msgid "%{fn} is not a number"
68
68
  msgstr ""
69
69
 
70
- #: lib/gettext/rails.rb:337
70
+ #: lib/gettext/rails.rb:354
71
71
  msgid "%{num} error prohibited this %{record} from being saved"
72
72
  msgid_plural "%{num} errors prohibited this %{record} from being saved"
73
73
  msgstr[0] ""
74
74
  msgstr[1] ""
75
75
 
76
- #: lib/gettext/rails.rb:339
76
+ #: lib/gettext/rails.rb:356
77
77
  msgid "There was a problem with the following field:"
78
78
  msgid_plural "There were problems with the following fields:"
79
79
  msgstr[0] ""
data/po/rgettext.pot CHANGED
@@ -6,8 +6,8 @@
6
6
  #
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: ruby-gettext 1.4.0\n"
10
- "POT-Creation-Date: 2006-04-17 23:02+0900\n"
9
+ "Project-Id-Version: ruby-gettext 1.5.0\n"
10
+ "POT-Creation-Date: 2006-06-04 18:48+0900\n"
11
11
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12
12
  "Last-Translator: FULL NAME\n"
13
13
  "Language-Team: LANGUAGE\n"
@@ -86,10 +86,14 @@ msgstr ""
86
86
  msgid "Ignored '%{file}'. Solve dependencies first."
87
87
  msgstr ""
88
88
 
89
- #: lib/gettext/parser/activerecord.rb:84
89
+ #: lib/gettext/parser/activerecord.rb:85
90
90
  msgid "No database is available."
91
91
  msgstr ""
92
92
 
93
+ #: lib/gettext/parser/activerecord.rb:116
94
+ msgid "rubygems are not found."
95
+ msgstr ""
96
+
93
97
  #: lib/gettext/parser/glade.rb:75
94
98
  msgid "%s is not glade-2.0 format."
95
99
  msgstr ""
data/po/ru/rails.po CHANGED
@@ -7,76 +7,76 @@
7
7
  #
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: ruby-gettext 1.2.0\n"
11
- "POT-Creation-Date: 2006-03-04 22:50+0900\n"
10
+ "Project-Id-Version: ruby-gettext 1.5.0\n"
11
+ "POT-Creation-Date: 2006-06-04 18:48+0900\n"
12
12
  "PO-Revision-Date: 2006-04-15 13:36+0300\n"
13
13
  "Last-Translator: Yuri Kozlov <kozlov.y@gmail.com>\n"
14
14
  "Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
15
15
  "MIME-Version: 1.0\n"
16
16
  "Content-Type: text/plain; charset=UTF-8\n"
17
17
  "Content-Transfer-Encoding: 8bit\n"
18
- "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
18
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
19
+ "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
19
20
  "X-Generator: KBabel 1.9.1\n"
20
21
 
21
- #: lib/gettext/rails.rb:235
22
+ #: lib/gettext/rails.rb:277
22
23
  msgid "%{fn} is not included in the list"
23
24
  msgstr "%{fn} не включёно в список"
24
25
 
25
- #: lib/gettext/rails.rb:236
26
+ #: lib/gettext/rails.rb:278
26
27
  msgid "%{fn} is reserved"
27
28
  msgstr "%{fn} зарезервировано"
28
29
 
29
- #: lib/gettext/rails.rb:237
30
+ #: lib/gettext/rails.rb:279
30
31
  msgid "%{fn} is invalid"
31
32
  msgstr "%{fn} недействительно"
32
33
 
33
- #: lib/gettext/rails.rb:238
34
+ #: lib/gettext/rails.rb:280
34
35
  msgid "%{fn} doesn't match confirmation"
35
36
  msgstr "%{fn} не подтверждено"
36
37
 
37
- #: lib/gettext/rails.rb:239
38
+ #: lib/gettext/rails.rb:281
38
39
  msgid "%{fn} must be accepted"
39
40
  msgstr "%{fn} должно быть принято"
40
41
 
41
- #: lib/gettext/rails.rb:240
42
+ #: lib/gettext/rails.rb:282
42
43
  msgid "%{fn} can't be empty"
43
44
  msgstr "%{fn} не может быть пусто"
44
45
 
45
- #: lib/gettext/rails.rb:241
46
+ #: lib/gettext/rails.rb:283
46
47
  msgid "%{fn} can't be blank"
47
48
  msgstr "%{fn} не может быть пробелом"
48
49
 
49
- #: lib/gettext/rails.rb:242
50
+ #: lib/gettext/rails.rb:284
50
51
  msgid "%{fn} is too long (max is %d characters)"
51
52
  msgstr "%{fn} слишком длинно (максимально возможно %d символов)"
52
53
 
53
- #: lib/gettext/rails.rb:243
54
+ #: lib/gettext/rails.rb:285
54
55
  msgid "%{fn} is too short (min is %d characters)"
55
56
  msgstr "%{fn} слишком коротко (должно быть минимум %d символов)"
56
57
 
57
- #: lib/gettext/rails.rb:244
58
+ #: lib/gettext/rails.rb:286
58
59
  msgid "%{fn} is the wrong length (should be %d characters)"
59
60
  msgstr "%{fn} неправильной длины (должно быть %d длиной)"
60
61
 
61
- #: lib/gettext/rails.rb:245
62
+ #: lib/gettext/rails.rb:287
62
63
  msgid "%{fn} has already been taken"
63
64
  msgstr "%{fn} уже было взята"
64
65
 
65
- #: lib/gettext/rails.rb:246
66
+ #: lib/gettext/rails.rb:288
66
67
  msgid "%{fn} is not a number"
67
68
  msgstr "%{fn} не является номером"
68
69
 
69
- #: lib/gettext/rails.rb:289
70
+ #: lib/gettext/rails.rb:354
70
71
  msgid "%{num} error prohibited this %{record} from being saved"
71
72
  msgid_plural "%{num} errors prohibited this %{record} from being saved"
72
73
  msgstr[0] "Из-за %{num} ошибки %{record} не будет сохранена"
73
74
  msgstr[1] "Из-за %{num} ошибок %{record} не будет сохранена"
74
75
  msgstr[2] "Из-за %{num} ошибок %{record} не будет сохранена"
75
76
 
76
- #: lib/gettext/rails.rb:291
77
+ #: lib/gettext/rails.rb:356
77
78
  msgid "There was a problem with the following field:"
78
79
  msgid_plural "There were problems with the following fields:"
79
80
  msgstr[0] "Проблема в поле:"
80
81
  msgstr[1] "Проблемы в полях:"
81
82
  msgstr[2] "Проблемы в полях:"
82
-
data/po/ru/rgettext.po CHANGED
@@ -8,15 +8,16 @@
8
8
  #
9
9
  msgid ""
10
10
  msgstr ""
11
- "Project-Id-Version: ruby-gettext 1.2.0\n"
12
- "POT-Creation-Date: 2006-03-04 22:50+0900\n"
11
+ "Project-Id-Version: ruby-gettext 1.5.0\n"
12
+ "POT-Creation-Date: 2006-06-04 18:48+0900\n"
13
13
  "PO-Revision-Date: 2006-04-15 13:11+0300\n"
14
14
  "Last-Translator: Yuri Kozlov <kozlov.y@gmail.com>\n"
15
15
  "Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
16
16
  "MIME-Version: 1.0\n"
17
17
  "Content-Type: text/plain; charset=UTF-8\n"
18
18
  "Content-Transfer-Encoding: 8bit\n"
19
- "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
19
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
20
+ "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
20
21
  "X-Generator: KBabel 1.9.1\n"
21
22
 
22
23
  #: lib/gettext/rmsgmerge.rb:402
@@ -29,10 +30,10 @@ msgid ""
29
30
  "PO file with translations. The ref.pot file is the last created PO file with "
30
31
  "up-to-date source references. ref.pot is generally created by rgettext."
31
32
  msgstr ""
32
- "Объединяет файлы .po Uniforum формата вместе. В файле def.po содержатся "
33
- "уже переведённые строки. Файл ref.pot является обновлённой версией PO файла "
34
- "из исходных текстов и не содержит переводов. ref.pot обычно создаётся с "
35
- "помощью программы rgettext."
33
+ "Объединяет файлы .po Uniforum формата вместе. В файле def.po содержатся уже "
34
+ "переведённые строки. Файл ref.pot является обновлённой версией PO файла из "
35
+ "исходных текстов и не содержит переводов. ref.pot обычно создаётся с помощью "
36
+ "программы rgettext."
36
37
 
37
38
  #: lib/gettext/rmsgmerge.rb:407 lib/gettext/rgettext.rb:132
38
39
  #: lib/gettext/rmsgfmt.rb:50
@@ -93,11 +94,14 @@ msgstr "'%{file}' не найден."
93
94
  msgid "Ignored '%{file}'. Solve dependencies first."
94
95
  msgstr "Проигнорирован '%{file}'. Сначала решите проблему с зависимостями."
95
96
 
96
- #: lib/gettext/parser/activerecord.rb:84
97
+ #: lib/gettext/parser/activerecord.rb:85
97
98
  msgid "No database is available."
98
99
  msgstr "Нет доступной базы данных."
99
100
 
101
+ #: lib/gettext/parser/activerecord.rb:116
102
+ msgid "rubygems are not found."
103
+ msgstr ""
104
+
100
105
  #: lib/gettext/parser/glade.rb:75
101
106
  msgid "%s is not glade-2.0 format."
102
107
  msgstr "%s не в формате glade-2.0."
103
-
data/po/sv/rgettext.po CHANGED
@@ -8,8 +8,8 @@
8
8
  #
9
9
  msgid ""
10
10
  msgstr ""
11
- "Project-Id-Version: ruby-gettext 1.4.0\n"
12
- "POT-Creation-Date: 2006-04-17 23:02+0900\n"
11
+ "Project-Id-Version: ruby-gettext 1.5.0\n"
12
+ "POT-Creation-Date: 2006-06-04 18:48+0900\n"
13
13
  "PO-Revision-Date: 2004-11-04 20:49+0100\n"
14
14
  "Last-Translator: Nikolai Weibull\n"
15
15
  "Language-Team: Swedish\n"
@@ -87,10 +87,14 @@ msgstr ""
87
87
  msgid "Ignored '%{file}'. Solve dependencies first."
88
88
  msgstr ""
89
89
 
90
- #: lib/gettext/parser/activerecord.rb:84
90
+ #: lib/gettext/parser/activerecord.rb:85
91
91
  msgid "No database is available."
92
92
  msgstr ""
93
93
 
94
+ #: lib/gettext/parser/activerecord.rb:116
95
+ msgid "rubygems are not found."
96
+ msgstr ""
97
+
94
98
  #: lib/gettext/parser/glade.rb:75
95
99
  msgid "%s is not glade-2.0 format."
96
100
  msgstr ""
data/po/zh/rails.po ADDED
@@ -0,0 +1,78 @@
1
+ # translation of rails.po to Simplified Chinese
2
+ #
3
+ # a po-file for Ruby-GetText-Package and Ruby on Rails.
4
+ #
5
+ # Copyright (C) 2006 Masao Mutoh
6
+ # This file is distributed under the same license as the Ruby-GetText-Package.
7
+ # Yingfeng <blogyingfeng at gmail.com>, 2006.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.5.0\n"
12
+ "POT-Creation-Date: 2006-06-04 18:48+0900\n"
13
+ "PO-Revision-Date: 2006-04-15 13:36+0300\n"
14
+ "Last-Translator: Yingfeng <blogyingfeng at gmail.com>\n"
15
+ "Language-Team: Simplified Chinese\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=1; plural=0;\n"
20
+ "X-Generator: KBabel 1.9.1\n"
21
+
22
+ #: lib/gettext/rails.rb:277
23
+ msgid "%{fn} is not included in the list"
24
+ msgstr "%{fn} 没有包含在本列表中"
25
+
26
+ #: lib/gettext/rails.rb:278
27
+ msgid "%{fn} is reserved"
28
+ msgstr "%{fn} 是保留关键字"
29
+
30
+ #: lib/gettext/rails.rb:279
31
+ msgid "%{fn} is invalid"
32
+ msgstr "%{fn} 无效"
33
+
34
+ #: lib/gettext/rails.rb:280
35
+ msgid "%{fn} doesn't match confirmation"
36
+ msgstr "%{fn} 不匹配"
37
+
38
+ #: lib/gettext/rails.rb:281
39
+ msgid "%{fn} must be accepted"
40
+ msgstr "%{fn} 必须被许可"
41
+
42
+ #: lib/gettext/rails.rb:282
43
+ msgid "%{fn} can't be empty"
44
+ msgstr "%{fn} 不能为空"
45
+
46
+ #: lib/gettext/rails.rb:283
47
+ msgid "%{fn} can't be blank"
48
+ msgstr "%{fn} 不能是空格"
49
+
50
+ #: lib/gettext/rails.rb:284
51
+ msgid "%{fn} is too long (max is %d characters)"
52
+ msgstr "%{fn} 超出长度范围(最多允许%d个字符)"
53
+
54
+ #: lib/gettext/rails.rb:285
55
+ msgid "%{fn} is too short (min is %d characters)"
56
+ msgstr "%{fn} 太短 (不能少于%d个字符)"
57
+
58
+ #: lib/gettext/rails.rb:286
59
+ msgid "%{fn} is the wrong length (should be %d characters)"
60
+ msgstr "%{fn} 长度错误 (应当包含%d个字符)"
61
+
62
+ #: lib/gettext/rails.rb:287
63
+ msgid "%{fn} has already been taken"
64
+ msgstr "%{fn} 已经被使用"
65
+
66
+ #: lib/gettext/rails.rb:288
67
+ msgid "%{fn} is not a number"
68
+ msgstr "%{fn} 不是数字"
69
+
70
+ #: lib/gettext/rails.rb:354
71
+ msgid "%{num} error prohibited this %{record} from being saved"
72
+ msgid_plural "%{num} errors prohibited this %{record} from being saved"
73
+ msgstr[0] "共有%{num}个错误导致%{record}无法被保存"
74
+
75
+ #: lib/gettext/rails.rb:356
76
+ msgid "There was a problem with the following field:"
77
+ msgid_plural "There were problems with the following fields:"
78
+ msgstr[0] "如下字段出现错误:"
data/po/zh/rgettext.po ADDED
@@ -0,0 +1,104 @@
1
+ # translation of rgettext.po to Simplified Chinese
2
+ #
3
+ # a po-file for Ruby-GetText-Package
4
+ #
5
+ # Copyright (C) 2006 Masao Mutoh
6
+ # This file is distributed under the same license as the Ruby-GetText-Package.
7
+ # Yingfeng <blogyingfeng at gmail.com>, 2006.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.5.0\n"
12
+ "POT-Creation-Date: 2006-06-04 18:48+0900\n"
13
+ "PO-Revision-Date: 2006-04-15 13:11+0300\n"
14
+ "Last-Translator: Yingfeng <blogyingfeng at gmail.com>\n"
15
+ "Language-Team: Simplified Chinese\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=1; plural=0;\n"
20
+ "X-Generator: KBabel 1.9.1\n"
21
+
22
+ #: lib/gettext/rmsgmerge.rb:402
23
+ msgid "Usage: %s def.po ref.pot [-o output.pot]"
24
+ msgstr "使用方法:%s def.po ref.pot [-o output.pot]"
25
+
26
+ #: lib/gettext/rmsgmerge.rb:405
27
+ msgid ""
28
+ "Merges two Uniforum style .po files together. The def.po file is an existing "
29
+ "PO file with translations. The ref.pot file is the last created PO file with "
30
+ "up-to-date source references. ref.pot is generally created by rgettext."
31
+ msgstr ""
32
+ "将两个统一风格的.po文件合并到一起。def.po文件是已经存在的有翻译信息的PO文件,"
33
+ "ref.pot文件是最后创建的拥有最新源参考信息的PO文件,ref.pot由rgettext创建。"
34
+
35
+ #: lib/gettext/rmsgmerge.rb:407 lib/gettext/rgettext.rb:132
36
+ #: lib/gettext/rmsgfmt.rb:50
37
+ msgid "Specific options:"
38
+ msgstr "具体选项:"
39
+
40
+ #: lib/gettext/rmsgmerge.rb:409 lib/gettext/rgettext.rb:134
41
+ #: lib/gettext/rmsgfmt.rb:52
42
+ msgid "write output to specified file"
43
+ msgstr "输出到指定文件"
44
+
45
+ #: lib/gettext/rmsgmerge.rb:420 lib/gettext/rgettext.rb:143
46
+ #: lib/gettext/rmsgfmt.rb:56
47
+ msgid "display version information and exit"
48
+ msgstr "显示版本信息并退出"
49
+
50
+ #: lib/gettext/rmsgmerge.rb:445
51
+ msgid "definition po is not given."
52
+ msgstr "po的定义未给出。"
53
+
54
+ #: lib/gettext/rmsgmerge.rb:447
55
+ msgid "reference pot is not given."
56
+ msgstr "参考pot未指定。"
57
+
58
+ #: lib/gettext/rgettext.rb:42
59
+ msgid "'%{klass}' is ignored."
60
+ msgstr "'%{klass}'被忽略。"
61
+
62
+ #: lib/gettext/rgettext.rb:128
63
+ msgid "Usage: %s input.rb [-o output.pot]"
64
+ msgstr "使用方法:%s input.rb [-o output.pot]"
65
+
66
+ #: lib/gettext/rgettext.rb:130
67
+ msgid "Extract translatable strings from given input files."
68
+ msgstr "从给定输入文件中提取翻译字符串。"
69
+
70
+ #: lib/gettext/rgettext.rb:138
71
+ msgid "File '%s' has already existed."
72
+ msgstr "文件'%s'已经存在。"
73
+
74
+ #: lib/gettext/rgettext.rb:166 lib/gettext/rmsgfmt.rb:30
75
+ msgid "no input files"
76
+ msgstr "没有输入文件"
77
+
78
+ #: lib/gettext/rmsgfmt.rb:46
79
+ msgid "Usage: %s input.po [-o output.mo]"
80
+ msgstr "使用方法: %s input.po [-o output.mo]"
81
+
82
+ #: lib/gettext/rmsgfmt.rb:48
83
+ msgid "Generate binary message catalog from textual translation description."
84
+ msgstr "从文本叙述翻译生成二进制信息目录。"
85
+
86
+ #: lib/gettext/parser/activerecord.rb:38
87
+ msgid "'%{file}' is not found."
88
+ msgstr "'%{file}'未找到。"
89
+
90
+ #: lib/gettext/parser/activerecord.rb:66
91
+ msgid "Ignored '%{file}'. Solve dependencies first."
92
+ msgstr "'%{file}'被忽略,请先解决依赖关系。"
93
+
94
+ #: lib/gettext/parser/activerecord.rb:85
95
+ msgid "No database is available."
96
+ msgstr "没有可用的数据库。"
97
+
98
+ #: lib/gettext/parser/activerecord.rb:116
99
+ msgid "rubygems are not found."
100
+ msgstr ""
101
+
102
+ #: lib/gettext/parser/glade.rb:75
103
+ msgid "%s is not glade-2.0 format."
104
+ msgstr "%s不是glade-2.0格式。"