Closed Bug 1226552 Opened 9 years ago Closed 8 years ago

Fix the "raw ping data" string for about:telemetry

Categories

(Toolkit :: Telemetry, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla46
Tracking Status
firefox45 --- affected
firefox46 --- fixed

People

(Reporter: gfritzsche, Assigned: chaitanya7991, Mentored)

References

Details

(Whiteboard: [measurement:client] [lang=js] [good first bug])

Attachments

(1 file, 5 obsolete files)

(In reply to Francesco Lodolo [:flod] from bug 1175519, comment #20)
> Not sure I understand this string: "Raw ping data ..."
> 
> Code should *always* use "…" instead of "..." for consistency with the rest
> of the product, also not sure why the blank space before the ellipsis. Did
> it just slip through the cracks?
> 
> Given it's a matter of consistency in en-US, you can fix this without using
> a new string ID.

So, what we want here is "Raw ping data…".
The line to fix is here:
https://dxr.mozilla.org/mozilla-central/rev/a2f83cbe53ac4009afa4cb2b0b8f549289b23eeb/toolkit/locales/en-US/chrome/global/aboutTelemetry.dtd#56
Chaitanya, would you like to take this bug?
Flags: needinfo?(chaitanya7991)
Whiteboard: [measurement:client] → [measurement:client] [lang=js] [good first bug]
(In reply to Georg Fritzsche [:gfritzsche] from comment #1)
> Chaitanya, would you like to take this bug?

Yes, I would like to take this bug.
Flags: needinfo?(chaitanya7991)
Assignee: nobody → chaitanya7991
Comment on attachment 8690206 [details] [diff] [review]
Made necessary changes as per the requirements.Please let me know if there are any changes to make.

Review of attachment 8690206 [details] [diff] [review]:
-----------------------------------------------------------------

::: toolkit/locales/en-US/chrome/global/aboutTelemetry.dtd
@@ +52,5 @@
>  Older ping >>
>  ">
>  
> +<!ENTITY aboutTelemetry.rawPingData "
> +Raw ping data ...

This should be:
Raw ping data…

Also, this entry should already exist, maybe you have to update your clone of the source code to see it?
Attachment #8690206 - Flags: review?(gfritzsche)
Attachment #8690206 - Attachment is obsolete: true
Attachment #8691390 - Flags: review?(gfritzsche)
Comment on attachment 8691390 [details] [diff] [review]
Made changes as by comment4. Please let me know if there are any more changes to make

Review of attachment 8691390 [details] [diff] [review]:
-----------------------------------------------------------------

::: toolkit/locales/en-US/chrome/global/aboutTelemetry.dtd
@@ +52,5 @@
>  Older ping &gt;&gt;
>  ">
>  
>  <!ENTITY aboutTelemetry.rawPingData "
> +Raw ping data...

This uses three dot characters, "...".
Francesco requested that we use a single "…" character here instead.
Attachment #8691390 - Flags: review?(gfritzsche)
Attachment #8691390 - Attachment is obsolete: true
Attachment #8692546 - Flags: review?(gfritzsche)
Comment on attachment 8692546 [details] [diff] [review]
Made changes as by comment6. Please let me know if there are any more changes to make

Review of attachment 8692546 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks, this looks good now!
Please upload this with a good commit message, e.g.:
> Fix the "raw ping data" string for about:telemetry. r=gfritzsche

... then we can get this landed.
Attachment #8692546 - Flags: review?(gfritzsche) → review+
Attachment #8692546 - Attachment is obsolete: true
Attachment #8695925 - Flags: review?(gfritzsche)
Comment on attachment 8695925 [details] [diff] [review]
Made changes as by comment8. Please let me know if there are any more changes to make

This looks good now, thanks!
Sorry this took a while to review (was busy with an all-hands meeting last week).
Attachment #8695925 - Flags: review?(gfritzsche) → review+
As this is a string-only change, no try run is needed before landing.
Keywords: checkin-needed
failed to apply:

renamed 1226552 -> Fix_the_raw_ping_data_string_for_about_telemetry_r=gfritzscherawping.patch
applying Fix_the_raw_ping_data_string_for_about_telemetry_r=gfritzscherawping.patch
patching file toolkit/locales/en-US/chrome/global/aboutTelemetry.dtd
Hunk #1 FAILED at 47
1 out of 1 hunks FAILED -- saving rejects to file toolkit/locales/en-US/chrome/global/aboutTelemetry.dtd.rej
patch failed, unable to continue (try -v)
patch failed, rejects left in working directory
errors during apply, please fix and qrefresh Fix_the_raw_ping_data_string_for_about_telemetry_r=gfritzscherawping.patch
Flags: needinfo?(chaitanya7991)
Chaitanya, can you update to the newest mozilla-central and see that the patch still applies?
(In reply to Georg Fritzsche [:gfritzsche] [away Dec 19 - Jan 3] from comment #13)
> Chaitanya, can you update to the newest mozilla-central and see that the
> patch still applies?

Yes sure
Flags: needinfo?(chaitanya7991)
(In reply to Georg Fritzsche [:gfritzsche] [away Dec 19 - Jan 3] from comment #13)
> Chaitanya, can you update to the newest mozilla-central and see that the
> patch still applies?

Yes, the patch still applies.
Attachment #8695925 - Attachment is obsolete: true
Attachment #8702631 - Flags: review?(alessio.placitelli)
Attachment #8702631 - Attachment is obsolete: true
Attachment #8702631 - Flags: review?(alessio.placitelli)
Attachment #8702632 - Flags: review?(alessio.placitelli)
Comment on attachment 8702632 [details] [diff] [review]
Added r=<reviewer>

That was a rebase, so no need to request a review again.

The commit message is missing the bug number, but I'll take care of that when landing.
Attachment #8702632 - Flags: review?(alessio.placitelli) → review+
Attachment #8702632 - Attachment is patch: true
https://hg.mozilla.org/mozilla-central/rev/189cbfa99950
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: