Closed Bug 365438 Opened 18 years ago Closed 18 years ago

Tag-related error messages should mention "tag" instead of "saved search"

Categories

(Bugzilla :: Query/Bug List, defect)

2.23.3
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 3.0

People

(Reporter: spam, Assigned: timeless)

Details

Attachments

(1 file, 2 obsolete files)

Attached patch patch for tip (obsolete) — Splinter Review
below errors need update due to name changed by bug 364013. no_bug_ids no_bugs_in_list no_bugs_to_remove
Attachment #250031 - Flags: review?
Attachment #250031 - Attachment is patch: true
Comment on attachment 250031 [details] [diff] [review] patch for tip > [% ELSIF error == "no_bug_ids" %] > [% title = BLOCK %]No [% terms.Bugs %] Chosen[% END %] > You didn't choose any [% terms.bugs %] to >- [% IF action == "add" %] add to [% ELSE %] remove from [% END %] >- the saved search. >+ [% IF action == "add" %] add [% ELSE %] remove [% END %] >+ the tag. This doesn't make sense now without the "to" or "from" in the sentence. It comes out to be "You didn't choose any bugs to add the tag." You need to keep the "add to" and "remove from" parts. > [% ELSIF error == "no_bugs_in_list" %] >+ [% title = "Delete Tag?" %] >+ You are going to remove tag '[% tag FILTER html %]' from all >+ [% terms.bugs %]. This will delete this tag completely. Click Maybe change to "This will delete the tag completely." (s/this/the/), though this is purely a nit.
Attachment #250031 - Flags: review? → review-
Attachment #250031 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
Target Milestone: Bugzilla 3.0 → ---
No longer depends on: 364013
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
dont do stupid things unless you do fix
Status: REOPENED → RESOLVED
Closed: 18 years ago18 years ago
Resolution: --- → WONTFIX
This bug describes a valid problem that should be fixed. Reopening.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
As long as this bug is valid, marking it as WONTFIX isn't right. We have to be consistent and use 'tag' where appropriate. Keep this bug open.
Status: REOPENED → NEW
Target Milestone: --- → Bugzilla 3.0
Version: unspecified → 2.23.3
Target Milestone: Bugzilla 3.0 → ---
Target Milestone: --- → Bugzilla 3.0
Target Milestone: Bugzilla 3.0 → Bugzilla 3.2
Summary: some errors need update due to name changed by bug 364013 → Some error messages should mention "tag" instead of "saved search"
Target Milestone: Bugzilla 3.2 → Bugzilla 3.0
Attached patch patch fixes. (obsolete) — Splinter Review
Attachment #274039 - Flags: review?(LpSolit)
Status: NEW → ASSIGNED
Comment on attachment 274039 [details] [diff] [review] patch fixes. > [% ELSIF error == "no_bugs_in_list" %] >- [% title = "Delete Saved Search?" %] >- You are going to remove all [% terms.bugs %] from the '[% saved_search FILTER html %]' >- saved search. This will delete this saved search completely. Click >+ [% title = "Delete Tag?" %] >+ You are going to remove tag '[% tag FILTER html %]' from all >+ [% terms.bugs %]. This will delete the tag completely. Click > <a href="buglist.cgi?cmdtype=dorem&amp;remaction=forget&amp;namedcmd= >- [%- saved_search FILTER url_quote %]">here</a> if you really want to >- remove it. >+ [%- tag FILTER url_quote %]">here</a> if you really want to remove it. No, you're incorrectly changing the wording here. You don't remove a tag from a bug, you remove a bug from a tag. Use something like "You are going to remove all bugs from the <blah> tag. This will completely delete the tag. Click here if you really want to remove it." > [% ELSIF error == "no_bugs_to_remove" %] >- [% title = "No Saved Search Selected" %] >- You didn't select any saved search to remove [% terms.bugs %] from. >+ [% title = "No Tag Selected" %] >+ You didn't select any tag to remove from [% terms.bugs %]. The same thing is true here. Use something like "You didn't select a tag to remove bugs from."
Attachment #274039 - Flags: review?(LpSolit) → review-
... from which to remove bugs. prepositions ending sentences, ... bad.
(In reply to comment #7) > ... from which to remove bugs. > > prepositions ending sentences, ... bad. I highly agree, but in this case, this error message will (probably) never be seen by the user, so it really doesn't matter. However... yeah, that will do. It sounds so abnormal in normal speaking, but it is the proper method, and since this error message will never be seen, then that's fine as "from which to remove bugs."
Assignee: query-and-buglist → timeless
Attachment #274039 - Attachment is obsolete: true
Attachment #275282 - Flags: review?(reed)
Comment on attachment 275282 [details] [diff] [review] a few extra changes r=me, sorry for the delay.
Attachment #275282 - Flags: review?(reed) → review+
Flags: approval?
Flags: approval3.0?
Flags: approval?
Flags: approval3.0?
Flags: approval3.0+
Flags: approval+
Summary: Some error messages should mention "tag" instead of "saved search" → Tag-related error messages should mention "tag" instead of "saved search"
Comment on attachment 275282 [details] [diff] [review] a few extra changes mozilla/webtools/bugzilla/buglist.cgi 1.361 mozilla/webtools/bugzilla/template/en/default/global/user-error.html.tmpl 1.228 BUGZILLA-3_0-BRANCH: mozilla/webtools/bugzilla/buglist.cgi 1.351.2.5 mozilla/webtools/bugzilla/template/en/default/global/user-error.html.tmpl 1.204.2.7
Status: ASSIGNED → RESOLVED
Closed: 18 years ago18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: