diff --git a/inc/dropdown.class.php b/inc/dropdown.class.php index e8370ac..e0cdc53 100644 --- a/inc/dropdown.class.php +++ b/inc/dropdown.class.php @@ -36,9 +36,12 @@ class PluginExampleDropdown extends CommonDropdown { - static function getTypeName() { + static function getTypeName($nb=0) { - return __('Plugin Example Dropdown'); + if ($nb > 0) { + return __('Plugin Example Dropdowns'); + } + return __('Plugin Example Dropdowns'); } } ?>