2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 if (! defined('PHPMYADMIN')) {
8 * This function is used to retreive some language strings that are used
9 * in functionalities that are common to routines, triggers and events.
11 * @param string $index The index of the string to get
13 * @return string The requested string or an empty string, if not available
15 function PMA_RTE_getWord($index)
22 'add' => __('Add routine'),
23 'docu' => 'STORED_ROUTINES',
24 'export' => __('Export of routine %s'),
25 'human' => __('routine'),
26 'no_create' => __('You do not have the necessary privileges to create a routine'),
27 'not_found' => __('No routine with name %1$s found in database %2$s'),
28 'nothing' => __('There are no routines to display.'),
29 'title' => __('Routines'),
34 'add' => __('Add trigger'),
36 'export' => __('Export of trigger %s'),
37 'human' => __('trigger'),
38 'no_create' => __('You do not have the necessary privileges to create a trigger'),
39 'not_found' => __('No trigger with name %1$s found in database %2$s'),
40 'nothing' => __('There are no triggers to display.'),
41 'title' => __('Triggers'),
46 'add' => __('Add event'),
48 'export' => __('Export of event %s'),
49 'human' => __('event'),
50 'no_create' => __('You do not have the necessary privileges to create an event'),
51 'not_found' => __('No event with name %1$s found in database %2$s'),
52 'nothing' => __('There are no events to display.'),
53 'title' => __('Events'),
61 return isset($words[$index]) ?
$words[$index] : '';
62 } // end PMA_RTE_getWord()