summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorcira@chromium.org <cira@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-21 17:25:32 +0000
committercira@chromium.org <cira@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-21 17:25:32 +0000
commit7b7de277898646dbe99146c31f67abc1511fe066 (patch)
treebcf5ec37b3beb5f85ab010ada5b1e08c86e379cb /base
parent979a71a0bbdedb206ee0b5487f4cc934a68de33c (diff)
downloadchromium_src-7b7de277898646dbe99146c31f67abc1511fe066.zip
chromium_src-7b7de277898646dbe99146c31f67abc1511fe066.tar.gz
chromium_src-7b7de277898646dbe99146c31f67abc1511fe066.tar.bz2
Add reserved messages to ExtensionMessageBundle dictionary. They are of the form @@somename, i.e. @@ui_locale.
Trying to re-land. It's the same as http://codereview.chromium.org/546040. 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. TBR=jshin@chromium.org Review URL: http://codereview.chromium.org/555021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36757 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
0 files changed, 0 insertions, 0 deletions