/template/en/default/hook/global/user-error-errors.html.tmpl
Go Template | 73 lines | 59 code | 14 blank | 0 comment | 0 complexity | 362e845a7268422238a21b2529638df9 MD5 | raw file
- [%# This Source Code Form is subject to the terms of the Mozilla Public
- # License, v. 2.0. If a copy of the MPL was not distributed with this
- # file, You can obtain one at http://mozilla.org/MPL/2.0/.
- #
- # Copyright (C) 2012 Jolla Ltd.
- # Contact: Pami Ketolainen <pami.ketolainen@jollamobile.com>
- #%]
- [%# Note that error messages should generally be indented four spaces, like
- # below, because when Bugzilla translates an error message into plain
- # text, it takes four spaces off the beginning of the lines.
- #%]
- [% IF error == "agile_team_exists" %]
- [% title = "The team already exists" %]
- The team [% name FILTER html %] already exists.
- [% ELSIF error == "agile_missing_field" %]
- [% title = "Field required" %]
- Field [% field FILTER html %] is required and you did not provide any.
- [% ELSIF error == "agile_invalid_field" %]
- [% title = "Invalid field" %]
- Field [% field FILTER html %] has invalid value [% value FILTER html %].
- [% ELSIF error == "agile_team_edit_not_allowed" %]
- [% title = "Team editing denied" %]
- You are not allowed to edit team [% name FILTER html %]
- [% ELSIF error == "agile_bad_responsibility_type" %]
- [% title = "Unknown responsibility type" %]
- Responsibility type of [% type FILTER html %] is not supported
- [% ELSIF error == "agile_access_denied" %]
- [% title = "Access denied" %]
- You are not allowed to access AgileTools on this [% terms.Bugzilla %].
- Contact admins for adding you to AgileTools user group.
- [% ELSIF error == "agile_permission_denied" %]
- [% title = "Permission denied" %]
- You are not allowed to '[% permission OR 'do that' FILTER html %]'.
- [% ELSIF error == "agile_team_manage_denied" %]
- [% title = "Access denied" %]
- You are not allowed to manage teams in AgileTools
- [% ELSIF error == "agile_actual_time_required" %]
- [% title = "Actual time required" %]
- [% terms.Bugs %] with severity [% Param('agile_check_time_severity').join(', ') %]
- and resolution [% Param('agile_check_time_resolution').join(', ') %] require
- that the actual working time is set when closing them.
- [% ELSIF error == "agile_sprint_overlap" %]
- [% title = "Overlapping sprint" %]
- The selected start dates overlap with [% sprint.name FILTER html %]
- starting [% sprint.start_date FILTER html %] and
- ending [% sprint.end_date FILTER html %]
- [% ELSIF error == "agile_sprint_end_before_start" %]
- [% title = "Bad end date" %]
- The selected end date is before start date.
- [% ELSIF error == "agile_sprint_close_not_current" %]
- [% title = "Cant close sprint" %]
- The sprint you are trying to close is not current.
- [% ELSIF error == "agile_sprint_close_uncommitted" %]
- [% title = "Can't close uncommited sprint" %]
- The sprint you are trying to close has not been committed.
- [% ELSIF error == "agile_sprint_commit_empty" %]
- [% title = "Can't commit to empty sprint" %]
- You can not commit to sprint without any items in it.
- [% END %]