DescriptionAdd reserved messages to ExtensionMessageBundle dictionary. They are of the form @@somename, i.e. @@ui_locale.
It makes easier for developers to detect current UI locale (also available though window.navigator.language), or text
direction. I'll use them for static message replacement later on too.
Before this change developers would have to manualy add locale and text_dir messages and translate for all supported locales.
Added 5 reserved messages:
@@ui_locale
@@bidi_dir
@@bidi_reversed_dir
@@bidi_start_edge
@@bidi_end_edge
See http://code.google.com/apis/gadgets/docs/i18n.html#BIDI on why are they usefull.
Extended allowed charset for variable names with @. Added unittest for variable names.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=36693
Patch Set 1 #Patch Set 2 : '' #
Total comments: 6
Patch Set 3 : '' #
Total comments: 8
Patch Set 4 : '' #
Total comments: 2
Messages
Total messages: 8 (0 generated)
|