Bug 1020502 - Flush Services.strings on locale change. r=margaret

This commit is contained in:
Richard Newman 2014-06-10 10:35:44 -07:00
parent a47023d48b
commit 9c72258e96

View File

@ -1676,6 +1676,10 @@ var BrowserApp = {
}
Services.prefs.setBoolPref("intl.locale.matchOS", !aData);
// Blow away the string cache so that future lookups get the
// correct locale.
Services.strings.flushBundles();
break;
default: