Closed Bug 1724084 Opened 5 years ago Closed 1 year ago

Redundant colon in event dialog tab titles (Description, Attachments, Attendees) - convert entangled strings with variables to Fluent

Categories

(Calendar :: Dialogs, defect)

defect

Tracking

(thunderbird91?)

RESOLVED DUPLICATE of bug 1900119
Tracking Status
thunderbird91 ? ---

People

(Reporter: Fallen, Assigned: thomas8)

Details

Attachments

(1 file)

I remember we did this at least two big releases ago because we were past string freeze, maybe we can finally get rid of the clutch:

In the event dialog, the tab titles have a colon at the end. This should be a quick fix.

This patch removes the trailing colon on the tab titles of Description, Attachments, and
Attendees on the calendar item dialogs. I also disentangled the rather nested current implementation of
these dynamic strings by converting them to Fluent - much cleaner now!

Assignee: nobody → bugzilla2007
Status: NEW → ASSIGNED
Attachment #9235217 - Flags: review?(geoff)
Summary: Extra colon in event dialog tabs → Redundant colon in event dialog tab titles (Description, Attachments, Attendees) - convert entangled strings with variables to Fluent

Thanks to :Paenglab for this try build:
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=bcab01cf241986f2f90002b5e9540d428f7529fd
Busted, but not by my patch here...

Comment on attachment 9235217 [details] [diff] [review] 1724084_calEditableItem_subTabTitles_Fluent.diff Review of attachment 9235217 [details] [diff] [review]: ----------------------------------------------------------------- Okay, but also I'd like to see the attendee and attachment functions in ItemEditingHelpers.jsm test that the `data-l10n-args` attributes are updated as expected. It should just be a matter of parsing the value before and after a change and checking the difference. ::: calendar/base/content/item-editing/calendar-item-iframe.js @@ +3750,5 @@ > + > + // Update the attendee tab label to make the number of attendees visible > + // even if another tab is displayed. > + document.l10n.setAttributes( > + document.getElementById("event-grid-tab-attendees"), No need to get this element again, it's `attendeeTab`.
Attachment #9235217 - Flags: review?(geoff) → review+
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1900119
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: