gettext 3.4.8 → 3.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/doc/text/news.md +13 -0
  3. data/lib/gettext/po_entry.rb +23 -15
  4. data/lib/gettext/tools/msgcat.rb +9 -2
  5. data/lib/gettext/tools/msginit.rb +2 -2
  6. data/lib/gettext/tools/msgmerge.rb +11 -6
  7. data/lib/gettext/tools/parser/ruby.rb +13 -13
  8. data/lib/gettext/tools/xgettext.rb +9 -4
  9. data/lib/gettext/version.rb +2 -2
  10. data/locale/ja/LC_MESSAGES/gettext.mo +0 -0
  11. data/po/bg/gettext.edit.po +60 -56
  12. data/po/bg/gettext.po +3 -0
  13. data/po/bs/gettext.edit.po +60 -56
  14. data/po/bs/gettext.po +3 -0
  15. data/po/ca/gettext.edit.po +60 -56
  16. data/po/ca/gettext.po +3 -0
  17. data/po/cs/gettext.edit.po +60 -56
  18. data/po/cs/gettext.po +3 -0
  19. data/po/de/gettext.edit.po +60 -56
  20. data/po/de/gettext.po +3 -0
  21. data/po/el/gettext.edit.po +60 -56
  22. data/po/el/gettext.po +3 -0
  23. data/po/eo/gettext.edit.po +60 -56
  24. data/po/eo/gettext.po +3 -0
  25. data/po/es/gettext.edit.po +60 -56
  26. data/po/es/gettext.po +3 -0
  27. data/po/et/gettext.edit.po +60 -56
  28. data/po/et/gettext.po +3 -0
  29. data/po/fr/gettext.edit.po +60 -56
  30. data/po/fr/gettext.po +3 -0
  31. data/po/gettext.pot +72 -67
  32. data/po/hr/gettext.edit.po +60 -56
  33. data/po/hr/gettext.po +3 -0
  34. data/po/hu/gettext.edit.po +60 -56
  35. data/po/hu/gettext.po +3 -0
  36. data/po/it/gettext.edit.po +60 -56
  37. data/po/it/gettext.po +3 -0
  38. data/po/ja/gettext.edit.po +61 -57
  39. data/po/ja/gettext.po +4 -1
  40. data/po/ko/gettext.edit.po +60 -56
  41. data/po/ko/gettext.po +3 -0
  42. data/po/lv/gettext.edit.po +60 -56
  43. data/po/lv/gettext.po +3 -0
  44. data/po/nb/gettext.edit.po +60 -56
  45. data/po/nb/gettext.po +3 -0
  46. data/po/nl/gettext.edit.po +60 -56
  47. data/po/nl/gettext.po +3 -0
  48. data/po/pt_BR/gettext.edit.po +60 -56
  49. data/po/pt_BR/gettext.po +3 -0
  50. data/po/ru/gettext.edit.po +60 -56
  51. data/po/ru/gettext.po +3 -0
  52. data/po/sr/gettext.edit.po +60 -56
  53. data/po/sr/gettext.po +3 -0
  54. data/po/sv/gettext.edit.po +60 -56
  55. data/po/sv/gettext.po +3 -0
  56. data/po/uk/gettext.edit.po +60 -56
  57. data/po/uk/gettext.po +3 -0
  58. data/po/vi/gettext.edit.po +60 -56
  59. data/po/vi/gettext.po +3 -0
  60. data/po/zh/gettext.edit.po +60 -56
  61. data/po/zh/gettext.po +3 -0
  62. data/po/zh_TW/gettext.edit.po +60 -56
  63. data/po/zh_TW/gettext.po +3 -0
  64. data/test/locale/ja/LC_MESSAGES/_.mo +0 -0
  65. data/test/po/ja/_.edit.po +3 -3
  66. data/test/tools/test_msgcat.rb +21 -1
  67. data/test/tools/test_msginit.rb +9 -7
  68. data/test/tools/test_msgmerge.rb +41 -3
  69. data/test/tools/test_xgettext.rb +15 -3
  70. metadata +4 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 935189b8e4a67d110df2c1e21b89bab5f70057772c31861d58c1d71935e4ace3
4
- data.tar.gz: ee204b53fee909a7a23921a814fc3046312fe8fc6f3f576b7b883a2920896d02
3
+ metadata.gz: c98f2480f4c1bb4957ff7fc29f8a37d7c444217a40ea853a1bc3cf585fee4215
4
+ data.tar.gz: f70da1d0e9365abb49e896bcc85aa90456b9abfc86590d11c92d5ccc213c7acb
5
5
  SHA512:
6
- metadata.gz: a91c277a26e46db88ff1d67c85a2d0932a22cf0043d74cec373119dea8431614dfd35a2ddaef7ed18b557c07bdd27b60c3e8bf6fe79e7da80e42160f30883786
7
- data.tar.gz: 00cd6a8ba2be7a06b9b9c7d5d8cc6e5f92bfbe768a32237dfcb029a105cd1b6508db88fb8988027c639d7bc385f43246d79513d5d4cc912d5e632ecbb5014c28
6
+ metadata.gz: ef94936fb44a48b6569d899b8d3382073e49a2167b0b9ff906e26c8bf9cb8c4ff02869c742f453cd5ea5d33ccd4395b806385518b3422e7e7a9c4d6ed9894ee9
7
+ data.tar.gz: 5a53a44f5b8d637ee5f9f3ed816c14db49afdfaaeb53c24976e4c6cdeeee91221c9c5dd3312ae8c2a5fab283196ebcc2f9e0b7be791ec9f04c2a894e29a6c900
data/doc/text/news.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # News
2
2
 
3
+ ## 3.5.0: 2024-12-04 {#version-3-5-0}
4
+
5
+ ### Improvements
6
+
7
+ * Suppressed warnings with Ruby 3.4.0.
8
+
9
+ ## 3.4.9: 2023-10-22 {#version-3-4-9}
10
+
11
+ ### Improvements
12
+
13
+ * `rmsgcat`, `rmsgmerge`, `rxgettext`: Added
14
+ `--use-one-line-per-reference` option.
15
+
3
16
  ## 3.4.8: 2023-10-22 {#version-3-4-8}
4
17
 
5
18
  ### Fixes
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2012-2019 Sutou Kouhei <kou@clear-code.com>
1
+ # Copyright (C) 2012-2023 Sutou Kouhei <kou@clear-code.com>
2
2
  # Copyright (C) 2010 masone (Christian Felder) <ema@rh-productions.ch>
3
3
  # Copyright (C) 2009 Masao Mutoh
4
4
  #
@@ -282,6 +282,9 @@ module GetText
282
282
  # Wraps long lines that is longer than the `:max_line_width`.
283
283
  # Don't break long lines if `:max_line_width` is less than 0
284
284
  # such as `-1`.
285
+ # @option options [Bool] :use_one_line_per_reference (false)
286
+ # Whether each reference comment uses one line or not. If this
287
+ # is `true`, `:max_line_width` is ignored for reference comment.
285
288
  # @option options [Encoding] :encoding (nil)
286
289
  # Encodes to the specific encoding.
287
290
  def initialize(entry, options={})
@@ -405,24 +408,29 @@ module GetText
405
408
  end
406
409
 
407
410
  def format_reference_comment
408
- max_line_width = @options[:max_line_width]
409
411
  formatted_reference = String.new
410
- if not @entry.references.nil? and not @entry.references.empty?
411
- formatted_reference << REFERENCE_COMMENT_MARK
412
- line_width = 2
413
- @entry.references.each do |reference|
414
- if max_line_width > 0 and
412
+ if @options[:use_one_line_per_reference]
413
+ @entry.references&.each do |reference|
414
+ formatted_reference << "#{REFERENCE_COMMENT_MARK} #{reference}\n"
415
+ end
416
+ else
417
+ max_line_width = @options[:max_line_width]
418
+ if not @entry.references.nil? and not @entry.references.empty?
419
+ formatted_reference << REFERENCE_COMMENT_MARK
420
+ line_width = 2
421
+ @entry.references.each do |reference|
422
+ if max_line_width > 0 and
415
423
  line_width + reference.size > max_line_width
416
- formatted_reference << "\n"
417
- formatted_reference << "#{REFERENCE_COMMENT_MARK} #{reference}"
418
- line_width = 3 + reference.size
419
- else
420
- formatted_reference << " #{reference}"
421
- line_width += 1 + reference.size
424
+ formatted_reference << "\n"
425
+ formatted_reference << "#{REFERENCE_COMMENT_MARK} #{reference}"
426
+ line_width = 3 + reference.size
427
+ else
428
+ formatted_reference << " #{reference}"
429
+ line_width += 1 + reference.size
430
+ end
422
431
  end
432
+ formatted_reference << "\n"
423
433
  end
424
-
425
- formatted_reference << "\n"
426
434
  end
427
435
  formatted_reference
428
436
  end
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2014-2017 Kouhei Sutou <kou@clear-code.com>
1
+ # Copyright (C) 2014-2023 Sutou Kouhei <kou@clear-code.com>
2
2
  #
3
3
  # License: Ruby's or LGPL
4
4
  #
@@ -200,7 +200,8 @@ module GetText
200
200
  @output = nil
201
201
  @order = nil
202
202
  @po_format_options = {
203
- :max_line_width => POEntry::Formatter::DEFAULT_MAX_LINE_WIDTH,
203
+ max_line_width: POEntry::Formatter::DEFAULT_MAX_LINE_WIDTH,
204
+ use_one_line_per_reference: false,
204
205
  }
205
206
  @include_fuzzy = true
206
207
  @report_warning = true
@@ -322,6 +323,12 @@ module GetText
322
323
  @po_format_options[:max_line_width] = max_line_width
323
324
  end
324
325
 
326
+ parser.on("--[no-]use-one-line-per-reference",
327
+ _("Use one line for each reference comment"),
328
+ "(#{@po_format_options[:use_one_line_per_reference]})") do |use|
329
+ @po_format_options[:use_one_line_per_reference] = use
330
+ end
331
+
325
332
  parser.on("--no-fuzzy",
326
333
  _("Ignore fuzzy entries")) do |include_fuzzy|
327
334
  @include_fuzzy = include_fuzzy
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  #
3
3
  # Copyright (C) 2012 Haruka Yoshihara <yoshihara@clear-code.com>
4
- # Copyright (C) 2012-2021 Sutou Kouhei <kou@clear-code.com>
4
+ # Copyright (C) 2012-2024 Sutou Kouhei <kou@clear-code.com>
5
5
  #
6
6
  # License: Ruby's or LGPL
7
7
  #
@@ -416,7 +416,7 @@ module GetText
416
416
  n_plurals += 1
417
417
  conditions << condition
418
418
  end
419
- expression = ""
419
+ expression = +""
420
420
  case conditions.size
421
421
  when 0
422
422
  expression << "0"
@@ -1,9 +1,7 @@
1
- # -*- coding: utf-8 -*-
2
- #
3
1
  # Copyright (C) 2012-2013 Haruka Yoshihara <yoshihara@clear-code.com>
4
- # Copyright (C) 2012-2015 Kouhei Sutou <kou@clear-code.com>
5
- # Copyright (C) 2005-2009 Masao Mutoh
6
- # Copyright (C) 2005,2006 speakillof
2
+ # Copyright (C) 2012-2023 Sutou Kouhei <kou@clear-code.com>
3
+ # Copyright (C) 2005-2009 Masao Mutoh
4
+ # Copyright (C) 2005,2006 speakillof
7
5
  #
8
6
  # License: Ruby's or LGPL
9
7
  #
@@ -310,7 +308,8 @@ module GetText
310
308
  @output = nil
311
309
  @order = :reference
312
310
  @po_format_options = {
313
- :max_line_width => POEntry::Formatter::DEFAULT_MAX_LINE_WIDTH,
311
+ max_line_width: POEntry::Formatter::DEFAULT_MAX_LINE_WIDTH,
312
+ use_one_line_per_reference: false,
314
313
  }
315
314
  @enable_fuzzy_matching = true
316
315
  @update = nil
@@ -424,6 +423,12 @@ module GetText
424
423
  @po_format_options[:max_line_width] = max_line_width
425
424
  end
426
425
 
426
+ parser.on("--[no-]use-one-line-per-reference",
427
+ _("Use one line for each reference comment"),
428
+ "(#{@po_format_options[:use_one_line_per_reference]})") do |use|
429
+ @po_format_options[:use_one_line_per_reference] = use
430
+ end
431
+
427
432
  parser.on("--[no-]fuzzy-matching",
428
433
  _("Disable fuzzy matching"),
429
434
  _("(enable)")) do |boolean|
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  parser/ruby.rb - parser for ruby script
3
3
 
4
- Copyright (C) 2013-2021 Sutou Kouhei <kou@clear-code.com>
4
+ Copyright (C) 2013-2024 Sutou Kouhei <kou@clear-code.com>
5
5
  Copyright (C) 2003-2009 Masao Mutoh
6
6
  Copyright (C) 2005 speakillof
7
7
  Copyright (C) 2001,2002 Yasushi Shoji, Masao Mutoh
@@ -36,7 +36,7 @@ module GetText
36
36
  @current_po_entry_nth_attribute = 0
37
37
  @use_comment = false
38
38
  @comment_tag = nil
39
- @last_comment = ""
39
+ @last_comment = +""
40
40
  @reset_comment = false
41
41
  @string_mark_stack = []
42
42
  @string_stack = []
@@ -86,7 +86,7 @@ module GetText
86
86
  end
87
87
  if @current_po_entry
88
88
  @current_po_entry.add_comment(@last_comment) unless @last_comment.empty?
89
- @last_comment = ""
89
+ @last_comment = +""
90
90
  @current_po_entry.references << "#{filename}:#{lineno}"
91
91
  @current_po_entry_nth_attribute = 0
92
92
  end
@@ -104,7 +104,7 @@ module GetText
104
104
  end
105
105
 
106
106
  def process_on_comment(token, po)
107
- @last_comment = "" if @reset_comment
107
+ @last_comment = +"" if @reset_comment
108
108
  @reset_comment = false
109
109
  if @last_comment.empty?
110
110
  content = token.gsub(/\A#\s*/, "").chomp
@@ -133,7 +133,7 @@ module GetText
133
133
  else
134
134
  @string_mark_stack << token
135
135
  end
136
- @string_stack << ""
136
+ @string_stack << +""
137
137
  po
138
138
  end
139
139
 
@@ -192,7 +192,7 @@ module GetText
192
192
  else
193
193
  @string_mark_stack << "\""
194
194
  end
195
- @string_stack << ""
195
+ @string_stack << +""
196
196
  po
197
197
  end
198
198
 
@@ -202,7 +202,7 @@ module GetText
202
202
 
203
203
  def process_on_regexp_beg(token, po)
204
204
  @string_mark_stack << "\""
205
- @string_stack << ""
205
+ @string_stack << +""
206
206
  po
207
207
  end
208
208
 
@@ -245,38 +245,38 @@ module GetText
245
245
  def process_on_symbeg(token, po)
246
246
  if token.start_with?("%s") or [":'", ":\""].include?(token)
247
247
  @string_mark_stack << ":"
248
- @string_stack << ""
248
+ @string_stack << +""
249
249
  end
250
250
  po
251
251
  end
252
252
 
253
253
  def process_on_backtick(token, po)
254
254
  @string_mark_stack << "`"
255
- @string_stack << ""
255
+ @string_stack << +""
256
256
  po
257
257
  end
258
258
 
259
259
  def process_on_symbols_beg(token, po)
260
260
  @string_mark_stack << "\""
261
- @string_stack << ""
261
+ @string_stack << +""
262
262
  po
263
263
  end
264
264
 
265
265
  def process_on_qsymbols_beg(token, po)
266
266
  @string_mark_stack << token
267
- @string_stack << ""
267
+ @string_stack << +""
268
268
  po
269
269
  end
270
270
 
271
271
  def process_on_words_beg(token, po)
272
272
  @string_mark_stack << "\""
273
- @string_stack << ""
273
+ @string_stack << +""
274
274
  po
275
275
  end
276
276
 
277
277
  def process_on_qwords_beg(token, po)
278
278
  @string_mark_stack << token
279
- @string_stack << ""
279
+ @string_stack << +""
280
280
  po
281
281
  end
282
282
 
@@ -1,7 +1,5 @@
1
- # -*- coding: utf-8 -*-
2
- #
3
1
  # Copyright (C) 2012 Haruka Yoshihara <yoshihara@clear-code.com>
4
- # Copyright (C) 2012-2014 Kouhei Sutou <kou@clear-code.com>
2
+ # Copyright (C) 2012-2023 Sutou Kouhei <kou@clear-code.com>
5
3
  # Copyright (C) 2003-2010 Masao Mutoh
6
4
  # Copyright (C) 2001,2002 Yasushi Shoji, Masao Mutoh
7
5
  #
@@ -90,7 +88,8 @@ module GetText
90
88
 
91
89
  @po_order = :references
92
90
  @po_format_options = {
93
- :max_line_width => POEntry::Formatter::DEFAULT_MAX_LINE_WIDTH,
91
+ max_line_width: POEntry::Formatter::DEFAULT_MAX_LINE_WIDTH,
92
+ use_one_line_per_reference: false,
94
93
  }
95
94
  end
96
95
 
@@ -325,6 +324,12 @@ Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;
325
324
  @po_format_options[:max_line_width] = max_line_width
326
325
  end
327
326
 
327
+ parser.on("--[no-]use-one-line-per-reference",
328
+ _("Use one line for each reference comment"),
329
+ "(#{@po_format_options[:use_one_line_per_reference]})") do |use|
330
+ @po_format_options[:use_one_line_per_reference] = use
331
+ end
332
+
328
333
  parser.on("-r", "--require=library",
329
334
  _("require the library before executing xgettext")) do |out|
330
335
  require out
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  version - version information of gettext
3
3
 
4
- Copyright (C) 2012-2023 Sutou Kouhei <kou@clear-code.com>
4
+ Copyright (C) 2012-2024 Sutou Kouhei <kou@clear-code.com>
5
5
  Copyright (C) 2005-2009 Masao Mutoh
6
6
 
7
7
  You may redistribute it and/or modify it under the same
@@ -9,5 +9,5 @@
9
9
  =end
10
10
 
11
11
  module GetText
12
- VERSION = "3.4.8"
12
+ VERSION = "3.5.0"
13
13
  end
Binary file
@@ -27,99 +27,103 @@ msgstr "Третият параметър е грешен: value = %{number}"
27
27
  msgid "ngettext: 3rd parameter should be a number, not nil."
28
28
  msgstr ""
29
29
 
30
- #: ../lib/gettext/tools/msgcat.rb:242
30
+ #: ../lib/gettext/tools/msgcat.rb:243
31
31
  msgid "Usage: %s [OPTIONS] PO_FILE1 PO_FILE2 ..."
32
32
  msgstr ""
33
33
 
34
- #: ../lib/gettext/tools/msgcat.rb:244
34
+ #: ../lib/gettext/tools/msgcat.rb:245
35
35
  msgid "Concatenates and merges PO files."
36
36
  msgstr ""
37
37
 
38
- #: ../lib/gettext/tools/msgcat.rb:246 ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:98 ../lib/gettext/tools/msgmerge.rb:369 ../lib/gettext/tools/xgettext.rb:248
38
+ #: ../lib/gettext/tools/msgcat.rb:247 ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:98 ../lib/gettext/tools/msgmerge.rb:368 ../lib/gettext/tools/xgettext.rb:247
39
39
  msgid "Specific options:"
40
40
  msgstr "Специфични опции:"
41
41
 
42
- #: ../lib/gettext/tools/msgcat.rb:249 ../lib/gettext/tools/msgmerge.rb:377
42
+ #: ../lib/gettext/tools/msgcat.rb:250 ../lib/gettext/tools/msgmerge.rb:376
43
43
  msgid "Write output to specified file"
44
44
  msgstr "изходът беше записан в зададения файл"
45
45
 
46
- #: ../lib/gettext/tools/msgcat.rb:250
46
+ #: ../lib/gettext/tools/msgcat.rb:251
47
47
  msgid "(default: the standard output)"
48
48
  msgstr ""
49
49
 
50
- #: ../lib/gettext/tools/msgcat.rb:255 ../lib/gettext/tools/msgcat.rb:272 ../lib/gettext/tools/msgmerge.rb:382 ../lib/gettext/tools/msgmerge.rb:401 ../lib/gettext/tools/xgettext.rb:302
50
+ #: ../lib/gettext/tools/msgcat.rb:256 ../lib/gettext/tools/msgcat.rb:273 ../lib/gettext/tools/msgmerge.rb:381 ../lib/gettext/tools/msgmerge.rb:400 ../lib/gettext/tools/xgettext.rb:301
51
51
  msgid "Sort output by msgid"
52
52
  msgstr ""
53
53
 
54
- #: ../lib/gettext/tools/msgcat.rb:260 ../lib/gettext/tools/msgcat.rb:265 ../lib/gettext/tools/msgmerge.rb:389 ../lib/gettext/tools/msgmerge.rb:396
54
+ #: ../lib/gettext/tools/msgcat.rb:261 ../lib/gettext/tools/msgcat.rb:266 ../lib/gettext/tools/msgmerge.rb:388 ../lib/gettext/tools/msgmerge.rb:395
55
55
  msgid "Sort output by location"
56
56
  msgstr ""
57
57
 
58
- #: ../lib/gettext/tools/msgcat.rb:266 ../lib/gettext/tools/msgmerge.rb:390
58
+ #: ../lib/gettext/tools/msgcat.rb:267 ../lib/gettext/tools/msgmerge.rb:389
59
59
  msgid "It is same as --sort-by-location"
60
60
  msgstr ""
61
61
 
62
- #: ../lib/gettext/tools/msgcat.rb:267 ../lib/gettext/tools/msgcat.rb:274 ../lib/gettext/tools/msgmerge.rb:384 ../lib/gettext/tools/msgmerge.rb:391
62
+ #: ../lib/gettext/tools/msgcat.rb:268 ../lib/gettext/tools/msgcat.rb:275 ../lib/gettext/tools/msgmerge.rb:383 ../lib/gettext/tools/msgmerge.rb:390
63
63
  msgid "Just for GNU gettext's msgcat compatibility"
64
64
  msgstr ""
65
65
 
66
- #: ../lib/gettext/tools/msgcat.rb:273 ../lib/gettext/tools/msgmerge.rb:383
66
+ #: ../lib/gettext/tools/msgcat.rb:274 ../lib/gettext/tools/msgmerge.rb:382
67
67
  msgid "It is same as --sort-by-msgid"
68
68
  msgstr ""
69
69
 
70
- #: ../lib/gettext/tools/msgcat.rb:279
70
+ #: ../lib/gettext/tools/msgcat.rb:280
71
71
  msgid "Remove location information"
72
72
  msgstr ""
73
73
 
74
- #: ../lib/gettext/tools/msgcat.rb:284
74
+ #: ../lib/gettext/tools/msgcat.rb:285
75
75
  msgid "Remove translator comment"
76
76
  msgstr ""
77
77
 
78
- #: ../lib/gettext/tools/msgcat.rb:289
78
+ #: ../lib/gettext/tools/msgcat.rb:290
79
79
  msgid "Remove extracted comment"
80
80
  msgstr ""
81
81
 
82
- #: ../lib/gettext/tools/msgcat.rb:294
82
+ #: ../lib/gettext/tools/msgcat.rb:295
83
83
  msgid "Remove flag comment"
84
84
  msgstr ""
85
85
 
86
- #: ../lib/gettext/tools/msgcat.rb:299
86
+ #: ../lib/gettext/tools/msgcat.rb:300
87
87
  msgid "Remove previous comment"
88
88
  msgstr ""
89
89
 
90
- #: ../lib/gettext/tools/msgcat.rb:304
90
+ #: ../lib/gettext/tools/msgcat.rb:305
91
91
  msgid "Remove all comments"
92
92
  msgstr ""
93
93
 
94
- #: ../lib/gettext/tools/msgcat.rb:309 ../lib/gettext/tools/msgmerge.rb:411 ../lib/gettext/tools/xgettext.rb:312
94
+ #: ../lib/gettext/tools/msgcat.rb:310 ../lib/gettext/tools/msgmerge.rb:410 ../lib/gettext/tools/xgettext.rb:311
95
95
  msgid "Set output page width"
96
96
  msgstr ""
97
97
 
98
- #: ../lib/gettext/tools/msgcat.rb:315 ../lib/gettext/tools/msgmerge.rb:417 ../lib/gettext/tools/xgettext.rb:318
98
+ #: ../lib/gettext/tools/msgcat.rb:316 ../lib/gettext/tools/msgmerge.rb:416 ../lib/gettext/tools/xgettext.rb:317
99
99
  msgid "Break long message lines, longer than the output page width, into several lines"
100
100
  msgstr ""
101
101
 
102
- #: ../lib/gettext/tools/msgcat.rb:326
102
+ #: ../lib/gettext/tools/msgcat.rb:327 ../lib/gettext/tools/msgmerge.rb:427 ../lib/gettext/tools/xgettext.rb:328
103
+ msgid "Use one line for each reference comment"
104
+ msgstr ""
105
+
106
+ #: ../lib/gettext/tools/msgcat.rb:333
103
107
  msgid "Ignore fuzzy entries"
104
108
  msgstr ""
105
109
 
106
- #: ../lib/gettext/tools/msgcat.rb:331 ../lib/gettext/tools/msgmerge.rb:434
110
+ #: ../lib/gettext/tools/msgcat.rb:338 ../lib/gettext/tools/msgmerge.rb:439
107
111
  msgid "Don't report warning messages"
108
112
  msgstr ""
109
113
 
110
- #: ../lib/gettext/tools/msgcat.rb:336 ../lib/gettext/tools/msgmerge.rb:439
114
+ #: ../lib/gettext/tools/msgcat.rb:343 ../lib/gettext/tools/msgmerge.rb:444
111
115
  msgid "Don't output obsolete entries"
112
116
  msgstr ""
113
117
 
114
- #: ../lib/gettext/tools/msgcat.rb:341
118
+ #: ../lib/gettext/tools/msgcat.rb:348
115
119
  msgid "Update PO-Revision-Date header field"
116
120
  msgstr ""
117
121
 
118
- #: ../lib/gettext/tools/msgcat.rb:346
122
+ #: ../lib/gettext/tools/msgcat.rb:353
119
123
  msgid "Remove FIELD from header"
120
124
  msgstr ""
121
125
 
122
- #: ../lib/gettext/tools/msgcat.rb:347
126
+ #: ../lib/gettext/tools/msgcat.rb:354
123
127
  msgid "Specify this option multiple times to remove multiple header fields"
124
128
  msgstr ""
125
129
 
@@ -135,11 +139,11 @@ msgstr "Употреба: %s input.po [-o output.mo]"
135
139
  msgid "Generate binary message catalog from textual translation description."
136
140
  msgstr "Генериране на двоични файлове с преводите от текстовите описания."
137
141
 
138
- #: ../lib/gettext/tools/msgfmt.rb:89 ../lib/gettext/tools/xgettext.rb:251
142
+ #: ../lib/gettext/tools/msgfmt.rb:89 ../lib/gettext/tools/xgettext.rb:250
139
143
  msgid "write output to specified file"
140
144
  msgstr "изходът беше записан в зададения файл"
141
145
 
142
- #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:355
146
+ #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:360
143
147
  msgid "display version information and exit"
144
148
  msgstr "показване на версията и изход"
145
149
 
@@ -175,7 +179,7 @@ msgstr ""
175
179
  msgid "Use EMAIL as translator email address"
176
180
  msgstr ""
177
181
 
178
- #: ../lib/gettext/tools/msginit.rb:137 ../lib/gettext/tools/msgmerge.rb:443
182
+ #: ../lib/gettext/tools/msginit.rb:137 ../lib/gettext/tools/msgmerge.rb:448
179
183
  msgid "Display this help and exit"
180
184
  msgstr ""
181
185
 
@@ -207,118 +211,118 @@ msgstr ""
207
211
  msgid "Please enter your email address"
208
212
  msgstr ""
209
213
 
210
- #: ../lib/gettext/tools/msgmerge.rb:358
214
+ #: ../lib/gettext/tools/msgmerge.rb:357
211
215
  msgid "Usage: %s [OPTIONS] definition.po reference.pot"
212
216
  msgstr ""
213
217
 
214
- #: ../lib/gettext/tools/msgmerge.rb:361
218
+ #: ../lib/gettext/tools/msgmerge.rb:360
215
219
  msgid "Merges two Uniforum style .po files together. The definition.po file is an existing PO file with translations. The reference.pot file is the last created PO file with up-to-date source references. The reference.pot is generally created by rxgettext."
216
220
  msgstr "Слива два Uniforum .pо файла. definition.po е съществуващ PO файл с преводи. reference.pot е пресен PO файл с актуални референции към кода. reference.pot обикновено е създаден от rgettext."
217
221
 
218
- #: ../lib/gettext/tools/msgmerge.rb:372
222
+ #: ../lib/gettext/tools/msgmerge.rb:371
219
223
  msgid "Update definition.po"
220
224
  msgstr ""
221
225
 
222
- #: ../lib/gettext/tools/msgmerge.rb:406 ../lib/gettext/tools/xgettext.rb:307
226
+ #: ../lib/gettext/tools/msgmerge.rb:405 ../lib/gettext/tools/xgettext.rb:306
223
227
  msgid "Preserve '#: FILENAME:LINE' lines"
224
228
  msgstr ""
225
229
 
226
- #: ../lib/gettext/tools/msgmerge.rb:428
230
+ #: ../lib/gettext/tools/msgmerge.rb:433
227
231
  msgid "Disable fuzzy matching"
228
232
  msgstr ""
229
233
 
230
- #: ../lib/gettext/tools/msgmerge.rb:429
234
+ #: ../lib/gettext/tools/msgmerge.rb:434
231
235
  msgid "(enable)"
232
236
  msgstr ""
233
237
 
234
- #: ../lib/gettext/tools/msgmerge.rb:449
238
+ #: ../lib/gettext/tools/msgmerge.rb:454
235
239
  msgid "Display version information and exit"
236
240
  msgstr "показване на версията и изход"
237
241
 
238
- #: ../lib/gettext/tools/xgettext.rb:65
242
+ #: ../lib/gettext/tools/xgettext.rb:63
239
243
  msgid "'%{klass}' is ignored."
240
244
  msgstr "'%{klass}' беше игнориран."
241
245
 
242
- #: ../lib/gettext/tools/xgettext.rb:170
246
+ #: ../lib/gettext/tools/xgettext.rb:169
243
247
  msgid "Error parsing %{path}"
244
248
  msgstr ""
245
249
 
246
- #: ../lib/gettext/tools/xgettext.rb:229
250
+ #: ../lib/gettext/tools/xgettext.rb:228
247
251
  msgid "no input files"
248
252
  msgstr "няма зададени файлове"
249
253
 
250
- #: ../lib/gettext/tools/xgettext.rb:242
254
+ #: ../lib/gettext/tools/xgettext.rb:241
251
255
  msgid "Usage: %s input.rb [-r parser.rb] [-o output.pot]"
252
256
  msgstr "Употреба: %s input.rb [-r parser.rb] [-o output.pot] "
253
257
 
254
- #: ../lib/gettext/tools/xgettext.rb:245
258
+ #: ../lib/gettext/tools/xgettext.rb:244
255
259
  msgid "Extract translatable strings from given input files."
256
260
  msgstr "Извличане на преводните низове от зададените файлове."
257
261
 
258
- #: ../lib/gettext/tools/xgettext.rb:256
262
+ #: ../lib/gettext/tools/xgettext.rb:255
259
263
  msgid "set package name in output"
260
264
  msgstr ""
261
265
 
262
- #: ../lib/gettext/tools/xgettext.rb:262
266
+ #: ../lib/gettext/tools/xgettext.rb:261
263
267
  msgid "set package version in output"
264
268
  msgstr ""
265
269
 
266
- #: ../lib/gettext/tools/xgettext.rb:268
270
+ #: ../lib/gettext/tools/xgettext.rb:267
267
271
  msgid "set report e-mail address for msgid bugs"
268
272
  msgstr ""
269
273
 
270
- #: ../lib/gettext/tools/xgettext.rb:274
274
+ #: ../lib/gettext/tools/xgettext.rb:273
271
275
  msgid "set copyright holder in output"
272
276
  msgstr ""
273
277
 
274
- #: ../lib/gettext/tools/xgettext.rb:280
278
+ #: ../lib/gettext/tools/xgettext.rb:279
275
279
  msgid "set copyright year in output"
276
280
  msgstr ""
277
281
 
278
- #: ../lib/gettext/tools/xgettext.rb:286
282
+ #: ../lib/gettext/tools/xgettext.rb:285
279
283
  msgid "set encoding for output"
280
284
  msgstr ""
281
285
 
282
- #: ../lib/gettext/tools/xgettext.rb:292
286
+ #: ../lib/gettext/tools/xgettext.rb:291
283
287
  msgid "Generate sorted output"
284
288
  msgstr ""
285
289
 
286
- #: ../lib/gettext/tools/xgettext.rb:297
290
+ #: ../lib/gettext/tools/xgettext.rb:296
287
291
  msgid "Sort output by file location"
288
292
  msgstr ""
289
293
 
290
- #: ../lib/gettext/tools/xgettext.rb:329
294
+ #: ../lib/gettext/tools/xgettext.rb:334
291
295
  msgid "require the library before executing xgettext"
292
296
  msgstr "заредете библиотеката с require преди да изпълните rgettext"
293
297
 
294
- #: ../lib/gettext/tools/xgettext.rb:334
298
+ #: ../lib/gettext/tools/xgettext.rb:339
295
299
  msgid "Add PARSER to parser list for xgettext"
296
300
  msgstr ""
297
301
 
298
- #: ../lib/gettext/tools/xgettext.rb:340
302
+ #: ../lib/gettext/tools/xgettext.rb:345
299
303
  msgid "If TAG is specified, place comment blocks starting with TAG and precedding keyword lines in output file"
300
304
  msgstr ""
301
305
 
302
- #: ../lib/gettext/tools/xgettext.rb:341
306
+ #: ../lib/gettext/tools/xgettext.rb:346
303
307
  msgid "If TAG is not specified, place all comment blocks preceing keyword lines in output file"
304
308
  msgstr ""
305
309
 
306
- #: ../lib/gettext/tools/xgettext.rb:342
310
+ #: ../lib/gettext/tools/xgettext.rb:347
307
311
  msgid "(default: %s)"
308
312
  msgstr ""
309
313
 
310
- #: ../lib/gettext/tools/xgettext.rb:342
314
+ #: ../lib/gettext/tools/xgettext.rb:347
311
315
  msgid "no TAG"
312
316
  msgstr ""
313
317
 
314
- #: ../lib/gettext/tools/xgettext.rb:346
318
+ #: ../lib/gettext/tools/xgettext.rb:351
315
319
  msgid "run in debugging mode"
316
320
  msgstr "изпълнение в режим на дебъгване"
317
321
 
318
- #: ../lib/gettext/tools/xgettext.rb:350
322
+ #: ../lib/gettext/tools/xgettext.rb:355
319
323
  msgid "display this help and exit"
320
324
  msgstr "показване на версията и изход"
321
325
 
322
- #: ../lib/gettext/tools/xgettext.rb:381
326
+ #: ../lib/gettext/tools/xgettext.rb:386
323
327
  msgid "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") doesn't returns empty string but the header entry in po file."
324
328
  msgstr ""
data/po/bg/gettext.po CHANGED
@@ -81,6 +81,9 @@ msgid ""
81
81
  "s"
82
82
  msgstr ""
83
83
 
84
+ msgid "Use one line for each reference comment"
85
+ msgstr ""
86
+
84
87
  msgid "Ignore fuzzy entries"
85
88
  msgstr ""
86
89