typo in gcli.properties

RESOLVED FIXED in Firefox 11

Status

()

Firefox
Developer Tools
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: Mark Tyndall, Assigned: jwalker)

Tracking

unspecified
Firefox 11
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
http://mxr.mozilla.org/mozilla-central/source/browser/locales/en-US/chrome/browser/devtools/gcli.properties#70

http://mxr.mozilla.org/mozilla-central/source/browser/locales/en-US/chrome/browser/devtools/gcli.properties#75

typesNumberMax=%1$S is smaller that minimum allowed: %2$S.
typesNumberMin=%1$S is smaller that minimum allowed: %2$S.

In both cases, "that" should be "than".

This is also on aurora (where I saw it, whilst localising).  You can fix this there without affecting the string freeze.
(Reporter)

Comment 1

6 years ago
(sorry for the bugspam, I forgot this was so closely related to the file above.)

http://mxr.mozilla.org/mozilla-central/source/browser/locales/en-US/chrome/browser/devtools/webconsole.properties#94

helperFuncUnsupportedTypeError=Can't call pprint on this type of object.

Is "pprint" some arcane function, or (as I suspect) a typo?
(In reply to Mark Tyndall from comment #1)
> Is "pprint" some arcane function, or (as I suspect) a typo?

It's only slightly arcane - the console has functions [1] to do pretty printing, and we borrow the name pprint for this from 'python' [2].

[1] https://developer.mozilla.org/en/Using_the_Web_Console/Helpers
[2] http://docs.python.org/library/pprint.html
Assignee: nobody → jwalker
Status: NEW → ASSIGNED
Blocks: 689605
Created attachment 578534 [details] [diff] [review]
upload 1

a.k.a https://github.com/campd/gcli/pull/8
Attachment #578534 - Flags: review?(dcamp)

Updated

6 years ago
Attachment #578534 - Flags: review?(dcamp) → review+
https://tbpl.mozilla.org/?tree=Try&rev=2444a569f2c7
https://tbpl.mozilla.org/?tree=Fx-Team&rev=cf3ed4316481
OS: Windows 7 → All
Hardware: x86_64 → All
Whiteboard: [fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/b692f4f2a0cf
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 11
You need to log in before you can comment on or make changes to this bug.