PageRenderTime 48ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/pt-br/default/global/code-error.html.tmpl

https://bitbucket.org/ale_borba/bugzilla_template_pt-br
Go Template | 547 lines | 443 code | 104 blank | 0 comment | 0 complexity | 9cd853c4c6b22e7c4f01ad780b38c18b MD5 | raw file
  1. [%# The contents of this file are subject to the Mozilla Public
  2. # License Version 1.1 (the "License"); you may not use this file
  3. # except in compliance with the License. You may obtain a copy of
  4. # the License at http://www.mozilla.org/MPL/
  5. #
  6. # Software distributed under the License is distributed on an "AS
  7. # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  8. # implied. See the License for the specific language governing
  9. # rights and limitations under the License.
  10. #
  11. # The Original Code is the Bugzilla Bug Tracking System.
  12. #
  13. # The Initial Developer of the Original Code is Netscape Communications
  14. # Corporation. Portions created by Netscape are
  15. # Copyright (C) 1998 Netscape Communications Corporation. All
  16. # Rights Reserved.
  17. #
  18. # Contributor(s): Gervase Markham <gerv@gerv.net>
  19. #%]
  20. [%# INTERFACE:
  21. # header_done: boolean. True if the header has already been printed.
  22. # error: string. The tag of the error.
  23. # variables: hash. Useful data about the problem. The keys are the variable
  24. # names, and the values the variable values.
  25. #%]
  26. [%# This is a list of all the possible code errors. Please keep them in
  27. # alphabetical order by error tag, and leave a blank line between errors.
  28. #
  29. # Note that you must explicitly filter every single template variable
  30. # in this file; if you do not wish to change it, use the "none" filter.
  31. #%]
  32. [% PROCESS "global/field-descs.none.tmpl" %]
  33. [% DEFAULT title = "Internal Error" %]
  34. [% error_message = BLOCK %]
  35. [% IF error == "attachment_local_storage_disabled" %]
  36. [% title = "Local Storage Disabled" %]
  37. You cannot store attachments locally. This feature is disabled.
  38. [% ELSIF error == "attachment_url_disabled" %]
  39. [% title = "Attachment URL Disabled" %]
  40. You cannot attach a URL. This feature is currently disabled.
  41. [% ELSIF error == "auth_invalid_email" %]
  42. [% title = "Invalid Email Address" %]
  43. We received an email address (<b>[% addr FILTER html %]</b>)
  44. that didn't pass our syntax checking for a legal email address,
  45. when trying to create or update your account.
  46. [% IF default %]
  47. A legal address must contain exactly one '@',
  48. and at least one '.' after the @.
  49. [% ELSE %]
  50. [%+ Param('emailregexpdesc') %]
  51. [% END %]
  52. It must also not contain any of these special characters:
  53. <tt>\ ( ) &amp; &lt; &gt; , ; : &quot; [ ]</tt>, or any whitespace.
  54. [% ELSIF error == "authres_unhandled" %]
  55. The result value of [% value FILTER html %] was not handled by
  56. the login code.
  57. [% ELSIF error == "bad_page_cgi_id" %]
  58. [% title = "Invalid Page ID" %]
  59. The ID <code>[% page_id FILTER html %]</code> is not a
  60. valid page identifier.
  61. [% ELSIF error == "bad_arg" %]
  62. Bad argument <code>[% argument FILTER html %]</code> sent to
  63. <code>[% function FILTER html %]</code> function.
  64. [% ELSIF error == "bug_error" %]
  65. Trying to retrieve [% terms.bug %] [%+ bug.bug_id FILTER html %] returned
  66. the error [% bug.error FILTER html %].
  67. [% ELSIF error == "chart_data_not_generated" %]
  68. [% admindocslinks = {'extraconfig.html' => 'Setting up Charting'} %]
  69. [% IF product %]
  70. Charts for the <em>[% product FILTER html %]</em> product are not
  71. available yet because no charting data has been collected for it since it
  72. was created.
  73. [% ELSE %]
  74. No charting data has been collected yet.
  75. [% END %]
  76. Please wait a day and try again.
  77. If you're seeing this message after a day, then you should contact
  78. <a href="mailto:[% Param('maintainer') %]">[% Param('maintainer') %]</a>
  79. and reference this error.
  80. [% ELSIF error == "chart_datafile_corrupt" %]
  81. The chart data file [% file FILTER html %] is corrupt.
  82. [% ELSIF error == "chart_dir_nonexistent" %]
  83. One of the directories <tt>[% dir FILTER html %]</tt> and
  84. <tt>[% graph_dir FILTER html %]</tt> does not exist.
  85. [% ELSIF error == "chart_file_open_fail" %]
  86. Unable to open the chart datafile <tt>[% filename FILTER html %]</tt>.
  87. [% ELSIF error == "column_not_null_without_default" %]
  88. Failed adding the column [% name FILTER html %]:
  89. You cannot add a NOT NULL column with no default to an existing table
  90. unless you specify something for the <code>$init_value</code> argument.
  91. [% ELSIF error == "column_not_null_no_default_alter" %]
  92. You cannot alter the [% name FILTER html %] column to be NOT NULL
  93. without specifying a default or something for $set_nulls_to, because
  94. there are NULL values currently in it.
  95. [% ELSIF error == "comment_extra_data_not_allowed" %]
  96. You tried to set the <code>extra_data</code> field to
  97. '[% extra_data FILTER html %]' but comments of type [% type FILTER html %]
  98. do not accept an <code>extra_data</code> argument.
  99. [% ELSIF error == "comment_extra_data_required" %]
  100. Comments of type [% type FILTER html %] require an <code>extra_data</code>
  101. argument to be set.
  102. [% ELSIF error == "comment_extra_data_not_numeric" %]
  103. You tried to set the <code>extra_data</code> field to
  104. '[% extra_data FILTER html %]' but comments of type [% type FILTER html %]
  105. require a numeric <code>extra_data</code> argument.
  106. [% ELSIF error == "comment_type_invalid" %]
  107. '[% type FILTER html %]' is not a valid comment type.
  108. [% ELSIF error == "db_rename_conflict" %]
  109. Name conflict: Cannot rename [% old FILTER html %] to
  110. [% new FILTER html %] because [% new FILTER html %] already exists.
  111. [% ELSIF error == "cookies_need_value" %]
  112. Every cookie must have a value.
  113. [% ELSIF error == "env_no_email" %]
  114. [% terms.Bugzilla %] did not receive an email address from the
  115. environment.
  116. [% IF Param("auth_env_email") %]
  117. This means that the '[% Param("auth_env_email") FILTER html %]'
  118. environment variable was empty or did not exist.
  119. [% ELSE %]
  120. You need to set the "auth_env_email" parameter to the name of
  121. the environment variable that will contain the user's email
  122. address.
  123. [% END %]
  124. [% ELSIF error == "extension_disabled" %]
  125. [% title = "Extension Disabled" %]
  126. You cannot access this page because the extension '[% name FILTER html %]'
  127. is disabled.
  128. [% ELSIF error == "extension_must_be_subclass" %]
  129. <code>[% package FILTER html %]</code> from
  130. <code>[% filename FILTER html %]</code> is not a subclass of
  131. <code>[% class FILTER html %]</code>.
  132. [% ELSIF error == "extension_must_return_name" %]
  133. <code>[% extension FILTER html %]</code> returned
  134. <code>[% returned FILTER html %]</code>, which is not a valid name
  135. for an extension. Extensions must return their name, not <code>1</code>
  136. or a number. See the documentation of
  137. <a href="[% docs_urlbase FILTER html %]api/Bugzilla/Extension.html">Bugzilla::Extension</a>
  138. for details.
  139. [% ELSIF error == "extension_no_name" %]
  140. We did not find a <code>NAME</code> method in
  141. <code>[% package FILTER html %]</code> (loaded from
  142. <code>[% filename FILTER html %]</code>). This means that
  143. the extension has one or more of the following problems:
  144. <ul>
  145. <li><code>[% filename FILTER html %]</code> did not define a
  146. <code>[% package FILTER html %]</code> package.</li>
  147. <li><code>[% package FILTER html %]</code> did not define a
  148. <code>NAME</code> method (or the <code>NAME</code> method
  149. returned an empty string).</li>
  150. </ul>
  151. [% ELSIF error == "extern_id_conflict" %]
  152. The external ID '[% extern_id FILTER html %]' already exists
  153. in the database for '[% username FILTER html %]', but your
  154. account source says that '[% extern_user FILTER html %]' has that ID.
  155. [% ELSIF error == "field_choice_must_use_type" %]
  156. When you call a class method on <code>Bugzilla::Field::Choice</code>,
  157. you must call <code>Bugzilla::Field::Choice-&gt;type('some_field')</code>
  158. to generate the right class (you can't call class methods directly
  159. on Bugzilla::Field::Choice).
  160. [% ELSIF error == "field_not_custom" %]
  161. '[% field.description FILTER html %]' ([% field.name FILTER html %])
  162. is not a custom field.
  163. [% ELSIF error == "field_type_mismatch" %]
  164. Cannot seem to handle <code>[% field FILTER html %]</code>
  165. and <code>[% type FILTER html %]</code> together.
  166. [% ELSIF error == "field_type_not_specified" %]
  167. [% title = "Field Type Not Specified" %]
  168. You must specify a type when creating a custom field.
  169. [% ELSIF error == "illegal_content_type_method" %]
  170. Your form submission got corrupted somehow. The <em>content
  171. method</em> field, which specifies how the content type gets determined,
  172. should have been either <em>autodetect</em>, <em>list</em>,
  173. or <em>manual</em>, but was instead
  174. <em>[% contenttypemethod FILTER html %]</em>.
  175. [% ELSIF error == "illegal_field" %]
  176. A legal [% field FILTER html %] was not set.
  177. [% ELSIF error == "invalid_attach_id_to_obsolete" %]
  178. The attachment number of one of the attachments you wanted to obsolete,
  179. [% attach_id FILTER html %], is invalid.
  180. [% ELSIF error == "invalid_customfield_type" %]
  181. [% title = "Invalid Field Type" %]
  182. The type <em>[% type FILTER html %]</em> is not a valid field type.
  183. [% ELSIF error == "invalid_dimensions" %]
  184. [% title = "Invalid Dimensions" %]
  185. The width or height specified is not a positive integer.
  186. [% ELSIF error == "invalid_feature" %]
  187. [% title = "Invalid Feature Name" %]
  188. [% feature FILTER html %] is not a valid feature name. See
  189. <code>OPTIONAL_MODULES</code> in
  190. <code>Bugzilla::Install::Requirements</code> for valid names.
  191. [% ELSIF error == "invalid_flag_association" %]
  192. [% title = "Invalid Flag Association" %]
  193. Some flags do not belong to
  194. [% IF attach_id %]
  195. attachment [% attach_id FILTER html %].
  196. [% ELSE %]
  197. [%+ terms.bug %] [%+ bug_id FILTER html %].
  198. [% END %]
  199. [% ELSIF error == "invalid_series_id" %]
  200. [% title = "Invalid Series" %]
  201. The series_id [% series_id FILTER html %] is not valid. It may be that
  202. this series has been deleted.
  203. [% ELSIF error == "invalid_webservergroup" %]
  204. There is no such group: [% group FILTER html %]. Check your $webservergroup
  205. setting in [% constants.bz_locations.localconfig FILTER html %].
  206. [% ELSIF error == "mismatched_bug_ids_on_obsolete" %]
  207. Attachment [% attach_id FILTER html %] ([% description FILTER html %])
  208. is attached to [% terms.bug %] [%+ attach_bug_id FILTER html %],
  209. but you tried to flag it as obsolete while creating a new attachment to
  210. [% terms.bug %] [%+ my_bug_id FILTER html %].
  211. [% ELSIF error == "feature_disabled" %]
  212. The [% install_string("feature_$feature") FILTER html %] feature is not
  213. available in this [% terms.Bugzilla %].
  214. [% IF user.in_group('admin') %]
  215. If you would like to enable this feature, please run
  216. <kbd>checksetup.pl</kbd> to see how to install the necessary
  217. requirements for this feature.
  218. [% END %]
  219. [% ELSIF error == "flag_unexpected_object" %]
  220. [% title = "Object Not Recognized" %]
  221. Flags cannot be set for objects of type [% caller FILTER html %].
  222. They can only be set for [% terms.bugs %] and attachments.
  223. [% ELSIF error == "flag_requestee_disabled" %]
  224. [% title = "Flag not Requestable from Specific Person" %]
  225. You can't ask a specific person for
  226. <em>[% type.name FILTER html %]</em>.
  227. [% ELSIF error == "flag_type_inactive" %]
  228. [% title = "Inactive Flag Type" %]
  229. The flag type [% type FILTER html %] is inactive and cannot be used
  230. to create new flags.
  231. [% ELSIF error == "flag_type_nonexistent" %]
  232. There is no flag type with the ID <em>[% id FILTER html %]</em>.
  233. [% ELSIF error == "flag_type_target_type_invalid" %]
  234. The target type was neither <em>[% terms.bug %]</em> nor <em>attachment</em>
  235. but rather <em>[% target_type FILTER html %]</em>.
  236. [% ELSIF error == "invalid_field_name" %]
  237. Can't use [% field FILTER html %] as a field name.
  238. [% ELSIF error == "invalid_keyword_id" %]
  239. The keyword ID <em>[% id FILTER html %]</em> couldn't be
  240. found.
  241. [% ELSIF error == "invalid_user" %]
  242. [% title = "Invalid User" %]
  243. There is no user account
  244. [% IF user_id %]
  245. with ID <em>[% user_id FILTER html %]</em>.
  246. [% ELSIF user_login %]
  247. with login name <em>[% user_login FILTER html %]</em>.
  248. [% ELSE %]
  249. given.
  250. [% END %]
  251. [% ELSIF error == "jobqueue_insert_failed" %]
  252. [% title = "Job Queue Failure" %]
  253. Inserting a <code>[% job FILTER html %]</code> job into the Job
  254. Queue failed with the following error: [% errmsg FILTER html %]
  255. [% ELSIF error == "jobqueue_no_job_mapping" %]
  256. <code>Bugzilla::JobQueue</code> has not been configured to handle
  257. the job "[% job FILTER html %]". You need to add this job type
  258. to the <code>JOB_MAP</code> constant in <code>Bugzilla::JobQueue</code>.
  259. [% ELSIF error == "ldap_bind_failed" %]
  260. Failed to bind to the LDAP server. The error message was:
  261. <code>[% errstr FILTER html %]</code>
  262. [% ELSIF error == "ldap_cannot_retreive_attr" %]
  263. The specified LDAP attribute [% attr FILTER html %] was not found.
  264. [% ELSIF error == "ldap_connect_failed" %]
  265. Could not connect to the LDAP server(s) <code>[% server FILTER html %]</code>.
  266. [% ELSIF error == "ldap_start_tls_failed" %]
  267. Could not start TLS with LDAP server: <code>[% error FILTER html %]</code>.
  268. [% ELSIF error == "ldap_search_error" %]
  269. An error occurred while trying to search LDAP for
  270. &quot;[% username FILTER html %]&quot;:
  271. [% IF errstr %]
  272. <code>[% errstr FILTER html %]</code>
  273. [% ELSE %]
  274. Unable to find user in LDAP
  275. [% END %]
  276. [% ELSIF error == "ldap_server_not_defined" %]
  277. The LDAP server for authentication has not been defined.
  278. [% ELSIF error == "mail_send_error" %]
  279. There was an error sending mail from '[% mail.header('From') FILTER html %]'
  280. to '[% mail.header('To') FILTER html %]':
  281. [% msg FILTER html %]
  282. [% ELSIF error == "missing_bug_id" %]
  283. No [% terms.bug %] ID was given.
  284. [% ELSIF error == "missing_series_id" %]
  285. Having inserted a series into the database, no series_id was returned for
  286. it. Series: [% series.category FILTER html %] /
  287. [%+ series.subcategory FILTER html %] /
  288. [%+ series.name FILTER html %].
  289. [% ELSIF error == "need_quipid" %]
  290. A valid quipid is needed.
  291. [% ELSIF error == "object_dep_sort_loop" %]
  292. There is a loop in VALIDATOR_DEPENDENCIES involving
  293. '[%+ field FILTER html %]'. Here are the fields we considered:
  294. [%+ considered.join(', ') FILTER html %].
  295. [% ELSIF error == "param_invalid" %]
  296. [% title = "Invalid Parameter" %]
  297. <code>[% param FILTER html %]</code> is not a valid parameter
  298. for the [% function FILTER html %] function.
  299. [% ELSIF error == "param_must_be_numeric" %]
  300. [% title = "Invalid Parameter" %]
  301. Invalid parameter <code>[% param FILTER html %]</code> passed to
  302. <code>[% function FILTER html %]</code>: It must be numeric.
  303. [% ELSIF error == "param_required" %]
  304. [% title = "Missing Parameter" %]
  305. The function <code>[% function FILTER html %]</code> requires
  306. a <code>[% param FILTER html %]</code> argument, and that
  307. argument was not set.
  308. [% ELSIF error == "params_required" %]
  309. [% title = "Missing Parameter" %]
  310. The function <code>[% function FILTER html %]</code> requires
  311. that you set one of the following parameters:
  312. <code>[% params.join(', ') FILTER html %]</code>
  313. [% ELSIF error == "product_empty_group_controls" %]
  314. [% title = "Missing Group Controls" %]
  315. New settings must be defined to edit group controls for
  316. the [% group.name FILTER html %] group.
  317. [% ELSIF error == "product_illegal_group_control" %]
  318. [% title = "Illegal Group Control" %]
  319. '[% value FILTER html %]' is not a legal value for
  320. the '[% field FILTER html %]' field.
  321. [% ELSIF error == "protection_violation" %]
  322. The function <code>[% function FILTER html %]</code> was called
  323. [% IF argument %]
  324. with the argument <code>[% argument FILTER html %]</code>
  325. [% END %]
  326. from
  327. [% IF caller %]
  328. <code>[%+ caller FILTER html %]</code>, which is
  329. [% END %]
  330. outside the package. This function may only be called from
  331. a subclass of <code>[% superclass FILTER html %]</code>.
  332. [% ELSIF error == "radius_preparation_error" %]
  333. An error occurred while preparing for a RADIUS authentication request:
  334. <code>[% errstr FILTER html %]</code>.
  335. [% ELSIF error == "report_axis_invalid" %]
  336. <em>[% val FILTER html %]</em> is not a valid value for
  337. [%+ IF fld == "x" %]the horizontal axis
  338. [%+ ELSIF fld == "y" %]the vertical axis
  339. [%+ ELSIF fld == "z" %]the multiple tables/images
  340. [%+ ELSE %]a report axis[% END %] field.
  341. [% ELSIF error == "setting_info_invalid" %]
  342. To create a new setting, you must supply a setting name, a list of
  343. value/sortindex pairs, and the default value.
  344. [% ELSIF error == "setting_name_invalid" %]
  345. The setting name <em>[% name FILTER html %]</em> is not a valid
  346. option. Setting names must begin with a letter, and contain only
  347. letters, digits, or the symbols '_', '-', '.', or ':'.
  348. [% ELSIF error == "setting_subclass_invalid" %]
  349. There is no such Setting subclass as
  350. <code>[% subclass FILTER html %]</code>.
  351. [% ELSIF error == "setting_value_invalid" %]
  352. The value "<code>[% value FILTER html %]</code>" is not in the list of
  353. legal values for the <em>[% name FILTER html %]</em> setting.
  354. [% ELSIF error == "token_generation_error" %]
  355. Something is seriously wrong with the token generation system.
  356. [% ELSIF error == "template_error" %]
  357. [% template_error_msg FILTER html %]
  358. [% ELSIF error == "template_invalid" %]
  359. Template with invalid file name found in hook call: [% name FILTER html %].
  360. [% ELSIF error == "unable_to_retrieve_password" %]
  361. I was unable to retrieve your old password from the database.
  362. [% ELSIF error == "undefined_field" %]
  363. Form field [% field FILTER html %] was not defined.
  364. [% ELSIF error == "unknown_method" %]
  365. The requested method '[% method FILTER html %]' was not found.
  366. [% ELSIF error == "usage_mode_invalid" %]
  367. '[% invalid_usage_mode FILTER html %]' is not a valid usage mode.
  368. [% ELSIF error == "must_be_patch" %]
  369. [% title = "Attachment Must Be Patch" %]
  370. Attachment #[% attach_id FILTER html %] must be a patch.
  371. [% ELSIF error == "not_in_transaction" %]
  372. Attempted to end transaction without starting one first.
  373. [% ELSIF error == "comma_operator_deprecated" %]
  374. [% title = "SQL query generator internal error" %]
  375. There is an internal error in the SQL query generation code,
  376. creating queries with implicit JOIN.
  377. [% ELSIF error == "invalid_post_bug_submit_action" %]
  378. Invalid setting for post_bug_submit_action
  379. [% ELSE %]
  380. [%# Try to find hooked error messages %]
  381. [% error_message = Hook.process("errors") %]
  382. [% IF NOT error_message %]
  383. [% title = "Internal error" %]
  384. An internal error has occurred, but [% terms.Bugzilla %] doesn't know
  385. what <code>[% error FILTER html %]</code> means.
  386. If you are a [% terms.Bugzilla %] end-user seeing this message, please save
  387. this page and send it to [% Param('maintainer') %].
  388. [% ELSE %]
  389. [% error_message FILTER none %]
  390. [% END %]
  391. [% END %]
  392. [% END %]
  393. [%# We only want HTML error messages for ERROR_MODE_WEBPAGE %]
  394. [% USE Bugzilla %]
  395. [% IF Bugzilla.error_mode != constants.ERROR_MODE_WEBPAGE %]
  396. [% IF Bugzilla.usage_mode == constants.USAGE_MODE_BROWSER %]
  397. [% error_message FILTER none %]
  398. [% ELSE %]
  399. [% error_message FILTER txt %]
  400. [% END %]
  401. [% RETURN %]
  402. [% END %]
  403. [% UNLESS header_done %]
  404. [% PROCESS global/header.html.tmpl %]
  405. [% END %]
  406. [% PROCESS global/docslinks.html.tmpl
  407. docslinks = docslinks
  408. admindocslinks = admindocslinks
  409. %]
  410. <tt>
  411. <p>
  412. [% terms.Bugzilla %] has suffered an internal error. Please save this page and send
  413. it to [% Param("maintainer") %] with details of what you were doing at
  414. the time this message appeared.
  415. </p>
  416. <script type="text/javascript"> <!--
  417. document.write("<p>URL: " +
  418. document.location.href.replace(/&/g,"&amp;")
  419. .replace(/</g,"&lt;")
  420. .replace(/>/g,"&gt;") + "</p>");
  421. // -->
  422. </script>
  423. </tt>
  424. <table cellpadding="20">
  425. <tr>
  426. <td bgcolor="#ff0000">
  427. <font size="+2">
  428. [% error_message FILTER none %]
  429. </font>
  430. </td>
  431. </tr>
  432. </table>
  433. <p>Traceback:</p>
  434. <pre>[% traceback FILTER html %]</pre>
  435. [% IF variables %]
  436. <pre>
  437. Variables:
  438. [% FOREACH key = variables.keys %]
  439. [%+ key FILTER html %]: [%+ variables.$key FILTER html %]
  440. [% END %]
  441. </pre>
  442. [% END %]
  443. [% PROCESS global/footer.html.tmpl %]