gettext 1.91.0 → 1.92.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 (238) hide show
  1. data/ChangeLog +111 -1
  2. data/NEWS +35 -0
  3. data/README +26 -24
  4. data/bin/rgettext +2 -2
  5. data/bin/rmsgfmt +2 -2
  6. data/bin/rmsgmerge +2 -2
  7. data/doc/classes/ActionView/Helpers/FormBuilder.html +11 -11
  8. data/doc/classes/ActionView/TemplateFinder.html +152 -0
  9. data/doc/classes/ActiveRecord/Base.html +87 -87
  10. data/doc/classes/ActiveRecord/ConnectionAdapters/Column.html +6 -6
  11. data/doc/classes/GetText.html +617 -491
  12. data/doc/classes/GetText/ActiveRecordParser.html +13 -13
  13. data/doc/classes/GetText/ErbContainer.html +12 -12
  14. data/doc/classes/GetText/ErbParser.html +6 -6
  15. data/doc/classes/GetText/NoboundTextDomainError.html +1 -1
  16. data/doc/classes/GetText/PoParser.html +11 -11
  17. data/doc/classes/GetText/Rails.html +20 -20
  18. data/doc/classes/GetText/RubyParser.html +5 -0
  19. data/doc/classes/GetText/TextDomain.html +53 -53
  20. data/doc/classes/GetText/TextDomainManager.html +54 -54
  21. data/doc/classes/Iconv.html +20 -20
  22. data/doc/classes/Locale.html +151 -151
  23. data/doc/classes/Locale/Object.html +92 -92
  24. data/doc/classes/Locale/SystemBase.html +32 -32
  25. data/doc/classes/Locale/SystemCGI.html +31 -31
  26. data/doc/classes/Locale/SystemWin32.html +6 -6
  27. data/doc/classes/MOFile.html +311 -293
  28. data/doc/classes/MOFile/HeaderRev1.html +150 -0
  29. data/doc/classes/Module.html +6 -6
  30. data/doc/created.rid +1 -1
  31. data/doc/files/ChangeLog.html +143 -2
  32. data/doc/files/README.html +31 -25
  33. data/doc/files/lib/gettext/active_record_rb.html +1 -1
  34. data/doc/files/lib/gettext/mo_rb.html +1 -1
  35. data/doc/files/lib/gettext/parser/active_record_rb.html +1 -1
  36. data/doc/files/lib/gettext/parser/ruby_rb.html +1 -1
  37. data/doc/files/lib/gettext/poparser_rb.html +1 -1
  38. data/doc/files/lib/gettext/rails_rb.html +1 -1
  39. data/doc/files/lib/gettext/rgettext_rb.html +1 -1
  40. data/doc/files/lib/gettext/rmsgfmt_rb.html +2 -1
  41. data/doc/files/lib/gettext/utils_rb.html +1 -1
  42. data/doc/files/lib/gettext/version_rb.html +1 -1
  43. data/doc/files/lib/gettext_rb.html +1 -1
  44. data/doc/fr_class_index.html +2 -0
  45. data/doc/fr_method_index.html +133 -129
  46. data/lib/gettext.rb +49 -7
  47. data/lib/gettext/active_record.rb +49 -4
  48. data/lib/gettext/mo.rb +39 -12
  49. data/lib/gettext/parser/active_record.rb +6 -4
  50. data/lib/gettext/parser/ruby.rb +11 -4
  51. data/lib/gettext/poparser.rb +81 -52
  52. data/lib/gettext/rails.rb +28 -11
  53. data/lib/gettext/rgettext.rb +6 -1
  54. data/lib/gettext/rmsgfmt.rb +3 -11
  55. data/lib/gettext/utils.rb +7 -3
  56. data/lib/gettext/version.rb +1 -1
  57. data/po/bs/rails.po +55 -20
  58. data/po/bs/rgettext.po +3 -3
  59. data/po/ca/rails.po +58 -31
  60. data/po/ca/rgettext.po +16 -18
  61. data/po/cs/rails.po +55 -20
  62. data/po/cs/rgettext.po +3 -3
  63. data/po/de/rails.po +55 -27
  64. data/po/de/rgettext.po +21 -22
  65. data/po/el/rails.po +60 -36
  66. data/po/el/rgettext.po +15 -17
  67. data/po/eo/rails.po +51 -23
  68. data/po/eo/rgettext.po +21 -20
  69. data/po/es/rails.po +57 -31
  70. data/po/es/rgettext.po +17 -18
  71. data/po/et/rails.po +55 -20
  72. data/po/fr/rails.po +56 -21
  73. data/po/fr/rgettext.po +3 -3
  74. data/po/hr/rails.po +55 -20
  75. data/po/hr/rgettext.po +3 -3
  76. data/po/hu/rails.po +54 -26
  77. data/po/hu/rgettext.po +18 -17
  78. data/po/it/rails.po +55 -20
  79. data/po/it/rgettext.po +3 -3
  80. data/po/ja/rails.po +54 -26
  81. data/po/ja/rgettext.po +17 -18
  82. data/po/ko/rails.po +56 -21
  83. data/po/ko/rgettext.po +3 -3
  84. data/po/lv/rails.po +155 -0
  85. data/po/lv/rgettext.po +137 -0
  86. data/po/nb/rails.po +61 -34
  87. data/po/nb/rgettext.po +22 -19
  88. data/po/nl/rails.po +56 -21
  89. data/po/nl/rgettext.po +3 -3
  90. data/po/pt_BR/rails.po +53 -26
  91. data/po/pt_BR/rgettext.po +19 -19
  92. data/po/rails.pot +44 -16
  93. data/po/rgettext.pot +3 -3
  94. data/po/ru/rails.po +62 -36
  95. data/po/ru/rgettext.po +19 -19
  96. data/po/sr/rails.po +87 -58
  97. data/po/sr/rgettext.po +38 -33
  98. data/po/sv/rgettext.po +3 -3
  99. data/po/ua/rails.po +62 -32
  100. data/po/ua/rgettext.po +19 -17
  101. data/po/vi/rails.po +56 -28
  102. data/po/vi/rgettext.po +35 -34
  103. data/po/zh/rails.po +52 -24
  104. data/po/zh/rgettext.po +22 -24
  105. data/po/zh_TW/rails.po +51 -23
  106. data/po/zh_TW/rgettext.po +16 -18
  107. data/samples/cgi/cookie.cgi +0 -0
  108. data/samples/cgi/helloerb1.cgi +0 -0
  109. data/samples/cgi/helloerb2.cgi +0 -0
  110. data/samples/cgi/http.rb +0 -0
  111. data/samples/cgi/index.cgi +0 -0
  112. data/samples/cgi/po/lv/helloerb1.po +65 -0
  113. data/samples/cgi/po/lv/helloerb2.po +52 -0
  114. data/samples/cgi/po/lv/hellolib.po +24 -0
  115. data/samples/cgi/po/lv/main.po +77 -0
  116. data/samples/cgi/po/nb/helloerb1.po +16 -14
  117. data/samples/cgi/po/nb/helloerb2.po +14 -12
  118. data/samples/cgi/po/nb/hellolib.po +9 -7
  119. data/samples/cgi/po/nb/main.po +20 -18
  120. data/samples/cgi/po/sr/helloerb1.po +8 -8
  121. data/samples/cgi/po/sr/helloerb2.po +6 -6
  122. data/samples/cgi/po/sr/hellolib.po +2 -2
  123. data/samples/cgi/po/sr/main.po +15 -15
  124. data/samples/cgi/po/ua/helloerb1.po +2 -2
  125. data/samples/cgi/po/ua/main.po +3 -3
  126. data/samples/hello_plural.rb +0 -0
  127. data/samples/makemo.rb +0 -0
  128. data/samples/po/lv/hello.po +24 -0
  129. data/samples/po/lv/hello2.po +32 -0
  130. data/samples/po/lv/hello_noop.po +28 -0
  131. data/samples/po/lv/hello_plural.po +26 -0
  132. data/samples/po/lv/helloglade2.po +38 -0
  133. data/samples/po/lv/hellogtk.po +24 -0
  134. data/samples/po/lv/hellotk.po +24 -0
  135. data/samples/po/nb/hello.po +9 -8
  136. data/samples/po/nb/hello2.po +9 -9
  137. data/samples/po/nb/hello_noop.po +10 -9
  138. data/samples/po/nb/hello_plural.po +10 -8
  139. data/samples/po/nb/helloglade2.po +10 -8
  140. data/samples/po/nb/hellogtk.po +9 -8
  141. data/samples/po/nb/hellotk.po +9 -7
  142. data/samples/po/sr/hello.po +2 -2
  143. data/samples/po/sr/hello2.po +4 -4
  144. data/samples/po/sr/hello_noop.po +3 -3
  145. data/samples/po/sr/hello_plural.po +3 -3
  146. data/samples/po/sr/helloglade2.po +4 -4
  147. data/samples/po/sr/hellogtk.po +2 -2
  148. data/samples/po/sr/hellotk.po +2 -2
  149. data/samples/po/ua/hello2.po +2 -2
  150. data/samples/po/ua/hello_plural.po +2 -2
  151. data/samples/rails/config/boot.rb +3 -2
  152. data/samples/rails/config/environment.rb +2 -3
  153. data/samples/rails/db/schema.rb +0 -0
  154. data/samples/rails/po/lv/blog.po +110 -0
  155. data/samples/rails/po/nb/blog.po +19 -15
  156. data/samples/rails/po/sr/blog.po +23 -23
  157. data/samples/rails/po/ua/blog.po +3 -3
  158. data/samples/rails/public/dispatch.cgi +0 -0
  159. data/samples/rails/public/dispatch.fcgi +0 -0
  160. data/samples/rails/public/dispatch.rb +0 -0
  161. data/samples/rails/public/javascripts/controls.js +1 -1
  162. data/samples/rails/public/javascripts/dragdrop.js +1 -1
  163. data/samples/rails/public/javascripts/effects.js +1 -1
  164. data/samples/rails/script/about +0 -0
  165. data/samples/rails/script/breakpointer +0 -0
  166. data/samples/rails/script/console +0 -0
  167. data/samples/rails/script/destroy +0 -0
  168. data/samples/rails/script/generate +0 -0
  169. data/samples/rails/script/performance/benchmarker +0 -0
  170. data/samples/rails/script/performance/profiler +0 -0
  171. data/samples/rails/script/plugin +0 -0
  172. data/samples/rails/script/process/reaper +0 -0
  173. data/samples/rails/script/process/spawner +0 -0
  174. data/samples/rails/script/process/spinner +0 -0
  175. data/samples/rails/script/runner +0 -0
  176. data/samples/rails/script/server +0 -0
  177. data/samples/rails/vendor/plugins/gettext/po/lv/gettext_plugin.po +28 -0
  178. data/samples/rails/vendor/plugins/gettext/po/nb/gettext_plugin.po +11 -8
  179. data/samples/rails/vendor/plugins/gettext/po/sr/gettext_plugin.po +5 -5
  180. data/src/poparser.ry +27 -6
  181. data/test/benchmark.rb +1 -1
  182. data/test/db/mysql.drop.sql +1 -0
  183. data/test/db/mysql.sql +13 -0
  184. data/test/fixtures/inept_wizard.rb +3 -0
  185. data/test/fixtures/people.yml +6 -0
  186. data/test/fixtures/topic.rb +30 -0
  187. data/test/fixtures/wizard.rb +5 -0
  188. data/test/po/active_record.pot +151 -66
  189. data/test/po/ja/active_record.po +177 -92
  190. data/test/po/ja/test_pgettext.po +41 -0
  191. data/test/rails/app/controllers/users_controller.rb +1 -0
  192. data/test/rails/app/views/articles/_form_fr.html.erb +1 -0
  193. data/test/rails/config/boot.rb +96 -32
  194. data/test/rails/config/environment.rb +3 -2
  195. data/test/rails/db/schema.rb +4 -4
  196. data/test/rails/public/dispatch.cgi +0 -0
  197. data/test/rails/public/dispatch.fcgi +0 -0
  198. data/test/rails/public/dispatch.rb +0 -0
  199. data/test/rails/public/javascripts/controls.js +484 -354
  200. data/test/rails/public/javascripts/dragdrop.js +88 -58
  201. data/test/rails/public/javascripts/effects.js +396 -364
  202. data/test/rails/public/javascripts/prototype.js +2817 -1107
  203. data/test/rails/script/about +0 -0
  204. data/test/rails/script/breakpointer +0 -0
  205. data/test/rails/script/console +0 -0
  206. data/test/rails/script/destroy +0 -0
  207. data/test/rails/script/generate +0 -0
  208. data/test/rails/script/performance/benchmarker +0 -0
  209. data/test/rails/script/performance/profiler +0 -0
  210. data/test/rails/script/plugin +0 -0
  211. data/test/rails/script/process/inspector +0 -0
  212. data/test/rails/script/process/reaper +0 -0
  213. data/test/rails/script/process/spawner +0 -0
  214. data/test/rails/script/runner +0 -0
  215. data/test/rails/script/server +0 -0
  216. data/test/rails/test/functional/articles_controller_test.rb +5 -0
  217. data/test/rails/test/result/en/create_error.html +3 -3
  218. data/test/rails/test/result/en/custom_error_message.html +3 -3
  219. data/test/rails/test/result/en/custom_error_message_with_plural.html +60 -60
  220. data/test/rails/test/result/en/multi_error_messages_for.html +6 -6
  221. data/test/rails/test/result/en/new.html +3 -3
  222. data/test/rails/test/result/fr/custom_error_message.html +3 -3
  223. data/test/rails/test/result/fr/custom_error_message_with_plural.html +60 -60
  224. data/test/rails/test/result/fr/new.html +23 -0
  225. data/test/rails/test/result/ja/create_error.html +3 -3
  226. data/test/rails/test/result/ja/custom_error_message.html +3 -3
  227. data/test/rails/test/result/ja/custom_error_message_with_plural.html +60 -60
  228. data/test/rails/test/result/ja/multi_error_messages_for.html +6 -6
  229. data/test/rails/test/result/ja/new.html +3 -3
  230. data/test/test.sh +2 -2
  231. data/test/test_active_record.rb +824 -20
  232. data/test/test_gettext.rb +34 -4
  233. data/test/test_java.sh +0 -0
  234. data/test/test_locale.rb +2 -2
  235. data/test/test_parser.rb +13 -2
  236. data/test/test_rails_caching.rb +11 -4
  237. data/test/testlib/pgettext.rb +33 -0
  238. metadata +32 -4
data/po/zh/rails.po CHANGED
@@ -1,18 +1,18 @@
1
1
  # translation of rails.po to Simplified Chinese
2
- #
2
+ #
3
3
  # a po-file for Ruby-GetText-Package and Ruby on Rails.
4
- #
5
- # Copyright (C) 2006,2007 Masao Mutoh
6
- #
4
+ #
5
+ # Copyright (C) 2006-2008 Masao Mutoh
6
+ #
7
7
  # This file is distributed under the same license as the Ruby-GetText-Package.
8
- #
9
- # Yang Bob <bob.yang.dev at gmail.com>, 2006,2007.
8
+ #
9
+ # Yang Bob <bob.yang.dev at gmail.com>, 2006-2008.
10
10
  # Yingfeng <blogyingfeng at gmail.com>, 2006.
11
- #
11
+ #
12
12
  msgid ""
13
13
  msgstr ""
14
- "Project-Id-Version: ruby-gettext 1.90.0\n"
15
- "POT-Creation-Date: 2008-05-10 01:52+0900\n"
14
+ "Project-Id-Version: ruby-gettext 1.92.0\n"
15
+ "POT-Creation-Date: 2008-07-13 12:12+0900\n"
16
16
  "PO-Revision-Date: 2006-04-15 13:36+0300\n"
17
17
  "Last-Translator: Yang Bob <bob.yang.dev at gmail.com>\n"
18
18
  "Language-Team: Simplified Chinese\n"
@@ -22,65 +22,65 @@ msgstr ""
22
22
  "Plural-Forms: nplurals=1; plural=0;\n"
23
23
  "X-Generator: KBabel 1.9.1\n"
24
24
 
25
- #: lib/gettext/rails.rb:295
25
+ #: lib/gettext/rails.rb:308
26
26
  msgid "%{num} error prohibited this %{record} from being saved"
27
27
  msgid_plural "%{num} errors prohibited this %{record} from being saved"
28
28
  msgstr[0] "共有%{num}个错误导致“%{record}”无法被保存"
29
29
 
30
- #: lib/gettext/rails.rb:297
30
+ #: lib/gettext/rails.rb:310
31
31
  msgid "There was a problem with the following field:"
32
32
  msgid_plural "There were problems with the following fields:"
33
33
  msgstr[0] "如下字段出现错误:"
34
34
 
35
- #: lib/gettext/rails.rb:403
35
+ #: lib/gettext/rails.rb:416
36
36
  msgid "less than 5 seconds"
37
37
  msgstr "少于5秒"
38
38
 
39
- #: lib/gettext/rails.rb:403
39
+ #: lib/gettext/rails.rb:416
40
40
  msgid "less than 10 seconds"
41
41
  msgstr "少于10秒"
42
42
 
43
- #: lib/gettext/rails.rb:403
43
+ #: lib/gettext/rails.rb:416
44
44
  msgid "less than 20 seconds"
45
45
  msgstr "少于20秒"
46
46
 
47
- #: lib/gettext/rails.rb:404
47
+ #: lib/gettext/rails.rb:417
48
48
  msgid "half a minute"
49
49
  msgstr "半分钟"
50
50
 
51
- #: lib/gettext/rails.rb:404
51
+ #: lib/gettext/rails.rb:417
52
52
  msgid "less than a minute"
53
53
  msgstr "少于1分钟"
54
54
 
55
- #: lib/gettext/rails.rb:404
55
+ #: lib/gettext/rails.rb:417
56
56
  msgid "about 1 month"
57
57
  msgstr "大约1个月"
58
58
 
59
- #: lib/gettext/rails.rb:405
59
+ #: lib/gettext/rails.rb:418
60
60
  msgid "about 1 year"
61
61
  msgstr "大约1年"
62
62
 
63
- #: lib/gettext/rails.rb:406
63
+ #: lib/gettext/rails.rb:419
64
64
  msgid "1 minute"
65
65
  msgid_plural "%{num} minutes"
66
66
  msgstr[0] "%{num}分钟"
67
67
 
68
- #: lib/gettext/rails.rb:407
68
+ #: lib/gettext/rails.rb:420
69
69
  msgid "about 1 hour"
70
70
  msgid_plural "about %{num} hours"
71
71
  msgstr[0] "大约%{num}小时"
72
72
 
73
- #: lib/gettext/rails.rb:408
73
+ #: lib/gettext/rails.rb:421
74
74
  msgid "1 day"
75
75
  msgid_plural "%{num} days"
76
76
  msgstr[0] "%{num}天"
77
77
 
78
- #: lib/gettext/rails.rb:409
78
+ #: lib/gettext/rails.rb:422
79
79
  msgid "1 month"
80
80
  msgid_plural "%{num} months"
81
81
  msgstr[0] "%{num}个月"
82
82
 
83
- #: lib/gettext/rails.rb:410
83
+ #: lib/gettext/rails.rb:423
84
84
  msgid "over 1 year"
85
85
  msgid_plural "over %{num} years"
86
86
  msgstr[0] "%{num}年以上"
@@ -103,7 +103,7 @@ msgstr "%{fn}无效"
103
103
 
104
104
  #: lib/gettext/active_record.rb:222
105
105
  msgid "%{fn} doesn't match confirmation"
106
- msgstr "%{fn}与确认输入的不一致"
106
+ msgstr "%{fn}与确认输入的内容不一致"
107
107
 
108
108
  #: lib/gettext/active_record.rb:223
109
109
  msgid "%{fn} must be accepted"
@@ -136,3 +136,31 @@ msgstr "%{fn}已经被使用了"
136
136
  #: lib/gettext/active_record.rb:230
137
137
  msgid "%{fn} is not a number"
138
138
  msgstr "%{fn}不是数字"
139
+
140
+ #: lib/gettext/active_record.rb:231
141
+ msgid "%{fn} must be greater than %d"
142
+ msgstr "%{fn}必须大于"
143
+
144
+ #: lib/gettext/active_record.rb:232
145
+ msgid "%{fn} must be greater than or equal to %d"
146
+ msgstr "%{fn}必须大于等于"
147
+
148
+ #: lib/gettext/active_record.rb:233
149
+ msgid "%{fn} must be equal to %d"
150
+ msgstr "%{fn}必须等于"
151
+
152
+ #: lib/gettext/active_record.rb:234
153
+ msgid "%{fn} must be less than %d"
154
+ msgstr "%{fn}必须小于"
155
+
156
+ #: lib/gettext/active_record.rb:235
157
+ msgid "%{fn} must be less than or equal to %d"
158
+ msgstr "%{fn}必须小于等于"
159
+
160
+ #: lib/gettext/active_record.rb:236
161
+ msgid "%{fn} must be odd"
162
+ msgstr "%{fn}必须是奇数"
163
+
164
+ #: lib/gettext/active_record.rb:237
165
+ msgid "%{fn} must be even"
166
+ msgstr "%{fn}必须是偶数"
data/po/zh/rgettext.po CHANGED
@@ -1,18 +1,18 @@
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
- #
7
- # This file is distributed under the same license as the Ruby-GetText-Package.
8
- #
9
- # Yang Bob <bob.yang.dev at gmail.com>, 2006.
10
- # Yingfeng <blogyingfeng at gmail.com>, 2006.
11
- #
1
+ # translation of rgettext.po to Simplified Chinese
2
+ #
3
+ # a po-file for Ruby-GetText-Package
4
+ #
5
+ # Copyright (C) 2006-2008 Masao Mutoh
6
+ #
7
+ # This file is distributed under the same license as the Ruby-GetText-Package.
8
+ #
9
+ # Yang Bob <bob.yang.dev at gmail.com>, 2006-2008.
10
+ # Yingfeng <blogyingfeng at gmail.com>, 2006.
11
+ #
12
12
  msgid ""
13
13
  msgstr ""
14
- "Project-Id-Version: ruby-gettext 1.90.0\n"
15
- "POT-Creation-Date: 2008-05-10 01:52+0900\n"
14
+ "Project-Id-Version: ruby-gettext 1.92.0\n"
15
+ "POT-Creation-Date: 2008-07-13 12:12+0900\n"
16
16
  "PO-Revision-Date: 2006-04-15 13:11+0300\n"
17
17
  "Last-Translator: Yang Bob <bob.yang.dev at gmail.com>\n"
18
18
  "Language-Team: Simplified Chinese\n"
@@ -23,18 +23,16 @@ msgstr ""
23
23
  "X-Generator: KBabel 1.9.1\n"
24
24
 
25
25
  #: lib/gettext/utils.rb:66
26
- #, fuzzy
27
26
  msgid "Failed to merge with %{defpo}"
28
- msgstr "不能与 %{defpo} 合并 - 跳过!"
27
+ msgstr "不能与 %{defpo} 合并"
29
28
 
30
29
  #: lib/gettext/utils.rb:67
31
- #, fuzzy
32
30
  msgid "New .pot was copied to %{failed_filename}"
33
- msgstr "请检查 %{failed_filename} 中新的 .pot"
31
+ msgstr "新的 .pot 被复制到 %{failed_filename} 去了"
34
32
 
35
33
  #: lib/gettext/utils.rb:68
36
34
  msgid "Check these po/pot-files. It may have syntax errors or something wrong."
37
- msgstr ""
35
+ msgstr "检查这些 po/pot-文件。它们可能有语法或者其他错误。"
38
36
 
39
37
  #: lib/gettext/rgettext.rb:43
40
38
  msgid "'%{klass}' is ignored."
@@ -97,8 +95,8 @@ msgid ""
97
95
  "PO file with translations. The ref.pot file is the last created PO file with "
98
96
  "up-to-date source references. ref.pot is generally created by rgettext."
99
97
  msgstr ""
100
- "将两个统一风格的.po文件合并到一起。def.po文件是已经存在的有翻译信息的PO文件,"
101
- "ref.pot文件是最后创建的拥有最新源参考信息的PO文件,ref.pot由rgettext创建。"
98
+ "合并两个同样形式的 po 文件, def.po 是原來有翻译的文件,ref.pot 是经过原始码"
99
+ "更新过的新文件,ref.pot 一般是由 rgettext 建立的。"
102
100
 
103
101
  #: lib/gettext/rmsgmerge.rb:447
104
102
  msgid "definition po is not given."
@@ -128,14 +126,14 @@ msgstr "没有可用的数据库。"
128
126
  msgid "rubygems are not found."
129
127
  msgstr "未找到rubygems"
130
128
 
131
- #: lib/gettext.rb:363
129
+ #: lib/gettext.rb:364
132
130
  msgid "3rd parmeter is wrong: value = %{number}"
133
- msgstr ""
131
+ msgstr "第三个参数错误:value = %{number}"
134
132
 
135
133
  #: src/poparser.ry:26 src/poparser.ry:41
136
134
  msgid "Warning: fuzzy message was ignored.\n"
137
- msgstr "警告:不明确信息已被忽略。"
135
+ msgstr "警告:不明确信息(fuzzy message)已被忽略。"
138
136
 
139
137
  #: src/poparser.ry:129
140
138
  msgid "Warning: obsolete msgid exists.\n"
141
- msgstr "警告:过期的msgid已存在。"
139
+ msgstr "警告:存在过期的msgid"
data/po/zh_TW/rails.po CHANGED
@@ -1,17 +1,17 @@
1
- #
1
+ #
2
2
  # a po-file for Ruby-GetText-Package and Ruby on Rails.
3
- #
4
- # Copyright (C) 2005-2007 Masao Mutoh
5
- #
3
+ #
4
+ # Copyright (C) 2005-2008 Masao Mutoh
5
+ #
6
6
  # This file is distributed under the same license as the Ruby-GetText-Package.
7
- #
8
- # Yang Bob <bob.yang.dev at gmail.com>, 2006,2007.
7
+ #
8
+ # Yang Bob <bob.yang.dev at gmail.com>, 2006-2008.
9
9
  # LIN CHUNG-YI <xmarsh at gmail.com>, 2006.
10
- #
10
+ #
11
11
  msgid ""
12
12
  msgstr ""
13
- "Project-Id-Version: ruby-gettext 1.90.0\n"
14
- "POT-Creation-Date: 2008-05-10 01:52+0900\n"
13
+ "Project-Id-Version: ruby-gettext 1.92.0\n"
14
+ "POT-Creation-Date: 2008-07-13 12:12+0900\n"
15
15
  "PO-Revision-Date: 2006-08-21 09:27+0800\n"
16
16
  "Last-Translator: Yang Bob <bob.yang.dev at gmail.com>\n"
17
17
  "Language-Team: zh_TW <xmarsh at gmail.com>\n"
@@ -22,65 +22,65 @@ msgstr ""
22
22
  "X-Poedit-Country: TAIWAN\n"
23
23
  "Plural-Forms: nplurals=1; plural=0;\n"
24
24
 
25
- #: lib/gettext/rails.rb:295
25
+ #: lib/gettext/rails.rb:308
26
26
  msgid "%{num} error prohibited this %{record} from being saved"
27
27
  msgid_plural "%{num} errors prohibited this %{record} from being saved"
28
28
  msgstr[0] "有%{num}個錯誤發生,“%{record}”無法儲存"
29
29
 
30
- #: lib/gettext/rails.rb:297
30
+ #: lib/gettext/rails.rb:310
31
31
  msgid "There was a problem with the following field:"
32
32
  msgid_plural "There were problems with the following fields:"
33
33
  msgstr[0] "下面欄位有問題:"
34
34
 
35
- #: lib/gettext/rails.rb:403
35
+ #: lib/gettext/rails.rb:416
36
36
  msgid "less than 5 seconds"
37
37
  msgstr "少於五秒"
38
38
 
39
- #: lib/gettext/rails.rb:403
39
+ #: lib/gettext/rails.rb:416
40
40
  msgid "less than 10 seconds"
41
41
  msgstr "少於十秒"
42
42
 
43
- #: lib/gettext/rails.rb:403
43
+ #: lib/gettext/rails.rb:416
44
44
  msgid "less than 20 seconds"
45
45
  msgstr "少於二十秒"
46
46
 
47
- #: lib/gettext/rails.rb:404
47
+ #: lib/gettext/rails.rb:417
48
48
  msgid "half a minute"
49
49
  msgstr "半分鐘"
50
50
 
51
- #: lib/gettext/rails.rb:404
51
+ #: lib/gettext/rails.rb:417
52
52
  msgid "less than a minute"
53
53
  msgstr "少於一分鐘"
54
54
 
55
- #: lib/gettext/rails.rb:404
55
+ #: lib/gettext/rails.rb:417
56
56
  msgid "about 1 month"
57
57
  msgstr "大約%{num}个月"
58
58
 
59
- #: lib/gettext/rails.rb:405
59
+ #: lib/gettext/rails.rb:418
60
60
  msgid "about 1 year"
61
61
  msgstr "大約%{num}年"
62
62
 
63
- #: lib/gettext/rails.rb:406
63
+ #: lib/gettext/rails.rb:419
64
64
  msgid "1 minute"
65
65
  msgid_plural "%{num} minutes"
66
66
  msgstr[0] "%{num}分鐘"
67
67
 
68
- #: lib/gettext/rails.rb:407
68
+ #: lib/gettext/rails.rb:420
69
69
  msgid "about 1 hour"
70
70
  msgid_plural "about %{num} hours"
71
71
  msgstr[0] "大約%{num}小時"
72
72
 
73
- #: lib/gettext/rails.rb:408
73
+ #: lib/gettext/rails.rb:421
74
74
  msgid "1 day"
75
75
  msgid_plural "%{num} days"
76
76
  msgstr[0] "%{num}天"
77
77
 
78
- #: lib/gettext/rails.rb:409
78
+ #: lib/gettext/rails.rb:422
79
79
  msgid "1 month"
80
80
  msgid_plural "%{num} months"
81
81
  msgstr[0] "%{num}个月"
82
82
 
83
- #: lib/gettext/rails.rb:410
83
+ #: lib/gettext/rails.rb:423
84
84
  msgid "over 1 year"
85
85
  msgid_plural "over %{num} years"
86
86
  msgstr[0] "超过%{num}年"
@@ -136,3 +136,31 @@ msgstr "%{fn}已被使用"
136
136
  #: lib/gettext/active_record.rb:230
137
137
  msgid "%{fn} is not a number"
138
138
  msgstr "%{fn}不是數字"
139
+
140
+ #: lib/gettext/active_record.rb:231
141
+ msgid "%{fn} must be greater than %d"
142
+ msgstr "%{fn}必須大於"
143
+
144
+ #: lib/gettext/active_record.rb:232
145
+ msgid "%{fn} must be greater than or equal to %d"
146
+ msgstr "%{fn}必須大於等於"
147
+
148
+ #: lib/gettext/active_record.rb:233
149
+ msgid "%{fn} must be equal to %d"
150
+ msgstr "%{fn}必須等於"
151
+
152
+ #: lib/gettext/active_record.rb:234
153
+ msgid "%{fn} must be less than %d"
154
+ msgstr "%{fn}必須小於"
155
+
156
+ #: lib/gettext/active_record.rb:235
157
+ msgid "%{fn} must be less than or equal to %d"
158
+ msgstr "%{fn}必須小於等於"
159
+
160
+ #: lib/gettext/active_record.rb:236
161
+ msgid "%{fn} must be odd"
162
+ msgstr "%{fn}必須是奇数"
163
+
164
+ #: lib/gettext/active_record.rb:237
165
+ msgid "%{fn} must be even"
166
+ msgstr "%{fn}必須是偶数"
data/po/zh_TW/rgettext.po CHANGED
@@ -1,16 +1,16 @@
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
- # Yang Bob <bob.yang.dev at gmail.com>, 2006.
8
- # LIN CHUNG-YI <xmarsh at gmail.com>, 2006.
9
- #
1
+ #
2
+ # a po-file for Ruby-GetText-Package
3
+ #
4
+ # Copyright (C) 2004-2008 Masao Mutoh
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # Yang Bob <bob.yang.dev at gmail.com>, 2006-2008.
8
+ # LIN CHUNG-YI <xmarsh at gmail.com>, 2006.
9
+ #
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: ruby-gettext 1.90.0\n"
13
- "POT-Creation-Date: 2008-05-10 01:52+0900\n"
12
+ "Project-Id-Version: ruby-gettext 1.92.0\n"
13
+ "POT-Creation-Date: 2008-07-13 12:12+0900\n"
14
14
  "PO-Revision-Date: 2006-08-21 09:39+0800\n"
15
15
  "Last-Translator: Yang Bob <bob.yang.dev at gmail.com>\n"
16
16
  "Language-Team: zh_TW <xmarsh at gmail.com>\n"
@@ -22,18 +22,16 @@ msgstr ""
22
22
  "X-Poedit-Country: TAIWAN\n"
23
23
 
24
24
  #: lib/gettext/utils.rb:66
25
- #, fuzzy
26
25
  msgid "Failed to merge with %{defpo}"
27
- msgstr "不能與 %{defpo} 合併 - 跳過!"
26
+ msgstr "不能與 %{defpo} 合併"
28
27
 
29
28
  #: lib/gettext/utils.rb:67
30
- #, fuzzy
31
29
  msgid "New .pot was copied to %{failed_filename}"
32
- msgstr "請檢查 %{failed_filename} 中新的 .pot"
30
+ msgstr "新的 .pot 被复制為 %{failed_filename} "
33
31
 
34
32
  #: lib/gettext/utils.rb:68
35
33
  msgid "Check these po/pot-files. It may have syntax errors or something wrong."
36
- msgstr ""
34
+ msgstr "檢査这些 po/pot-文件。它们可能有語法或者其他錯誤。"
37
35
 
38
36
  #: lib/gettext/rgettext.rb:43
39
37
  msgid "'%{klass}' is ignored."
@@ -127,9 +125,9 @@ msgstr "無資料庫可用"
127
125
  msgid "rubygems are not found."
128
126
  msgstr "找不到 rubygems"
129
127
 
130
- #: lib/gettext.rb:363
128
+ #: lib/gettext.rb:364
131
129
  msgid "3rd parmeter is wrong: value = %{number}"
132
- msgstr ""
130
+ msgstr "第三个参数錯誤:value = %{number}"
133
131
 
134
132
  #: src/poparser.ry:26 src/poparser.ry:41
135
133
  msgid "Warning: fuzzy message was ignored.\n"
File without changes
File without changes
File without changes
data/samples/cgi/http.rb CHANGED
File without changes
File without changes
@@ -0,0 +1,65 @@
1
+ # CGI/ERB sample for Ruby-GetText-Package.
2
+ #
3
+ # Copyright (C) 2005,2006 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # Aivars Akots, 2008.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: cgi-sample 1.1.1\n"
12
+ "POT-Creation-Date: 2006-01-07 14:48+0900\n"
13
+ "PO-Revision-Date: 2008-07-22 09:12+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 : 2);\n"
20
+
21
+ #: helloerb1.cgi:32
22
+ msgid "Sample script for CGI/ERB (UTF-8)."
23
+ msgstr "Paraugs CGI/ERB (UTF-8)"
24
+
25
+ #: helloerb.rhtml:5
26
+ #: other.rhtml:5
27
+ msgid "Sample script for CGI/ERB and Ruby-GetText-Package"
28
+ msgstr "Paraugs CGI/ERB (UTF-8) un Ruby-GetText-Package"
29
+
30
+ #: helloerb.rhtml:12
31
+ msgid "Hello World"
32
+ msgstr "Sveicināta pasaule"
33
+
34
+ #: helloerb.rhtml:15
35
+ #: other.rhtml:11
36
+ msgid "locale"
37
+ msgstr "valoda"
38
+
39
+ #: helloerb.rhtml:16
40
+ #: other.rhtml:12
41
+ msgid "output_charset"
42
+ msgstr "izvades_simbolu_kodējums"
43
+
44
+ #: helloerb.rhtml:17
45
+ #: other.rhtml:13
46
+ msgid "QUERY_STRING"
47
+ msgstr "PIEPRASĪJUMA_TEKSTS"
48
+
49
+ #: helloerb.rhtml:19
50
+ msgid "Call a library method which has another textdomain."
51
+ msgstr "Izsaukt bibliotēku ar citu teksta sakni"
52
+
53
+ #: helloerb.rhtml:21
54
+ #: other.rhtml:15
55
+ msgid "Back"
56
+ msgstr "Atgriezties"
57
+
58
+ #: other.rhtml:8
59
+ msgid "Another sample"
60
+ msgstr "Vēl viens piemērs"
61
+
62
+ #: other.rhtml:9
63
+ msgid "This sample(other.rhtml) is the another ERB file of helloerb1.cgi."
64
+ msgstr "Šis paraugs(other.rhtml) ir cits ERB fails no helloerb1.cgi."
65
+