lib/i18n/tasks/configuration.rb in i18n-tasks-0.2.14 vs lib/i18n/tasks/configuration.rb in i18n-tasks-0.2.15
- old
+ new
@@ -24,10 +24,10 @@
end
{adapter: adapter, options: conf.except(:adapter, :class)}
end
end
- DEFAULT_PATTERN = /\bt[( ]\s*(:?".+?"|:?'.+?'|:\w+)/
+ DEFAULT_PATTERN = /\bt(?:ranslate)?[( ]\s*(:?".+?"|:?'.+?'|:\w+)/
# search config
# @return [Hash{String => String,Hash,Array}]
def search_config
@config_sections[:search] ||= begin
if config.key?(:grep)