1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-18 08:52:26 +02:00

Merge pull request #480 from chrisaljoudi/master

Fix Safari i18n function (default to '' if no localized string found)
This commit is contained in:
Raymond Hill 2015-01-12 00:10:10 -05:00
commit b8cd524167

View File

@ -101,7 +101,7 @@ xhr.send();
vAPI.i18nData = JSON.parse(xhr.responseText); vAPI.i18nData = JSON.parse(xhr.responseText);
vAPI.i18n = function(s) { vAPI.i18n = function(s) {
return this.i18nData[s] || s; return this.i18nData[s] || '';
}; };
})(); })();