Closed
Bug 1341586
Opened 8 years ago
Closed 8 years ago
Wrong replacement in context menu attribute strings
Categories
(DevTools :: Inspector, defect)
DevTools
Inspector
Tracking
(firefox54 fixed)
RESOLVED
FIXED
Firefox 54
Tracking | Status | |
---|---|---|
firefox54 | --- | fixed |
People
(Reporter: stef, Assigned: djmdeveloper060796)
References
Details
Attachments
(1 file, 1 obsolete file)
3.63 KB,
patch
|
gl
:
review+
|
Details | Diff | Splinter Review |
https://hg.mozilla.org/mozilla-central/annotate/80e5378cc1c8/devtools/client/locales/en-US/inspector.properties#l110
https://hg.mozilla.org/mozilla-central/annotate/80e5378cc1c8/devtools/client/locales/en-US/inspector.properties#l117
https://hg.mozilla.org/mozilla-central/annotate/80e5378cc1c8/devtools/client/locales/en-US/inspector.properties#l124
%S in inspectorEditAttribute.label, inspectorRemoveAttribute.label and inspectorCopyAttributeValue.label are incorrectly replaced by quoted values (as "value") but raw values should be used (without quotes).
Assignee | ||
Comment 1•8 years ago
|
||
Removed quotes from context menu item label
Attachment #8839953 -
Flags: review?(gl)
Comment 2•8 years ago
|
||
Hi stef,
I am trying to figure out why this is an issue. It seems the original intent was to always surround the value that would be edit, copy, and remove with quotations for better clarity.
Updated•8 years ago
|
Flags: needinfo?(splewako)
Comment 3•8 years ago
|
||
Perhaps your intention is to have the quotations inside the inspector.properties file instead of replacing the value with a value with quotation?
Comment 4•8 years ago
|
||
(In reply to Gabriel Luong [:gl][1 biz day review guarantee] (ΦωΦ) from comment #3)
> Perhaps your intention is to have the quotations inside the
> inspector.properties file instead of replacing the value with a value with
> quotation?
Yes, quotes get also localized.
Comment 5•8 years ago
|
||
Hi Deepjyoti,
We actually want to move the quotations inside the inspector.properties file
Assignee: nobody → djmdeveloper060796
Status: NEW → ASSIGNED
Flags: needinfo?(splewako)
Comment 6•8 years ago
|
||
Comment on attachment 8839953 [details] [diff] [review]
bug1341586.patch
This is correct. We also need to make the changes in inspector.properties
Attachment #8839953 -
Flags: review?(gl)
Assignee | ||
Comment 7•8 years ago
|
||
Included quotations in properties file
Attachment #8840282 -
Flags: review?(gl)
Updated•8 years ago
|
Attachment #8839953 -
Attachment is obsolete: true
Comment 8•8 years ago
|
||
Comment on attachment 8840282 [details] [diff] [review]
bug1341586.patch
Review of attachment 8840282 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks again for the patch Deepjyoti.
Attachment #8840282 -
Flags: review?(gl) → review+
Comment 10•8 years ago
|
||
Pushed by gabriel.luong@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6d5d1dfa8696
Fix localization of Inspector's attribute context menu by adding quotations to the values. r=gl
Updated•8 years ago
|
Flags: needinfo?(gl)
Comment 11•8 years ago
|
||
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/mozilla-inbound/rev/5f9faa310d3f
Fix localization of Inspector's attribute context menu by adding quotations to the values: Fix quote characters. r=test-fix on a CLOSED TREE
Comment 12•8 years ago
|
||
Firefox only uses opening and closing quotation marks, so I had to push that follow-up.
Comment 13•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6d5d1dfa8696
https://hg.mozilla.org/mozilla-central/rev/5f9faa310d3f
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 54
Comment 14•8 years ago
|
||
I have reproduced this bug on Firefox nightly according to (2017-02-22)
Fixing bug is verified on Latest Developer Edition--- Build ID: (20170427004028),User Agent: Mozilla/5.0 (Windows NT 6.1; rv:54.0) Gecko/20100101 Firefox/54.0
Tested OS-- Windows7 32bit
[testday-20170428]
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•