gettext for plugin example + tools

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@179 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
moyooo
2011-12-20 10:03:35 +00:00
parent 4b086c9c08
commit e53695069b
16 changed files with 684 additions and 87 deletions

View File

@ -40,9 +40,9 @@ class PluginExampleNotificationTargetExample extends NotificationTarget {
}
function getDatasForTemplate($event, $options=array()) {
global $DB, $LANG, $CFG_GLPI;
global $DB, $CFG_GLPI;
$this->datas['##example.name##'] = 'Example';
$this->datas['##example.name##'] = __('Example');
}
}
?>