[Jifty-commit] r1492 - jifty/trunk/lib/Jifty/Action/Record
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Thu Jul 6 15:27:01 EDT 2006
Author: audreyt
Date: Thu Jul 6 15:27:01 2006
New Revision: 1492
Modified:
jifty/trunk/lib/Jifty/Action/Record/Create.pm
Log:
* Action::Create - L10N errors
Modified: jifty/trunk/lib/Jifty/Action/Record/Create.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action/Record/Create.pm (original)
+++ jifty/trunk/lib/Jifty/Action/Record/Create.pm Thu Jul 6 15:27:01 2006
@@ -71,8 +71,8 @@
# Handle errors?
unless ( $record->id ) {
- $self->result->error("An error occurred. Try again later");
- $self->log->error("Create of ".ref($record)." failed: $msg");
+ $self->result->error(_("An error occurred. Try again later"));
+ $self->log->error(_("Create of %1 failed: %2", ref($record), $msg));
return;
}
More information about the Jifty-commit
mailing list