gettext 1.2.0-mswin32 → 1.3.0-mswin32

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 (70) hide show
  1. data/ChangeLog +74 -0
  2. data/NEWS +16 -0
  3. data/README +9 -9
  4. data/data/locale/cs/LC_MESSAGES/rails.mo +0 -0
  5. data/data/locale/cs/LC_MESSAGES/rgettext.mo +0 -0
  6. data/data/locale/de/LC_MESSAGES/rails.mo +0 -0
  7. data/data/locale/de/LC_MESSAGES/rgettext.mo +0 -0
  8. data/data/locale/el/LC_MESSAGES/rails.mo +0 -0
  9. data/data/locale/el/LC_MESSAGES/rgettext.mo +0 -0
  10. data/data/locale/es/LC_MESSAGES/rails.mo +0 -0
  11. data/data/locale/es/LC_MESSAGES/rgettext.mo +0 -0
  12. data/data/locale/fr/LC_MESSAGES/rails.mo +0 -0
  13. data/data/locale/fr/LC_MESSAGES/rgettext.mo +0 -0
  14. data/data/locale/it/LC_MESSAGES/rgettext.mo +0 -0
  15. data/data/locale/ja/LC_MESSAGES/rails.mo +0 -0
  16. data/data/locale/ja/LC_MESSAGES/rgettext.mo +0 -0
  17. data/data/locale/ko/LC_MESSAGES/rails.mo +0 -0
  18. data/data/locale/ko/LC_MESSAGES/rgettext.mo +0 -0
  19. data/data/locale/nl/LC_MESSAGES/rails.mo +0 -0
  20. data/data/locale/nl/LC_MESSAGES/rgettext.mo +0 -0
  21. data/data/locale/pt_BR/LC_MESSAGES/rails.mo +0 -0
  22. data/data/locale/pt_BR/LC_MESSAGES/rgettext.mo +0 -0
  23. data/data/locale/sv/LC_MESSAGES/rgettext.mo +0 -0
  24. data/lib/gettext.rb +9 -4
  25. data/lib/gettext/locale.rb +11 -5
  26. data/lib/gettext/locale_cgi.rb +2 -5
  27. data/lib/gettext/locale_object.rb +68 -21
  28. data/lib/gettext/poparser.rb +2 -2
  29. data/lib/gettext/rails.rb +150 -30
  30. data/lib/gettext/version.rb +1 -1
  31. data/po/cs/rails.po +27 -27
  32. data/po/cs/rgettext.po +8 -8
  33. data/po/de/rails.po +28 -28
  34. data/po/de/rgettext.po +8 -8
  35. data/po/el/rails.po +25 -25
  36. data/po/el/rgettext.po +8 -8
  37. data/po/es/rails.po +25 -25
  38. data/po/es/rgettext.po +8 -8
  39. data/po/fr/rails.po +26 -26
  40. data/po/fr/rgettext.po +8 -8
  41. data/po/it/rgettext.po +8 -8
  42. data/po/ja/rails.po +23 -23
  43. data/po/ja/rgettext.po +8 -8
  44. data/po/ko/rails.po +23 -23
  45. data/po/ko/rgettext.po +8 -8
  46. data/po/nl/rails.po +25 -25
  47. data/po/nl/rgettext.po +8 -8
  48. data/po/pt_BR/rails.po +25 -25
  49. data/po/pt_BR/rgettext.po +8 -8
  50. data/po/rails.pot +25 -25
  51. data/po/rgettext.pot +8 -8
  52. data/po/sv/rgettext.po +8 -8
  53. data/samples/rails/README +3 -2
  54. data/samples/rails/Rakefile +6 -217
  55. data/samples/rails/app/controllers/application.rb +1 -0
  56. data/samples/rails/app/models/article.rb +7 -16
  57. data/samples/rails/config/database.yml +2 -1
  58. data/samples/rails/lib/tasks/gettext.rake +18 -0
  59. data/samples/rails/locale/ja/LC_MESSAGES/blog.mo +0 -0
  60. data/samples/rails/po/ja/blog.po +12 -0
  61. data/samples/rails/public/index.html +15 -17
  62. data/samples/rails/public/javascripts/controls.js +30 -1
  63. data/samples/rails/public/javascripts/dragdrop.js +210 -145
  64. data/samples/rails/public/javascripts/effects.js +261 -399
  65. data/samples/rails/public/javascripts/prototype.js +131 -72
  66. data/test/gettext_test.rb +5 -0
  67. data/test/gettext_test_locale.rb +133 -9
  68. metadata +5 -4
  69. data/samples/rails/script/benchmarker +0 -19
  70. data/samples/rails/script/profiler +0 -34
@@ -20,7 +20,7 @@ module GetText
20
20
 
21
21
  class PoParser < Racc::Parser
22
22
 
23
- module_eval <<'..end src/poparser.ry modeval..id4a44ddde81', 'src/poparser.ry', 90
23
+ module_eval <<'..end src/poparser.ry modeval..id3abd401c4d', 'src/poparser.ry', 90
24
24
  include GetText
25
25
  GetText.bindtextdomain("rgettext")
26
26
 
@@ -103,7 +103,7 @@ module_eval <<'..end src/poparser.ry modeval..id4a44ddde81', 'src/poparser.ry',
103
103
  @comments << comment
104
104
  end
105
105
 
106
- ..end src/poparser.ry modeval..id4a44ddde81
106
+ ..end src/poparser.ry modeval..id3abd401c4d
107
107
 
108
108
  ##### racc 1.4.5 generates ###
109
109
 
data/lib/gettext/rails.rb CHANGED
@@ -6,7 +6,7 @@
6
6
  You may redistribute it and/or modify it under the same
7
7
  license terms as Ruby.
8
8
 
9
- $Id: rails.rb,v 1.17 2006/02/23 14:53:59 mutoh Exp $
9
+ $Id: rails.rb,v 1.26 2006/03/11 13:16:39 mutoh Exp $
10
10
  =end
11
11
 
12
12
  require 'gettext/cgi'
@@ -28,6 +28,7 @@ module GetText #:nodoc:
28
28
 
29
29
  alias :_bindtextdomain :bindtextdomain #:nodoc:
30
30
 
31
+ module_function
31
32
  # Bind a textdomain(#{path}/#{locale}/LC_MESSAGES/#{domainname}.mo) to your program.
32
33
  # Notes the textdomain scope becomes all of the controllers/views/models in your app.
33
34
  # This is different from normal GetText.bindtextomain.
@@ -47,7 +48,7 @@ module GetText #:nodoc:
47
48
  # And the charset is set order by "the argument of bindtextdomain" > HTTP_ACCEPT_CHARSET > Default charset(UTF-8).
48
49
  #
49
50
  def bindtextdomain(domainname, _cgi = nil, locale = nil, charset = nil, with_model = true)
50
- Locale.clear # IMPORTANT! current locale should be nil once(default is used).
51
+ Locale.set_current(nil) # IMPORTANT! current locale should be nil once(default is used).
51
52
  set_cgi(_cgi) if _cgi
52
53
  @gettext_container_domainname = domainname
53
54
  path = File.join(RAILS_ROOT, "locale")
@@ -59,7 +60,6 @@ module GetText #:nodoc:
59
60
  def bindtextdomain_to(klass, domainname) #:nodoc:
60
61
  klass.class_eval {
61
62
  textdomain(domainname)
62
-
63
63
  def self.human_attribute_name(attribute_key_name) #:nodoc:
64
64
  s_("#{self}|#{attribute_key_name.humanize}")
65
65
  end
@@ -73,6 +73,24 @@ module GetText #:nodoc:
73
73
  @gettext_container_domainname = nil unless defined? @gettext_container_domainname
74
74
  @gettext_container_domainname
75
75
  end
76
+
77
+ # true to use localized templates such as list.rhtml, list_ja.rhtml, list_ja_JP.rhtml.
78
+ # * setting: true if localized, otherwise false. Default is true.
79
+ # * Returns: setting
80
+ def use_localized_templates(setting)
81
+ @@gettext_use_localized_templates = setting
82
+ end
83
+
84
+ # true if it use localized templates. See GetText::Rails.use_localized_templates
85
+ # for more details.
86
+ # * Returns: true or false.
87
+ def use_localized_templates?
88
+ if defined? @@gettext_use_localized_templates
89
+ @@gettext_use_localized_templates
90
+ else
91
+ true
92
+ end
93
+ end
76
94
  end
77
95
  end
78
96
 
@@ -90,7 +108,9 @@ module ActionController #:nodoc:
90
108
  after_filter :init_content_type
91
109
 
92
110
  def init_gettext_main #:nodoc:
93
- bindtextdomain(@@gettext_domainname, request.cgi) #You need to pass CGI object first.
111
+ cgi_ = request.cgi
112
+ cgi_.params["lang"] = [@params["lang"]] if @params["lang"]
113
+ bindtextdomain(@@gettext_domainname, cgi_) #You need to pass CGI object first.
94
114
  end
95
115
 
96
116
  def init_content_type #:nodoc:
@@ -143,6 +163,17 @@ module ActionController #:nodoc:
143
163
  end
144
164
 
145
165
  module ActiveRecord #:nodoc:
166
+ module ConnectionAdapters #:nodoc:
167
+ # An abstract definition of a column in a table.
168
+ class Column
169
+ attr_accessor :table_class
170
+
171
+ def human_name
172
+ table_class.human_attribute_name(@name)
173
+ end
174
+ end
175
+ end
176
+
146
177
  class Base
147
178
  include GetText::Rails # Important
148
179
  extend GetText::Rails # Important
@@ -150,21 +181,66 @@ module ActiveRecord #:nodoc:
150
181
  @@error_message_title = nil
151
182
  @@error_message_explanation = nil
152
183
 
184
+ # call-seq:
185
+ # set_error_message_title(msg)
186
+ #
153
187
  # Sets a your own title of error message dialog.
154
- def self.set_error_message_title(single_msg, plural_msg)
188
+ # * msg: [single_msg, plural_msg]. Usually you need to call this with Nn_().
189
+ # * Returns: [single_msg, plural_msg]
190
+ def self.set_error_message_title(msg, plural_msg = nil)
191
+ if msg.kind_of? Array
192
+ single_msg = msg[0]
193
+ plural_msg = msg[1]
194
+ else
195
+ single_msg = msg
196
+ end
155
197
  @@error_message_title = [single_msg, plural_msg]
156
198
  end
157
-
199
+
200
+ def self.columns
201
+ unless @columns
202
+ @columns = connection.columns(table_name, "#{name} Columns")
203
+ @columns.each {|column|
204
+ column.table_class = self
205
+ column.primary = column.name == primary_key
206
+ }
207
+ end
208
+ @columns
209
+ end
210
+
211
+ # call-seq:
212
+ # set_error_message_explanation(msg)
213
+ #
158
214
  # Sets a your own explanation of the error message dialog.
159
- def self.set_error_message_explanation(single_msg, plural_msg)
215
+ # * msg: [single_msg, plural_msg]. Usually you need to call this with Nn_().
216
+ # * Returns: [single_msg, plural_msg]
217
+ def self.set_error_message_explanation(msg, plural_msg = nil)
218
+ if msg.kind_of? Array
219
+ single_msg = msg[0]
220
+ plural_msg = msg[1]
221
+ else
222
+ single_msg = msg
223
+ end
160
224
  @@error_message_explanation = [single_msg, plural_msg]
161
225
  end
162
226
 
163
227
  def error_message_title #:nodoc:
164
- @@error_message_title
228
+ if @@error_message_title
229
+ [_(@@error_message_title[0]), _(@@error_message_title[1])]
230
+ else
231
+ nil
232
+ end
165
233
  end
166
234
  def error_message_explanation #:nodoc:
167
- @@error_message_explanation
235
+ if @@error_message_explanation
236
+ [_(@@error_message_explanation[0]), _(@@error_message_explanation[1])]
237
+ else
238
+ nil
239
+ end
240
+ end
241
+
242
+ def gettext(str) #:nodoc:
243
+ _(str)
168
244
  end
169
245
  end
170
246
 
@@ -190,48 +266,59 @@ module ActiveRecord #:nodoc:
190
266
  :not_a_number => N_("%{fn} is not a number")
191
267
  )
192
268
  @@default_error_messages_d = {
193
- :too_long => default_error_messages[:too_long],
194
- :too_short => default_error_messages[:too_short],
195
- :wrong_length => default_error_messages[:wrong_length]
269
+ :too_long => /#{Regexp.escape(default_error_messages[:too_long]).sub(/%d/, '(\d+)')}/,
270
+ :too_short => /#{Regexp.escape(default_error_messages[:too_short]).sub(/%d/, '(\d+)')}/,
271
+ :wrong_length => /#{Regexp.escape(default_error_messages[:wrong_length]).sub(/%d/, '(\d+)')}/,
196
272
  }
197
273
 
198
- def self.convert_validates_messages_of_validates_length_of #:nodoc:
199
- default_error_messages[:too_long] = _(@@default_error_messages_d[:too_long])
200
- default_error_messages[:too_short] = _(@@default_error_messages_d[:too_short])
201
- default_error_messages[:wrong_length] = _(@@default_error_messages_d[:wrong_length])
202
- end
203
-
204
274
  def full_messages #:nodoc:
205
275
  full_messages = []
206
276
  @errors.each_key do |attr|
207
277
  @errors[attr].each do |msg|
208
278
  next if msg.nil?
279
+ #Ugly but... :-<
280
+ @@default_error_messages_d.each do |key, regexp|
281
+ if regexp =~ msg
282
+ msg = _(default_error_messages[key]) % $1.to_i
283
+ break
284
+ end
285
+ end
286
+ custom_msg = @base.gettext(msg)
287
+ custom_msg = _(msg) if custom_msg == msg
288
+
209
289
  if attr == "base"
210
- full_messages << _(msg)
290
+ full_messages << custom_msg
211
291
  elsif RE_FIELD_NAME =~ msg
212
- full_messages << _(msg) % {:fn => @base.class.human_attribute_name(attr)}
292
+ full_messages << custom_msg % {:fn => @base.class.human_attribute_name(attr)}
213
293
  else
214
- full_messages << @base.class.human_attribute_name(attr) + " " + msg
294
+ full_messages << @base.class.human_attribute_name(attr) + " " + custom_msg
215
295
  end
216
296
  end
217
297
  end
218
298
  full_messages
219
299
  end
220
300
  end
301
+ end
302
+
221
303
 
222
- module Validations #:nodoc:
223
- module ClassMethods #:nodoc:
224
- alias :_validates_length_of :validates_length_of
225
- def validates_length_of(*attrs)
226
- ActiveRecord::Errors.convert_validates_messages_of_validates_length_of
227
- _validates_length_of(*attrs)
304
+ module ActionView #:nodoc:
305
+ class Base #:nodoc:
306
+ alias render_file_without_locale render_file #:nodoc:
307
+ # This provides to find localized template files such as foo_ja.rhtml, foo_ja_JP.rhtml
308
+ # instead of foo.rhtml. If the file isn't found, foo.rhtml is used.
309
+ def render_file(template_path, use_full_path = true, local_assigns = {})
310
+ if GetText::Rails.use_localized_templates?
311
+ locale = GetText.locale
312
+ [locale.to_general, locale.to_s, locale.language, Locale.default.language].each do |v|
313
+ localized_path = "#{template_path}_#{v}"
314
+ return render_file_without_locale(localized_path, use_full_path, local_assigns) if file_exists? localized_path
315
+ end
228
316
  end
317
+ render_file_without_locale(template_path, use_full_path, local_assigns)
229
318
  end
319
+
230
320
  end
231
- end
232
-
233
321
 
234
- module ActionView #:nodoc:
235
322
  module Helpers #:nodoc:
236
323
  module ActiveRecordHelper #:nodoc: all
237
324
  module L10n
@@ -280,6 +367,39 @@ module ActionView #:nodoc:
280
367
  end
281
368
  end
282
369
 
370
+ module ActionMailer #:nodoc:
371
+ class Base #:nodoc:
372
+ helper GetText::Rails
373
+ include GetText::Rails
374
+ extend GetText::Rails
375
+
376
+ alias :_create! :create! #:nodoc:
377
+
378
+ def base64(text, charset="iso-2022-jp", convert=true)
379
+ if convert
380
+ if charset == "iso-2022-jp"
381
+ text = NKF.nkf('-j -m0', text)
382
+ end
383
+ end
384
+ text = TMail::Base64.folding_encode(text)
385
+ "=?#{charset}?B?#{text}?="
386
+ end
387
+
388
+ def create!(*arg) #:nodoc:
389
+ if Locale.get.language == "ja"
390
+ require 'nkf'
391
+ _create!(*arg)
392
+ @mail.charset = 'iso-2022-jp'
393
+ @mail.subject = base64(@mail.subject)
394
+ @mail.body = NKF.nkf('-j', @mail.body)
395
+ else
396
+ _create!(*arg)
397
+ end
398
+ @mail
399
+ end
400
+ end
401
+ end
402
+
283
403
  Rails::Info.property("GetText version") do
284
404
  GetText::VERSION
285
405
  end
@@ -8,5 +8,5 @@
8
8
  license terms as Ruby.
9
9
  =end
10
10
  module GetText
11
- VERSION = "1.2.0"
11
+ VERSION = "1.3.0"
12
12
  end
data/po/cs/rails.po CHANGED
@@ -9,7 +9,7 @@
9
9
  msgid ""
10
10
  msgstr ""
11
11
  "Project-Id-Version: ruby-gettext 1.2.0\n"
12
- "POT-Creation-Date: 2006-02-23 00:44+0900\n"
12
+ "POT-Creation-Date: 2006-03-04 22:50+0900\n"
13
13
  "PO-Revision-Date: 2005-12-17 21:43+0100\n"
14
14
  "Last-Translator: Karel Miarka <kajism@yahoo.com>\n"
15
15
  "Language-Team: Czech\n"
@@ -20,64 +20,64 @@ 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:117
24
- msgid "%{num} error prohibited this %{record} from being saved"
25
- msgid_plural "%{num} errors prohibited this %{record} from being saved"
26
- msgstr[0] "%{num} chyba znemožnila uložení záznamu %{record} "
27
- msgstr[1] "%{num} chyby znemožnily uložení záznamu %{record} "
28
- msgstr[2] "%{num} chyb znemožnilo uložení záznamu %{record} "
29
-
30
- #: lib/gettext/rails.rb:123
31
- msgid "There was a problem with the following field:"
32
- msgid_plural "There were problems with the following fields:"
33
- msgstr[0] "Problémy jsou s následujícím polem:"
34
- msgstr[1] "Problémy jsou s následujícími poli:"
35
- msgstr[2] "Problémy jsou s následujícími poli:"
36
-
37
- #: lib/gettext/rails.rb:135
23
+ #: lib/gettext/rails.rb:235
38
24
  msgid "%{fn} is not included in the list"
39
25
  msgstr "%{fn} není obsaženo v seznamu možností"
40
26
 
41
- #: lib/gettext/rails.rb:136
27
+ #: lib/gettext/rails.rb:236
42
28
  msgid "%{fn} is reserved"
43
29
  msgstr "%{fn} je rezervováno a nemůže být zvoleno"
44
30
 
45
- #: lib/gettext/rails.rb:137
31
+ #: lib/gettext/rails.rb:237
46
32
  msgid "%{fn} is invalid"
47
33
  msgstr "%{fn} je chybné"
48
34
 
49
- #: lib/gettext/rails.rb:138
35
+ #: lib/gettext/rails.rb:238
50
36
  msgid "%{fn} doesn't match confirmation"
51
37
  msgstr "%{fn} není shodné s potvrzením"
52
38
 
53
- #: lib/gettext/rails.rb:139
39
+ #: lib/gettext/rails.rb:239
54
40
  msgid "%{fn} must be accepted"
55
41
  msgstr "%{fn} musí být zaškrtnuto"
56
42
 
57
- #: lib/gettext/rails.rb:140
43
+ #: lib/gettext/rails.rb:240
58
44
  msgid "%{fn} can't be empty"
59
45
  msgstr "%{fn} musí být vyplněno"
60
46
 
61
- #: lib/gettext/rails.rb:141
47
+ #: lib/gettext/rails.rb:241
62
48
  msgid "%{fn} can't be blank"
63
49
  msgstr "%{fn} musí být vyplněno"
64
50
 
65
- #: lib/gettext/rails.rb:142
51
+ #: lib/gettext/rails.rb:242
66
52
  msgid "%{fn} is too long (max is %d characters)"
67
53
  msgstr "%{fn} je příliš dlouhé (maximum je %d znaků)"
68
54
 
69
- #: lib/gettext/rails.rb:143
55
+ #: lib/gettext/rails.rb:243
70
56
  msgid "%{fn} is too short (min is %d characters)"
71
57
  msgstr "%{fn} je příliš krátké (minimum je %d znaků)"
72
58
 
73
- #: lib/gettext/rails.rb:144
59
+ #: lib/gettext/rails.rb:244
74
60
  msgid "%{fn} is the wrong length (should be %d characters)"
75
61
  msgstr "%{fn} má nesprávnou délku (musí mít %d znaků)"
76
62
 
77
- #: lib/gettext/rails.rb:145
63
+ #: lib/gettext/rails.rb:245
78
64
  msgid "%{fn} has already been taken"
79
65
  msgstr "%{fn} je již použito"
80
66
 
81
- #: lib/gettext/rails.rb:146
67
+ #: lib/gettext/rails.rb:246
82
68
  msgid "%{fn} is not a number"
83
69
  msgstr "%{fn} není správné číslo"
70
+
71
+ #: lib/gettext/rails.rb:289
72
+ msgid "%{num} error prohibited this %{record} from being saved"
73
+ msgid_plural "%{num} errors prohibited this %{record} from being saved"
74
+ msgstr[0] "%{num} chyba znemožnila uložení záznamu %{record} "
75
+ msgstr[1] "%{num} chyby znemožnily uložení záznamu %{record} "
76
+ msgstr[2] "%{num} chyb znemožnilo uložení záznamu %{record} "
77
+
78
+ #: lib/gettext/rails.rb:291
79
+ msgid "There was a problem with the following field:"
80
+ msgid_plural "There were problems with the following fields:"
81
+ msgstr[0] "Problémy jsou s následujícím polem:"
82
+ msgstr[1] "Problémy jsou s následujícími poli:"
83
+ msgstr[2] "Problémy jsou s následujícími poli:"
data/po/cs/rgettext.po CHANGED
@@ -9,7 +9,7 @@
9
9
  msgid ""
10
10
  msgstr ""
11
11
  "Project-Id-Version: ruby-gettext 1.2.0\n"
12
- "POT-Creation-Date: 2006-02-23 00:44+0900\n"
12
+ "POT-Creation-Date: 2006-03-04 22:50+0900\n"
13
13
  "PO-Revision-Date: 2005-12-17 21:55+0100\n"
14
14
  "Last-Translator: Karel Miarka <kajism@yahoo.com>\n"
15
15
  "Language-Team: Czech\n"
@@ -21,11 +21,11 @@ msgstr ""
21
21
  "X-Poedit-Language: Czech\n"
22
22
  "X-Poedit-Bookmarks: -1,-1,-1,-1,-1,-1,-1,-1,15,-1\n"
23
23
 
24
- #: lib/gettext/rmsgmerge.rb:405
24
+ #: lib/gettext/rmsgmerge.rb:402
25
25
  msgid "Usage: %s def.po ref.pot [-o output.pot]"
26
26
  msgstr "Použití: %s def.po ref.pot [-o output.pot]"
27
27
 
28
- #: lib/gettext/rmsgmerge.rb:408
28
+ #: lib/gettext/rmsgmerge.rb:405
29
29
  msgid ""
30
30
  "Merges two Uniforum style .po files together. The def.po file is an existing "
31
31
  "PO file with translations. The ref.pot file is the last created PO file with "
@@ -36,26 +36,26 @@ msgstr ""
36
36
  "soubor s aktuálními zdrojovými referencemi. ref.pot je většinou vytvořen "
37
37
  "rgettextem."
38
38
 
39
- #: lib/gettext/rmsgmerge.rb:410 lib/gettext/rgettext.rb:132
39
+ #: lib/gettext/rmsgmerge.rb:407 lib/gettext/rgettext.rb:132
40
40
  #: lib/gettext/rmsgfmt.rb:50
41
41
  msgid "Specific options:"
42
42
  msgstr "Volby:"
43
43
 
44
- #: lib/gettext/rmsgmerge.rb:412 lib/gettext/rgettext.rb:134
44
+ #: lib/gettext/rmsgmerge.rb:409 lib/gettext/rgettext.rb:134
45
45
  #: lib/gettext/rmsgfmt.rb:52
46
46
  msgid "write output to specified file"
47
47
  msgstr "zapsat výstup od určeného souboru"
48
48
 
49
- #: lib/gettext/rmsgmerge.rb:423 lib/gettext/rgettext.rb:143
49
+ #: lib/gettext/rmsgmerge.rb:420 lib/gettext/rgettext.rb:143
50
50
  #: lib/gettext/rmsgfmt.rb:56
51
51
  msgid "display version information and exit"
52
52
  msgstr "zobrazit informaci o verzi a skončit"
53
53
 
54
- #: lib/gettext/rmsgmerge.rb:448
54
+ #: lib/gettext/rmsgmerge.rb:445
55
55
  msgid "definition po is not given."
56
56
  msgstr "definiční po soubor není zadán."
57
57
 
58
- #: lib/gettext/rmsgmerge.rb:450
58
+ #: lib/gettext/rmsgmerge.rb:447
59
59
  msgid "reference pot is not given."
60
60
  msgstr "referenční pot soubor není zadán."
61
61