From 9f679b1c03897c76b8d816b2d99f9bcf8393ff39 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 17 Nov 2006 06:45:27 +0000 Subject: [PATCH] i18n a label in Image/Graph.pm --- lib/WebGUI/Image/Graph.pm | 2 +- lib/WebGUI/i18n/English/Image_Graph.pm | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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;