gettext 3.4.2 → 3.4.4

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 (141) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -3
  3. data/doc/text/news.md +18 -0
  4. data/gettext.gemspec +2 -1
  5. data/lib/gettext/po_parser.rb +13 -13
  6. data/lib/gettext/tools/parser/erubi.rb +88 -0
  7. data/lib/gettext/tools/xgettext.rb +6 -0
  8. data/lib/gettext/version.rb +2 -2
  9. data/locale/ja/LC_MESSAGES/gettext.mo +0 -0
  10. data/po/bg/gettext.edit.po +11 -10
  11. data/po/bg/gettext.po +3 -0
  12. data/po/bs/gettext.edit.po +11 -10
  13. data/po/bs/gettext.po +3 -0
  14. data/po/ca/gettext.edit.po +11 -10
  15. data/po/ca/gettext.po +3 -0
  16. data/po/cs/gettext.edit.po +11 -10
  17. data/po/cs/gettext.po +3 -0
  18. data/po/de/gettext.edit.po +11 -10
  19. data/po/de/gettext.po +3 -0
  20. data/po/el/gettext.edit.po +11 -10
  21. data/po/el/gettext.po +3 -0
  22. data/po/eo/gettext.edit.po +11 -10
  23. data/po/eo/gettext.po +3 -0
  24. data/po/es/gettext.edit.po +11 -10
  25. data/po/es/gettext.po +3 -0
  26. data/po/et/gettext.edit.po +11 -10
  27. data/po/et/gettext.po +3 -0
  28. data/po/fr/gettext.edit.po +11 -10
  29. data/po/fr/gettext.po +3 -0
  30. data/po/gettext.pot +14 -10
  31. data/po/hr/gettext.edit.po +11 -10
  32. data/po/hr/gettext.po +3 -0
  33. data/po/hu/gettext.edit.po +11 -10
  34. data/po/hu/gettext.po +3 -0
  35. data/po/it/gettext.edit.po +11 -10
  36. data/po/it/gettext.po +3 -0
  37. data/po/ja/gettext.edit.po +12 -11
  38. data/po/ja/gettext.po +4 -1
  39. data/po/ko/gettext.edit.po +11 -10
  40. data/po/ko/gettext.po +3 -0
  41. data/po/lv/gettext.edit.po +11 -10
  42. data/po/lv/gettext.po +3 -0
  43. data/po/nb/gettext.edit.po +11 -10
  44. data/po/nb/gettext.po +3 -0
  45. data/po/nl/gettext.edit.po +11 -10
  46. data/po/nl/gettext.po +3 -0
  47. data/po/pt_BR/gettext.edit.po +11 -10
  48. data/po/pt_BR/gettext.po +3 -0
  49. data/po/ru/gettext.edit.po +11 -10
  50. data/po/ru/gettext.po +3 -0
  51. data/po/sr/gettext.edit.po +11 -10
  52. data/po/sr/gettext.po +3 -0
  53. data/po/sv/gettext.edit.po +11 -7
  54. data/po/sv/gettext.po +3 -0
  55. data/po/uk/gettext.edit.po +11 -10
  56. data/po/uk/gettext.po +3 -0
  57. data/po/vi/gettext.edit.po +11 -10
  58. data/po/vi/gettext.po +3 -0
  59. data/po/zh/gettext.edit.po +11 -10
  60. data/po/zh/gettext.po +3 -0
  61. data/po/zh_TW/gettext.edit.po +11 -10
  62. data/po/zh_TW/gettext.po +3 -0
  63. data/samples/cgi/po/helloerb1.pot +3 -3
  64. data/samples/cgi/po/helloerb2.pot +3 -3
  65. data/samples/cgi/po/hellolib.pot +3 -3
  66. data/samples/cgi/po/main.pot +3 -3
  67. data/samples/po/bg/hello_gtk_builder.edit.po +15 -0
  68. data/samples/po/bg/hello_gtk_builder.po +12 -0
  69. data/samples/po/bs/hello_gtk_builder.edit.po +15 -0
  70. data/samples/po/bs/hello_gtk_builder.po +12 -0
  71. data/samples/po/ca/hello_gtk_builder.edit.po +15 -0
  72. data/samples/po/ca/hello_gtk_builder.po +12 -0
  73. data/samples/po/cs/hello_gtk_builder.edit.po +15 -0
  74. data/samples/po/cs/hello_gtk_builder.po +12 -0
  75. data/samples/po/de/hello_gtk_builder.edit.po +15 -0
  76. data/samples/po/de/hello_gtk_builder.po +12 -0
  77. data/samples/po/el/hello_gtk_builder.edit.po +15 -0
  78. data/samples/po/el/hello_gtk_builder.po +12 -0
  79. data/samples/po/eo/hello_gtk_builder.edit.po +15 -0
  80. data/samples/po/eo/hello_gtk_builder.po +12 -0
  81. data/samples/po/es/hello_gtk_builder.edit.po +15 -0
  82. data/samples/po/es/hello_gtk_builder.po +12 -0
  83. data/samples/po/fr/hello_gtk_builder.edit.po +15 -0
  84. data/samples/po/fr/hello_gtk_builder.po +12 -0
  85. data/samples/po/hello.pot +3 -3
  86. data/samples/po/hello2.pot +4 -4
  87. data/samples/po/hello_glade2.pot +8 -5
  88. data/samples/po/hello_gtk2.pot +4 -4
  89. data/samples/po/hello_gtk_builder.pot +18 -4
  90. data/samples/po/hello_noop.pot +4 -4
  91. data/samples/po/hello_plural.pot +4 -4
  92. data/samples/po/hello_tk.pot +4 -4
  93. data/samples/po/hr/hello_gtk_builder.edit.po +15 -0
  94. data/samples/po/hr/hello_gtk_builder.po +12 -0
  95. data/samples/po/hu/hello_gtk_builder.edit.po +15 -0
  96. data/samples/po/hu/hello_gtk_builder.po +12 -0
  97. data/samples/po/it/hello_gtk_builder.edit.po +15 -0
  98. data/samples/po/it/hello_gtk_builder.po +12 -0
  99. data/samples/po/ja/hello_gtk_builder.edit.po +15 -0
  100. data/samples/po/ja/hello_gtk_builder.po +12 -0
  101. data/samples/po/ko/hello_gtk_builder.edit.po +15 -0
  102. data/samples/po/ko/hello_gtk_builder.po +12 -0
  103. data/samples/po/lv/hello_gtk_builder.edit.po +15 -0
  104. data/samples/po/lv/hello_gtk_builder.po +12 -0
  105. data/samples/po/nb/hello_gtk_builder.edit.po +15 -0
  106. data/samples/po/nb/hello_gtk_builder.po +12 -0
  107. data/samples/po/nl/hello_gtk_builder.edit.po +15 -0
  108. data/samples/po/nl/hello_gtk_builder.po +12 -0
  109. data/samples/po/pt_BR/hello_gtk_builder.edit.po +15 -0
  110. data/samples/po/pt_BR/hello_gtk_builder.po +12 -0
  111. data/samples/po/ru/hello_gtk_builder.edit.po +15 -0
  112. data/samples/po/ru/hello_gtk_builder.po +12 -0
  113. data/samples/po/sr/hello_gtk_builder.edit.po +15 -0
  114. data/samples/po/sr/hello_gtk_builder.po +12 -0
  115. data/samples/po/sv/hello_gtk_builder.edit.po +15 -0
  116. data/samples/po/sv/hello_gtk_builder.po +12 -0
  117. data/samples/po/uk/hello_gtk_builder.edit.po +15 -0
  118. data/samples/po/uk/hello_gtk_builder.po +12 -0
  119. data/samples/po/vi/hello_gtk_builder.edit.po +15 -0
  120. data/samples/po/vi/hello_gtk_builder.po +12 -0
  121. data/samples/po/zh/hello_gtk_builder.edit.po +15 -0
  122. data/samples/po/zh/hello_gtk_builder.po +12 -0
  123. data/samples/po/zh_TW/hello_gtk_builder.edit.po +15 -0
  124. data/samples/po/zh_TW/hello_gtk_builder.po +12 -0
  125. data/test/fixtures/erb/case.rhtml +16 -0
  126. data/test/po/_.pot +3 -3
  127. data/test/po/backslash.pot +6 -4
  128. data/test/po/hello.pot +3 -3
  129. data/test/po/ja/_.po +15 -0
  130. data/test/po/ja/hello.edit.po +0 -1
  131. data/test/po/non_ascii.pot +4 -4
  132. data/test/po/np_.pot +3 -3
  133. data/test/po/ns_.pot +3 -3
  134. data/test/po/p_.pot +3 -3
  135. data/test/po/s_.pot +3 -3
  136. data/test/po/untranslated.pot +4 -4
  137. data/test/test_parser.rb +62 -0
  138. data/test/tools/test_msginit.rb +2 -2
  139. data/test/tools/test_xgettext.rb +85 -0
  140. metadata +30 -15
  141. data/test/fixtures/gtk_builder_ui_definitions.ui~ +0 -68
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b06a32f776c073ec316860952a830ed9941ce67ab34b0e1f111f1009ba8842d
4
- data.tar.gz: 9736e8cf70f1faeb97daed575e020e3edd2bd76daab2f069cfaf103dbb0e51e6
3
+ metadata.gz: '08ec1d309ee833a5038abf2d2e442006d05be64ac85d270a5ebc0f975049e156'
4
+ data.tar.gz: ab50d773df116c00aa0b02ef6d13dfb5f375e481cbaafef29a6415c9892f4949
5
5
  SHA512:
6
- metadata.gz: f3480005cc4f1a84ef2fbf53c25c5d198b871b5fed9885f4fd352a90815d78ad0bde1c76234fa5f10809c5b0c35e8f9c1518a51ec963e24d95fc7fd98b5ccecf
7
- data.tar.gz: fc670a833c0d30e6d3c36b086e9298a39145ca105c9134a12667343f4c863a978b5820ef6c08b0dad35efd7a6a223c677d9085106d4f72241b0f8a0079196575
6
+ metadata.gz: '0590096a216d72fc22176eab9b266c8acecce48375dc123f53cdc64f606d4310061f2d794ad011daaab5574e3f70654580e6c085f3d865eaa4f7acd9fd283636'
7
+ data.tar.gz: 31d4038bdd98dfbb04c7d62c31099645cdd053341a1b2ef532cf46473352de8278aef615d47ca8c23d00047479a578a8c47e42715c2788ece1d0b52f8c235e36
data/Rakefile CHANGED
@@ -56,12 +56,10 @@ file po_parser_rb_path => po_parser_ry_path do
56
56
 
57
57
  File.open(po_parser_rb_path, "w") do |po_parser_rb|
58
58
  po_parser_rb.puts(<<-EOH)
59
- # -*- coding: utf-8 -*-
60
- #
61
59
  # po_parser.rb - Generate a .mo
62
60
  #
63
61
  # Copyright (C) 2003-2009 Masao Mutoh <mutomasa at gmail.com>
64
- # Copyright (C) 2012 Kouhei Sutou <kou@clear-code.com>
62
+ # Copyright (C) 2012-2023 Sutou Kouhei <kou@clear-code.com>
65
63
  #
66
64
  # You may redistribute it and/or modify it under the same
67
65
  # license terms as Ruby or LGPL.
data/doc/text/news.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # News
2
2
 
3
+ ## 3.4.4: 2023-06-11 {#version-3-4-4}
4
+
5
+ ### Improvements
6
+
7
+ * Added `racc` to runtime dependencies because Ruby 3.3 doesn't
8
+ include `racc/parser`.
9
+
10
+ ## 3.4.3: 2022-05-20 {#version-3-4-3}
11
+
12
+ ### Improvements
13
+
14
+ * Added support for Erubi to parse `.erb`
15
+ [GitHub#91][Patch by Michaël Hoste]
16
+
17
+ ### Thanks
18
+
19
+ * Michaël Hoste
20
+
3
21
  ## 3.4.2: 2022-01-11 {#version-3-4-2}
4
22
 
5
23
  ### Improvements
data/gettext.gemspec CHANGED
@@ -29,11 +29,12 @@ So you can use GNU gettext tools for maintaining.
29
29
 
30
30
  s.required_ruby_version = ">= 2.5.0"
31
31
 
32
+ s.add_runtime_dependency("erubi")
32
33
  s.add_runtime_dependency("locale", ">= 2.0.5")
33
34
  s.add_runtime_dependency("prime")
35
+ s.add_runtime_dependency("racc")
34
36
  s.add_runtime_dependency("text", ">= 1.3.0")
35
37
  s.add_development_dependency("kramdown")
36
- s.add_development_dependency("racc")
37
38
  s.add_development_dependency("rake")
38
39
  s.add_development_dependency("red-datasets")
39
40
  s.add_development_dependency("test-unit")
@@ -1,17 +1,15 @@
1
- # -*- coding: utf-8 -*-
2
- #
3
1
  # po_parser.rb - Generate a .mo
4
2
  #
5
3
  # Copyright (C) 2003-2009 Masao Mutoh <mutomasa at gmail.com>
6
- # Copyright (C) 2012-2017 Kouhei Sutou <kou@clear-code.com>
4
+ # Copyright (C) 2012-2023 Sutou Kouhei <kou@clear-code.com>
7
5
  #
8
6
  # You may redistribute it and/or modify it under the same
9
7
  # license terms as Ruby or LGPL.
10
8
 
11
9
  #
12
10
  # DO NOT MODIFY!!!!
13
- # This file is automatically generated by Racc 1.4.14
14
- # from Racc grammer file "".
11
+ # This file is automatically generated by Racc 1.7.0
12
+ # from Racc grammar file "".
15
13
  #
16
14
 
17
15
  require 'racc/parser.rb'
@@ -349,6 +347,7 @@ Racc_arg = [
349
347
  racc_shift_n,
350
348
  racc_reduce_n,
351
349
  racc_use_result_var ]
350
+ Ractor.make_shareable(Racc_arg) if defined?(Ractor)
352
351
 
353
352
  Racc_token_to_s_table = [
354
353
  "$end",
@@ -370,6 +369,7 @@ Racc_token_to_s_table = [
370
369
  "plural_message",
371
370
  "msgstr_plural",
372
371
  "msgstr_plural_line" ]
372
+ Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor)
373
373
 
374
374
  Racc_debug_parser = true
375
375
 
@@ -388,7 +388,7 @@ Racc_debug_parser = true
388
388
  module_eval(<<'.,.,', 'po_parser.ry', 26)
389
389
  def _reduce_5(val, _values, result)
390
390
  @msgctxt = unescape(val[1])
391
-
391
+
392
392
  result
393
393
  end
394
394
  .,.,
@@ -417,7 +417,7 @@ module_eval(<<'.,.,', 'po_parser.ry', 38)
417
417
  @fuzzy = false
418
418
  on_message(msgid, msgstr) if use_message_p
419
419
  result = ""
420
-
420
+
421
421
  result
422
422
  end
423
423
  .,.,
@@ -439,7 +439,7 @@ module_eval(<<'.,.,', 'po_parser.ry', 61)
439
439
  on_message(unescape(val[1]), unescape(val[4]))
440
440
  end
441
441
  result = ""
442
-
442
+
443
443
  result
444
444
  end
445
445
  .,.,
@@ -451,7 +451,7 @@ module_eval(<<'.,.,', 'po_parser.ry', 82)
451
451
  else
452
452
  result = ""
453
453
  end
454
-
454
+
455
455
  result
456
456
  end
457
457
  .,.,
@@ -461,7 +461,7 @@ module_eval(<<'.,.,', 'po_parser.ry', 82)
461
461
  module_eval(<<'.,.,', 'po_parser.ry', 94)
462
462
  def _reduce_12(val, _values, result)
463
463
  result = val[2]
464
-
464
+
465
465
  result
466
466
  end
467
467
  .,.,
@@ -469,7 +469,7 @@ module_eval(<<'.,.,', 'po_parser.ry', 94)
469
469
  module_eval(<<'.,.,', 'po_parser.ry', 101)
470
470
  def _reduce_13(val, _values, result)
471
471
  on_comment(val[0])
472
-
472
+
473
473
  result
474
474
  end
475
475
  .,.,
@@ -477,7 +477,7 @@ module_eval(<<'.,.,', 'po_parser.ry', 101)
477
477
  module_eval(<<'.,.,', 'po_parser.ry', 109)
478
478
  def _reduce_14(val, _values, result)
479
479
  result = val.delete_if{|item| item == ""}.join
480
-
480
+
481
481
  result
482
482
  end
483
483
  .,.,
@@ -485,7 +485,7 @@ module_eval(<<'.,.,', 'po_parser.ry', 109)
485
485
  module_eval(<<'.,.,', 'po_parser.ry', 113)
486
486
  def _reduce_15(val, _values, result)
487
487
  result = val[0]
488
-
488
+
489
489
  result
490
490
  end
491
491
  .,.,
@@ -0,0 +1,88 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ =begin
4
+ parser/erubi.rb - parser for ERB using Erubi
5
+
6
+ Copyright (C) 2005-2009 Masao Mutoh
7
+
8
+ You may redistribute it and/or modify it under the same
9
+ license terms as Ruby or LGPL.
10
+ =end
11
+
12
+ require "erubi"
13
+ require 'gettext/tools/parser/ruby'
14
+
15
+ module GetText
16
+ class ErubiParser
17
+ @config = {
18
+ :extnames => ['.rhtml', '.erb']
19
+ }
20
+
21
+ class << self
22
+ # Sets some preferences to parse ERB files.
23
+ # * config: a Hash of the config. It can takes some values below:
24
+ # * :extnames: An Array of target files extension. Default is [".rhtml"].
25
+ def init(config)
26
+ config.each{|k, v|
27
+ @config[k] = v
28
+ }
29
+ end
30
+
31
+ def target?(file) # :nodoc:
32
+ @config[:extnames].each do |v|
33
+ return true if File.extname(file) == v
34
+ end
35
+ false
36
+ end
37
+
38
+ # Parses eRuby script located at `path`.
39
+ #
40
+ # This is a short cut method. It equals to `new(path,
41
+ # options).parse`.
42
+ #
43
+ # @return [Array<POEntry>] Extracted messages
44
+ # @see #initialize and #parse
45
+ def parse(path, options={})
46
+ parser = new(path, options)
47
+ parser.parse
48
+ end
49
+ end
50
+
51
+ # @param path [String] eRuby script path to be parsed
52
+ # @param options [Hash]
53
+ def initialize(path, options={})
54
+ @path = path
55
+ @options = options
56
+ end
57
+
58
+ # Extracts messages from @path.
59
+ #
60
+ # @return [Array<POEntry>] Extracted messages
61
+ def parse
62
+ content = IO.read(@path)
63
+
64
+ encoding = detect_encoding(content)
65
+ content.force_encoding(encoding)
66
+
67
+ erb = Erubi::Engine.new(content)
68
+ src = erb.src
69
+
70
+ RubyParser.new(@path, @options).parse_source(src)
71
+ end
72
+
73
+ def detect_encoding(content)
74
+ if /#.*coding: (\S*)/ =~ content.lines.first
75
+ $1.upcase
76
+ else
77
+ content.encoding
78
+ end
79
+ end
80
+ end
81
+ end
82
+
83
+ if __FILE__ == $0
84
+ # ex) ruby glade.rhtml foo.rhtml bar.rhtml
85
+ ARGV.each do |file|
86
+ p GetText::ErubiParser.parse(file)
87
+ end
88
+ end
@@ -330,6 +330,12 @@ Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;
330
330
  require out
331
331
  end
332
332
 
333
+ parser.on("--parser=PARSER",
334
+ _("Add PARSER to parser list for xgettext")) do |parser_name|
335
+ parser_class = parser_name.split('::').inject(Object) {|o,c| o.const_get c}
336
+ add_parser(parser_class)
337
+ end
338
+
333
339
  parser.on("-c", "--add-comments[=TAG]",
334
340
  _("If TAG is specified, place comment blocks starting with TAG and precedding keyword lines in output file"),
335
341
  _("If TAG is not specified, place all comment blocks preceing keyword lines in output file"),
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  version - version information of gettext
3
3
 
4
- Copyright (C) 2012-2021 Sutou Kouhei <kou@clear-code.com>
4
+ Copyright (C) 2012-2022 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.2"
12
+ VERSION = "3.4.4"
13
13
  end
Binary file
@@ -139,7 +139,7 @@ msgstr "Генериране на двоични файлове с превод
139
139
  msgid "write output to specified file"
140
140
  msgstr "изходът беше записан в зададения файл"
141
141
 
142
- #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:349
142
+ #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:355
143
143
  msgid "display version information and exit"
144
144
  msgstr "показване на версията и изход"
145
145
 
@@ -292,32 +292,33 @@ msgid "require the library before executing xgettext"
292
292
  msgstr "заредете библиотеката с require преди да изпълните rgettext"
293
293
 
294
294
  #: ../lib/gettext/tools/xgettext.rb:334
295
+ msgid "Add PARSER to parser list for xgettext"
296
+ msgstr ""
297
+
298
+ #: ../lib/gettext/tools/xgettext.rb:340
295
299
  msgid "If TAG is specified, place comment blocks starting with TAG and precedding keyword lines in output file"
296
300
  msgstr ""
297
301
 
298
- #: ../lib/gettext/tools/xgettext.rb:335
302
+ #: ../lib/gettext/tools/xgettext.rb:341
299
303
  msgid "If TAG is not specified, place all comment blocks preceing keyword lines in output file"
300
304
  msgstr ""
301
305
 
302
- #: ../lib/gettext/tools/xgettext.rb:336
306
+ #: ../lib/gettext/tools/xgettext.rb:342
303
307
  msgid "(default: %s)"
304
308
  msgstr ""
305
309
 
306
- #: ../lib/gettext/tools/xgettext.rb:336
310
+ #: ../lib/gettext/tools/xgettext.rb:342
307
311
  msgid "no TAG"
308
312
  msgstr ""
309
313
 
310
- #: ../lib/gettext/tools/xgettext.rb:340
314
+ #: ../lib/gettext/tools/xgettext.rb:346
311
315
  msgid "run in debugging mode"
312
316
  msgstr "изпълнение в режим на дебъгване"
313
317
 
314
- #: ../lib/gettext/tools/xgettext.rb:344
318
+ #: ../lib/gettext/tools/xgettext.rb:350
315
319
  msgid "display this help and exit"
316
320
  msgstr "показване на версията и изход"
317
321
 
318
- #: ../lib/gettext/tools/xgettext.rb:375
322
+ #: ../lib/gettext/tools/xgettext.rb:381
319
323
  msgid "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") doesn't returns empty string but the header entry in po file."
320
324
  msgstr ""
321
-
322
- #~ msgid "`%{file}' is not glade-2.0 format."
323
- #~ msgstr "`%{file}' не е във формат glade-2.0."
data/po/bg/gettext.po CHANGED
@@ -240,6 +240,9 @@ msgstr ""
240
240
  msgid "require the library before executing xgettext"
241
241
  msgstr "заредете библиотеката с require преди да изпълните rgettext"
242
242
 
243
+ msgid "Add PARSER to parser list for xgettext"
244
+ msgstr ""
245
+
243
246
  msgid ""
244
247
  "If TAG is specified, place comment blocks starting with TAG and precedding key"
245
248
  "word lines in output file"
@@ -141,7 +141,7 @@ msgstr "Generiši binarni katalog poruka iz tekstualnog opisa prevoda"
141
141
  msgid "write output to specified file"
142
142
  msgstr "zapiši izlaz u specifičnu datoteku"
143
143
 
144
- #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:349
144
+ #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:355
145
145
  msgid "display version information and exit"
146
146
  msgstr "prikaži informaciju o verziji i završi"
147
147
 
@@ -296,33 +296,34 @@ msgid "require the library before executing xgettext"
296
296
  msgstr "zahtjevaj biblioteku prije izvršavanja rgettext-a"
297
297
 
298
298
  #: ../lib/gettext/tools/xgettext.rb:334
299
+ msgid "Add PARSER to parser list for xgettext"
300
+ msgstr ""
301
+
302
+ #: ../lib/gettext/tools/xgettext.rb:340
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:335
306
+ #: ../lib/gettext/tools/xgettext.rb:341
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:336
310
+ #: ../lib/gettext/tools/xgettext.rb:342
307
311
  msgid "(default: %s)"
308
312
  msgstr ""
309
313
 
310
- #: ../lib/gettext/tools/xgettext.rb:336
314
+ #: ../lib/gettext/tools/xgettext.rb:342
311
315
  msgid "no TAG"
312
316
  msgstr ""
313
317
 
314
- #: ../lib/gettext/tools/xgettext.rb:340
318
+ #: ../lib/gettext/tools/xgettext.rb:346
315
319
  msgid "run in debugging mode"
316
320
  msgstr "pokreni u modu za nalaženje grešaka"
317
321
 
318
- #: ../lib/gettext/tools/xgettext.rb:344
322
+ #: ../lib/gettext/tools/xgettext.rb:350
319
323
  #, fuzzy
320
324
  msgid "display this help and exit"
321
325
  msgstr "prikaži informaciju o verziji i završi"
322
326
 
323
- #: ../lib/gettext/tools/xgettext.rb:375
327
+ #: ../lib/gettext/tools/xgettext.rb:381
324
328
  msgid "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") doesn't returns empty string but the header entry in po file."
325
329
  msgstr ""
326
-
327
- #~ msgid "`%{file}' is not glade-2.0 format."
328
- #~ msgstr "'%{file}' nije glade-2.0 format."
data/po/bs/gettext.po CHANGED
@@ -245,6 +245,9 @@ msgstr ""
245
245
  msgid "require the library before executing xgettext"
246
246
  msgstr "zahtjevaj biblioteku prije izvršavanja rgettext-a"
247
247
 
248
+ msgid "Add PARSER to parser list for xgettext"
249
+ msgstr ""
250
+
248
251
  msgid ""
249
252
  "If TAG is specified, place comment blocks starting with TAG and precedding key"
250
253
  "word lines in output file"
@@ -139,7 +139,7 @@ msgstr "Genera un catàleg de missatges binaris a partir d'un fitxer de traducci
139
139
  msgid "write output to specified file"
140
140
  msgstr "escriu la sortida en un fitxer especificat"
141
141
 
142
- #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:349
142
+ #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:355
143
143
  msgid "display version information and exit"
144
144
  msgstr "mostra informació de la versió i surt"
145
145
 
@@ -292,32 +292,33 @@ msgid "require the library before executing xgettext"
292
292
  msgstr "requereix la llibreria abans d'executar rgettext"
293
293
 
294
294
  #: ../lib/gettext/tools/xgettext.rb:334
295
+ msgid "Add PARSER to parser list for xgettext"
296
+ msgstr ""
297
+
298
+ #: ../lib/gettext/tools/xgettext.rb:340
295
299
  msgid "If TAG is specified, place comment blocks starting with TAG and precedding keyword lines in output file"
296
300
  msgstr ""
297
301
 
298
- #: ../lib/gettext/tools/xgettext.rb:335
302
+ #: ../lib/gettext/tools/xgettext.rb:341
299
303
  msgid "If TAG is not specified, place all comment blocks preceing keyword lines in output file"
300
304
  msgstr ""
301
305
 
302
- #: ../lib/gettext/tools/xgettext.rb:336
306
+ #: ../lib/gettext/tools/xgettext.rb:342
303
307
  msgid "(default: %s)"
304
308
  msgstr ""
305
309
 
306
- #: ../lib/gettext/tools/xgettext.rb:336
310
+ #: ../lib/gettext/tools/xgettext.rb:342
307
311
  msgid "no TAG"
308
312
  msgstr ""
309
313
 
310
- #: ../lib/gettext/tools/xgettext.rb:340
314
+ #: ../lib/gettext/tools/xgettext.rb:346
311
315
  msgid "run in debugging mode"
312
316
  msgstr "executa en mode debug"
313
317
 
314
- #: ../lib/gettext/tools/xgettext.rb:344
318
+ #: ../lib/gettext/tools/xgettext.rb:350
315
319
  msgid "display this help and exit"
316
320
  msgstr "mostra informació de la versió i surt"
317
321
 
318
- #: ../lib/gettext/tools/xgettext.rb:375
322
+ #: ../lib/gettext/tools/xgettext.rb:381
319
323
  msgid "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") doesn't returns empty string but the header entry in po file."
320
324
  msgstr ""
321
-
322
- #~ msgid "`%{file}' is not glade-2.0 format."
323
- #~ msgstr "El fitxer `%{file}' no té el format glade-2.0."
data/po/ca/gettext.po CHANGED
@@ -242,6 +242,9 @@ msgstr ""
242
242
  msgid "require the library before executing xgettext"
243
243
  msgstr "requereix la llibreria abans d'executar rgettext"
244
244
 
245
+ msgid "Add PARSER to parser list for xgettext"
246
+ msgstr ""
247
+
245
248
  msgid ""
246
249
  "If TAG is specified, place comment blocks starting with TAG and precedding key"
247
250
  "word lines in output file"
@@ -143,7 +143,7 @@ msgstr "Generovat binání katalog zpráv z textového popisu překladu."
143
143
  msgid "write output to specified file"
144
144
  msgstr "zapsat výstup od určeného souboru"
145
145
 
146
- #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:349
146
+ #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:355
147
147
  msgid "display version information and exit"
148
148
  msgstr "zobrazit informaci o verzi a skončit"
149
149
 
@@ -298,33 +298,34 @@ msgid "require the library before executing xgettext"
298
298
  msgstr "před spuštěním rgettext je vyžadován require knihovny"
299
299
 
300
300
  #: ../lib/gettext/tools/xgettext.rb:334
301
+ msgid "Add PARSER to parser list for xgettext"
302
+ msgstr ""
303
+
304
+ #: ../lib/gettext/tools/xgettext.rb:340
301
305
  msgid "If TAG is specified, place comment blocks starting with TAG and precedding keyword lines in output file"
302
306
  msgstr ""
303
307
 
304
- #: ../lib/gettext/tools/xgettext.rb:335
308
+ #: ../lib/gettext/tools/xgettext.rb:341
305
309
  msgid "If TAG is not specified, place all comment blocks preceing keyword lines in output file"
306
310
  msgstr ""
307
311
 
308
- #: ../lib/gettext/tools/xgettext.rb:336
312
+ #: ../lib/gettext/tools/xgettext.rb:342
309
313
  msgid "(default: %s)"
310
314
  msgstr ""
311
315
 
312
- #: ../lib/gettext/tools/xgettext.rb:336
316
+ #: ../lib/gettext/tools/xgettext.rb:342
313
317
  msgid "no TAG"
314
318
  msgstr ""
315
319
 
316
- #: ../lib/gettext/tools/xgettext.rb:340
320
+ #: ../lib/gettext/tools/xgettext.rb:346
317
321
  msgid "run in debugging mode"
318
322
  msgstr "běh v debug módu"
319
323
 
320
- #: ../lib/gettext/tools/xgettext.rb:344
324
+ #: ../lib/gettext/tools/xgettext.rb:350
321
325
  #, fuzzy
322
326
  msgid "display this help and exit"
323
327
  msgstr "zobrazit informaci o verzi a skončit"
324
328
 
325
- #: ../lib/gettext/tools/xgettext.rb:375
329
+ #: ../lib/gettext/tools/xgettext.rb:381
326
330
  msgid "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") doesn't returns empty string but the header entry in po file."
327
331
  msgstr ""
328
-
329
- #~ msgid "`%{file}' is not glade-2.0 format."
330
- #~ msgstr "`%{file}' není ve formátu glade-2.0."
data/po/cs/gettext.po CHANGED
@@ -247,6 +247,9 @@ msgstr ""
247
247
  msgid "require the library before executing xgettext"
248
248
  msgstr "před spuštěním rgettext je vyžadován require knihovny"
249
249
 
250
+ msgid "Add PARSER to parser list for xgettext"
251
+ msgstr ""
252
+
250
253
  msgid ""
251
254
  "If TAG is specified, place comment blocks starting with TAG and precedding key"
252
255
  "word lines in output file"
@@ -146,7 +146,7 @@ msgstr "Erstelle binären Meldungskatalog aus schriftlicher Übersetzungsbeschre
146
146
  msgid "write output to specified file"
147
147
  msgstr "Schreibe Ausgabe in die angegebene Datei"
148
148
 
149
- #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:349
149
+ #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:355
150
150
  msgid "display version information and exit"
151
151
  msgstr "Zeige Versionsinformationen und beende."
152
152
 
@@ -305,33 +305,34 @@ msgid "require the library before executing xgettext"
305
305
  msgstr "Bitte zunächst die Library einbinden bevor rgettext ausgeführt wird"
306
306
 
307
307
  #: ../lib/gettext/tools/xgettext.rb:334
308
+ msgid "Add PARSER to parser list for xgettext"
309
+ msgstr ""
310
+
311
+ #: ../lib/gettext/tools/xgettext.rb:340
308
312
  msgid "If TAG is specified, place comment blocks starting with TAG and precedding keyword lines in output file"
309
313
  msgstr ""
310
314
 
311
- #: ../lib/gettext/tools/xgettext.rb:335
315
+ #: ../lib/gettext/tools/xgettext.rb:341
312
316
  msgid "If TAG is not specified, place all comment blocks preceing keyword lines in output file"
313
317
  msgstr ""
314
318
 
315
- #: ../lib/gettext/tools/xgettext.rb:336
319
+ #: ../lib/gettext/tools/xgettext.rb:342
316
320
  msgid "(default: %s)"
317
321
  msgstr ""
318
322
 
319
- #: ../lib/gettext/tools/xgettext.rb:336
323
+ #: ../lib/gettext/tools/xgettext.rb:342
320
324
  msgid "no TAG"
321
325
  msgstr ""
322
326
 
323
- #: ../lib/gettext/tools/xgettext.rb:340
327
+ #: ../lib/gettext/tools/xgettext.rb:346
324
328
  msgid "run in debugging mode"
325
329
  msgstr "Ausführung im Debug-Modus"
326
330
 
327
- #: ../lib/gettext/tools/xgettext.rb:344
331
+ #: ../lib/gettext/tools/xgettext.rb:350
328
332
  #, fuzzy
329
333
  msgid "display this help and exit"
330
334
  msgstr "Zeige Versionsinformationen und beende."
331
335
 
332
- #: ../lib/gettext/tools/xgettext.rb:375
336
+ #: ../lib/gettext/tools/xgettext.rb:381
333
337
  msgid "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") doesn't returns empty string but the header entry in po file."
334
338
  msgstr ""
335
-
336
- #~ msgid "`%{file}' is not glade-2.0 format."
337
- #~ msgstr "`%{file}' liegt nicht im Glade-2.0-Format vor."
data/po/de/gettext.po CHANGED
@@ -254,6 +254,9 @@ msgstr ""
254
254
  msgid "require the library before executing xgettext"
255
255
  msgstr "Bitte zunächst die Library einbinden bevor rgettext ausgeführt wird"
256
256
 
257
+ msgid "Add PARSER to parser list for xgettext"
258
+ msgstr ""
259
+
257
260
  msgid ""
258
261
  "If TAG is specified, place comment blocks starting with TAG and precedding key"
259
262
  "word lines in output file"
@@ -142,7 +142,7 @@ msgstr "Δημιουργία καταλόγου μυνημάτων από τη
142
142
  msgid "write output to specified file"
143
143
  msgstr "εγγραφή στο καθορισμένο αρχείο"
144
144
 
145
- #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:349
145
+ #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:355
146
146
  msgid "display version information and exit"
147
147
  msgstr "πληροφορίες έκδοσης και έξοδος"
148
148
 
@@ -301,33 +301,34 @@ msgid "require the library before executing xgettext"
301
301
  msgstr "Κάντε χρήση της βιβλιοθήκης (require) πριν από την εκτέλεση του rgettext"
302
302
 
303
303
  #: ../lib/gettext/tools/xgettext.rb:334
304
+ msgid "Add PARSER to parser list for xgettext"
305
+ msgstr ""
306
+
307
+ #: ../lib/gettext/tools/xgettext.rb:340
304
308
  msgid "If TAG is specified, place comment blocks starting with TAG and precedding keyword lines in output file"
305
309
  msgstr ""
306
310
 
307
- #: ../lib/gettext/tools/xgettext.rb:335
311
+ #: ../lib/gettext/tools/xgettext.rb:341
308
312
  msgid "If TAG is not specified, place all comment blocks preceing keyword lines in output file"
309
313
  msgstr ""
310
314
 
311
- #: ../lib/gettext/tools/xgettext.rb:336
315
+ #: ../lib/gettext/tools/xgettext.rb:342
312
316
  msgid "(default: %s)"
313
317
  msgstr ""
314
318
 
315
- #: ../lib/gettext/tools/xgettext.rb:336
319
+ #: ../lib/gettext/tools/xgettext.rb:342
316
320
  msgid "no TAG"
317
321
  msgstr ""
318
322
 
319
- #: ../lib/gettext/tools/xgettext.rb:340
323
+ #: ../lib/gettext/tools/xgettext.rb:346
320
324
  msgid "run in debugging mode"
321
325
  msgstr "εκτέλεση σε debugging mode"
322
326
 
323
- #: ../lib/gettext/tools/xgettext.rb:344
327
+ #: ../lib/gettext/tools/xgettext.rb:350
324
328
  #, fuzzy
325
329
  msgid "display this help and exit"
326
330
  msgstr "πληροφορίες έκδοσης και έξοδος"
327
331
 
328
- #: ../lib/gettext/tools/xgettext.rb:375
332
+ #: ../lib/gettext/tools/xgettext.rb:381
329
333
  msgid "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") doesn't returns empty string but the header entry in po file."
330
334
  msgstr ""
331
-
332
- #~ msgid "`%{file}' is not glade-2.0 format."
333
- #~ msgstr "το `%{file}' δεν είναι σε μορφή glade-2.0."