gettext 1.8.0 → 1.9.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 (180) hide show
  1. data/ChangeLog +120 -0
  2. data/NEWS +16 -0
  3. data/README +27 -19
  4. data/data/locale/ca/LC_MESSAGES/rails.mo +0 -0
  5. data/data/locale/ca/LC_MESSAGES/rgettext.mo +0 -0
  6. data/data/locale/cs/LC_MESSAGES/rails.mo +0 -0
  7. data/data/locale/cs/LC_MESSAGES/rgettext.mo +0 -0
  8. data/data/locale/de/LC_MESSAGES/rails.mo +0 -0
  9. data/data/locale/de/LC_MESSAGES/rgettext.mo +0 -0
  10. data/data/locale/el/LC_MESSAGES/rails.mo +0 -0
  11. data/data/locale/el/LC_MESSAGES/rgettext.mo +0 -0
  12. data/data/locale/eo/LC_MESSAGES/rails.mo +0 -0
  13. data/data/locale/eo/LC_MESSAGES/rgettext.mo +0 -0
  14. data/data/locale/es/LC_MESSAGES/rails.mo +0 -0
  15. data/data/locale/es/LC_MESSAGES/rgettext.mo +0 -0
  16. data/data/locale/et/LC_MESSAGES/rails.mo +0 -0
  17. data/data/locale/fr/LC_MESSAGES/rails.mo +0 -0
  18. data/data/locale/fr/LC_MESSAGES/rgettext.mo +0 -0
  19. data/data/locale/it/LC_MESSAGES/rails.mo +0 -0
  20. data/data/locale/it/LC_MESSAGES/rgettext.mo +0 -0
  21. data/data/locale/ja/LC_MESSAGES/rails.mo +0 -0
  22. data/data/locale/ja/LC_MESSAGES/rgettext.mo +0 -0
  23. data/data/locale/ko/LC_MESSAGES/rails.mo +0 -0
  24. data/data/locale/ko/LC_MESSAGES/rgettext.mo +0 -0
  25. data/data/locale/nl/LC_MESSAGES/rails.mo +0 -0
  26. data/data/locale/nl/LC_MESSAGES/rgettext.mo +0 -0
  27. data/data/locale/pt_BR/LC_MESSAGES/rails.mo +0 -0
  28. data/data/locale/pt_BR/LC_MESSAGES/rgettext.mo +0 -0
  29. data/data/locale/ru/LC_MESSAGES/rails.mo +0 -0
  30. data/data/locale/ru/LC_MESSAGES/rgettext.mo +0 -0
  31. data/data/locale/sv/LC_MESSAGES/rgettext.mo +0 -0
  32. data/data/locale/zh/LC_MESSAGES/rails.mo +0 -0
  33. data/data/locale/zh/LC_MESSAGES/rgettext.mo +0 -0
  34. data/data/locale/zh_TW/LC_MESSAGES/rails.mo +0 -0
  35. data/data/locale/zh_TW/LC_MESSAGES/rgettext.mo +0 -0
  36. data/lib/gettext.rb +13 -10
  37. data/lib/gettext/active_record.rb +130 -113
  38. data/lib/gettext/erb.rb +2 -2
  39. data/lib/gettext/locale.rb +11 -5
  40. data/lib/gettext/locale_cgi.rb +3 -3
  41. data/lib/gettext/locale_posix.rb +2 -2
  42. data/lib/gettext/locale_win32.rb +2 -1
  43. data/lib/gettext/parser/active_record.rb +24 -14
  44. data/lib/gettext/parser/ruby.rb +4 -63
  45. data/lib/gettext/poparser.rb +3 -3
  46. data/lib/gettext/rails.rb +23 -20
  47. data/lib/gettext/rgettext.rb +6 -6
  48. data/lib/gettext/utils.rb +12 -6
  49. data/lib/gettext/version.rb +2 -2
  50. data/po/ca/rails.po +121 -0
  51. data/po/ca/rgettext.po +130 -0
  52. data/po/cs/rails.po +30 -26
  53. data/po/cs/rgettext.po +44 -36
  54. data/po/de/rails.po +28 -24
  55. data/po/de/rgettext.po +43 -35
  56. data/po/el/rails.po +38 -34
  57. data/po/el/rgettext.po +54 -46
  58. data/po/eo/rails.po +121 -0
  59. data/po/eo/rgettext.po +127 -0
  60. data/po/es/rails.po +28 -24
  61. data/po/es/rgettext.po +45 -37
  62. data/po/et/rails.po +28 -24
  63. data/po/fr/rails.po +39 -33
  64. data/po/fr/rgettext.po +43 -35
  65. data/po/it/rails.po +28 -24
  66. data/po/it/rgettext.po +43 -35
  67. data/po/ja/rails.po +30 -26
  68. data/po/ja/rgettext.po +44 -36
  69. data/po/ko/rails.po +36 -32
  70. data/po/ko/rgettext.po +43 -35
  71. data/po/nl/rails.po +32 -28
  72. data/po/nl/rgettext.po +46 -38
  73. data/po/pt_BR/rails.po +36 -31
  74. data/po/pt_BR/rgettext.po +45 -37
  75. data/po/rails.pot +28 -24
  76. data/po/rgettext.pot +39 -31
  77. data/po/ru/rails.po +36 -30
  78. data/po/ru/rgettext.po +50 -41
  79. data/po/sv/rgettext.po +40 -32
  80. data/po/zh/rails.po +29 -24
  81. data/po/zh/rgettext.po +46 -36
  82. data/po/zh_TW/rails.po +29 -24
  83. data/po/zh_TW/rgettext.po +45 -36
  84. data/samples/cgi/locale/ca/LC_MESSAGES/helloerb1.mo +0 -0
  85. data/samples/cgi/locale/ca/LC_MESSAGES/helloerb2.mo +0 -0
  86. data/samples/cgi/locale/ca/LC_MESSAGES/hellolib.mo +0 -0
  87. data/samples/cgi/locale/ca/LC_MESSAGES/main.mo +0 -0
  88. data/samples/cgi/locale/eo/LC_MESSAGES/helloerb1.mo +0 -0
  89. data/samples/cgi/locale/eo/LC_MESSAGES/helloerb2.mo +0 -0
  90. data/samples/cgi/locale/eo/LC_MESSAGES/hellolib.mo +0 -0
  91. data/samples/cgi/locale/eo/LC_MESSAGES/main.mo +0 -0
  92. data/samples/cgi/po/ca/helloerb1.po +59 -0
  93. data/samples/cgi/po/ca/helloerb2.po +51 -0
  94. data/samples/cgi/po/ca/hellolib.po +23 -0
  95. data/samples/cgi/po/ca/main.po +83 -0
  96. data/samples/cgi/po/eo/helloerb1.po +60 -0
  97. data/samples/cgi/po/eo/helloerb2.po +52 -0
  98. data/samples/cgi/po/eo/hellolib.po +24 -0
  99. data/samples/cgi/po/eo/main.po +84 -0
  100. data/samples/locale/ca/LC_MESSAGES/hello.mo +0 -0
  101. data/samples/locale/ca/LC_MESSAGES/hello2.mo +0 -0
  102. data/samples/locale/ca/LC_MESSAGES/hello_noop.mo +0 -0
  103. data/samples/locale/ca/LC_MESSAGES/hello_plural.mo +0 -0
  104. data/samples/locale/ca/LC_MESSAGES/helloglade2.mo +0 -0
  105. data/samples/locale/ca/LC_MESSAGES/hellogtk.mo +0 -0
  106. data/samples/locale/ca/LC_MESSAGES/hellotk.mo +0 -0
  107. data/samples/locale/eo/LC_MESSAGES/hello.mo +0 -0
  108. data/samples/locale/eo/LC_MESSAGES/hello2.mo +0 -0
  109. data/samples/locale/eo/LC_MESSAGES/hello_noop.mo +0 -0
  110. data/samples/locale/eo/LC_MESSAGES/hello_plural.mo +0 -0
  111. data/samples/locale/eo/LC_MESSAGES/helloglade2.mo +0 -0
  112. data/samples/locale/eo/LC_MESSAGES/hellogtk.mo +0 -0
  113. data/samples/locale/eo/LC_MESSAGES/hellotk.mo +0 -0
  114. data/samples/po/ca/hello.po +23 -0
  115. data/samples/po/ca/hello2.po +31 -0
  116. data/samples/po/ca/hello_noop.po +27 -0
  117. data/samples/po/ca/hello_plural.po +25 -0
  118. data/samples/po/ca/helloglade2.po +31 -0
  119. data/samples/po/ca/hellogtk.po +23 -0
  120. data/samples/po/ca/hellotk.po +23 -0
  121. data/samples/po/eo/hello.po +23 -0
  122. data/samples/po/eo/hello2.po +31 -0
  123. data/samples/po/eo/hello_noop.po +27 -0
  124. data/samples/po/eo/hello_plural.po +26 -0
  125. data/samples/po/eo/helloglade2.po +32 -0
  126. data/samples/po/eo/hellogtk.po +23 -0
  127. data/samples/po/eo/hellotk.po +24 -0
  128. data/samples/rails/app/views/blog/list.rhtml +0 -1
  129. data/samples/rails/config/environment.rb +2 -0
  130. data/samples/rails/db/schema.rb +0 -79
  131. data/samples/rails/lib/tasks/gettext.rake +2 -1
  132. data/samples/rails/locale/ca/LC_MESSAGES/blog.mo +0 -0
  133. data/samples/rails/locale/cs/LC_MESSAGES/blog.mo +0 -0
  134. data/samples/rails/locale/de/LC_MESSAGES/blog.mo +0 -0
  135. data/samples/rails/locale/el/LC_MESSAGES/blog.mo +0 -0
  136. data/samples/rails/locale/en/LC_MESSAGES/blog.mo +0 -0
  137. data/samples/rails/locale/eo/LC_MESSAGES/blog.mo +0 -0
  138. data/samples/rails/locale/es/LC_MESSAGES/blog.mo +0 -0
  139. data/samples/rails/locale/fr/LC_MESSAGES/blog.mo +0 -0
  140. data/samples/rails/locale/it/LC_MESSAGES/blog.mo +0 -0
  141. data/samples/rails/locale/ja/LC_MESSAGES/blog.mo +0 -0
  142. data/samples/rails/locale/ko/LC_MESSAGES/blog.mo +0 -0
  143. data/samples/rails/locale/nl/LC_MESSAGES/blog.mo +0 -0
  144. data/samples/rails/locale/pt_BR/LC_MESSAGES/blog.mo +0 -0
  145. data/samples/rails/locale/ru/LC_MESSAGES/blog.mo +0 -0
  146. data/samples/rails/locale/zh/LC_MESSAGES/blog.mo +0 -0
  147. data/samples/rails/locale/zh_TW/LC_MESSAGES/blog.mo +0 -0
  148. data/samples/rails/po/blog.pot +106 -106
  149. data/samples/rails/po/ca/blog.po +105 -0
  150. data/samples/rails/po/cs/blog.po +107 -110
  151. data/samples/rails/po/de/blog.po +107 -107
  152. data/samples/rails/po/el/blog.po +105 -105
  153. data/samples/rails/po/en/blog.po +107 -107
  154. data/samples/rails/po/eo/blog.po +106 -0
  155. data/samples/rails/po/es/blog.po +105 -105
  156. data/samples/rails/po/fr/blog.po +105 -105
  157. data/samples/rails/po/it/blog.po +105 -105
  158. data/samples/rails/po/ja/blog.po +105 -105
  159. data/samples/rails/po/ko/blog.po +105 -105
  160. data/samples/rails/po/nl/blog.po +105 -105
  161. data/samples/rails/po/pt_BR/blog.po +105 -105
  162. data/samples/rails/po/ru/blog.po +105 -105
  163. data/samples/rails/po/zh/blog.po +105 -105
  164. data/samples/rails/po/zh_TW/blog.po +107 -107
  165. data/samples/rails/vendor/plugins/gettext/locale/ca/LC_MESSAGES/gettext_plugin.mo +0 -0
  166. data/samples/rails/vendor/plugins/gettext/po/ca/gettext_plugin.po +27 -0
  167. data/test/README +6 -0
  168. data/test/Rakefile +1 -1
  169. data/test/fixtures/book.rb +3 -0
  170. data/test/fixtures/user.rb +3 -0
  171. data/test/gettext_test_active_record.rb +347 -67
  172. data/test/gettext_test_cgi.rb +27 -2
  173. data/test/gettext_test_parser.rb +102 -4
  174. data/test/gettext_test_rails.rb +6 -1
  175. data/test/locale/ja/LC_MESSAGES/active_record.mo +0 -0
  176. data/test/po/ja/active_record.po +17 -17
  177. data/test/test.sh +1 -0
  178. data/test/test_rubyparser.rb +6 -4
  179. metadata +889 -795
  180. data/pkg/ruby-gettext-package-1.8.0/ext/gettext/extconf.rb +0 -20
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  utils.rb - Utility functions
3
3
 
4
- Copyright (C) 2005 Masao Mutoh
4
+ Copyright (C) 2005,2006 Masao Mutoh
5
5
 
6
6
  You may redistribute it and/or modify it under the same
7
7
  license terms as Ruby.
@@ -36,8 +36,7 @@ module GetText
36
36
  # * Returns: self
37
37
  def msgmerge(defpo, refpo, app_version)
38
38
  $stderr.puts defpo
39
- cmd = ENV["MSGMERGE_PATH"]
40
- cmd ||= "msgmerge"
39
+ cmd = ENV["MSGMERGE_PATH"] || "msgmerge"
41
40
 
42
41
  cont = ""
43
42
  if FileTest.exist? defpo
@@ -47,9 +46,16 @@ module GetText
47
46
  cont = io.read
48
47
  end
49
48
  end
50
- cont.sub!(/(Project-Id-Version\:).*$/, "\\1 #{app_version}\\n\"")
51
- File.open(defpo, "w") do |out|
52
- out.write(cont)
49
+ if cont.empty?
50
+ failed_filename = refpo + "~"
51
+ FileUtils.cp(refpo, failed_filename)
52
+ $stderr.puts _("Failed to merge with %{defpo} - skipping!") % {:defpo => defpo}
53
+ $stderr.puts _("Please check new .pot in %{failed_filename}") %{:failed_filename => failed_filename}
54
+ else
55
+ cont.sub!(/(Project-Id-Version\:).*$/, "\\1 #{app_version}\\n\"")
56
+ File.open(defpo, "w") do |out|
57
+ out.write(cont)
58
+ end
53
59
  end
54
60
  self
55
61
  end
@@ -2,11 +2,11 @@
2
2
  =begin
3
3
  version - version information of Ruby-GetText-Package
4
4
 
5
- Copyright (C) 2005,2006 Masao Mutoh
5
+ Copyright (C) 2005-2007 Masao Mutoh
6
6
 
7
7
  You may redistribute it and/or modify it under the same
8
8
  license terms as Ruby.
9
9
  =end
10
10
  module GetText
11
- VERSION = "1.8.0"
11
+ VERSION = "1.9.0"
12
12
  end
@@ -0,0 +1,121 @@
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
+ # Ramon Salvadó <rsalvado at gnuine.com>, 2006.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.9.0\n"
12
+ "POT-Creation-Date: 2006-12-20 00:05+0900\n"
13
+ "PO-Revision-Date: 2005-12-17 14:33+0900\n"
14
+ "Last-Translator: Ramon Salvadó <rsalvado at gnuine.com>\n"
15
+ "Language-Team: Catalan\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:278
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} error impedeix que es pugui guardar %{record}"
25
+ msgstr[1] "%{num} errors impedeixen que es pugui guardar %{record}"
26
+
27
+ #: lib/gettext/rails.rb:280
28
+ msgid "There was a problem with the following field:"
29
+ msgid_plural "There were problems with the following fields:"
30
+ msgstr[0] "Hi ha problemes amb el següent camp:"
31
+ msgstr[1] "Hi ha problemes amb els següents camps:"
32
+
33
+ #: lib/gettext/rails.rb:367
34
+ msgid "less than 5 seconds"
35
+ msgstr "menys de 5 segons"
36
+
37
+ #: lib/gettext/rails.rb:367
38
+ msgid "less than 10 seconds"
39
+ msgstr "menys de 10 segons"
40
+
41
+ #: lib/gettext/rails.rb:367
42
+ msgid "less than 20 seconds"
43
+ msgstr "menys de 20 segons"
44
+
45
+ #: lib/gettext/rails.rb:368
46
+ msgid "half a minute"
47
+ msgstr "mig minut"
48
+
49
+ #: lib/gettext/rails.rb:368
50
+ msgid "less than a minute"
51
+ msgstr "menys d'un minut"
52
+
53
+ #: lib/gettext/rails.rb:369
54
+ msgid "1 minute"
55
+ msgid_plural "%{num} minutes"
56
+ msgstr[0] "1 minut"
57
+ msgstr[1] "%{num} minuts"
58
+
59
+ #: lib/gettext/rails.rb:370
60
+ msgid "about 1 hour"
61
+ msgid_plural "about %{num} hours"
62
+ msgstr[0] "al voltant d'1 hora"
63
+ msgstr[1] "al voltant de %{num} hores"
64
+
65
+ #: lib/gettext/rails.rb:371
66
+ msgid "1 day"
67
+ msgid_plural "%{num} days"
68
+ msgstr[0] "1 dia"
69
+ msgstr[1] "%{num} dies"
70
+
71
+ #: lib/gettext/active_record.rb:27
72
+ msgid "Validation failed: %{error_messages}"
73
+ msgstr "La validació ha fallat: %{error_messages}"
74
+
75
+ #: lib/gettext/active_record.rb:195
76
+ msgid "%{fn} is not included in the list"
77
+ msgstr "%{fn} no pertany a la llista de possibles valors"
78
+
79
+ #: lib/gettext/active_record.rb:196
80
+ msgid "%{fn} is reserved"
81
+ msgstr "%{fn} no està permès"
82
+
83
+ #: lib/gettext/active_record.rb:197
84
+ msgid "%{fn} is invalid"
85
+ msgstr "%{fn} no és vàlid"
86
+
87
+ #: lib/gettext/active_record.rb:198
88
+ msgid "%{fn} doesn't match confirmation"
89
+ msgstr "%{fn} no té el mateix valor que la confirmació"
90
+
91
+ #: lib/gettext/active_record.rb:199
92
+ msgid "%{fn} must be accepted"
93
+ msgstr "%{fn} ha de ser acceptat"
94
+
95
+ #: lib/gettext/active_record.rb:200
96
+ msgid "%{fn} can't be empty"
97
+ msgstr "%{fn} no pot ser buit"
98
+
99
+ #: lib/gettext/active_record.rb:201
100
+ msgid "%{fn} can't be blank"
101
+ msgstr "%{fn} no pot estar en blanc"
102
+
103
+ #: lib/gettext/active_record.rb:202
104
+ msgid "%{fn} is too long (maximum is %d characters)"
105
+ msgstr "%{fn} és massa llarg (màxim de %d caràcters)"
106
+
107
+ #: lib/gettext/active_record.rb:203
108
+ msgid "%{fn} is too short (minimum is %d characters)"
109
+ msgstr "%{fn} és massa curt (mínim de %d caràcters)"
110
+
111
+ #: lib/gettext/active_record.rb:204
112
+ msgid "%{fn} is the wrong length (should be %d characters)"
113
+ msgstr "%{fn} té una llargària incorrecta (hauria de tenir %d caràcters)"
114
+
115
+ #: lib/gettext/active_record.rb:205
116
+ msgid "%{fn} has already been taken"
117
+ msgstr "%{fn} ja existent"
118
+
119
+ #: lib/gettext/active_record.rb:206
120
+ msgid "%{fn} is not a number"
121
+ msgstr "%{fn} no és un número"
@@ -0,0 +1,130 @@
1
+ #
2
+ # 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
+ # Ramon Salvadó <rsalvado at gnuine.com>, 2006.
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: ruby-gettext 1.9.0\n"
12
+ "POT-Creation-Date: 2006-12-20 00:05+0900\n"
13
+ "PO-Revision-Date: 2005-12-20 10:33+0900E\n"
14
+ "Last-Translator: Ramon Salvadó <rsalvado at gnuine.com>\n"
15
+ "Language-Team: Catalan\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:52
22
+ msgid "Failed to merge with %{defpo} - skipping!"
23
+ msgstr "Ha fallat al fer el merge amb %{defpo} - saltant!"
24
+
25
+ #: lib/gettext/utils.rb:53
26
+ msgid "Please check new .pot in %{failed_filename}"
27
+ msgstr "Si us plau comprova el nou .pot a %{failed_filename}"
28
+
29
+ #: lib/gettext/rmsgfmt.rb:31 lib/gettext/rgettext.rb:196
30
+ msgid "no input files"
31
+ msgstr "no hi ha fitxers d'entrada"
32
+
33
+ #: lib/gettext/rmsgfmt.rb:47
34
+ msgid "Usage: %s input.po [-o output.mo]"
35
+ msgstr "Ús: %s entrada.po [-o sortida.mo]"
36
+
37
+ #: lib/gettext/rmsgfmt.rb:49
38
+ msgid "Generate binary message catalog from textual translation description."
39
+ msgstr ""
40
+ "Genera un catàleg de missatges binaris a partir d'un fitxer de traducció "
41
+ "textual."
42
+
43
+ #: lib/gettext/rmsgfmt.rb:51 lib/gettext/rmsgmerge.rb:408
44
+ #: lib/gettext/rgettext.rb:153
45
+ msgid "Specific options:"
46
+ msgstr "Opcions específiques:"
47
+
48
+ #: lib/gettext/rmsgfmt.rb:53 lib/gettext/rmsgmerge.rb:410
49
+ #: lib/gettext/rgettext.rb:155
50
+ msgid "write output to specified file"
51
+ msgstr "escriu la sortida en un fitxer especificat"
52
+
53
+ #: lib/gettext/rmsgfmt.rb:57 lib/gettext/rmsgmerge.rb:421
54
+ #: lib/gettext/rgettext.rb:172
55
+ msgid "display version information and exit"
56
+ msgstr "mostra informació de la versió i surt"
57
+
58
+ #: lib/gettext/rmsgmerge.rb:403
59
+ msgid "Usage: %s def.po ref.pot [-o output.pot]"
60
+ msgstr "Ús: %s def.po ref.pot [-o sortida.pot]"
61
+
62
+ #: lib/gettext/rmsgmerge.rb:406
63
+ msgid ""
64
+ "Merges two Uniforum style .po files together. The def.po file is an existing "
65
+ "PO file with translations. The ref.pot file is the last created PO file with "
66
+ "up-to-date source references. ref.pot is generally created by rgettext."
67
+ msgstr ""
68
+ "Combina dos fitxers .po d'estil Uniforum. El fitxer def.po és un fitxer PO "
69
+ "existent amb traduccions. El fitxer ref.pot és l'últim fitxer PO amb "
70
+ "referències actualitzades. Normalment qui ha creat ref.pot és rgettext"
71
+
72
+ #: lib/gettext/rmsgmerge.rb:447
73
+ msgid "definition po is not given."
74
+ msgstr "no s'ha donat una definició po"
75
+
76
+ #: lib/gettext/rmsgmerge.rb:449
77
+ msgid "reference pot is not given."
78
+ msgstr "no s'ha donat una referència pot"
79
+
80
+ #: lib/gettext/rgettext.rb:43
81
+ msgid "'%{klass}' is ignored."
82
+ msgstr "'%{klass}' ignorat"
83
+
84
+ #: lib/gettext/rgettext.rb:149
85
+ msgid "Usage: %s input.rb [-r parser.rb] [-o output.pot]"
86
+ msgstr "Ús: %s entrada.po [-r parser.rb] [-o sortida.pot]"
87
+
88
+ #: lib/gettext/rgettext.rb:151
89
+ msgid "Extract translatable strings from given input files."
90
+ msgstr "Extreu les cadenes de paraules traduïbles dels fitxers d'entrada."
91
+
92
+ #: lib/gettext/rgettext.rb:159
93
+ msgid "File '%s' already exists."
94
+ msgstr "El fitxer '%s' ja existeix"
95
+
96
+ #: lib/gettext/rgettext.rb:164
97
+ msgid "require the library before executing rgettext"
98
+ msgstr "requereix la llibreia abans d'executar rgettext"
99
+
100
+ #: lib/gettext/rgettext.rb:168
101
+ msgid "run in debugging mode"
102
+ msgstr "executa en mode debug"
103
+
104
+ #: lib/gettext/parser/glade.rb:74
105
+ msgid "`%{file}' is not glade-2.0 format."
106
+ msgstr "El fitxer `%{file}' no té el format glade-2.0."
107
+
108
+ #: lib/gettext/parser/active_record.rb:39
109
+ msgid "'%{file}' is not found."
110
+ msgstr "El fitxer '%{file}' no s'ha trobat"
111
+
112
+ #: lib/gettext/parser/active_record.rb:80
113
+ msgid "Ignored '%{file}'. Solve dependencies first."
114
+ msgstr "S'ignora el fitxer '%{file}'. Primer ha de resoldre les dependències."
115
+
116
+ #: lib/gettext/parser/active_record.rb:104
117
+ msgid "No database is available."
118
+ msgstr "No hi ha una base de dades disponible."
119
+
120
+ #: lib/gettext/parser/active_record.rb:137
121
+ msgid "rubygems are not found."
122
+ msgstr "no s'ha trobat rubygems"
123
+
124
+ #: src/poparser.ry:26 src/poparser.ry:41
125
+ msgid "Warning: fuzzy message was ignored.\n"
126
+ msgstr "Avís: s'ha ignorat el missatge ambigu.\n"
127
+
128
+ #: src/poparser.ry:125
129
+ msgid "Warning: obsolete msgid exists.\n"
130
+ msgstr "Avís: existeix un msgid obsolet.\n"
@@ -8,10 +8,10 @@
8
8
  #
9
9
  msgid ""
10
10
  msgstr ""
11
- "Project-Id-Version: ruby-gettext 1.8.0\n"
12
- "POT-Creation-Date: 2006-08-23 00:28+0900\n"
13
- "PO-Revision-Date: 2006-07-10 10:08+0100\n"
14
- "Last-Translator: Karel Miarka <kajism at yahoo.com>\n"
11
+ "Project-Id-Version: ruby-gettext 1.9.0\n"
12
+ "POT-Creation-Date: 2006-12-20 00:05+0900\n"
13
+ "PO-Revision-Date: 2006-12-16 13:08+0100\n"
14
+ "Last-Translator: Karel Miarka <kajism@yahoo.com>\n"
15
15
  "Language-Team: Czech\n"
16
16
  "MIME-Version: 1.0\n"
17
17
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -20,105 +20,109 @@ msgstr ""
20
20
  "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
21
21
  "X-Poedit-Language: Czech\n"
22
22
 
23
- #: lib/gettext/rails.rb:271
23
+ #: lib/gettext/rails.rb:278
24
24
  msgid "%{num} error prohibited this %{record} from being saved"
25
25
  msgid_plural "%{num} errors prohibited this %{record} from being saved"
26
26
  msgstr[0] "%{num} chyba znemožnila uložení záznamu %{record} "
27
27
  msgstr[1] "%{num} chyby znemožnily uložení záznamu %{record} "
28
28
  msgstr[2] "%{num} chyb znemožnilo uložení záznamu %{record} "
29
29
 
30
- #: lib/gettext/rails.rb:273
30
+ #: lib/gettext/rails.rb:280
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] "Problémy jsou s následujícím polem:"
34
34
  msgstr[1] "Problémy jsou s následujícími poli:"
35
35
  msgstr[2] "Problémy jsou s následujícími poli:"
36
36
 
37
- #: lib/gettext/rails.rb:360
37
+ #: lib/gettext/rails.rb:367
38
38
  msgid "less than 5 seconds"
39
39
  msgstr "méně než 5 sekund"
40
40
 
41
- #: lib/gettext/rails.rb:360
41
+ #: lib/gettext/rails.rb:367
42
42
  msgid "less than 10 seconds"
43
43
  msgstr "méně než 10 sekund"
44
44
 
45
- #: lib/gettext/rails.rb:360
45
+ #: lib/gettext/rails.rb:367
46
46
  msgid "less than 20 seconds"
47
47
  msgstr "méně než 20 sekund"
48
48
 
49
- #: lib/gettext/rails.rb:361
49
+ #: lib/gettext/rails.rb:368
50
50
  msgid "half a minute"
51
51
  msgstr "půl minuty"
52
52
 
53
- #: lib/gettext/rails.rb:361
53
+ #: lib/gettext/rails.rb:368
54
54
  msgid "less than a minute"
55
55
  msgstr "méně než minutu"
56
56
 
57
- #: lib/gettext/rails.rb:362
57
+ #: lib/gettext/rails.rb:369
58
58
  msgid "1 minute"
59
59
  msgid_plural "%{num} minutes"
60
60
  msgstr[0] "1 minuta"
61
61
  msgstr[1] "%{num} minuty"
62
62
  msgstr[2] "%{num} minut"
63
63
 
64
- #: lib/gettext/rails.rb:363
64
+ #: lib/gettext/rails.rb:370
65
65
  msgid "about 1 hour"
66
66
  msgid_plural "about %{num} hours"
67
67
  msgstr[0] "asi 1 hodina"
68
68
  msgstr[1] "asi %{num} hodiny"
69
69
  msgstr[2] "asi %{num} hodin"
70
70
 
71
- #: lib/gettext/rails.rb:364
71
+ #: lib/gettext/rails.rb:371
72
72
  msgid "1 day"
73
73
  msgid_plural "%{num} days"
74
74
  msgstr[0] "1 den"
75
75
  msgstr[1] "%{num} dny"
76
76
  msgstr[2] "%{num} dnů"
77
77
 
78
- #: lib/gettext/active_record.rb:166
78
+ #: lib/gettext/active_record.rb:27
79
+ msgid "Validation failed: %{error_messages}"
80
+ msgstr "Výsledek validace: %{error_messages}"
81
+
82
+ #: lib/gettext/active_record.rb:195
79
83
  msgid "%{fn} is not included in the list"
80
84
  msgstr "%{fn} není obsaženo v seznamu možností"
81
85
 
82
- #: lib/gettext/active_record.rb:167
86
+ #: lib/gettext/active_record.rb:196
83
87
  msgid "%{fn} is reserved"
84
88
  msgstr "%{fn} je rezervováno a nemůže být zvoleno"
85
89
 
86
- #: lib/gettext/active_record.rb:168
90
+ #: lib/gettext/active_record.rb:197
87
91
  msgid "%{fn} is invalid"
88
92
  msgstr "%{fn} je chybné"
89
93
 
90
- #: lib/gettext/active_record.rb:169
94
+ #: lib/gettext/active_record.rb:198
91
95
  msgid "%{fn} doesn't match confirmation"
92
96
  msgstr "%{fn} není shodné s potvrzením"
93
97
 
94
- #: lib/gettext/active_record.rb:170
98
+ #: lib/gettext/active_record.rb:199
95
99
  msgid "%{fn} must be accepted"
96
100
  msgstr "%{fn} musí být zaškrtnuto"
97
101
 
98
- #: lib/gettext/active_record.rb:171
102
+ #: lib/gettext/active_record.rb:200
99
103
  msgid "%{fn} can't be empty"
100
104
  msgstr "%{fn} musí být vyplněno"
101
105
 
102
- #: lib/gettext/active_record.rb:172
106
+ #: lib/gettext/active_record.rb:201
103
107
  msgid "%{fn} can't be blank"
104
108
  msgstr "%{fn} musí být vyplněno"
105
109
 
106
- #: lib/gettext/active_record.rb:173
110
+ #: lib/gettext/active_record.rb:202
107
111
  msgid "%{fn} is too long (maximum is %d characters)"
108
112
  msgstr "%{fn} je příliš dlouhé (maximum je %d znaků)"
109
113
 
110
- #: lib/gettext/active_record.rb:174
114
+ #: lib/gettext/active_record.rb:203
111
115
  msgid "%{fn} is too short (minimum is %d characters)"
112
116
  msgstr "%{fn} je příliš krátké (minimum je %d znaků)"
113
117
 
114
- #: lib/gettext/active_record.rb:175
118
+ #: lib/gettext/active_record.rb:204
115
119
  msgid "%{fn} is the wrong length (should be %d characters)"
116
120
  msgstr "%{fn} má nesprávnou délku (musí mít %d znaků)"
117
121
 
118
- #: lib/gettext/active_record.rb:176
122
+ #: lib/gettext/active_record.rb:205
119
123
  msgid "%{fn} has already been taken"
120
124
  msgstr "%{fn} je již použito"
121
125
 
122
- #: lib/gettext/active_record.rb:177
126
+ #: lib/gettext/active_record.rb:206
123
127
  msgid "%{fn} is not a number"
124
128
  msgstr "%{fn} není správné číslo"