Add sketch of I18n error translation

This commit is contained in:
Simon Eskildsen
2013-08-30 12:31:57 -04:00
parent 0e41c2c6e9
commit f37a984fd7
7 changed files with 102 additions and 2 deletions
+3 -1
View File
@@ -7,7 +7,9 @@ begin
rescue LoadError
puts "Couldn't load ruby-debug. gem install ruby-debug if you need it."
end
require File.join(File.dirname(__FILE__), '..', 'lib', 'liquid')
$:.unshift(File.join(File.expand_path(File.dirname(__FILE__)), '..', 'lib'))
require 'liquid.rb'
mode = :strict
if env_mode = ENV['LIQUID_PARSER_MODE']