Sha256: 8c987525c5e81f72f69ccc579205ec19d0c8340801ef105fd0df71d9d1b63c2e
Contents?: true
Size: 801 Bytes
Versions: 24
Compression:
Stored size: 801 Bytes
Contents
task :default => [:makemo] require 'gettext/utils' desc "Create *.mo from *.po" task :makemo do GetText.create_mofiles(false, "po", "locale") end desc "Update pot/po files to match new version." task :updatepo do =begin GetText.update_pofiles("helloerb1", ["helloerb1.cgi", "helloerb.rhtml", "other.rhtml"], "cgi-sample 1.1.1") GetText.update_pofiles("helloerb2", ["helloerb2.cgi", "helloerb.rhtml"], "cgi-sample 1.1.1") GetText.update_pofiles("hellolib", ["hellolib.rb"], "cgi-sample 1.1.1") =end GetText.update_pofiles("main", ["index.cgi", "cookie.cgi"], "cgi-sample 1.1.1") end
Version data entries
24 entries across 24 versions & 1 rubygems