Ticket #711 (closed defect: fixed)
Firefox won't quit normally w/ Ubiquity enabled, nom noms memory
| Reported by: | mitcho.com | Owned by: | mitcho.com |
|---|---|---|---|
| Priority: | blocker | Milestone: | |
| Component: | builtin-commands | Keywords: | try-to-reproduce |
| Cc: |
Description
As per our discussion over a couple weeks, we've decided to use a gettext-style string translation approach to command localization. This means user-generated natural language attributes such as names, help, etc. will stay in their monolingual forms in the commands and a replacement will be attempted automagically, while strings in preview() and execute() will require wrapping by a utility function _().
(Note: Nountype translation will *not* be a goal of the 0.1.9 milestone, nor will the synchronization/distribution/sharing of localizations.)
This ticket is part 2/3 of this process: wrapping commands' natural language attributes like names, help, etc. by the replacement function upon load.
Appropriate places to put this are most likely in NLParser.setCommandList() (both parsers) or in feed_plugin_utils.js's finishCommand().
