Revision ccab26de
Added by Marc Dequènes almost 16 years ago
- ID ccab26de9450c362f61c0c391e47f9861d5d35d9
Rakefile | ||
---|---|---|
Dir.chdir(File.dirname(File.expand_path(__FILE__)))
|
||
APP_ROOT = File.dirname(File.expand_path(__FILE__))
|
||
Dir.chdir(APP_ROOT)
|
||
$: << "./lib"
|
||
|
||
ENV['LC_ALL'] = "C"
|
||
... | ... | |
|
||
desc "Update pot/po files to match new version."
|
||
task :updatepo do
|
||
GetText.update_pofiles(CyborgHood::PRODUCT,
|
||
GetText.update_pofiles("cyborghood",
|
||
Dir.glob("lib/**/*.{rb,rhtml}"),
|
||
CyborgHood::PRODUCT + " " + CyborgHood::VERSION)
|
||
# temporary component listing
|
||
["Postman"].each do |component|
|
||
GetText.update_pofiles(CyborgHood::PRODUCT + "_" + component,
|
||
GetText.update_pofiles("cyborghood_" + component.downcase,
|
||
component.downcase,
|
||
CyborgHood::PRODUCT + " " + CyborgHood::VERSION)
|
||
end
|
Also available in: Unified diff
[fix] gettext domains are binded correctly now (using a new PostmanHome submodule to separate domains easily)