[Jifty-commit] r1090 - jifty/trunk/lib/Jifty/Action/Record
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Mon May 22 21:51:11 EDT 2006
Author: audreyt
Date: Mon May 22 21:51:10 2006
New Revision: 1090
Modified:
jifty/trunk/lib/Jifty/Action/Record/Create.pm
jifty/trunk/lib/Jifty/Action/Record/Delete.pm
jifty/trunk/lib/Jifty/Action/Record/Update.pm
Log:
* Jifty::Action::Record::{Create,Delete,Update}: Localise the result messages
like "Created" and "Updated".
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 Mon May 22 21:51:10 2006
@@ -107,7 +107,7 @@
sub report_success {
my $self = shift;
- $self->result->message("Created")
+ $self->result->message(_("Created"))
}
Modified: jifty/trunk/lib/Jifty/Action/Record/Delete.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action/Record/Delete.pm (original)
+++ jifty/trunk/lib/Jifty/Action/Record/Delete.pm Mon May 22 21:51:10 2006
@@ -72,7 +72,7 @@
sub report_success {
my $self = shift;
- $self->result->message("Deleted")
+ $self->result->message(_("Deleted"))
}
1;
Modified: jifty/trunk/lib/Jifty/Action/Record/Update.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action/Record/Update.pm (original)
+++ jifty/trunk/lib/Jifty/Action/Record/Update.pm Mon May 22 21:51:10 2006
@@ -143,7 +143,7 @@
sub report_success {
my $self = shift;
- $self->result->message("Updated")
+ $self->result->message(_("Updated"))
}
1;
More information about the Jifty-commit
mailing list