Add new localization constant

This commit is contained in:
Fedor A. Fetisov 2013-10-28 17:23:04 +04:00
parent 12c3e2d60d
commit a2bfeb72a7
4 changed files with 4 additions and 3 deletions

View File

@ -265,6 +265,7 @@ menu.updates=Updates
my_settings.error.no_password=No Password set for the Administrator my_settings.error.no_password=No Password set for the Administrator
my_settings.error.password_match=Entered passwords do not match my_settings.error.password_match=Entered passwords do not match
no_such_operator=No such Operator no_such_operator=No such Operator
not_found=-not found-
operator.group.no_description=<no description> operator.group.no_description=<no description>
operator.groups.intro=Choose groups according to operator skills. operator.groups.intro=Choose groups according to operator skills.
operator.groups.title=Operator groups operator.groups.title=Operator groups

View File

@ -91,7 +91,7 @@ if (!$op) {
$page['avatar'] = topage($op['vcavatar']); $page['avatar'] = topage($op['vcavatar']);
} }
$page['currentop'] = $op ? topage(get_operator_name($op)) . " (" . $op['vclogin'] . ")" : "-not found-"; $page['currentop'] = $op ? topage(get_operator_name($op)) . " (" . $op['vclogin'] . ")" : getlocal("not_found");
$page['canmodify'] = $canmodify ? "1" : ""; $page['canmodify'] = $canmodify ? "1" : "";
prepare_menu($operator); prepare_menu($operator);

View File

@ -72,7 +72,7 @@ if (!$op) {
} }
$page['formgroup'] = array(); $page['formgroup'] = array();
$page['currentop'] = $op ? topage(get_operator_name($op)) . " (" . $op['vclogin'] . ")" : "-not found-"; $page['currentop'] = $op ? topage(get_operator_name($op)) . " (" . $op['vclogin'] . ")" : getlocal("not_found");
$page['canmodify'] = $canmodify ? "1" : ""; $page['canmodify'] = $canmodify ? "1" : "";
if ($op) { if ($op) {

View File

@ -61,7 +61,7 @@ if (!$op) {
$page['permissionsList'] = get_permission_list(); $page['permissionsList'] = get_permission_list();
$page['formpermissions'] = array(""); $page['formpermissions'] = array("");
$page['currentop'] = $op ? topage(get_operator_name($op)) . " (" . $op['vclogin'] . ")" : "-not found-"; $page['currentop'] = $op ? topage(get_operator_name($op)) . " (" . $op['vclogin'] . ")" : getlocal("not_found");
if ($op) { if ($op) {
foreach (permission_ids() as $perm => $id) { foreach (permission_ids() as $perm => $id) {