Closed Bug 1605873 Opened 6 years ago Closed 6 years ago

networkMenu.ws.summary.tooltip.framesTranferredSize has Localization Note and entity name indicating it's a tooltip but it's a label

Categories

(DevTools :: Netmonitor, defect, P3)

defect

Tracking

(firefox74 fixed)

RESOLVED FIXED
Firefox 74
Tracking Status
firefox74 --- fixed

People

(Reporter: aryx, Assigned: vincent)

References

(Regression)

Details

(Keywords: good-first-bug, regression)

Attachments

(1 file)

Bug 1593831 added this for localization:

+# LOCALIZATION NOTE (networkMenu.ws.summary.tooltip.framesTranferredSize): A tooltip explaining
+# what the framesTranferredSize label displays
+# %1$S is the total size of the transferred data, %2$S is the size of sent data, %3$S is the size of received data.
+networkMenu.ws.summary.tooltip.framesTranferredSize=%1$S total, %2$S sent, %3$S received

Actually, it's used as a label and the entity name and Localization Note are misleading.

Steps to reproduce:

  1. Open http://labs.dinahmoe.com/plink/
  2. Open Netmonitor (Ctrl+Shift+E).
  3. Click on 'WebSockets'.
  4. Launch the game.
  5. In Netmonitor, click on the line.
  6. Then on the Messages tab.

Actual result:
Pretty cramped toolbar with the text shown, tooltip is networkMenu.ws.summary.tooltip.framesTotalSize

Expected result:
Like this but with correct Localization Note and entity name?

Thanks for the report I can see the issue.

Pretty cramped toolbar with the text shown, tooltip is networkMenu.ws.summary.tooltip.framesTotalSize

I believe you meant statusbar (not toolbar)

We should change the localization to something like as follows:

# LOCALIZATION NOTE (networkMenu.ws.summary.label.framesTranferredSize): A label showing
# summary size info related to the current list of WS messages
# %1$S is the total size of the transferred data, %2$S is the size of sent data, %3$S is the size of received data.
networkMenu.ws.summary.label.framesTranferredSize=%1$S total, %2$S sent, %3$S received

Honza

Keywords: good-first-bug
Priority: -- → P3

Hi,

can I work on this? :-)

Flags: needinfo?(odvarko)
Assignee: nobody → vi.le
Status: NEW → ASSIGNED
Pushed by jodvarko@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9def47165f77 Rename networkMenu.ws.summary.tooltip.framesTranferredSize to networkMenu.ws.summary.label.framesTranferredSize;r=Honza
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 74
Flags: needinfo?(odvarko)
Has Regression Range: --- → yes
Keywords: regression
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: