gettext_i18n_rails 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/gettext_i18n_rails.gemspec +1 -1
- data/lib/gettext_i18n_rails/ruby_gettext_extractor.rb +5 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.8
|
data/gettext_i18n_rails.gemspec
CHANGED
@@ -44,7 +44,11 @@ module RubyGettextExtractor
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def run(content)
|
47
|
-
|
47
|
+
# ruby parser has an ugly bug which causes that several \000's take
|
48
|
+
# ages to parse. This avoids this probelm by stripping them away (they probably wont appear in keys anyway)
|
49
|
+
# See bug report: http://rubyforge.org/tracker/index.php?func=detail&aid=26898&group_id=439&atid=1778
|
50
|
+
safe_content = content.gsub(/\\\d\d\d/, '')
|
51
|
+
self.parse(safe_content)
|
48
52
|
return @results
|
49
53
|
end
|
50
54
|
|