Skip to content
Browse files

Merge remote-tracking branch 'origin/integration-colindean' into inte…

…gration2
  • Loading branch information...
2 parents 438c367 + f28857d commit f8986f8c85f46c5c36cba090202942098bf4c57f @cameel committed Jul 12, 2011
View
2 Rakefile
@@ -28,7 +28,7 @@ PKG_VERSION = GetText::VERSION
desc "Create lib/gettext/tools/poparser.rb"
task :poparser do
poparser_path = "lib/gettext/tools/poparser.rb"
- racc = File.join(Config::CONFIG['bindir'], "racc")
+ racc = File.join(RbConfig::CONFIG['bindir'], "racc")
if ! FileTest.exist?(racc)
puts "racc was not found: #{racc}"
exit 1
View
426 gettext.gemspec
@@ -10,17 +10,433 @@ Gem::Specification.new do |s|
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.}
s.email = %q{mutomasa at gmail.com}
s.executables = ["rgettext", "rmsgmerge", "rmsgfmt"]
- s.extra_rdoc_files = ["lib/gettext.rb", "lib/gettext/tools.rb", "lib/gettext/core_ext/string.rb", "lib/gettext/version.rb", "README.rdoc"]
- s.files = ["Manifest", "po/hr/rgettext.po", "po/cs/rgettext.po",
- "po/el/rgettext.po", "po/bs/rgettext.po", "po/et/rgettext.po", "po/vi/rgettext.po", "po/pt_BR/rgettext.po", "po/nb/rgettext.po", "po/ko/rgettext.po", "po/lv/rgettext.po", "po/ru/rgettext.po", "po/zh_TW/rgettext.po", "po/rgettext.pot", "po/ca/rgettext.po", "po/de/rgettext.po", "po/de/#rails.po#", "po/es/rgettext.po", "po/eo/rgettext.po", "po/nl/rgettext.po", "po/sr/rgettext.po", "po/hu/rgettext.po", "po/zh/rgettext.po", "po/ja/rgettext.po", "po/ja/rails.po.old", "po/bg/rgettext.po", "po/ua/rgettext.po", "po/fr/rgettext.po", "po/sv/rgettext.po", "po/it/rgettext.po", "lib/gettext.rb", "lib/gettext/cgi.rb", "lib/gettext/utils.rb", "lib/gettext/class_info.rb", "lib/gettext/tools.rb", "lib/gettext/core_ext/iconv.rb", "lib/gettext/core_ext/string.rb", "lib/gettext/poparser.rb", "lib/gettext/version.rb", "lib/gettext/mofile.rb", "lib/gettext/parser/glade.rb", "lib/gettext/parser/erb.rb", "lib/gettext/parser/ruby.rb", "lib/gettext/textdomain.rb", "lib/gettext/textdomain_manager.rb", "lib/gettext/tools/rgettext.rb", "lib/gettext/tools/rmsgmerge.rb", "lib/gettext/tools/rmsgfmt.rb", "test/test_textdomain.rb", "test/po/po/plural.po", "test/po/cr/plural.po", "test/po/sl/plural.po", "test/po/li/plural.po", "test/po/ir/plural.po", "test/po/ja/sgettext.po", "test/po/ja/test2.po", "test/po/ja/pgettext.po", "test/po/ja/test1.po", "test/po/ja/nsgettext.po", "test/po/ja/plural_error.po", "test/po/ja/plural.po", "test/po/ja/test6.po", "test/po/ja/rubyparser.po", "test/po/ja/npgettext.po", "test/po/fr/test2.po", "test/po/fr/test1.po", "test/po/fr/plural_error.po", "test/po/fr/plural.po", "test/po/fr/test6.po", "test/po/la/plural_error.po", "test/po/la/plural.po", "test/po/da/plural_error.po", "test/po/da/plural.po", "test/test_textdomain_toplevel.rb", "test/test_gettext.rb", "test/test_parser.rb", "test/README", "test/test_string.rb", "test/Rakefile", "test/test_class_info.rb", "test/test_textdomain_multi.rb", "test/testlib/simple.rb", "test/testlib/gettext.rb", "test/testlib/gladeparser.glade", "test/testlib/npgettext.rb", "test/testlib/multi_textdomain.rb", "test/testlib/erb.rhtml", "test/testlib/nsgettext.rb", "test/testlib/erb.rxml", "test/testlib/pgettext.rb", "test/testlib/helper.rb", "test/testlib/N_.rb", "test/testlib/ngettext.rb", "test/testlib/sgettext.rb", "bin/rgettext", "bin/rmsgmerge", "bin/rmsgfmt", "Rakefile", "README.rdoc", "ChangeLog", "src/poparser.ry", "samples/cgi/po/hr/main.po", "samples/cgi/po/hr/hellolib.po", "samples/cgi/po/hr/helloerb1.po", "samples/cgi/po/hr/helloerb2.po", "samples/cgi/po/cs/main.po", "samples/cgi/po/cs/hellolib.po", "samples/cgi/po/cs/helloerb1.po", "samples/cgi/po/cs/helloerb2.po", "samples/cgi/po/hellolib.pot", "samples/cgi/po/el/main.po", "samples/cgi/po/el/hellolib.po", "samples/cgi/po/el/helloerb1.po", "samples/cgi/po/el/helloerb2.po", "samples/cgi/po/bs/main.po", "samples/cgi/po/bs/hellolib.po", "samples/cgi/po/bs/helloerb1.po", "samples/cgi/po/bs/helloerb2.po", "samples/cgi/po/vi/main.po", "samples/cgi/po/vi/hellolib.po", "samples/cgi/po/vi/helloerb1.po", "samples/cgi/po/vi/helloerb2.po", "samples/cgi/po/pt_BR/main.po", "samples/cgi/po/pt_BR/hellolib.po", "samples/cgi/po/pt_BR/helloerb1.po", "samples/cgi/po/pt_BR/helloerb2.po", "samples/cgi/po/nb/main.po", "samples/cgi/po/nb/hellolib.po", "samples/cgi/po/nb/helloerb1.po", "samples/cgi/po/nb/helloerb2.po", "samples/cgi/po/ko/main.po", "samples/cgi/po/ko/hellolib.po", "samples/cgi/po/ko/helloerb1.po", "samples/cgi/po/ko/helloerb2.po", "samples/cgi/po/lv/main.po", "samples/cgi/po/lv/hellolib.po", "samples/cgi/po/lv/helloerb1.po", "samples/cgi/po/lv/helloerb2.po", "samples/cgi/po/ru/main.po", "samples/cgi/po/ru/hellolib.po", "samples/cgi/po/ru/helloerb1.po", "samples/cgi/po/ru/helloerb2.po", "samples/cgi/po/zh_TW/main.po", "samples/cgi/po/zh_TW/hellolib.po", "samples/cgi/po/zh_TW/helloerb1.po", "samples/cgi/po/zh_TW/helloerb2.po", "samples/cgi/po/ca/main.po", "samples/cgi/po/ca/hellolib.po", "samples/cgi/po/ca/helloerb1.po", "samples/cgi/po/ca/helloerb2.po", "samples/cgi/po/de/main.po", "samples/cgi/po/de/hellolib.po", "samples/cgi/po/de/helloerb1.po", "samples/cgi/po/de/helloerb2.po", "samples/cgi/po/es/main.po", "samples/cgi/po/es/hellolib.po", "samples/cgi/po/es/helloerb1.po", "samples/cgi/po/es/helloerb2.po", "samples/cgi/po/eo/main.po", "samples/cgi/po/eo/hellolib.po", "samples/cgi/po/eo/helloerb1.po", "samples/cgi/po/eo/helloerb2.po", "samples/cgi/po/nl/main.po", "samples/cgi/po/nl/hellolib.po", "samples/cgi/po/nl/helloerb1.po", "samples/cgi/po/nl/helloerb2.po", "samples/cgi/po/sr/main.po", "samples/cgi/po/sr/hellolib.po", "samples/cgi/po/sr/helloerb1.po", "samples/cgi/po/sr/helloerb2.po", "samples/cgi/po/hu/main.po", "samples/cgi/po/hu/hellolib.po", "samples/cgi/po/hu/helloerb1.po", "samples/cgi/po/hu/helloerb2.po", "samples/cgi/po/helloerb1.pot", "samples/cgi/po/helloerb2.pot", "samples/cgi/po/zh/main.po", "samples/cgi/po/zh/hellolib.po", "samples/cgi/po/zh/helloerb1.po", "samples/cgi/po/zh/helloerb2.po", "samples/cgi/po/ja/main.po", "samples/cgi/po/ja/hellolib.po", "samples/cgi/po/ja/helloerb1.po", "samples/cgi/po/ja/helloerb2.po", "samples/cgi/po/bg/main.po", "samples/cgi/po/bg/hellolib.po", "samples/cgi/po/bg/helloerb1.po", "samples/cgi/po/bg/helloerb2.po", "samples/cgi/po/main.pot", "samples/cgi/po/ua/main.po", "samples/cgi/po/ua/hellolib.po", "samples/cgi/po/ua/helloerb1.po", "samples/cgi/po/ua/helloerb2.po", "samples/cgi/po/fr/main.po", "samples/cgi/po/fr/hellolib.po", "samples/cgi/po/fr/helloerb1.po", "samples/cgi/po/fr/helloerb2.po", "samples/cgi/po/it/main.po", "samples/cgi/po/it/hellolib.po", "samples/cgi/po/it/helloerb1.po", "samples/cgi/po/it/helloerb2.po", "samples/cgi/hellolib.rb", "samples/cgi/helloerb1.cgi", "samples/cgi/cookie.cgi", "samples/cgi/README", "samples/cgi/other.rhtml", "samples/cgi/Rakefile", "samples/cgi/gettext.css", "samples/cgi/helloerb2.cgi", "samples/cgi/http.rb", "samples/cgi/helloerb.rhtml", "samples/cgi/index.cgi", "samples/po/hello_plural.pot", "samples/po/hr/hello_glade2.po", "samples/po/hr/hello_plural.po", "samples/po/hr/hello_noop.po", "samples/po/hr/hello.po", "samples/po/hr/hello2.po", "samples/po/hr/hello_tk.po", "samples/po/hr/hello_gtk.po", "samples/po/cs/hello_glade2.po", "samples/po/cs/hello_plural.po", "samples/po/cs/hello_noop.po", "samples/po/cs/hello.po", "samples/po/cs/hello2.po", "samples/po/cs/hello_tk.po", "samples/po/cs/hello_gtk.po", "samples/po/el/hello_glade2.po", "samples/po/el/hello_plural.po", "samples/po/el/hello_noop.po", "samples/po/el/hello.po", "samples/po/el/hello2.po", "samples/po/el/hello_tk.po", "samples/po/el/hello_gtk.po", "samples/po/bs/hello_glade2.po", "samples/po/bs/hello_plural.po", "samples/po/bs/hello_noop.po", "samples/po/bs/hello.po", "samples/po/bs/hello2.po", "samples/po/bs/hello_tk.po", "samples/po/bs/hello_gtk.po", "samples/po/vi/hello_glade2.po", "samples/po/vi/hello_plural.po", "samples/po/vi/hello_noop.po", "samples/po/vi/hello.po", "samples/po/vi/hello2.po", "samples/po/vi/hello_tk.po", "samples/po/vi/hello_gtk.po", "samples/po/pt_BR/hello_glade2.po", "samples/po/pt_BR/hello_plural.po", "samples/po/pt_BR/hello_noop.po", "samples/po/pt_BR/hello.po", "samples/po/pt_BR/hello2.po", "samples/po/pt_BR/hello_tk.po", "samples/po/pt_BR/hello_gtk.po", "samples/po/nb/hello_glade2.po", "samples/po/nb/hello_plural.po", "samples/po/nb/hello_noop.po", "samples/po/nb/hello.po", "samples/po/nb/hello2.po", "samples/po/nb/hello_tk.po", "samples/po/nb/hello_gtk.po", "samples/po/hello_noop.pot", "samples/po/ko/hello_glade2.po", "samples/po/ko/hello_plural.po", "samples/po/ko/hello_noop.po", "samples/po/ko/hello.po", "samples/po/ko/hello2.po", "samples/po/ko/hello_tk.po", "samples/po/ko/hello_gtk.po", "samples/po/lv/hello_glade2.po", "samples/po/lv/hello_plural.po", "samples/po/lv/hello_noop.po", "samples/po/lv/hello.po", "samples/po/lv/hello2.po", "samples/po/lv/hello_tk.po", "samples/po/lv/hello_gtk.po", "samples/po/ru/hello_glade2.po", "samples/po/ru/hello_plural.po", "samples/po/ru/hello_noop.po", "samples/po/ru/hello.po", "samples/po/ru/hello2.po", "samples/po/ru/hello_tk.po", "samples/po/ru/hello_gtk.po", "samples/po/zh_TW/hello_glade2.po", "samples/po/zh_TW/hello_plural.po", "samples/po/zh_TW/hello_noop.po", "samples/po/zh_TW/hello.po", "samples/po/zh_TW/hello2.po", "samples/po/zh_TW/hello_tk.po", "samples/po/zh_TW/hello_gtk.po", "samples/po/ca/hello_glade2.po", "samples/po/ca/hello_plural.po", "samples/po/ca/hello_noop.po", "samples/po/ca/hello.po", "samples/po/ca/hello2.po", "samples/po/ca/hello_tk.po", "samples/po/ca/hello_gtk.po", "samples/po/hello2.pot", "samples/po/de/hello_glade2.po", "samples/po/de/hello_plural.po", "samples/po/de/hello_noop.po", "samples/po/de/hello.po", "samples/po/de/hello2.po", "samples/po/de/hello_tk.po", "samples/po/de/hello_gtk.po", "samples/po/es/hello_glade2.po", "samples/po/es/hello_plural.po", "samples/po/es/hello_noop.po", "samples/po/es/hello.po", "samples/po/es/hello2.po", "samples/po/es/hello_tk.po", "samples/po/es/hello_gtk.po", "samples/po/hello_gtk.pot", "samples/po/eo/hello_glade2.po", "samples/po/eo/hello_plural.po", "samples/po/eo/hello_noop.po", "samples/po/eo/hello.po", "samples/po/eo/hello2.po", "samples/po/eo/hello_tk.po", "samples/po/eo/hello_gtk.po", "samples/po/nl/hello_glade2.po", "samples/po/nl/hello_plural.po", "samples/po/nl/hello_noop.po", "samples/po/nl/hello.po", "samples/po/nl/hello2.po", "samples/po/nl/hello_tk.po", "samples/po/nl/hello_gtk.po", "samples/po/sr/hello_glade2.po", "samples/po/sr/hello_plural.po", "samples/po/sr/hello_noop.po", "samples/po/sr/hello.po", "samples/po/sr/hello2.po", "samples/po/sr/hello_tk.po", "samples/po/sr/hello_gtk.po", "samples/po/hello.pot", "samples/po/hu/hello_glade2.po", "samples/po/hu/hello_plural.po", "samples/po/hu/hello_noop.po", "samples/po/hu/hello.po", "samples/po/hu/hello2.po", "samples/po/hu/hello_tk.po", "samples/po/hu/hello_gtk.po", "samples/po/zh/hello_glade2.po", "samples/po/zh/hello_plural.po", "samples/po/zh/hello_noop.po", "samples/po/zh/hello.po", "samples/po/zh/hello2.po", "samples/po/zh/hello_tk.po", "samples/po/zh/hello_gtk.po", "samples/po/test.rb", "samples/po/ja/hello_glade2.po", "samples/po/ja/hello_plural.po", "samples/po/ja/hello_noop.po", "samples/po/ja/hello.po", "samples/po/ja/hello2.po", "samples/po/ja/hello_tk.po", "samples/po/ja/hello_gtk.po", "samples/po/bg/hello_glade2.po", "samples/po/bg/hello_plural.po", "samples/po/bg/hello_noop.po", "samples/po/bg/hello.po", "samples/po/bg/hello2.po", "samples/po/bg/hello_tk.po", "samples/po/bg/hello_gtk.po", "samples/po/ua/hello_glade2.po", "samples/po/ua/hello_plural.po", "samples/po/ua/hello_noop.po", "samples/po/ua/hello.po", "samples/po/ua/hello2.po", "samples/po/ua/hello_tk.po", "samples/po/ua/hello_gtk.po", "samples/po/fr/hello_glade2.po", "samples/po/fr/hello_plural.po", "samples/po/fr/hello_noop.po", "samples/po/fr/hello.po", "samples/po/fr/hello2.po", "samples/po/fr/hello_tk.po", "samples/po/fr/hello_gtk.po", "samples/po/hello_tk.pot", "samples/po/sv/hello_glade2.po", "samples/po/sv/hello_plural.po", "samples/po/sv/hello_noop.po", "samples/po/sv/hello.po", "samples/po/sv/hello2.po", "samples/po/sv/hello_tk.po", "samples/po/sv/hello_gtk.po", "samples/po/hello_glade2.pot", "samples/po/it/hello_glade2.po", "samples/po/it/hello_plural.po", "samples/po/it/hello_noop.po", "samples/po/it/hello.po", "samples/po/it/hello2.po", "samples/po/it/hello_tk.po", "samples/po/it/hello_gtk.po", "samples/hello_noop.rb", "samples/hello_plural.rb", "samples/makemo.rb", "samples/hello_glade2.glade", "samples/hello.rb", "samples/hello_gtk2.rb", "samples/README", "samples/hello_glade2.rb", "samples/hello2.rb", "samples/hello_tk.rb", "gettext.gemspec"]
+ s.extra_rdoc_files = ["lib/gettext.rb",
+ "lib/gettext/tools.rb",
+ "lib/gettext/core_ext/string.rb",
+ "lib/gettext/version.rb",
+ "README.rdoc"]
+ s.files = [
+ #"Manifest",
+ "po/hr/rgettext.po",
+ "po/cs/rgettext.po",
+ "po/el/rgettext.po",
+ "po/bs/rgettext.po",
+ "po/et/rgettext.po",
+ "po/vi/rgettext.po",
+ "po/pt_BR/rgettext.po",
+ "po/nb/rgettext.po",
+ "po/ko/rgettext.po",
+ "po/lv/rgettext.po",
+ "po/ru/rgettext.po",
+ "po/zh_TW/rgettext.po",
+ "po/rgettext.pot",
+ "po/ca/rgettext.po",
+ "po/de/rgettext.po",
+ #"po/de/#rails.po#",
+ "po/es/rgettext.po",
+ "po/eo/rgettext.po",
+ "po/nl/rgettext.po",
+ "po/sr/rgettext.po",
+ "po/hu/rgettext.po",
+ "po/zh/rgettext.po",
+ "po/ja/rgettext.po",
+ #"po/ja/rails.po.old",
+ "po/bg/rgettext.po",
+ #"po/ua/rgettext.po",
+ "po/fr/rgettext.po",
+ "po/sv/rgettext.po",
+ "po/it/rgettext.po",
+ "lib/gettext.rb",
+ "lib/gettext/cgi.rb",
+ "lib/gettext/utils.rb",
+ #"lib/gettext/class_info.rb",
+ "lib/gettext/tools.rb",
+ "lib/gettext/core_ext/iconv.rb",
+ "lib/gettext/core_ext/string.rb",
+ #"lib/gettext/poparser.rb",
+ "lib/gettext/version.rb",
+ #"lib/gettext/mofile.rb",
+ "lib/gettext/parser/glade.rb",
+ "lib/gettext/parser/erb.rb",
+ "lib/gettext/parser/ruby.rb",
+ #"lib/gettext/textdomain.rb",
+ #"lib/gettext/textdomain_manager.rb",
+ "lib/gettext/tools/rgettext.rb",
+ "lib/gettext/tools/rmsgmerge.rb",
+ "lib/gettext/tools/rmsgfmt.rb",
+ #"test/test_textdomain.rb",
+ "test/po/po/plural.po",
+ "test/po/cr/plural.po",
+ "test/po/sl/plural.po",
+ "test/po/li/plural.po",
+ "test/po/ir/plural.po",
+ "test/po/ja/sgettext.po",
+ "test/po/ja/test2.po",
+ "test/po/ja/pgettext.po",
+ "test/po/ja/test1.po",
+ "test/po/ja/nsgettext.po",
+ "test/po/ja/plural_error.po",
+ "test/po/ja/plural.po",
+ #"test/po/ja/test6.po",
+ "test/po/ja/rubyparser.po",
+ "test/po/ja/npgettext.po",
+ "test/po/fr/test2.po",
+ "test/po/fr/test1.po",
+ "test/po/fr/plural_error.po",
+ "test/po/fr/plural.po",
+ #"test/po/fr/test6.po",
+ "test/po/la/plural_error.po",
+ "test/po/la/plural.po",
+ "test/po/da/plural_error.po",
+ "test/po/da/plural.po",
+ "test/test_textdomain_toplevel.rb",
+ "test/test_gettext.rb",
+ "test/test_parser.rb",
+ "test/README",
+ "test/test_string.rb",
+ "test/Rakefile",
+ "test/test_class_info.rb",
+ "test/test_textdomain_multi.rb",
+ "test/testlib/simple.rb",
+ "test/testlib/gettext.rb",
+ "test/testlib/gladeparser.glade",
+ "test/testlib/npgettext.rb",
+ "test/testlib/multi_textdomain.rb",
+ "test/testlib/erb.rhtml",
+ "test/testlib/nsgettext.rb",
+ "test/testlib/erb.rxml",
+ "test/testlib/pgettext.rb",
+ "test/testlib/helper.rb",
+ "test/testlib/N_.rb",
+ "test/testlib/ngettext.rb",
+ "test/testlib/sgettext.rb",
+ "bin/rgettext",
+ "bin/rmsgmerge",
+ "bin/rmsgfmt",
+ "Rakefile",
+ "README.rdoc",
+ "ChangeLog",
+ "src/poparser.ry",
+ "samples/cgi/po/hr/main.po",
+ "samples/cgi/po/hr/hellolib.po",
+ "samples/cgi/po/hr/helloerb1.po",
+ "samples/cgi/po/hr/helloerb2.po",
+ "samples/cgi/po/cs/main.po",
+ "samples/cgi/po/cs/hellolib.po",
+ "samples/cgi/po/cs/helloerb1.po",
+ "samples/cgi/po/cs/helloerb2.po",
+ "samples/cgi/po/hellolib.pot",
+ "samples/cgi/po/el/main.po",
+ "samples/cgi/po/el/hellolib.po",
+ "samples/cgi/po/el/helloerb1.po",
+ "samples/cgi/po/el/helloerb2.po",
+ "samples/cgi/po/bs/main.po",
+ "samples/cgi/po/bs/hellolib.po",
+ "samples/cgi/po/bs/helloerb1.po",
+ "samples/cgi/po/bs/helloerb2.po",
+ "samples/cgi/po/vi/main.po",
+ "samples/cgi/po/vi/hellolib.po",
+ "samples/cgi/po/vi/helloerb1.po",
+ "samples/cgi/po/vi/helloerb2.po",
+ "samples/cgi/po/pt_BR/main.po",
+ "samples/cgi/po/pt_BR/hellolib.po",
+ "samples/cgi/po/pt_BR/helloerb1.po",
+ "samples/cgi/po/pt_BR/helloerb2.po",
+ "samples/cgi/po/nb/main.po",
+ "samples/cgi/po/nb/hellolib.po",
+ "samples/cgi/po/nb/helloerb1.po",
+ "samples/cgi/po/nb/helloerb2.po",
+ "samples/cgi/po/ko/main.po",
+ "samples/cgi/po/ko/hellolib.po",
+ "samples/cgi/po/ko/helloerb1.po",
+ "samples/cgi/po/ko/helloerb2.po",
+ "samples/cgi/po/lv/main.po",
+ "samples/cgi/po/lv/hellolib.po",
+ "samples/cgi/po/lv/helloerb1.po",
+ "samples/cgi/po/lv/helloerb2.po",
+ "samples/cgi/po/ru/main.po",
+ "samples/cgi/po/ru/hellolib.po",
+ "samples/cgi/po/ru/helloerb1.po",
+ "samples/cgi/po/ru/helloerb2.po",
+ "samples/cgi/po/zh_TW/main.po",
+ "samples/cgi/po/zh_TW/hellolib.po",
+ "samples/cgi/po/zh_TW/helloerb1.po",
+ "samples/cgi/po/zh_TW/helloerb2.po",
+ "samples/cgi/po/ca/main.po",
+ "samples/cgi/po/ca/hellolib.po",
+ "samples/cgi/po/ca/helloerb1.po",
+ "samples/cgi/po/ca/helloerb2.po",
+ "samples/cgi/po/de/main.po",
+ "samples/cgi/po/de/hellolib.po",
+ "samples/cgi/po/de/helloerb1.po",
+ "samples/cgi/po/de/helloerb2.po",
+ "samples/cgi/po/es/main.po",
+ "samples/cgi/po/es/hellolib.po",
+ "samples/cgi/po/es/helloerb1.po",
+ "samples/cgi/po/es/helloerb2.po",
+ "samples/cgi/po/eo/main.po",
+ "samples/cgi/po/eo/hellolib.po",
+ "samples/cgi/po/eo/helloerb1.po",
+ "samples/cgi/po/eo/helloerb2.po",
+ "samples/cgi/po/nl/main.po",
+ "samples/cgi/po/nl/hellolib.po",
+ "samples/cgi/po/nl/helloerb1.po",
+ "samples/cgi/po/nl/helloerb2.po",
+ "samples/cgi/po/sr/main.po",
+ "samples/cgi/po/sr/hellolib.po",
+ "samples/cgi/po/sr/helloerb1.po",
+ "samples/cgi/po/sr/helloerb2.po",
+ "samples/cgi/po/hu/main.po",
+ "samples/cgi/po/hu/hellolib.po",
+ "samples/cgi/po/hu/helloerb1.po",
+ "samples/cgi/po/hu/helloerb2.po",
+ "samples/cgi/po/helloerb1.pot",
+ "samples/cgi/po/helloerb2.pot",
+ "samples/cgi/po/zh/main.po",
+ "samples/cgi/po/zh/hellolib.po",
+ "samples/cgi/po/zh/helloerb1.po",
+ "samples/cgi/po/zh/helloerb2.po",
+ "samples/cgi/po/ja/main.po",
+ "samples/cgi/po/ja/hellolib.po",
+ "samples/cgi/po/ja/helloerb1.po",
+ "samples/cgi/po/ja/helloerb2.po",
+ "samples/cgi/po/bg/main.po",
+ "samples/cgi/po/bg/hellolib.po",
+ "samples/cgi/po/bg/helloerb1.po",
+ "samples/cgi/po/bg/helloerb2.po",
+ "samples/cgi/po/main.pot",
+ #"samples/cgi/po/ua/main.po",
+ #"samples/cgi/po/ua/hellolib.po",
+ #"samples/cgi/po/ua/helloerb1.po",
+ #"samples/cgi/po/ua/helloerb2.po",
+ "samples/cgi/po/fr/main.po",
+ "samples/cgi/po/fr/hellolib.po",
+ "samples/cgi/po/fr/helloerb1.po",
+ "samples/cgi/po/fr/helloerb2.po",
+ "samples/cgi/po/it/main.po",
+ "samples/cgi/po/it/hellolib.po",
+ "samples/cgi/po/it/helloerb1.po",
+ "samples/cgi/po/it/helloerb2.po",
+ "samples/cgi/hellolib.rb",
+ "samples/cgi/helloerb1.cgi",
+ "samples/cgi/cookie.cgi",
+ "samples/cgi/README",
+ "samples/cgi/other.rhtml",
+ "samples/cgi/Rakefile",
+ "samples/cgi/gettext.css",
+ "samples/cgi/helloerb2.cgi",
+ "samples/cgi/http.rb",
+ "samples/cgi/helloerb.rhtml",
+ "samples/cgi/index.cgi",
+ "samples/po/hello_plural.pot",
+ "samples/po/hr/hello_glade2.po",
+ "samples/po/hr/hello_plural.po",
+ "samples/po/hr/hello_noop.po",
+ "samples/po/hr/hello.po",
+ "samples/po/hr/hello2.po",
+ "samples/po/hr/hello_tk.po",
+ "samples/po/hr/hello_gtk.po",
+ "samples/po/cs/hello_glade2.po",
+ "samples/po/cs/hello_plural.po",
+ "samples/po/cs/hello_noop.po",
+ "samples/po/cs/hello.po",
+ "samples/po/cs/hello2.po",
+ "samples/po/cs/hello_tk.po",
+ "samples/po/cs/hello_gtk.po",
+ "samples/po/el/hello_glade2.po",
+ "samples/po/el/hello_plural.po",
+ "samples/po/el/hello_noop.po",
+ "samples/po/el/hello.po",
+ "samples/po/el/hello2.po",
+ "samples/po/el/hello_tk.po",
+ "samples/po/el/hello_gtk.po",
+ "samples/po/bs/hello_glade2.po",
+ "samples/po/bs/hello_plural.po",
+ "samples/po/bs/hello_noop.po",
+ "samples/po/bs/hello.po",
+ "samples/po/bs/hello2.po",
+ "samples/po/bs/hello_tk.po",
+ "samples/po/bs/hello_gtk.po",
+ "samples/po/vi/hello_glade2.po",
+ "samples/po/vi/hello_plural.po",
+ "samples/po/vi/hello_noop.po",
+ "samples/po/vi/hello.po",
+ "samples/po/vi/hello2.po",
+ "samples/po/vi/hello_tk.po",
+ "samples/po/vi/hello_gtk.po",
+ "samples/po/pt_BR/hello_glade2.po",
+ "samples/po/pt_BR/hello_plural.po",
+ "samples/po/pt_BR/hello_noop.po",
+ "samples/po/pt_BR/hello.po",
+ "samples/po/pt_BR/hello2.po",
+ "samples/po/pt_BR/hello_tk.po",
+ "samples/po/pt_BR/hello_gtk.po",
+ "samples/po/nb/hello_glade2.po",
+ "samples/po/nb/hello_plural.po",
+ "samples/po/nb/hello_noop.po",
+ "samples/po/nb/hello.po",
+ "samples/po/nb/hello2.po",
+ "samples/po/nb/hello_tk.po",
+ "samples/po/nb/hello_gtk.po",
+ "samples/po/hello_noop.pot",
+ "samples/po/ko/hello_glade2.po",
+ "samples/po/ko/hello_plural.po",
+ "samples/po/ko/hello_noop.po",
+ "samples/po/ko/hello.po",
+ "samples/po/ko/hello2.po",
+ "samples/po/ko/hello_tk.po",
+ "samples/po/ko/hello_gtk.po",
+ "samples/po/lv/hello_glade2.po",
+ "samples/po/lv/hello_plural.po",
+ "samples/po/lv/hello_noop.po",
+ "samples/po/lv/hello.po",
+ "samples/po/lv/hello2.po",
+ "samples/po/lv/hello_tk.po",
+ "samples/po/lv/hello_gtk.po",
+ "samples/po/ru/hello_glade2.po",
+ "samples/po/ru/hello_plural.po",
+ "samples/po/ru/hello_noop.po",
+ "samples/po/ru/hello.po",
+ "samples/po/ru/hello2.po",
+ "samples/po/ru/hello_tk.po",
+ "samples/po/ru/hello_gtk.po",
+ "samples/po/zh_TW/hello_glade2.po",
+ "samples/po/zh_TW/hello_plural.po",
+ "samples/po/zh_TW/hello_noop.po",
+ "samples/po/zh_TW/hello.po",
+ "samples/po/zh_TW/hello2.po",
+ "samples/po/zh_TW/hello_tk.po",
+ "samples/po/zh_TW/hello_gtk.po",
+ "samples/po/ca/hello_glade2.po",
+ "samples/po/ca/hello_plural.po",
+ "samples/po/ca/hello_noop.po",
+ "samples/po/ca/hello.po",
+ "samples/po/ca/hello2.po",
+ "samples/po/ca/hello_tk.po",
+ "samples/po/ca/hello_gtk.po",
+ "samples/po/hello2.pot",
+ "samples/po/de/hello_glade2.po",
+ "samples/po/de/hello_plural.po",
+ "samples/po/de/hello_noop.po",
+ "samples/po/de/hello.po",
+ "samples/po/de/hello2.po",
+ "samples/po/de/hello_tk.po",
+ "samples/po/de/hello_gtk.po",
+ "samples/po/es/hello_glade2.po",
+ "samples/po/es/hello_plural.po",
+ "samples/po/es/hello_noop.po",
+ "samples/po/es/hello.po",
+ "samples/po/es/hello2.po",
+ "samples/po/es/hello_tk.po",
+ "samples/po/es/hello_gtk.po",
+ "samples/po/hello_gtk.pot",
+ "samples/po/eo/hello_glade2.po",
+ "samples/po/eo/hello_plural.po",
+ "samples/po/eo/hello_noop.po",
+ "samples/po/eo/hello.po",
+ "samples/po/eo/hello2.po",
+ "samples/po/eo/hello_tk.po",
+ "samples/po/eo/hello_gtk.po",
+ "samples/po/nl/hello_glade2.po",
+ "samples/po/nl/hello_plural.po",
+ "samples/po/nl/hello_noop.po",
+ "samples/po/nl/hello.po",
+ "samples/po/nl/hello2.po",
+ "samples/po/nl/hello_tk.po",
+ "samples/po/nl/hello_gtk.po",
+ "samples/po/sr/hello_glade2.po",
+ "samples/po/sr/hello_plural.po",
+ "samples/po/sr/hello_noop.po",
+ "samples/po/sr/hello.po",
+ "samples/po/sr/hello2.po",
+ "samples/po/sr/hello_tk.po",
+ "samples/po/sr/hello_gtk.po",
+ "samples/po/hello.pot",
+ "samples/po/hu/hello_glade2.po",
+ "samples/po/hu/hello_plural.po",
+ "samples/po/hu/hello_noop.po",
+ "samples/po/hu/hello.po",
+ "samples/po/hu/hello2.po",
+ "samples/po/hu/hello_tk.po",
+ "samples/po/hu/hello_gtk.po",
+ "samples/po/zh/hello_glade2.po",
+ "samples/po/zh/hello_plural.po",
+ "samples/po/zh/hello_noop.po",
+ "samples/po/zh/hello.po",
+ "samples/po/zh/hello2.po",
+ "samples/po/zh/hello_tk.po",
+ "samples/po/zh/hello_gtk.po",
+ "samples/po/test.rb",
+ "samples/po/ja/hello_glade2.po",
+ "samples/po/ja/hello_plural.po",
+ "samples/po/ja/hello_noop.po",
+ "samples/po/ja/hello.po",
+ "samples/po/ja/hello2.po",
+ "samples/po/ja/hello_tk.po",
+ "samples/po/ja/hello_gtk.po",
+ "samples/po/bg/hello_glade2.po",
+ "samples/po/bg/hello_plural.po",
+ "samples/po/bg/hello_noop.po",
+ "samples/po/bg/hello.po",
+ "samples/po/bg/hello2.po",
+ "samples/po/bg/hello_tk.po",
+ "samples/po/bg/hello_gtk.po",
+ #"samples/po/ua/hello_glade2.po",
+ #"samples/po/ua/hello_plural.po",
+ #"samples/po/ua/hello_noop.po",
+ #"samples/po/ua/hello.po",
+ #"samples/po/ua/hello2.po",
+ #"samples/po/ua/hello_tk.po",
+ #"samples/po/ua/hello_gtk.po",
+ "samples/po/fr/hello_glade2.po",
+ "samples/po/fr/hello_plural.po",
+ "samples/po/fr/hello_noop.po",
+ "samples/po/fr/hello.po",
+ "samples/po/fr/hello2.po",
+ "samples/po/fr/hello_tk.po",
+ "samples/po/fr/hello_gtk.po",
+ "samples/po/hello_tk.pot",
+ "samples/po/sv/hello_glade2.po",
+ "samples/po/sv/hello_plural.po",
+ "samples/po/sv/hello_noop.po",
+ "samples/po/sv/hello.po",
+ "samples/po/sv/hello2.po",
+ "samples/po/sv/hello_tk.po",
+ "samples/po/sv/hello_gtk.po",
+ "samples/po/hello_glade2.pot",
+ "samples/po/it/hello_glade2.po",
+ "samples/po/it/hello_plural.po",
+ "samples/po/it/hello_noop.po",
+ "samples/po/it/hello.po",
+ "samples/po/it/hello2.po",
+ "samples/po/it/hello_tk.po",
+ "samples/po/it/hello_gtk.po",
+ "samples/hello_noop.rb",
+ "samples/hello_plural.rb",
+ "samples/makemo.rb",
+ "samples/hello_glade2.glade",
+ "samples/hello.rb",
+ "samples/hello_gtk2.rb",
+ "samples/README",
+ "samples/hello_glade2.rb",
+ "samples/hello2.rb",
+ "samples/hello_tk.rb",
+ "gettext.gemspec"]
s.has_rdoc = true
s.homepage = %q{http://gettext.rubyforge.org/}
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "GetText", "--main", "README.rdoc"]
s.require_paths = ["lib"]
s.rubyforge_project = %q{gettext}
s.rubygems_version = %q{1.3.1}
- s.summary = %q{Ruby-GetText-Package is a libary and tools to localize messages.}
- s.test_files = ["test/test_textdomain.rb", "test/test_textdomain_toplevel.rb", "test/test_gettext.rb", "test/test_parser.rb", "test/test_string.rb", "test/test_class_info.rb", "test/test_textdomain_multi.rb"]
+ s.summary = %q{Ruby-GetText-Package is a library and tools to localize messages.}
+ s.test_files = [
+ #"test/test_textdomain.rb",
+ "test/test_textdomain_toplevel.rb",
+ "test/test_gettext.rb",
+ "test/test_parser.rb",
+ "test/test_string.rb",
+ "test/test_class_info.rb",
+ "test/test_textdomain_multi.rb"]
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
View
1 lib/gettext.rb
@@ -24,6 +24,7 @@
end
end
+require 'rbconfig'
require 'locale'
raise "Install locale as gem or uninstall old gettext" unless Locale.respond_to? :candidates
View
6 lib/gettext/runtime/locale_path.rb
@@ -19,12 +19,12 @@ class LocalePath
include Locale::Util::Memoizable
# The default locale paths.
- CONFIG_PREFIX = Config::CONFIG['prefix'].gsub(/\/local/, "")
+ CONFIG_PREFIX = RbConfig::CONFIG['prefix'].gsub(/\/local/, "")
DEFAULT_RULES = [
"./locale/%{lang}/LC_MESSAGES/%{name}.mo",
"./locale/%{lang}/%{name}.mo",
- "#{Config::CONFIG['datadir']}/locale/%{lang}/LC_MESSAGES/%{name}.mo",
- "#{Config::CONFIG['datadir'].gsub(/\/local/, "")}/locale/%{lang}/LC_MESSAGES/%{name}.mo",
+ "#{RbConfig::CONFIG['datadir']}/locale/%{lang}/LC_MESSAGES/%{name}.mo",
+ "#{RbConfig::CONFIG['datadir'].gsub(/\/local/, "")}/locale/%{lang}/LC_MESSAGES/%{name}.mo",
"#{CONFIG_PREFIX}/share/locale/%{lang}/LC_MESSAGES/%{name}.mo",
"#{CONFIG_PREFIX}/local/share/locale/%{lang}/LC_MESSAGES/%{name}.mo"
].uniq
View
2 lib/gettext/tools.rb
@@ -12,7 +12,7 @@
require 'rbconfig'
if /mingw|mswin|mswin32/ =~ RUBY_PLATFORM
ENV['PATH'] = %w(bin lib).collect{|dir|
- "#{Config::CONFIG["prefix"]}\\lib\\GTK\\#{dir};"
+ "#{RbConfig::CONFIG["prefix"]}\\lib\\GTK\\#{dir};"
}.join('') + ENV['PATH']
end
View
2 lib/gettext/tools/rgettext.rb
@@ -194,7 +194,7 @@ def check_options # :nodoc:
opts.on_tail("--version", _("display version information and exit")) do
puts "#{$0} #{VERSION}"
- puts "#{File.join(Config::CONFIG["bindir"], Config::CONFIG["RUBY_INSTALL_NAME"])} #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
+ puts "#{File.join(RbConfig::CONFIG["bindir"], RbConfig::CONFIG["RUBY_INSTALL_NAME"])} #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
exit
end
View
2 lib/gettext/tools/rmsgfmt.rb
@@ -57,7 +57,7 @@ def check_options # :nodoc:
opts.on_tail("--version", _("display version information and exit")) do
puts "#{$0} #{GetText::VERSION}"
- puts "#{File.join(Config::CONFIG["bindir"], Config::CONFIG["RUBY_INSTALL_NAME"])} #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
+ puts "#{File.join(RbConfig::CONFIG["bindir"], RbConfig::CONFIG["RUBY_INSTALL_NAME"])} #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
exit
end
opts.parse!(ARGV)
View
2 lib/gettext/tools/rmsgmerge.rb
@@ -421,7 +421,7 @@ def check_options(config)
opts.on_tail("--version", _("display version information and exit")) do
puts "#{$0} #{VERSION} (#{DATE})"
- puts "#{File.join(::Config::CONFIG["bindir"], ::Config::CONFIG["RUBY_INSTALL_NAME"])} #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
+ puts "#{File.join(::RbConfig::CONFIG["bindir"], ::RbConfig::CONFIG["RUBY_INSTALL_NAME"])} #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
exit
end
View
4 samples/cgi/http.rb
@@ -12,8 +12,8 @@
require 'cgi'
require 'rbconfig'
-interpreter = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name']) +
- Config::CONFIG['EXEEXT']
+interpreter = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name']) +
+ RbConfig::CONFIG['EXEEXT']
srv = WEBrick::HTTPServer.new({:BindAddress => '127.0.0.1',
:Logger => WEBrick::Log::new($stderr, WEBrick::Log::DEBUG),
View
4 test/test_locale_path.rb
@@ -16,8 +16,8 @@ def test_locale_path
default_locale_dirs = [
"./locale/%{lang}/LC_MESSAGES/%{name}.mo",
"./locale/%{lang}/%{name}.mo",
- "#{Config::CONFIG['datadir']}/locale/%{lang}/LC_MESSAGES/%{name}.mo",
- "#{Config::CONFIG['datadir'].gsub(/\/local/, "")}/locale/%{lang}/LC_MESSAGES/%{name}.mo",
+ "#{RbConfig::CONFIG['datadir']}/locale/%{lang}/LC_MESSAGES/%{name}.mo",
+ "#{RbConfig::CONFIG['datadir'].gsub(/\/local/, "")}/locale/%{lang}/LC_MESSAGES/%{name}.mo",
"#{prefix}/share/locale/%{lang}/LC_MESSAGES/%{name}.mo",
"#{prefix}/local/share/locale/%{lang}/LC_MESSAGES/%{name}.mo"
].uniq

0 comments on commit f8986f8

Please sign in to comment.
Something went wrong with that request. Please try again.