gecko-dev/devtools
Zibi Braniecki c2cd68a689 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N

--HG--
extra : rebase_source : 13fa4c397ba4c79303a2cd76684b5b8c4bd17331
2017-03-14 16:09:54 -07:00
..
client Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike 2017-03-14 16:09:54 -07:00
docs Bug 1349256 - Merged server and general docs under just one directory; r=sole 2017-03-21 17:36:34 +01:00
server Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike 2017-03-14 16:09:54 -07:00
shared Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike 2017-03-14 16:09:54 -07:00
.eslintrc.js Bug 1326100 - Allow inline comments in DevTools. r=tromey 2017-03-20 16:06:44 -05:00
.eslintrc.mochitests.js Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws 2017-03-20 12:36:37 +01:00
.eslintrc.xpcshell.js Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws 2017-03-20 12:36:37 +01:00
CODE_OF_CONDUCT.md Bug 1315344 - add devtools/CODE_OF_CONDUCT.md; r=jryans,pbro,sole 2016-11-07 14:26:29 -07:00
bootstrap.js Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
chrome.manifest Bug 1314609 - Fix support of shared devtools locale for the addon workflow. r=jryans 2016-10-27 13:28:31 -07:00
install.rdf
moz.build Bug 1349256 - Moved docs into folders so it's easier to browse; r=sole 2017-03-22 15:49:14 +01:00
templates.mozbuild