fair-gettext 2.0.5 → 2.0.6

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.
data/gettext.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{fair-gettext}
5
- s.version = "2.0.5"
5
+ s.version = "2.0.6"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.date = %q{2009-02-06}
9
- s.description = %q{Ruby-GetText-Package is a GNU GetText-like program for Ruby. The catalog file(po-file) is same format with GNU GetText. So you can use GNU GetText tools for maintaining.}
9
+ s.description = %q{Ruby-GetText-Package is a GNU GetText-like program for Ruby. The catalog file(po-file) is same format with GNU GetText. This package allow private and public translations.}
10
10
  s.email = %q{mutomasa at gmail.com}
11
11
  s.executables = ["rgettext", "rmsgmerge", "rmsgfmt"]
12
12
  s.extra_rdoc_files = ["lib/gettext.rb", "lib/gettext/tools.rb", "lib/gettext/core_ext/string.rb", "lib/gettext/version.rb", "README.rdoc"]
data/lib/gettext/tools.rb CHANGED
@@ -99,7 +99,8 @@ module GetText
99
99
  pofile = po_file unless po_file.include?("private")
100
100
  mo_file = mo_file_from_po_file(pofile,options)
101
101
  end
102
-
102
+ $stderr.print %Q[#{pofile} -> #{mo_file} ... ] if options[:verbose]
103
+
103
104
  en_tmp = dir + 'en_tmp.po'
104
105
  file = File.new(en_tmp, "w+")
105
106
  file << po_text
@@ -107,6 +108,7 @@ module GetText
107
108
  rmsgfmt(file, mo_file)
108
109
  File.delete(en_tmp)
109
110
  po_text = ''
111
+ $stderr.puts "Done." if options[:verbose]
110
112
  end
111
113
  end
112
114
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 2
7
7
  - 0
8
- - 5
9
- version: 2.0.5
8
+ - 6
9
+ version: 2.0.6
10
10
  platform: ruby
11
11
  authors: []
12
12
 
@@ -41,7 +41,7 @@ dependencies:
41
41
  version: "0"
42
42
  type: :development
43
43
  version_requirements: *id002
44
- description: Ruby-GetText-Package is a GNU GetText-like program for Ruby. The catalog file(po-file) is same format with GNU GetText. So you can use GNU GetText tools for maintaining.
44
+ description: Ruby-GetText-Package is a GNU GetText-like program for Ruby. The catalog file(po-file) is same format with GNU GetText. This package allow private and public translations.
45
45
  email: mutomasa at gmail.com
46
46
  executables:
47
47
  - rgettext
@@ -94,8 +94,6 @@ files:
94
94
  - data/locale/vi/LC_MESSAGES/rgettext.mo
95
95
  - data/locale/zh/LC_MESSAGES/rgettext.mo
96
96
  - data/locale/zh_TW/LC_MESSAGES/rgettext.mo
97
- - fair-gettext-2.0.2.gem
98
- - gettext-2.0.0.gem
99
97
  - gettext.gemspec
100
98
  - lib/gettext/cgi.rb
101
99
  - lib/gettext/core_ext/iconv.rb
Binary file
data/gettext-2.0.0.gem DELETED
Binary file