Closed Bug 705464 Opened 13 years ago Closed 12 years ago

typo in gcli.properties

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 11

People

(Reporter: mamozrk, Assigned: jwalker)

References

Details

Attachments

(1 file)

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.
(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: GCLI-SHIP
Attached patch upload 1Splinter Review
a.k.a https://github.com/campd/gcli/pull/8
Attachment #578534 - Flags: review?(dcamp)
Attachment #578534 - Flags: review?(dcamp) → review+
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
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 11
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.