1[%# This Source Code Form is subject to the terms of the Mozilla Public
2  # License, v. 2.0. If a copy of the MPL was not distributed with this
3  # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4  #
5  # This Source Code Form is "Incompatible With Secondary Licenses", as
6  # defined by the Mozilla Public License, v. 2.0.
7  #%]
8
9[%# Remember to PROCESS rather than INCLUDE this template. %]
10
11[% SET search_descs = {
12  "noop"           => "---",
13  "equals"         => "is equal to",
14  "notequals"      => "is not equal to",
15  "anyexact"       => "is equal to any of the strings",
16  "substring"      => "contains the string",
17  "casesubstring"  => "contains the string (exact case)",
18  "notsubstring"   => "does not contain the string",
19  "anywordssubstr" => "contains any of the strings",
20  "allwordssubstr" => "contains all of the strings",
21  "nowordssubstr"  => "contains none of the strings",
22  "regexp"         => "matches regular expression",
23  "notregexp"      => "does not match regular expression",
24  "lessthan"       => "is less than",
25  "lessthaneq"     => "is less than or equal to",
26  "greaterthan"    => "is greater than",
27  "greaterthaneq"  => "is greater than or equal to",
28  "anywords"       => "contains any of the words",
29  "allwords"       => "contains all of the words",
30  "nowords"        => "contains none of the words",
31  "changedbefore"  => "changed before",
32  "changedafter"   => "changed after",
33  "changedfrom"    => "changed from",
34  "changedto"      => "changed to",
35  "changedby"      => "changed by",
36  "matches"        => "matches",
37  "notmatches"      => "does not match",
38} %]
39
40[% field_types = { ${constants.FIELD_TYPE_UNKNOWN}       => "Unknown Type",
41                   ${constants.FIELD_TYPE_FREETEXT}      => "Free Text",
42                   ${constants.FIELD_TYPE_SINGLE_SELECT} => "Drop Down",
43                   ${constants.FIELD_TYPE_MULTI_SELECT}  => "Multiple-Selection Box",
44                   ${constants.FIELD_TYPE_TEXTAREA}      => "Large Text Box",
45                   ${constants.FIELD_TYPE_DATETIME}      => "Date/Time",
46                   ${constants.FIELD_TYPE_BUG_ID}        => "$terms.Bug ID",
47                } %]
48
49[% IF in_template_var %]
50  [% PROCESS "global/value-descs.none.tmpl" %]
51  [% SET vars.value_descs = value_descs %]
52  [% SET vars.terms = terms %]
53
54  [%# field_descs is loaded as a global template variable and cached
55    # across all templates--see VARIABLES in Bugzilla/Template.pm.
56    #%]
57  [% vars.field_descs = {
58    "[Bug creation]"          => "[$terms.Bug creation]",
59     "actual_time"             => "Actual Hours",
60     "alias"                   => "Alias",
61     "assigned_to"             => "Assignee",
62     "assigned_to_realname"    => "Assignee Real Name",
63     "attach_data.thedata"     => "Attachment data",
64     "attachments.description" => "Attachment description",
65     "attachments.filename"    => "Attachment filename",
66     "attachments.mimetype"    => "Attachment mime type",
67     "attachments.ispatch"     => "Attachment is patch",
68     "attachments.isobsolete"  => "Attachment is obsolete",
69     "attachments.isprivate"   => "Attachment is private",
70     "attachments.submitter"   => "Attachment creator",
71     "blocked"                 => "Blocks",
72     "bug_file_loc"            => "URL",
73     "bug_group"               => "Group",
74     "bug_id"                  => "$terms.Bug ID",
75     "bug_severity"            => "Severity",
76     "bug_status"              => "Status",
77     "changeddate"             => "Changed",
78     "cc"                      => "CC",
79     "classification"          => "Classification",
80     "cclist_accessible"       => "CC list accessible",
81     "commenter"               => "Commenter",
82     "component_id"            => "Component ID",
83     "component"               => "Component",
84     "content"                 => "Content",
85     "creation_ts"             => "Creation date",
86     "days_elapsed"            => "Days since $terms.bug changed",
87     "deadline"                => "Deadline",
88     "delta_ts"                => "Changed",
89     "dependson"               => "Depends on",
90     "dup_id"                  => "Duplicate",
91     "estimated_time"          => "Orig. Est.",
92     "everconfirmed"           => "Ever confirmed",
93     "flagtypes.name"          => "Flags",
94     "keywords"                => "Keywords",
95     "longdesc"                => "Comment",
96     "longdescs.count"         => "Number of Comments",
97     "longdescs.isprivate"     => "Comment is private",
98     "newcc"                   => "CC",
99     "op_sys"                  => "OS",
100     "opendate"                => "Opened",
101     "owner_idle_time"         => "Time Since Assignee Touched",
102     "percentage_complete"     => "%Complete",
103     "priority"                => "Priority",
104     "product_id"              => "Product ID",
105     "product"                 => "Product",
106     "qa_contact"              => "QA Contact",
107     "qa_contact_realname"     => "QA Contact Real Name",
108     "remaining_time"          => "Hours Left",
109     "rep_platform"            => "Hardware",
110     "reporter"                => "Reporter",
111     "reporter_accessible"     => "Reporter accessible",
112     "reporter_realname"       => "Reporter Real Name",
113     "requestees.login_name"   => "Flag Requestee",
114     "resolution"              => "Resolution",
115     "see_also"                => "See Also",
116     "setters.login_name"      => "Flag Setter",
117     "setting"                 => "Setting",
118     "settings"                => "Settings",
119     "short_desc"              => "Summary",
120     "short_short_desc"        => "Summary",
121     "status_whiteboard"       => "Whiteboard",
122     "tag"                     => "Tags",
123     "target_milestone"        => "Target Milestone",
124     "version"                 => "Version",
125     "work_time"               => "Hours Worked",
126  } %]
127
128  [%# Also include any custom fields or fields which don't have a
129      Description here, by copying their Description from the
130      database. If you want to override this for your language
131      or your installation, just use a hook. %]
132  [% UNLESS Param('shutdownhtml') %]
133    [% FOREACH bz_field = bug_fields.values %]
134      [% SET vars.field_descs.${bz_field.name} = bz_field.description
135         IF !vars.field_descs.${bz_field.name}.defined %]
136    [% END %]
137  [% END %]
138
139  [% PROCESS "bug/field-help.none.tmpl" %]
140[% END %]
141
142[% Hook.process("end") %]
143