i18n a label in Image/Graph.pm

This commit is contained in:
Colin Kuskie 2006-11-17 06:45:27 +00:00
parent 74a22d167d
commit 9f679b1c03
2 changed files with 6 additions and 1 deletions

View file

@ -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;

View file

@ -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;