diff --git a/lib/WebGUI/Image/Graph.pm b/lib/WebGUI/Image/Graph.pm index 84a4020cc..e2721edb9 100644 --- a/lib/WebGUI/Image/Graph.pm +++ b/lib/WebGUI/Image/Graph.pm @@ -241,7 +241,7 @@ sub getGraphingTab { unless ($session->config->get("graphingPlugins")) { $f->readOnly( - -value => "No graphing plugins are enabled in the config file." + -value => $i18n->get('no graphing plugins in config'); ); return $f->printRowsOnly; diff --git a/lib/WebGUI/i18n/English/Image_Graph.pm b/lib/WebGUI/i18n/English/Image_Graph.pm index d4d9ae3dc..38ff4dd85 100644 --- a/lib/WebGUI/i18n/English/Image_Graph.pm +++ b/lib/WebGUI/i18n/English/Image_Graph.pm @@ -80,6 +80,11 @@ want to use.|, message => q|No graphing plugins found|, lastUpdated => 1146451962, }, + + 'no graphing plugins in config' => { + message => q|No graphing plugins are enabled in the config file.|, + lastUpdated => 1163746146, + }, }; 1;