[freeside-commits] freeside/httemplate/edit msgcat.cgi,1.6,1.7
Erik Levinson
levinse at wavetail.420.am
Thu May 26 12:38:36 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv29024/httemplate/edit
Modified Files:
msgcat.cgi
Log Message:
internationalization/localization, RT12515
Index: msgcat.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/msgcat.cgi,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- msgcat.cgi 23 May 2011 16:25:26 -0000 1.6
+++ msgcat.cgi 26 May 2011 19:38:34 -0000 1.7
@@ -15,7 +15,7 @@
my $widget = new HTML::Widgets::SelectLayers(
'selected_layer' => 'en_US',
- 'options' => { 'en_US'=>'en_US' },
+ 'options' => { 'en_US'=>'en_US', 'iw_IL' => 'iw_IL', },
'form_action' => 'process/msgcat.cgi',
'layer_callback' => sub {
my $layer = shift;
@@ -39,7 +39,7 @@
'locale' => 'en_US',
'msgcode' => $msgcat->msgcode,
} );
- $html .= '<TD>'. $en_msgcat->msg. '</TD>';
+ $html .= '<TD>'. $en_msgcat->msg. '</TD>' if $en_msgcat;
}
$html .= '</TR>';
}
More information about the freeside-commits
mailing list