i18n a label in Image/Graph.pm
This commit is contained in:
parent
74a22d167d
commit
9f679b1c03
2 changed files with 6 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ sub getGraphingTab {
|
||||||
|
|
||||||
unless ($session->config->get("graphingPlugins")) {
|
unless ($session->config->get("graphingPlugins")) {
|
||||||
$f->readOnly(
|
$f->readOnly(
|
||||||
-value => "No graphing plugins are enabled in the config file."
|
-value => $i18n->get('no graphing plugins in config');
|
||||||
);
|
);
|
||||||
|
|
||||||
return $f->printRowsOnly;
|
return $f->printRowsOnly;
|
||||||
|
|
|
||||||
|
|
@ -80,6 +80,11 @@ want to use.|,
|
||||||
message => q|No graphing plugins found|,
|
message => q|No graphing plugins found|,
|
||||||
lastUpdated => 1146451962,
|
lastUpdated => 1146451962,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
'no graphing plugins in config' => {
|
||||||
|
message => q|No graphing plugins are enabled in the config file.|,
|
||||||
|
lastUpdated => 1163746146,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue