Commit Graph

4 Commits

Author SHA1 Message Date
Santhosh Thottingal
0ee46eaec1 Remove namespace parameter from ApiULSLocalization
Return messages from all known namespaces for the language

Change-Id: I3fe70108458dd5dfa6689a6d30c65f510e94b4d8
2013-07-01 16:12:48 +05:30
Santhosh Thottingal
2776a28d58 ULS i18n performance fixes
* Since there is an API to load the i18n json files, avoid sending
  list of localizations to client. Previously this list was used to
  avoid 404s for json files. Now API takes care of it. Remove the
  caching for this list too.

* Preload the i18n files on document ready. This avoids delay in
  initializing IME or ULS window after fetch i18n from server.

* ApiULSLocalization can serve messages for all namespaces known if
  namespace parameter is not set

Bug: 50391
Change-Id: I6b848da35f57353790bf460983cdf19a11bb238a
2013-06-30 18:08:19 +05:30
Santhosh Thottingal
cfa02f2204 Json mimetype is application/json
Change-Id: Ifd52bc2e4e9f80b8487e98f723dc05b103a39630
2013-06-04 16:21:15 +05:30
Santhosh Thottingal
ec0ea0407d Introduce Api for loading jquery.i18n json files
To avoid CORS issue with old browsers

Bug: 45958
Change-Id: I37638e06f21ab573c9ce37a4e9fb20bc763ac98f
2013-06-04 10:21:32 +00:00