⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 user-error.html.tmpl

📁 buzilla软件
💻 TMPL
📖 第 1 页 / 共 5 页
字号:
    #line 310 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Component Name Is Too Long');        $output .=  "\n    The name of a component is limited to 64 characters. \n    '";    #line 312 "template\en\default\global\user-error.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('name');                &$_tt_filter($output);    };        $output .=  "' is too long (";    #line 312 "template\en\default\global\user-error.html.tmpl"    $output .=  $stash->get(['name', 0, 'size', 0]);    $output .=  " characters).\n";    }    elsif ($stash->get('error') eq 'component_need_initialowner') {    #line 315 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Component Requires Default Assignee');        $output .=  "\n    You must enter a default assignee for component '";    #line 316 "template\en\default\global\user-error.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('name');                &$_tt_filter($output);    };        $output .=  "'.\n";    }    elsif ($stash->get('error') eq 'component_not_valid') {    #line 319 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Specified Component Does Not Exist');        $output .=  "\n    Product ";    #line 320 "template\en\default\global\user-error.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('product');                &$_tt_filter($output);    };        $output .=  " does not have a component\n    named ";    #line 321 "template\en\default\global\user-error.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('name');                &$_tt_filter($output);    };        $output .=  ".\n";    }    elsif ($stash->get('error') eq 'customfield_nonexistent') {    #line 324 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Unknown Custom Field');        $output .=  "\n    There is no custom field with the name '";    #line 325 "template\en\default\global\user-error.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('name');                &$_tt_filter($output);    };        $output .=  "'.\n";    }    elsif ($stash->get('error') eq 'dependency_loop_multi') {    #line 328 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Dependency Loop Detected');        $output .=  "\n    The following ";    #line 329 "template\en\default\global\user-error.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  "(s) would appear on both the \"depends on\"\n    and \"blocks\" parts of the dependency tree if these changes\n    are committed:";    #line 334 "template\en\default\global\user-error.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get('deps');                unless (UNIVERSAL::isa($_tt_list, 'Template::Iterator')) {            $_tt_list = Template::Config->iterator($_tt_list)                || die $Template::Config::ERROR, "\n";         }            ($_tt_value, $_tt_error) = $_tt_list->get_first();        eval { $_tt_oldloop = $stash->get('loop') };        $stash->set('loop', $_tt_list);        eval {    LOOP:   while (! $_tt_error) {                $stash->{'dep'} = $_tt_value;    $output .=  "\n      ";    #line 333 "template\en\default\global\user-error.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('none')                  || $context->throw($context->error);            # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('bug_link', [ $stash->get('dep') ])                  || $context->throw($context->error);        $output .=  $stash->get('dep');                &$_tt_filter($output);    };                    &$_tt_filter($output);    };    ;                ($_tt_value, $_tt_error) = $_tt_list->get_next();            }        };        $stash->set('loop', $_tt_oldloop);        die $@ if $@;        $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE;        die $_tt_error if $_tt_error;    };        $output .=  ".\n    This would create a circular dependency, which is not allowed.\n";    }    elsif ($stash->get('error') eq 'dependency_loop_single') {    #line 338 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Dependency Loop Detected');        $output .=  "\n    You can't make ";    #line 339 "template\en\default\global\user-error.html.tmpl"    $output .=  $stash->get(['terms', 0, 'abug', 0]);    $output .=  " block itself or depend on itself.\n";    }    elsif ($stash->get('error') eq 'description_required') {    #line 342 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Description Required');        $output .=  "\n    You must provide a description of the ";    #line 343 "template\en\default\global\user-error.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  ".\n";    }    elsif ($stash->get('error') eq 'dupe_not_allowed') {    #line 0 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', ("Cannot mark " . $stash->get(['terms', 0, 'bugs', 0]) . " as duplicates"));        $output .=  "\n    You cannot mark ";    #line 347 "template\en\default\global\user-error.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  " as duplicates when\n    changing several ";    #line 348 "template\en\default\global\user-error.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  " at once.\n";    }    elsif ($stash->get('error') eq 'dupe_loop_detected') {    #line 351 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Loop detected among duplicates');        $output .=  "\n    You cannot mark ";    #line 352 "template\en\default\global\user-error.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " ";    #line 352 "template\en\default\global\user-error.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('bug_id');                &$_tt_filter($output);    };        $output .=  " as\n    a duplicate of";    #line 359 "template\en\default\global\user-error.html.tmpl"    if ($stash->get('dupe_of') eq $stash->get('bug_id')) {    $output .=  "\n      itself";    }    else {    $output .=  "\n      ";    #line 357 "template\en\default\global\user-error.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " ";    #line 357 "template\en\default\global\user-error.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('dupe_of');                &$_tt_filter($output);    };        $output .=  ", because it\n      would create a duplicate loop";    }        $output .=  ".\n";    }    elsif ($stash->get('error') eq 'email_change_in_progress') {    #line 362 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Email Change Already In Progress');        $output .=  "\n    Email change already in progress; please check your email.\n";    }    elsif ($stash->get('error') eq 'email_confirmation_failed') {    #line 366 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Email Address Confirmation Failed');        $output .=  "\n    Email address confirmation failed.\n";    }    elsif ($stash->get('error') eq 'email_no_text_plain') {    $output .=  "\n    Your message did not contain any text.";    #line 370 "template\en\default\global\user-error.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bugzilla', 0]);    $output .=  " does not\n    accept HTML-only email, or HTML email with attachments.\n";    }    elsif ($stash->get('error') eq 'empty_group_description') {    #line 374 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'The group description can not be empty');        $output .=  "\n    You must enter a description for the group.\n";    }    elsif ($stash->get('error') eq 'empty_group_name') {    #line 378 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'The group name can not be empty');        $output .=  "\n    You must enter a name for the group.\n  ";    }    elsif ($stash->get('error') eq 'entry_access_denied') {    #line 382 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Permission Denied');        #line 383 "template\en\default\global\user-error.html.tmpl"    $stash->set('admindocslinks', { 'groups.html' => 'Group Security'  });        $output .=  "\n    Sorry, either the product <em>";    #line 384 "template\en\default\global\user-error.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('product');                &$_tt_filter($output);    };        $output .=  "</em>\n    does not exist or you aren't authorized to\n    enter ";    #line 386 "template\en\default\global\user-error.html.tmpl"    $output .=  $stash->get(['terms', 0, 'abug', 0]);    $output .=  " into it.\n";    }    elsif ($stash->get('error') eq 'field_already_exists') {    #line 389 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Field Already Exists');        $output .=  "\n    The field '";    #line 390 "template\en\default\global\user-error.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['field', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "'     \n    (";    #line 391 "template\en\default\global\user-error.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['field', 0, 'description', 0]);                &$_tt_filter($output);    };        $output .=  ") already exists. Please\n    choose another name.\n";    }    elsif ($stash->get('error') eq 'field_invalid_name') {    #line 395 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Invalid Field Name');        $output .=  "\n    '";    #line 396 "template\en\default\global\user-error.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('name');                &$_tt_filter($output);    };        $output .=  "' is not a valid name for a field.\n    A name may contain only letters, numbers, and the underscore character.\n";    }    elsif ($stash->get('error') eq 'field_invalid_sortkey') {    #line 400 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Invalid Sortkey for Field');        $output .=  "\n    The sortkey ";    #line 401 "template\en\default\global\user-error.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('sortkey');                &$_tt_filter($output);    };        $output .=  " that you have provided for\n    this field is not a valid positive integer.\n";    }    elsif ($stash->get('error') eq 'field_missing_description') {    #line 405 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Missing Description for Field');        $output .=  "\n    You must enter a description for this field.\n";    }    elsif ($stash->get('error') eq 'field_missing_name') {    #line 409 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Missing Name for Field');        $output .=  "\n    You must enter a name for this field.\n";    }    elsif ($stash->get('error') eq 'fieldname_invalid') {    #line 413 "template\en\default\global\user-error.html.tmpl"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -