Sha256: 0154750d9c5d056fb48850136b0a5b427e850e86861d60f2a5d202d4cbbe14d8

Contents?: true

Size: 323 Bytes

Versions: 2

Compression:

Stored size: 323 Bytes

Contents

#
# Added for Ruby-GetText-Package
#

require 'gettext/utils'
desc "Create mo-files for L10n"
task :makemo do
  GetText.create_mofiles(true, "po", "locale")
end

desc "Update pot/po files to match new version."
task :updatepo do
  GetText.update_pofiles("blog", Dir.glob("{app,lib}/**/*.{rb,rhtml}"),
			 "blog 1.2.0")
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gettext-1.8.0-mswin32 samples/rails/lib/tasks/gettext.rake
gettext-1.8.0 samples/rails/lib/tasks/gettext.rake