xpinstallPromptMessage cannot be properly translated in some cases
Categories
(Toolkit :: Add-ons Manager, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox68 | --- | fixed |
People
(Reporter: mixedpuppy, Assigned: mixedpuppy)
References
Details
Attachments
(1 file)
From :piotrdrag
This is not translatable to my language. “an unknown site” needs different translations in xpinstallPromptMessage.header and xpinstallPromptMessage.message. Preferably, the versions for an unknown site would be separate strings. Do I need to reopen this bug, or file a new one?
We probably need a couple strings to support localization better:
xpinstallPromptMessage.header=Allow %S to install an add-on?
xpinstallPromptMessage.message=You are attempting to install an add-on from %S. Make sure you trust this site before continuing.
xpinstallPromptMessage.header.unknown=an unknown site
xpinstallPromptMessage.message.unknown=an unknown site
An alternate option that should always work would be:
xpinstallPromptMessage.header.unknown=Allow an unknown site to install an add-on?
xpinstallPromptMessage.message.unknown=You are attempting to install an add-on from an unknown site. Make sure you trust this site before continuing.
However in that case we loose the bold style for "an unknown site".
| Assignee | ||
Comment 1•6 years ago
|
||
:flod Is there any way for me to know whether the first option above is still going to present translation issues?
Comment 2•6 years ago
|
||
(In reply to Shane Caraveo (:mixedpuppy) from comment #1)
:flod Is there any way for me to know whether the first option above is still going to present translation issues?
This is not the request from Piotr (and I got the same from Michal for Czech).
It should be completely different strings, e.g.
xpinstallPromptMessageDomain.header=Allow %S to install an add-on?
xpinstallPromptMessageDomain.message=You are attempting to install an add-on from %S. Make sure you trust this site before continuing.
xpinstallPromptMessageUnknown.header=Allow add-on installation from unknown source?
xpinstallPromptMessageUnknown.message=You are attempting to install an add-on from an unknown source. Make sure you trust this file before continuing.
| Assignee | ||
Comment 3•6 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
Comment 4•6 years ago
|
||
Is there anything holding this patch from landing?
| Assignee | ||
Updated•6 years ago
|
Comment 6•6 years ago
|
||
| bugherder | ||
Description
•