Revision ad01d4d2
Added by Walden Raines over 10 years ago
lib/tasks/locale.rake | ||
---|---|---|
FileUtils.rm "#{filename}.tmp"
|
||
end
|
||
|
||
# just revert to the traditional underscore.
|
||
GettextI18nRailsJs::JsAndCoffeeParser.js_gettext_function = '_' if defined? GettextI18nRailsJs
|
||
|
||
desc 'Extract strings from codebase'
|
||
task :find_code => ["gettext:find", "gettext:po_to_json"]
|
||
|
Also available in: Unified diff
fixes #3984 - use __ instead of _ for i18n to avoid conflict with underscore.js