Sha256: 505b5cd166f9d4c074ec303ea80d62c60a413c2694ceaa6e9414068d221e0a78

Contents?: true

Size: 368 Bytes

Versions: 9

Compression:

Stored size: 368 Bytes

Contents

require 'benchmark/base'

gem 'gettext', '>=2.0.0'
require 'gettext'
include GetText

self.locale = 'de'

puts "GetText #{GetText::VERSION}:"
bindtextdomain('test',:path=>locale_folder('test'))
results_test{_('car') == 'Auto'}

#i cannot add the large file, since its an internal applications mo file
bindtextdomain('large',:path=>locale_folder('large'))
results_large

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
grosser-fast_gettext-0.4.12 benchmark/original.rb
grosser-fast_gettext-0.4.13 benchmark/original.rb
grosser-fast_gettext-0.4.14 benchmark/original.rb
grosser-fast_gettext-0.4.15 benchmark/original.rb
grosser-fast_gettext-0.4.16 benchmark/original.rb
fast_gettext-0.5.2 benchmark/original.rb
fast_gettext-0.5.1 benchmark/original.rb
fast_gettext-0.4.17 benchmark/original.rb
fast_gettext-0.4.16 benchmark/original.rb