Closed Bug 1524372 Opened 5 years ago Closed 5 years ago

Types of preferences in new about:config (strings, number, boolean) are hard-coded

Categories

(Toolkit :: Preferences, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: flod, Assigned: Paolo)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

https://searchfox.org/mozilla-central/source/browser/components/aboutconfig/content/aboutconfig.js#202

These should be exposed for localization (as they are in the old UI).

Summary: Type of preferences in new about:config (strings, number, boolean) are hard-coded → Types of preferences in new about:config (strings, number, boolean) are hard-coded

In my mind these are the JavaScript identifiers for the constructor data types, and thus identical in all browser languages, like they would appear in the output of a console command.

Do you think we should still ask localizers to translate these additional three strings? I'm fine either way.

Flags: needinfo?(francesco.lodolo)

(In reply to :Paolo Amadini from comment #1)

Do you think we should still ask localizers to translate these additional three strings?

Yes. Also, that's consistent with the existing experience.

Consider "boolean", which is the most technical of the 3. And yet, Microsoft translates it almost all over the place
https://www.microsoft.com/it-it/language/Search?&searchTerm=boolean&langID=italiano&Source=true&productid=Tutti%20i%20prodotti

Flags: needinfo?(francesco.lodolo)

Thanks, I'll work on this as part of the next batch of changes.

Priority: -- → P3
Assignee: nobody → paolo.mozmail
Status: NEW → ASSIGNED
Priority: P3 → P1
Pushed by paolo.mozmail@amadzone.org:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f87b390877dd
Localize the preference type in the new "about:config" page. r=flod
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: