update gettext manage to fit to new system see #3931

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@202 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
moyooo
2012-10-16 09:24:54 +00:00
parent abbbbf1cad
commit 2814d6dc83
10 changed files with 98 additions and 93 deletions

View File

@ -64,7 +64,7 @@ function plugin_init_example() {
$PLUGIN_HOOKS['submenu_entry']['example']['options']['optionname']['links']['add'] = '/plugins/example/front/example.form.php';
$PLUGIN_HOOKS['submenu_entry']['example']['options']['optionname']['links']['config'] = '/plugins/example/index.php';
$PLUGIN_HOOKS['submenu_entry']['example']['options']['optionname']['links']["<img src='".$CFG_GLPI["root_doc"]."/pics/menu_showall.png' title='".__s('Show all')."' alt='".__s('Show all')."'>"] = '/plugins/example/index.php';
$PLUGIN_HOOKS['submenu_entry']['example']['options']['optionname']['links'][__s('Test link')] = '/plugins/example/index.php';
$PLUGIN_HOOKS['submenu_entry']['example']['options']['optionname']['links'][__s('Test link', 'example')] = '/plugins/example/index.php';
$PLUGIN_HOOKS["helpdesk_menu_entry"]['example'] = true;
}
@ -198,7 +198,7 @@ function plugin_example_check_config($verbose=false) {
}
if ($verbose) {
_e('Installed / not configured');
_e('Installed / not configured', 'example');
}
return false;
}