Sha256: 4cbbcf03dbe06a579ea7551876547226a26548ba1b2979f7a8e8a616e7d36fe6

Contents?: true

Size: 351 Bytes

Versions: 4

Compression:

Stored size: 351 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,rhtml}"),
			 "blog 1.2.0")
end

Version data entries

4 entries across 4 versions & 1 rubygems

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