Index: options.js |
=================================================================== |
--- a/options.js |
+++ b/options.js |
@@ -3,18 +3,16 @@ var imports = ["FilterStorage", "FilterN |
"DownloadableSubscription", "Filter", "WhitelistFilter", |
"Synchronizer", "Prefs", "Utils", "require"]; |
for (var i = 0; i < imports.length; i++) |
window[imports[i]] = backgroundPage[imports[i]]; |
// Loads options from localStorage and sets UI elements accordingly |
function loadOptions() |
{ |
- loadI18nStrings(); |
- |
// Set page title to i18n version of "Adblock Plus Options" |
document.title = chrome.i18n.getMessage("options"); |
// Set links |
$("#acceptableAdsLink").attr("href", Prefs.subscriptions_exceptionsurl); |
$("#acceptableAdsDocs").attr("href", Prefs.documentation_link.replace(/%LINK%/g, "acceptable_ads").replace(/%LANG%/g, Utils.appLocale)); |
// Add event listeners |