Fix variable closing error message

This commit is contained in:
Tristan Hume
2013-08-30 15:55:43 -04:00
parent af50f71224
commit 09a5b57ebe
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ module Liquid
token.scan(ContentOfVariable) do |content|
return Variable.new(content.first, @options)
end
raise SyntaxError.new(options[:locale].t("errors.syntax.tag_termination", :token => token, :tag_end => TagEnd.inspect))
raise SyntaxError.new(options[:locale].t("errors.syntax.variable_termination", :token => token, :tag_end => VariableEnd.inspect))
end
def render(context)