Closed Bug 385458 Opened 17 years ago Closed 17 years ago

UI strings using "browser" when meaning "application"

Categories

(Core Graveyard :: Security: UI, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kairo, Assigned: kairo)

References

()

Details

Attachments

(1 file, 1 obsolete file)

We have a few UI strings in Security UI that are talking about a "browser" when the code could be used in non-browser applications. We should use "application" instead in those places.
I agree
This patch removes all uses of "browser" in security UI, using "application" instead in most cases.
Assignee: kengert → kairo
Status: NEW → ASSIGNED
Attachment #269402 - Flags: review?(kengert)
Comment on attachment 269402 [details] [diff] [review]
patch v1: replace "browser" with "application"

I think I should r- this patch.

I was told, when strings change their semantic, the string ID should change.

In order for the patch to be complete, we'd have to change all the places in the sources where these string IDs are used, too.
Attachment #269402 - Flags: review?(kengert) → review-
I'm afraid we need to rev the entity names once again, too. The change is semantic, and we do want localizers to pick this change up without having a test available to do so without changing the names.

Are those files overwritten by Firefox specific files?
(In reply to comment #4)
> Are those files overwritten by Firefox specific files?

Not all of them.

BTW, if you're changing "browser" to "app" you should also replace "webmasters" with "administrators" and "websites" with "servers". (Yes, currently if there's sth wrong with a certificate, Thunderbird 2 tells you to contact the *webmaster* about problems with a *website*).

http://mxr.mozilla.org/seamonkey/search?string=CrlImportSuccess looks to me as this string was unused, so I think we might be able to just remove it - is this really true?

Same for http://mxr.mozilla.org/seamonkey/search?string=CrlUpdatePrefsSetConfirmation - we can kill this as well, right?
(In reply to comment #6)
> BTW, if you're changing "browser" to "app" you should also replace "webmasters"
> with "administrators" and "websites" with "servers". (Yes, currently if there's
> sth wrong with a certificate, Thunderbird 2 tells you to contact the
> *webmaster* about problems with a *website*).

For a browser that would be perfectly valid, for a mail client it probably isn't, right. Could you either file a different bug on that or clearly identify which strings need to be changed for this?
This patch also changes all involved string IDs and kills the two strings mentioned before.

I'll file a followup against Camino so that they fix their camino/embed-replacements/locale/en-US/pipnss/pipnss.properties but I don't want to touch any Camino-specific stuff as long as they claim to be "like Firefox".
Attachment #269402 - Attachment is obsolete: true
Attachment #270900 - Flags: review?(kengert)
(In reply to comment #8)
> For a browser that would be perfectly valid, for a mail client it probably
> isn't, right.

Yeah, but what sense does it make to get rid of the word "browser" and leave all the "browserisms" in place?

>  Could you either file a different bug on that or clearly identify
> which strings need to be changed for this?

Almost the whole newserver.dtd
http://lxr.mozilla.org/mozilla/source/security/manager/locales/en-US/chrome/pippki/newserver.dtd#44

- newserver.title ("website")
- newserver.reason1 ("browser", "site")
- newserver.reason2 ("site")
- newserver.notify ("site's webmaster")
Comment on attachment 270900 [details] [diff] [review]
patch v2: also change string IDs

r=kengert

It's still not perfect. I wish there were a better universal word than "application". But I agree this patch is more correct.

You could leave out the change to newserver.dtd and newserver.xul. I will very likely remove that soon. See bug 327181.
Attachment #270900 - Flags: review?(kengert) → review+
I checked in all parts of the patch nevertheless - it doesn't hurt to check in an already finished patch to files that go away - it would be useless to work even more on newserver.dtd like stated in comment #10 though ;-)
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Why not use &brandShortName; instead, rather than the very generic "application"?
&brandShortName; only easily works in DTDs/XML, and my coding skills aren't good enough (yet) to inject this into JS or C++ code, I think...
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: