Closed
Bug 285911
Opened 19 years ago
Closed 19 years ago
XPrint hardcodes english string with literal "Mozilla"
Categories
(Core Graveyard :: Printing: Xprint, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Biesinger, Assigned: masaki.katakai)
References
Details
(Keywords: l12y)
Attachments
(3 files)
1.73 KB,
patch
|
Details | Diff | Splinter Review | |
1.70 KB,
patch
|
Details | Diff | Splinter Review | |
568 bytes,
patch
|
roc
:
review+
roc
:
superreview+
roc
:
approval1.8b3+
|
Details | Diff | Splinter Review |
this string was added by gisburn in Bug 72087. http://lxr.mozilla.org/seamonkey/source/gfx/src/xprint/nsXPrintContext.cpp#859 has a hardcoded english string... it should not contain a literal Mozilla, and it should be localizable.
Comment 1•19 years ago
|
||
AFAIU the code normal users will never see the string because it just sets the print job title as a fallback when the document title couldn't be determined (much like the JS console gives error messages in English even on a localized install). Changing it to full localization would probably be overkill. So this patch just changes the appname similarly to the changes in xpfe/bootstrap/. If I could get Xprint running I could actually test that is does what I think it does. At least it compiles.
Comment 2•19 years ago
|
||
Ahem, sorry. This one is probably more like it...
Reporter | ||
Comment 3•19 years ago
|
||
this sucks from a GRE viewpoint... maybe it should be just "Document without title"?
Comment 4•19 years ago
|
||
Do you mean that if GRE is shipped seperately MOZ_APP_DISPLAYNAME will not be defined? Anyway, here is the one line patch to just remove "Mozilla". Use whichever you think is best. :-)
Updated•19 years ago
|
Flags: blocking1.8b2?
Comment 5•19 years ago
|
||
lets get this reviewed and checked-in early in the beta3 cycle.
Flags: blocking1.8b3+
Flags: blocking1.8b2?
Flags: blocking1.8b2-
Reporter | ||
Updated•19 years ago
|
Attachment #183036 -
Flags: review?(roland.mainz)
Updated•19 years ago
|
Flags: blocking1.8b3+ → blocking1.8b3-
Comment on attachment 183036 [details] [diff] [review] Just remove "Mozilla" from the string (Checked in) No sign of roland
Attachment #183036 -
Flags: superreview?(roc)
Attachment #183036 -
Flags: review?(roland.mainz)
Attachment #183036 -
Flags: review?(roc)
Attachment #183036 -
Flags: superreview?(roc)
Attachment #183036 -
Flags: superreview+
Attachment #183036 -
Flags: review?(roc)
Attachment #183036 -
Flags: review+
Comment on attachment 183036 [details] [diff] [review] Just remove "Mozilla" from the string (Checked in) approving trivial fix
Attachment #183036 -
Flags: approval1.8b3+
Comment on attachment 183036 [details] [diff] [review] Just remove "Mozilla" from the string (Checked in) Checking in gfx/src/xprint/nsXPrintContext.cpp; new revision: 1.52; previous revision: 1.51 done
Attachment #183036 -
Attachment description: Just remove "Mozilla" from the string → Just remove "Mozilla" from the string (Checked in)
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•