2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * This function is used to retreive some language strings that are used
5 * in functionalities that are common to routines, triggers and events.
7 * @param string $index The index of the string to get
9 * @return string The requested string or an empty string, if not available
11 function PMA_RTE_getWord($index)
18 'add' => __('Add routine'),
19 'docu' => 'STORED_ROUTINES',
20 'export' => __('Export of routine %s'),
21 'human' => __('routine'),
22 'no_create' => __('You do not have the necessary privileges to create a routine'),
23 'not_found' => __('No routine with name %1$s found in database %2$s'),
24 'nothing' => __('There are no routines to display.'),
25 'title' => __('Routines'),
30 'add' => __('Add trigger'),
32 'export' => __('Export of trigger %s'),
33 'human' => __('trigger'),
34 'no_create' => __('You do not have the necessary privileges to create a trigger'),
35 'not_found' => __('No trigger with name %1$s found in database %2$s'),
36 'nothing' => __('There are no triggers to display.'),
37 'title' => __('Triggers'),
42 'add' => __('Add event'),
44 'export' => __('Export of event %s'),
45 'human' => __('event'),
46 'no_create' => __('You do not have the necessary privileges to create an event'),
47 'not_found' => __('No event with name %1$s found in database %2$s'),
48 'nothing' => __('There are no events to display.'),
49 'title' => __('Events'),
57 return isset($words[$index]) ?
$words[$index] : '';
58 } // end PMA_RTE_getWord()