[freeside-commits] freeside/httemplate/browse msgcat.cgi,1.7,1.8
Erik Levinson
levinse at wavetail.420.am
Thu May 26 12:38:36 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail.420.am:/tmp/cvs-serv29024/httemplate/browse
Modified Files:
msgcat.cgi
Log Message:
internationalization/localization, RT12515
Index: msgcat.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/msgcat.cgi,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -w -d -r1.7 -r1.8
--- msgcat.cgi 22 May 2011 21:48:32 -0000 1.7
+++ msgcat.cgi 26 May 2011 19:38:33 -0000 1.8
@@ -10,7 +10,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', },
'layer_callback' => sub {
my $layer = shift;
my $html = "<BR>".emt("Messages for locale [_1]",$layer)."<BR>". table().
@@ -28,7 +28,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