diff options
author | cira@chromium.org <cira@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-20 23:57:39 +0000 |
---|---|---|
committer | cira@chromium.org <cira@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-20 23:57:39 +0000 |
commit | 6905390dfce8d6b89f12ccae86a064c252b86c78 (patch) | |
tree | 432a6649a22899668cb028e5463df9b3e4d45ab0 /app | |
parent | 8d664472a856e071efee68617b210e6eadd85d80 (diff) | |
download | chromium_src-6905390dfce8d6b89f12ccae86a064c252b86c78.zip chromium_src-6905390dfce8d6b89f12ccae86a064c252b86c78.tar.gz chromium_src-6905390dfce8d6b89f12ccae86a064c252b86c78.tar.bz2 |
Revert 36693 - breaking mac for some reason - Add 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.
Review URL: http://codereview.chromium.org/546040
TBR=cira@chromium.org
Review URL: http://codereview.chromium.org/552078
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36702 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app')
0 files changed, 0 insertions, 0 deletions