Closed Bug 1299423 Opened 8 years ago Closed 8 years ago

browser_action tooltip (default_title) seems to only follow default locale

Categories

(WebExtensions :: Compatibility, defect)

48 Branch
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1295894

People

(Reporter: holo.hokkaido, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:48.0) Gecko/20100101 Firefox/48.0
Build ID: 20160726073904

Steps to reproduce:

I created a WebExtensions with two locales (fr and en). I currently test it with "load a temporary add-on" feature.

In the manifest I have a browser_action with a default_title localised ("default_title": "__MSG_extensionButtonTooltip__").

I have localised extension name and description as well.


Actual results:

When my mouse is over the browser action, the tooltip message always follows default_locale I indicate in manifest.json, instead of following my browser language.

(I follow the guidelines to change my Firefox language : I go in about:config > general.useragent.locale and I reopen Firefox before testing.)

With manifest default_locale is "en" and Firefox language is "en" :
- extension name and description are "en"
- extension browser_action default_title is "en"

With manifest default_locale is "en" and Firefox language is "fr" :
- extension name and description are "fr"
- extension browser_action default_title is "en"

With manifest default_locale is "fr" and Firefox language is "en" :
- extension name and description are "en"
- extension browser_action default_title is "fr"


Expected results:

With manifest default_locale is "en" and Firefox language is "en" :
- extension name and description are "en"
- extension browser_action default_title should be "en"

With manifest default_locale is "en" and Firefox language is "fr" :
- extension name and description are "fr"
- extension browser_action default_title should be "fr"

With manifest default_locale is "fr" and Firefox language is "en" :
- extension name and description are "en"
- extension browser_action default_title should be "en"
Component: Untriaged → WebExtensions: Compatibility
OS: Unspecified → Mac OS X
Product: Firefox → Toolkit
Hardware: Unspecified → x86
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.