Commit bd5d4ab0 authored by Shawn M Moore's avatar Shawn M Moore
Browse files

More locs

parent 702a14d1
......@@ -648,7 +648,7 @@ Returns an (ok, message) pair.
sub CompileCheck {
my $self = shift;
return (1, "Template does not include Perl code")
return (1, $self->loc("Template does not include Perl code"))
unless $self->Type eq 'Full';
my $template = Text::Template->new(
......@@ -674,7 +674,7 @@ sub CompileCheck {
return (0, $self->loc("Couldn't compile template codeblock '[_1]': [_2]", $fi_text, $error));
}
return (1, "Template compiles");
return (1, $self->loc("Template compiles"));
}
1;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment