Remove stray generateUrl
This commit is contained in:
parent
152da9796b
commit
cd60a27ad6
|
@ -45,11 +45,6 @@ OC.L10N = {
|
||||||
|
|
||||||
var self = this;
|
var self = this;
|
||||||
var deferred = $.Deferred();
|
var deferred = $.Deferred();
|
||||||
var url = OC.generateUrl(
|
|
||||||
'apps/{app}/l10n/{locale}.json',
|
|
||||||
{app: appName, locale: OC.getLocale()}
|
|
||||||
);
|
|
||||||
|
|
||||||
var url = OC.filePath(appName, 'l10n', OC.getLocale() + '.json');
|
var url = OC.filePath(appName, 'l10n', OC.getLocale() + '.json');
|
||||||
|
|
||||||
// load JSON translation bundle per AJAX
|
// load JSON translation bundle per AJAX
|
||||||
|
|
Loading…
Reference in New Issue