Closed Bug 260141 Opened 20 years ago Closed 19 years ago

Some strings in locale files is using "Firefox" - should use &brandShortName; instead

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: unghost, Assigned: unghost)

References

Details

(Keywords: fixed-aviary1.0, late-l10n)

Attachments

(1 file, 3 obsolete files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.3) Gecko/20040913 Firefox/0.10
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.3) Gecko/20040913 Firefox/0.10

Some strings in locale files is using "Firefox" - should use &brandShortName;
instead
 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
I've found two more places with hardcoded strings:
http://lxr.mozilla.org/aviarybranch/source/browser/locales/en-US/installer/installer.inc#23

#define SETUP_TYPE_EXISTING The selected directory already contains a Firefox
installation. To delete %s completely, please press the 'Delete Directory'
button. Your Firefox settings should not be affected. Or, please press the
'Cancel' button and choose a different destination directory.

http://lxr.mozilla.org/aviarybranch/source/toolkit/locales/en-US/installer/unix/install.it#16

DEFAULT_TITLE=Mozilla Installer

But it's installer part and I don't know how to fix it.

Benjamin, confirm/review/own? Pick your favorite ;-)
Comment on attachment 159258 [details] [diff] [review]
Replace "Firefox" with &brandShortName;

>-<!ENTITY  getnew.tooltip          "Close Options and visit Firefox Help's Extensions page">
>+<!ENTITY  getnew.tooltip          "Close Options and visit &brandShortName; Help's Extensions page">
> <!ENTITY  getnew.url              "http://texturizer.net/firefox/extensions/">

>-<!ENTITY  getnew.tooltip          "Close Options and visit Firefox Help's Themes page">
>+<!ENTITY  getnew.tooltip          "Close Options and visit &brandShortName; Help's Themes page">
> <!ENTITY  getnew.url              "http://texturizer.net/firefox/themes/">

But the name of the web site IS Firefox Help and nothing else.
> But the name of the web site IS Firefox Help and nothing else.
Firefox can change it's name one more time. And "Firefox Help web site" would be
"<insert new name> Help web site".
I believe that is purpose of &brandShortName; - don't make developers to go
through all .dtd files after renaming product.
Comment on attachment 159258 [details] [diff] [review]
Replace "Firefox" with &brandShortName;

Actually the purpose of &brandShortName; is to keep "toolkit" files from having
hardcode product names. This patch is fine to land on the trunk, but please
only fix update.dtd on the aviary branch.
Attachment #159258 - Flags: review+
Assignee: firefox → als
Status: UNCONFIRMED → NEW
Ever confirmed: true
QA Contact: firefox.general → bsmedberg
Carrying over r+.
Asking for sr.
Attachment #159258 - Attachment is obsolete: true
Attachment #159777 - Flags: superreview?
Comment on attachment 159777 [details] [diff] [review]
Patch for updated.dtd only.

It's all good (you don't need sr, and I can self-approve locale changes like
this).
Attachment #159777 - Flags: superreview?
Attachment #159777 - Flags: review+
Attachment #159777 - Flags: approval-aviary+
Attachment #159777 - Flags: superreview?
Attachment #159777 - Flags: superreview?
Update.dtd checked in on the aviary branch. I'm going to leave this bug open for
the extra files on the trunk.
Attached patch Patch for trunk (obsolete) — Splinter Review
Patch for trunk
Comment on attachment 159787 [details] [diff] [review]
Patch for trunk

toolkit/mozapps/update/locale/update.dtd is not the correct file. I think you
want toolkit/locales/en-US/chrome/mozapps/update/update.dtd

Really, everything in toolkit/mozapps/update/locale should be cvs-removed.
Attachment #159787 - Flags: review-
Patch for trunk (browser part only)
Attachment #159787 - Attachment is obsolete: true
Attachment #168354 - Flags: review?(bsmedberg)
Attachment #168354 - Flags: review?(benjamin) → review+
Comment on attachment 168354 [details] [diff] [review]
Patch for trunk (browser part only)

Did not apply,cause new Options window has been landed.
Attachment #168354 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
*** Bug 258678 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: