[livejournal] r17407: LJSV-1099.
Committer: gprochaev
LJSV-1099.U trunk/htdocs/approve.bml U trunk/htdocs/approve.bml.text
Modified: trunk/htdocs/approve.bml
===================================================================
--- trunk/htdocs/approve.bml 2010-09-20 03:07:32 UTC (rev 17406)
+++ trunk/htdocs/approve.bml 2010-09-20 04:31:56 UTC (rev 17407)
@@ -89,7 +89,8 @@
return LJ::bad_input($ML{'.error.internerr.invalidaction'}) unless $targetid;
# add to community
- return "<?h1 $ML{'Error'} h1?><?p $ML{'.error.approving'} p?>"
+ my $user = LJ::load_userid($aa->{userid});
+ return "<?h1 $ML{'Error'} h1?><?p ".LJ::Lang::ml('.error.approving', { username => $user->ljuser_display } )." p?>"
unless LJ::approve_pending_member($aa->{userid}, $targetid);
# return success
Modified: trunk/htdocs/approve.bml.text
===================================================================
--- trunk/htdocs/approve.bml.text 2010-09-20 03:07:32 UTC (rev 17406)
+++ trunk/htdocs/approve.bml.text 2010-09-20 04:31:56 UTC (rev 17407)
@@ -14,7 +14,7 @@
.error.actionperformed=This action has already been performed
-.error.approving=There was an error approving this request to join.
+.error.approving=There was an error approving this request to join.<br/>Following user was not added: [[username]] because they emails are not validated
.error.internerr.invalidaction=Internal error: invalid action
