[Rt-commit] rt branch, new-style-templates, updated. rt-3.8.8-219-gbd5d4ab
Shawn Moore
sartak at bestpractical.com
Mon Jul 26 20:15:03 EDT 2010
The branch, new-style-templates has been updated
via bd5d4ab05de50a3bb1e8530f2fde9c1bc8edebb0 (commit)
from 702a14d1989c29fb3684ac67b32be7ca6846e39e (commit)
Summary of changes:
lib/RT/Template_Overlay.pm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit bd5d4ab05de50a3bb1e8530f2fde9c1bc8edebb0
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Mon Jul 26 20:16:52 2010 -0400
More locs
diff --git a/lib/RT/Template_Overlay.pm b/lib/RT/Template_Overlay.pm
index 12b8075..28294cc 100755
--- a/lib/RT/Template_Overlay.pm
+++ b/lib/RT/Template_Overlay.pm
@@ -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;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list