lib/i18n_screwdriver.rb in i18n_screwdriver-2.1.0 vs lib/i18n_screwdriver.rb in i18n_screwdriver-2.1.1

- old
+ new

@@ -27,11 +27,11 @@ end end def self.grab_texts_to_be_translated(string) [].tap do |texts| - texts.concat(string.scan(/_\("([^"]+)"\)/).map{ |v| v[0] }) - texts.concat(string.scan(/_\('([^']+)'\)/).map{ |v| v[0] }) + texts.concat(string.scan(/_\("([^"]*)"\)/).map{ |v| v[0] }) + texts.concat(string.scan(/_\('([^']*)'\)/).map{ |v| v[0] }) end end def self.in_utf8(hash) {}.tap do |result|