Project

General

Profile

« Previous | Next » 

Revision 21e768ec

Added by Phil Davis over 8 years ago

Do not attempt to translate '-DIVIDER-'

'-DIVIDER-' is a keyword here. If someone does translate this, then the divider is going to go missing when in their language.

View differences:

src/usr/local/www/head.inc
219 219

  
220 220

  
221 221
// NOTE:
222
// $your_menu[] = array(gettext("-DIVIDER-"), ""); adds a horizontal divider to the menu. See $interfaces_menu[] for example
222
// $your_menu[] = array("-DIVIDER-", ""); adds a horizontal divider to the menu. See $interfaces_menu[] for example
223 223

  
224 224
// System
225 225
$system_menu = array();
......
261 261
}
262 262

  
263 263
if ($div) {
264
	$interfaces_menu[] = array(gettext("-DIVIDER-"), "");
264
	$interfaces_menu[] = array("-DIVIDER-", "");
265 265
}
266 266

  
267 267
$opts = get_configured_interface_with_descr(false, true);

Also available in: Unified diff