Skip to content

Commit

Permalink
backport of i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebraun committed Mar 22, 2016
1 parent af7a450 commit 9adb84c
Show file tree
Hide file tree
Showing 69 changed files with 2,239 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/global.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@
/* include additional modules */
include_once($config['library_path'] . '/functions.php');
include_once($config['include_path'] . '/global_constants.php');
include_once($config['include_path'] . '/global_languages.php');

if ((isset($no_http_headers) && $no_http_headers == true) || in_array(basename($_SERVER['PHP_SELF']), $no_http_header_files, true)) {
$is_web = false;
Expand Down
6 changes: 6 additions & 0 deletions include/global_arrays.php
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,12 @@
'rrd-1.5.x' => 'RRDTool 1.5.x'
);

$i18n_modes = array(
0 => __('Disabled'),
1 => __('Enabled'),
2 => __('Enabled (strict mode)'),
);

$cdef_item_types = array(
CVDEF_ITEM_TYPE_FUNCTION => 'Function',
CVDEF_ITEM_TYPE_OPERATOR => 'Operator',
Expand Down
Loading

0 comments on commit 9adb84c

Please sign in to comment.