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•5 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•5 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•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Comment 4•5 years ago
|
||
Is there anything holding this patch from landing?
Pushed by scaraveo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d7f798e98a75 use separate strings to localize install prompt for unknown sites. r=flod,aswan
Assignee | ||
Updated•5 years ago
|
Comment 6•5 years ago
|
||
bugherder |
Description
•