gettext 1.90.0 → 1.91.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 (224) hide show
  1. data/ChangeLog +45 -0
  2. data/NEWS +22 -0
  3. data/README +5 -3
  4. data/Rakefile +4 -2
  5. data/bin/rgettext +2 -2
  6. data/bin/rmsgfmt +2 -2
  7. data/bin/rmsgmerge +2 -2
  8. data/data/locale/bs/LC_MESSAGES/rails.mo +0 -0
  9. data/data/locale/bs/LC_MESSAGES/rgettext.mo +0 -0
  10. data/data/locale/ca/LC_MESSAGES/rails.mo +0 -0
  11. data/data/locale/ca/LC_MESSAGES/rgettext.mo +0 -0
  12. data/data/locale/cs/LC_MESSAGES/rails.mo +0 -0
  13. data/data/locale/cs/LC_MESSAGES/rgettext.mo +0 -0
  14. data/data/locale/de/LC_MESSAGES/rails.mo +0 -0
  15. data/data/locale/de/LC_MESSAGES/rgettext.mo +0 -0
  16. data/data/locale/el/LC_MESSAGES/rails.mo +0 -0
  17. data/data/locale/el/LC_MESSAGES/rgettext.mo +0 -0
  18. data/data/locale/eo/LC_MESSAGES/rails.mo +0 -0
  19. data/data/locale/eo/LC_MESSAGES/rgettext.mo +0 -0
  20. data/data/locale/es/LC_MESSAGES/rails.mo +0 -0
  21. data/data/locale/es/LC_MESSAGES/rgettext.mo +0 -0
  22. data/data/locale/et/LC_MESSAGES/rails.mo +0 -0
  23. data/data/locale/fr/LC_MESSAGES/rails.mo +0 -0
  24. data/data/locale/fr/LC_MESSAGES/rgettext.mo +0 -0
  25. data/data/locale/hr/LC_MESSAGES/rails.mo +0 -0
  26. data/data/locale/hr/LC_MESSAGES/rgettext.mo +0 -0
  27. data/data/locale/hu/LC_MESSAGES/rails.mo +0 -0
  28. data/data/locale/hu/LC_MESSAGES/rgettext.mo +0 -0
  29. data/data/locale/it/LC_MESSAGES/rails.mo +0 -0
  30. data/data/locale/it/LC_MESSAGES/rgettext.mo +0 -0
  31. data/data/locale/ja/LC_MESSAGES/rails.mo +0 -0
  32. data/data/locale/ja/LC_MESSAGES/rgettext.mo +0 -0
  33. data/data/locale/ko/LC_MESSAGES/rails.mo +0 -0
  34. data/data/locale/ko/LC_MESSAGES/rgettext.mo +0 -0
  35. data/data/locale/nb/LC_MESSAGES/rails.mo +0 -0
  36. data/data/locale/nb/LC_MESSAGES/rgettext.mo +0 -0
  37. data/data/locale/nl/LC_MESSAGES/rails.mo +0 -0
  38. data/data/locale/nl/LC_MESSAGES/rgettext.mo +0 -0
  39. data/data/locale/pt_BR/LC_MESSAGES/rails.mo +0 -0
  40. data/data/locale/pt_BR/LC_MESSAGES/rgettext.mo +0 -0
  41. data/data/locale/ru/LC_MESSAGES/rails.mo +0 -0
  42. data/data/locale/ru/LC_MESSAGES/rgettext.mo +0 -0
  43. data/data/locale/sr/LC_MESSAGES/rails.mo +0 -0
  44. data/data/locale/sr/LC_MESSAGES/rgettext.mo +0 -0
  45. data/data/locale/sv/LC_MESSAGES/rgettext.mo +0 -0
  46. data/data/locale/ua/LC_MESSAGES/rails.mo +0 -0
  47. data/data/locale/ua/LC_MESSAGES/rgettext.mo +0 -0
  48. data/data/locale/vi/LC_MESSAGES/rails.mo +0 -0
  49. data/data/locale/vi/LC_MESSAGES/rgettext.mo +0 -0
  50. data/data/locale/zh/LC_MESSAGES/rails.mo +0 -0
  51. data/data/locale/zh/LC_MESSAGES/rgettext.mo +0 -0
  52. data/data/locale/zh_TW/LC_MESSAGES/rails.mo +0 -0
  53. data/data/locale/zh_TW/LC_MESSAGES/rgettext.mo +0 -0
  54. data/doc/classes/ActionView/Helpers/FormBuilder.html +154 -0
  55. data/doc/classes/ActiveRecord/Base.html +47 -47
  56. data/doc/classes/ActiveRecord/ConnectionAdapters/Column.html +6 -6
  57. data/doc/classes/GetText.html +379 -327
  58. data/doc/classes/GetText/ActiveRecordParser.html +12 -12
  59. data/doc/classes/GetText/ErbContainer.html +12 -12
  60. data/doc/classes/GetText/ErbParser.html +6 -6
  61. data/doc/classes/GetText/PoParser.html +6 -6
  62. data/doc/classes/GetText/Rails.html +20 -20
  63. data/doc/classes/GetText/TextDomain.html +68 -68
  64. data/doc/classes/GetText/TextDomainManager.html +54 -54
  65. data/doc/classes/Locale.html +152 -151
  66. data/doc/classes/Locale/Object.html +92 -92
  67. data/doc/classes/Locale/SystemBase.html +32 -32
  68. data/doc/classes/Locale/SystemCGI.html +31 -31
  69. data/doc/classes/Locale/SystemWin32.html +19 -34
  70. data/doc/classes/Locale/SystemWin32Table.html +123 -0
  71. data/doc/classes/MOFile.html +28 -29
  72. data/doc/created.rid +1 -1
  73. data/doc/files/ChangeLog.html +60 -1
  74. data/doc/files/README.html +11 -4
  75. data/doc/files/lib/gettext/active_record_rb.html +1 -1
  76. data/doc/files/lib/gettext/cgi_rb.html +1 -1
  77. data/doc/files/lib/gettext/container_rb.html +1 -1
  78. data/doc/files/lib/gettext/erb_rb.html +1 -1
  79. data/doc/files/lib/gettext/iconv_rb.html +1 -1
  80. data/doc/files/lib/gettext/mo_rb.html +2 -1
  81. data/doc/files/lib/gettext/parser/active_record_rb.html +1 -1
  82. data/doc/files/lib/gettext/parser/erb_rb.html +1 -1
  83. data/doc/files/lib/gettext/parser/glade_rb.html +1 -1
  84. data/doc/files/lib/gettext/parser/ruby_rb.html +1 -1
  85. data/doc/files/lib/gettext/poparser_rb.html +1 -1
  86. data/doc/files/lib/gettext/rails_compat_rb.html +1 -1
  87. data/doc/files/lib/gettext/rails_rb.html +1 -1
  88. data/doc/files/lib/gettext/rgettext_rb.html +1 -1
  89. data/doc/files/lib/gettext/rmsgfmt_rb.html +1 -1
  90. data/doc/files/lib/gettext/rmsgmerge_rb.html +1 -1
  91. data/doc/files/lib/gettext/string_rb.html +1 -1
  92. data/doc/files/lib/gettext/textdomain_rb.html +1 -1
  93. data/doc/files/lib/gettext/textdomainmanager_rb.html +1 -1
  94. data/doc/files/lib/gettext/utils_rb.html +1 -1
  95. data/doc/files/lib/gettext/version_rb.html +1 -1
  96. data/doc/files/lib/gettext_rb.html +1 -1
  97. data/doc/files/lib/locale/base_rb.html +1 -1
  98. data/doc/files/lib/locale/cgi_rb.html +1 -1
  99. data/doc/files/lib/locale/jruby_rb.html +1 -1
  100. data/doc/files/lib/locale/object_rb.html +1 -1
  101. data/doc/files/lib/locale/posix_rb.html +1 -1
  102. data/doc/files/lib/locale/win32_rb.html +1 -1
  103. data/doc/files/lib/locale/win32_table_rb.html +1 -1
  104. data/doc/files/lib/locale_rb.html +1 -1
  105. data/doc/fr_class_index.html +2 -0
  106. data/doc/fr_method_index.html +83 -81
  107. data/lib/gettext.rb +46 -21
  108. data/lib/gettext/active_record.rb +5 -5
  109. data/lib/gettext/mo.rb +4 -4
  110. data/lib/gettext/rails.rb +15 -3
  111. data/lib/gettext/textdomain.rb +44 -41
  112. data/lib/gettext/utils.rb +8 -1
  113. data/lib/gettext/version.rb +2 -2
  114. data/lib/locale/jruby.rb +3 -3
  115. data/lib/locale/win32.rb +2 -1
  116. data/lib/locale/win32_table.rb +2 -2
  117. data/po/bs/rails.po +39 -37
  118. data/po/bs/rgettext.po +63 -53
  119. data/po/ca/rails.po +39 -36
  120. data/po/ca/rgettext.po +64 -54
  121. data/po/cs/rails.po +39 -35
  122. data/po/cs/rgettext.po +63 -53
  123. data/po/de/rails.po +38 -36
  124. data/po/de/rgettext.po +67 -57
  125. data/po/el/rails.po +42 -39
  126. data/po/el/rgettext.po +63 -53
  127. data/po/eo/rails.po +39 -37
  128. data/po/eo/rgettext.po +63 -53
  129. data/po/es/rails.po +38 -35
  130. data/po/es/rgettext.po +64 -54
  131. data/po/et/rails.po +38 -36
  132. data/po/fr/rails.po +39 -37
  133. data/po/fr/rgettext.po +65 -56
  134. data/po/hr/rails.po +40 -37
  135. data/po/hr/rgettext.po +63 -53
  136. data/po/hu/rails.po +38 -35
  137. data/po/hu/rgettext.po +64 -54
  138. data/po/it/rails.po +34 -32
  139. data/po/it/rgettext.po +62 -54
  140. data/po/ja/rails.po +42 -40
  141. data/po/ja/rgettext.po +64 -54
  142. data/po/ko/rails.po +38 -36
  143. data/po/ko/rgettext.po +64 -54
  144. data/po/nb/rails.po +37 -32
  145. data/po/nb/rgettext.po +62 -52
  146. data/po/nl/rails.po +39 -38
  147. data/po/nl/rgettext.po +64 -54
  148. data/po/pt_BR/rails.po +38 -36
  149. data/po/pt_BR/rgettext.po +63 -53
  150. data/po/rails.pot +41 -39
  151. data/po/rgettext.pot +55 -47
  152. data/po/ru/rails.po +41 -37
  153. data/po/ru/rgettext.po +63 -53
  154. data/po/sr/rails.po +149 -0
  155. data/po/sr/rgettext.po +135 -0
  156. data/po/sv/rgettext.po +60 -52
  157. data/po/ua/rails.po +39 -37
  158. data/po/ua/rgettext.po +67 -57
  159. data/po/vi/rails.po +39 -37
  160. data/po/vi/rgettext.po +61 -51
  161. data/po/zh/rails.po +37 -36
  162. data/po/zh/rgettext.po +66 -56
  163. data/po/zh_TW/rails.po +37 -36
  164. data/po/zh_TW/rgettext.po +64 -54
  165. data/samples/cgi/locale/sr/LC_MESSAGES/helloerb1.mo +0 -0
  166. data/samples/cgi/locale/sr/LC_MESSAGES/helloerb2.mo +0 -0
  167. data/samples/cgi/locale/sr/LC_MESSAGES/hellolib.mo +0 -0
  168. data/samples/cgi/locale/sr/LC_MESSAGES/main.mo +0 -0
  169. data/samples/cgi/po/sr/helloerb1.po +60 -0
  170. data/samples/cgi/po/sr/helloerb2.po +52 -0
  171. data/samples/cgi/po/sr/hellolib.po +24 -0
  172. data/samples/cgi/po/sr/main.po +80 -0
  173. data/samples/locale/hu/LC_MESSAGES/hellogtk.mo +0 -0
  174. data/samples/locale/it/LC_MESSAGES/hello2.mo +0 -0
  175. data/samples/locale/sr/LC_MESSAGES/hello.mo +0 -0
  176. data/samples/locale/sr/LC_MESSAGES/hello2.mo +0 -0
  177. data/samples/locale/sr/LC_MESSAGES/hello_noop.mo +0 -0
  178. data/samples/locale/sr/LC_MESSAGES/hello_plural.mo +0 -0
  179. data/samples/locale/sr/LC_MESSAGES/helloglade2.mo +0 -0
  180. data/samples/locale/sr/LC_MESSAGES/hellogtk.mo +0 -0
  181. data/samples/locale/sr/LC_MESSAGES/hellotk.mo +0 -0
  182. data/samples/locale/zh/LC_MESSAGES/helloglade2.mo +0 -0
  183. data/samples/locale/zh/LC_MESSAGES/hellotk.mo +0 -0
  184. data/samples/po/hu/hellogtk.po +3 -3
  185. data/samples/po/it/hello2.po +1 -1
  186. data/samples/po/sr/hello.po +22 -0
  187. data/samples/po/sr/hello2.po +30 -0
  188. data/samples/po/sr/hello_noop.po +26 -0
  189. data/samples/po/sr/hello_plural.po +26 -0
  190. data/samples/po/sr/helloglade2.po +32 -0
  191. data/samples/po/sr/hellogtk.po +22 -0
  192. data/samples/po/sr/hellotk.po +24 -0
  193. data/samples/po/zh/helloglade2.po +1 -1
  194. data/samples/po/zh/hellotk.po +1 -1
  195. data/samples/rails/app/views/articles/edit.html.erb +3 -0
  196. data/samples/rails/app/views/articles/new.html.erb +3 -0
  197. data/samples/rails/config/database.yml +9 -4
  198. data/samples/rails/locale/sr/LC_MESSAGES/blog.mo +0 -0
  199. data/samples/rails/po/sr/blog.po +106 -0
  200. data/samples/rails/vendor/plugins/gettext/locale/sr/LC_MESSAGES/gettext_plugin.mo +0 -0
  201. data/samples/rails/vendor/plugins/gettext/po/sr/gettext_plugin.po +28 -0
  202. data/test/locale/fr/LC_MESSAGES/test2.mo +0 -0
  203. data/test/locale/ja/LC_MESSAGES/test2.mo +0 -0
  204. data/test/po/fr/test2.po +1 -1
  205. data/test/po/ja/test2.po +1 -1
  206. data/test/rails/app/views/articles/show.html.erb +1 -0
  207. data/test/rails/config/environment.rb +1 -1
  208. data/test/rails/test/functional/articles_controller_test.rb +2 -2
  209. data/test/rails/test/functional/mailer_controller_test.rb +3 -1
  210. data/test/rails/test/functional/users_controller_test.rb +1 -1
  211. data/test/rails/test/result/en/custom_error_message_with_plural.html +4 -4
  212. data/test/rails/test/result/en/show.html +1 -0
  213. data/test/rails/test/result/fr/custom_error_message_with_plural.html +4 -4
  214. data/test/rails/test/result/ja/custom_error_message_with_plural.html +4 -4
  215. data/test/rails/test/result/ja/show.html +2 -1
  216. data/test/test.sh +1 -0
  217. data/test/test_active_record.rb +4 -4
  218. data/test/test_gettext.rb +10 -10
  219. data/test/test_gettext_toplevel.rb +44 -0
  220. data/test/test_locale.rb +1 -19
  221. metadata +93 -42
  222. data/test/rails/locale/ja/LC_MESSAGES/rails_test.mo +0 -0
  223. data/test/rails/log/development.log +0 -136
  224. data/test/rails/log/test.log +0 -2203
@@ -0,0 +1,22 @@
1
+ # Hello World -- a sample for Ruby-GetText-Package
2
+ #
3
+ # Copyright (C) 2001-2006 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # Slobodan Paunović <slobodan.paunovic at gmail.com>, 2008.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
12
+ "POT-Creation-Date: 2001-12-24 01:30:54+0900\n"
13
+ "PO-Revision-Date: 2008-05-10 20:49+0200\n"
14
+ "Last-Translator: Slobodan Paunović <slobodan.paunovic at gmail.com>\n"
15
+ "Language-Team: Serbian\n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+
20
+ #: ../hello.rb:7
21
+ msgid "Hello World\n"
22
+ msgstr "Zdravo svete\n"
@@ -0,0 +1,30 @@
1
+ # Hello World 2 -- sample for ruby-gettext-package
2
+ #
3
+ # Copyright (C) 2002-2006 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # Slobodan Paunović <slobodan.paunovic at gmail.com>, 2008.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
12
+ "POT-Creation-Date: 2002-01-01 03:05:08+0900\n"
13
+ "PO-Revision-Date: 2008-05-10 20:49+0200\n"
14
+ "Last-Translator: Slobodan Paunović <slobodan.paunovic at gmail.com>\n"
15
+ "Language-Team: Serbian\n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+
20
+ #: hello2.rb:9
21
+ msgid "World"
22
+ msgstr "svet"
23
+
24
+ #: hello2.rb:8
25
+ msgid "One is %{num}\n"
26
+ msgstr "Jedan je %{num}\n"
27
+
28
+ #: hello2.rb:9
29
+ msgid "Hello %{world}\n"
30
+ msgstr "Zdravo %{world}\n"
@@ -0,0 +1,26 @@
1
+ # Hello World noop -- sample for ruby-gettext-package
2
+ #
3
+ # Copyright (C) 2002-2006 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # Slobodan Paunović <slobodan.paunovic at gmail.com>, 2008.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
12
+ "POT-Creation-Date: 2002-02-21 23:23:08+0900\n"
13
+ "PO-Revision-Date: 2008-05-10 20:51+0200\n"
14
+ "Last-Translator: Slobodan Paunović <slobodan.paunovic at gmail.com>\n"
15
+ "Language-Team: Serbian\n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+
20
+ #: hello_noop.rb:8
21
+ msgid "Hello World"
22
+ msgstr "Zdravo svete"
23
+
24
+ #: hello_noop.rb:8
25
+ msgid "Hello World2"
26
+ msgstr "Zdravo svete2"
@@ -0,0 +1,26 @@
1
+ # hello_plural.po - sample for plural messages
2
+ #
3
+ # Copyright (C) 2002-2006 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # Slobodan Paunović <slobodan.paunovic at gmail.com>, 2008.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
12
+ "POT-Creation-Date: 2002-10-21 15:32:15+0900\n"
13
+ "PO-Revision-Date: 2008-05-10 20:52+0200\n"
14
+ "Last-Translator: Slobodan Paunović <slobodan.paunovic at gmail.com>\n"
15
+ "Language-Team: Serbian\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%10>=2 && n%"
20
+ "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
21
+
22
+ #: hello_plural.rb:11
23
+ msgid "There is an apple.\n"
24
+ msgid_plural "There are %{num} apples.\n"
25
+ msgstr[0] "Ima jedna jabuka.\n"
26
+ msgstr[1] "Ima %{num} jabuka.\n"
@@ -0,0 +1,32 @@
1
+ # helloglade2.po - sample for Ruby/Libglade2
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
+ # Slobodan Paunović <slobodan.paunovic at gmail.com>, 2008.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
12
+ "POT-Creation-Date: 2004-07-03 23:38+0900\n"
13
+ "PO-Revision-Date: 2008-05-10 20:57+0200\n"
14
+ "Last-Translator: Slobodan Paunović <slobodan.paunovic at gmail.com>\n"
15
+ "Language-Team: Serbian\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%10>=2 && n%"
20
+ "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
21
+
22
+ #: helloglade2.glade:8
23
+ msgid "window1"
24
+ msgstr "prozor1"
25
+
26
+ #: helloglade2.glade:29
27
+ msgid "first line\nsecond line\nthird line"
28
+ msgstr "prva linija\ndruga linija\ntreća linija"
29
+
30
+ #: helloglade2.glade:53
31
+ msgid "<Hello world>"
32
+ msgstr "<Zdravo svete>"
@@ -0,0 +1,22 @@
1
+ # Hello World for Ruby/GTK -- sample for ruby-gettext-package
2
+ #
3
+ # Copyright (C) 2001-2006 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # Slobodan Paunović <slobodan.paunovic at gmail.com>, 2008.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
12
+ "POT-Creation-Date: 2001-12-24 01:52:10+0900\n"
13
+ "PO-Revision-Date: 2008-05-10 20:57+0200\n"
14
+ "Last-Translator: Slobodan Paunović <slobodan.paunovic at gmail.com>\n"
15
+ "Language-Team: Serbian\n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+
20
+ #: ../hellogtk.rb:14
21
+ msgid "hello, gtk world"
22
+ msgstr "zdravo, gtk svete"
@@ -0,0 +1,24 @@
1
+ # hellotk.po - sample for Ruby/TK
2
+ #
3
+ # Copyright (C) 2004 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # Slobodan Paunović <slobodan.paunovic at gmail.com>, 2008.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.1.1\n"
12
+ "POT-Creation-Date: 2004-11-05 21:38+0900\n"
13
+ "PO-Revision-Date: 2008-05-10 20:58+0200\n"
14
+ "Last-Translator: Slobodan Paunović <slobodan.paunovic at gmail.com>\n"
15
+ "Language-Team: Serbian\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%10>=2 && n%"
20
+ "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
21
+
22
+ #: hellotk.rb:10
23
+ msgid "hello, tk world"
24
+ msgstr "zdravo, tk svete"
@@ -14,7 +14,7 @@ msgstr ""
14
14
  "Last-Translator: Yingfeng <blogyingfeng at gmail.com>\n"
15
15
  "Language-Team: Simplified Chinese\n"
16
16
  "MIME-Version: 1.0\n"
17
- "Content-Type: text/plain; charset=GB2312\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
18
  "Content-Transfer-Encoding: 8bit\n"
19
19
  "Plural-Forms: nplurals=1; plural=0;\n"
20
20
 
@@ -14,7 +14,7 @@ msgstr ""
14
14
  "Last-Translator: Yingfeng <blogyingfeng at gmail.com>\n"
15
15
  "Language-Team: Simplified Chinese\n"
16
16
  "MIME-Version: 1.0\n"
17
- "Content-Type: text/plain; charset=GB2312\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
18
  "Content-Transfer-Encoding: 8bit\n"
19
19
  "Plural-Forms: nplurals=1; plural=0;\n"
20
20
 
@@ -4,8 +4,11 @@
4
4
 
5
5
  <% form_for(@article) do |f| %>
6
6
  <p>
7
+ <p><%= f.label :lastupdate %></p>
7
8
  <p><%= f.date_select :lastupdate, :use_month_numbers => true %></p>
9
+ <p><%= f.label :title, _("Title: Required.") %></p>
8
10
  <p><%= f.text_field :title %></p>
11
+ <p><%= f.label :title, _("Description: More than 10 characters.") %></p>
9
12
  <p><%= f.text_area :description %></p>
10
13
  <p><%= f.submit _("Edit") %></p>
11
14
  </p>
@@ -4,8 +4,11 @@
4
4
 
5
5
  <% form_for(@article) do |f| %>
6
6
  <p>
7
+ <p><%= f.label :lastupdate %></p>
7
8
  <p><%= f.date_select :lastupdate, :use_month_numbers => true %></p>
9
+ <p><%= f.label :title, _("Title: Required.") %></p>
8
10
  <p><%= f.text_field :title %></p>
11
+ <p><%= f.label :title, _("Description: More than 10 characters.") %></p>
9
12
  <p><%= f.text_area :description %></p>
10
13
  <p><%= f.submit _("Create") %></p>
11
14
  </p>
@@ -19,8 +19,14 @@ development:
19
19
  encoding: utf8
20
20
  database: blog_development
21
21
  username: root
22
- password:
23
- socket: /var/lib/mysql/mysql.sock
22
+ password:
23
+
24
+ #development:
25
+ # adapter: postgresql
26
+ # database: blog
27
+ # host: localhost
28
+ # username: postgres
29
+ # password:
24
30
 
25
31
  # Warning: The database defined as 'test' will be erased and
26
32
  # re-generated from your development database when you run 'rake'.
@@ -38,5 +44,4 @@ production:
38
44
  encoding: utf8
39
45
  database: blog_production
40
46
  username: root
41
- password:
42
- socket: /var/lib/mysql/mysql.sock
47
+ password:
@@ -0,0 +1,106 @@
1
+ # GetText Sample Blog on RoR.
2
+ #
3
+ # Copyright (C) 2005-2008 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # Slobodan Paunović <slobodan.paunovic at gmail.com>, 2008.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: blog 1.2.0\n"
12
+ "POT-Creation-Date: 2006-10-15 00:12+0900\n"
13
+ "PO-Revision-Date: 2008-05-10 20:49+0200\n"
14
+ "Last-Translator: Slobodan Paunović <slobodan.paunovic at gmail.com>\n"
15
+ "Language-Team: Serbian\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%10>=2 && n%"
20
+ "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
21
+
22
+ #: app/helpers/blog_helper.rb:43
23
+ msgid "Ruby Links"
24
+ msgstr "Ruby linkovi"
25
+
26
+ #: app/helpers/blog_helper.rb:51
27
+ msgid "Old articles"
28
+ msgstr "Stari članci"
29
+
30
+ #: app/models/article.rb:-
31
+ msgid "article"
32
+ msgstr "članak"
33
+
34
+ #: app/models/article.rb:-
35
+ msgid "Article|Title"
36
+ msgstr "Naslov"
37
+
38
+ #: app/models/article.rb:-
39
+ msgid "Article|Description"
40
+ msgstr "Opis"
41
+
42
+ #: app/models/article.rb:-
43
+ msgid "Article|Lastupdate"
44
+ msgstr "Poslednje ažuriranje"
45
+
46
+ #: app/controllers/blog_controller.rb:33
47
+ msgid "Article was successfully created."
48
+ msgstr "Članak je uspešno kreiran."
49
+
50
+ #: app/controllers/blog_controller.rb:47
51
+ msgid "Article was successfully updated."
52
+ msgstr "Članak je uspešno ažuriran."
53
+
54
+ #: app/views/blog/new.rhtml:13 app/views/blog/list.rhtml:15
55
+ msgid "New article"
56
+ msgstr "Nov članak"
57
+
58
+ #: app/views/blog/new.rhtml:17
59
+ msgid "Create"
60
+ msgstr "Kreiraj"
61
+
62
+ #: app/views/blog/new.rhtml:20 app/views/blog/edit.rhtml:21
63
+ #: app/views/blog/show.rhtml:17
64
+ msgid "Back"
65
+ msgstr "Nazad"
66
+
67
+ #: app/views/blog/_form.rhtml:16
68
+ msgid "Lastupdate"
69
+ msgstr "Poslednje ažuriranje"
70
+
71
+ #: app/views/blog/_form.rhtml:18
72
+ msgid "Title: Required."
73
+ msgstr "Naslov: Obavezan."
74
+
75
+ #: app/views/blog/_form.rhtml:21
76
+ msgid "Description: More than 10 characters."
77
+ msgstr "Opis: Više od 10 karaktera."
78
+
79
+ #: app/views/blog/list.rhtml:13 app/views/blog/show.rhtml:13
80
+ #: app/views/layouts/blog.rhtml:14
81
+ msgid "GetText Sample Blog on RoR"
82
+ msgstr "GetText blog na RoR"
83
+
84
+ #: app/views/blog/list.rhtml:18
85
+ msgid "No articles were found."
86
+ msgstr "Nije pronađen ni jedan članak."
87
+
88
+ #: app/views/blog/edit.rhtml:12
89
+ msgid "Editing article"
90
+ msgstr "Izmena članka"
91
+
92
+ #: app/views/blog/edit.rhtml:16 app/views/blog/show.rhtml:16
93
+ msgid "Edit"
94
+ msgstr "Izmeni"
95
+
96
+ #: app/views/blog/edit.rhtml:19
97
+ msgid "Show"
98
+ msgstr "Prikaži"
99
+
100
+ #: app/views/blog/edit.rhtml:20
101
+ msgid "Destroy"
102
+ msgstr "Obriši"
103
+
104
+ #: app/views/blog/edit.rhtml:20
105
+ msgid "Are you sure?"
106
+ msgstr "Jeste li sigurni?"
@@ -0,0 +1,28 @@
1
+ # GetText Sample Blog on RoR.
2
+ #
3
+ # Copyright (C) 2005-2008 Masao Mutoh
4
+ #
5
+ # This file is distributed under the same license as the Ruby-GetText-Package.
6
+ #
7
+ # Slobodan Paunović <slobodan.paunovic at gmail.com>, 2008.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: gettext_plugin 1.2.0\n"
12
+ "POT-Creation-Date: 2006-05-31 02:06+0900\n"
13
+ "PO-Revision-Date: 2008-05-10 20:49+0200\n"
14
+ "Last-Translator: Slobodan Paunović <slobodan.paunovic at gmail.com>\n"
15
+ "Language-Team: Serbian\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%10>=2 && n%"
20
+ "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
21
+
22
+ #: lib/gettext_plugin.rb:18
23
+ msgid "Select locale"
24
+ msgstr "Izaberita locale"
25
+
26
+ #: lib/gettext_plugin.rb:30
27
+ msgid "Cookie &quot;lang&quot; is set: %s"
28
+ msgstr "Cookie &quot;lang&quot; je podešen: %s"
Binary file
Binary file
data/test/po/fr/test2.po CHANGED
@@ -6,7 +6,7 @@
6
6
  msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: PACKAGE VERSION\n"
9
- "POT-Creation-Date: 2001-10-28 01��39ʬ53��+0900\n"
9
+ "POT-Creation-Date: 2001-10-28 01:39:53+0900\n"
10
10
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11
11
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12
12
  "Language-Team: LANGUAGE <LL@li.org>\n"
data/test/po/ja/test2.po CHANGED
@@ -6,7 +6,7 @@
6
6
  msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: PACKAGE VERSION\n"
9
- "POT-Creation-Date: 2001-10-28 01��39ʬ53��+0900\n"
9
+ "POT-Creation-Date: 2001-10-28 01:39:53+0900\n"
10
10
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11
11
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12
12
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -24,5 +24,6 @@
24
24
  <%= distance_of_time_in_words(from, from + 59.days + 23.hours + 59.minutes + 30.seconds) %><br/>
25
25
  <%= distance_of_time_in_words(from, from + 1.years - 30.seconds) %><br/>
26
26
  <%= distance_of_time_in_words(from, from + 2.years - 30.seconds) %><br/>
27
+ <%= distance_of_time_in_words(from, from + 4.years - 30.seconds) %><br/>
27
28
 
28
29
 
@@ -7,7 +7,7 @@
7
7
  $KCODE = "U"
8
8
 
9
9
  # Specifies gem version of Rails to use when vendor/rails is not present
10
- RAILS_GEM_VERSION = '2.0.1' unless defined? RAILS_GEM_VERSION
10
+ RAILS_GEM_VERSION = '2.0.2' unless defined? RAILS_GEM_VERSION
11
11
 
12
12
  # Bootstrap the Rails environment, frameworks, and default configuration
13
13
  require File.join(File.dirname(__FILE__), 'boot')