Sha256: 9dfd454658401924a27e48e994729721120a3b614789d241a5b983bf51c43236

Contents?: true

Size: 349 Bytes

Versions: 4

Compression:

Stored size: 349 Bytes

Contents

#
# Added for Ruby-GetText-Package
#

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

desc "Update pot/po files to match new version."
task :updatepo do
  require 'gettext/utils'
  GetText.update_pofiles("blog", Dir.glob("{app,lib}/**/*.{rb,erb}"),
			 "blog 2.0.0")
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gettext-1.92.0 samples/rails/lib/tasks/gettext.rake
gettext-1.91.0 samples/rails/lib/tasks/gettext.rake
gettext-1.90.0 samples/rails/lib/tasks/gettext.rake
gettext-1.93.0 samples/rails/lib/tasks/gettext.rake