2 % $cgi->param('error',$error);
3 <% $cgi->redirect($p. "msgcat.cgi?". $cgi->query_string ) %>
5 <% $cgi->redirect(popurl(3). "browse/msgcat.cgi") %>
10 unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
13 foreach my $param ( grep { /^\d+$/ } $cgi->param ) {
14 my $old = qsearchs('msgcat', { msgnum=>$param } );
15 next if $old->msg eq $cgi->param($param); #no need to update identical records
16 die "editing en_US locale is currently disabled" if $old->locale eq 'en_US';
17 my $new = new FS::msgcat { $old->hash };
18 $new->msg($cgi->param($param));
19 $error = $new->replace($old);