Ticket #710 (closed defect: fixed)
Parser 2 unit tests fail with timeout
| 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 1 of this process: making the string replacement utilities with stringbundles.
Here's some XPCOM/JS code to copy:
http://www.xuldev.org/blog/?p=45 [Japanese]
