mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
Merge pull request #11992 from nextcloud/backport/11972/fix-l10n-fetching-from-theme-13
[stable13] Load apps/APP/l10n/*.js and themes/THEME/apps/APP/l10n/*.js
This commit is contained in:
commit
18b4b6c324
1 changed files with 1 additions and 0 deletions
|
|
@ -55,6 +55,7 @@ class JSResourceLocator extends ResourceLocator {
|
|||
$found += $this->appendIfExist($this->serverroot, $theme_dir.'core/'.$script.'.js');
|
||||
$found += $this->appendIfExist($this->serverroot, $script.'.js');
|
||||
$found += $this->appendIfExist($this->serverroot, $theme_dir.$script.'.js');
|
||||
$found += $this->appendIfExist($this->serverroot, 'apps/'.$script.'.js');
|
||||
$found += $this->appendIfExist($this->serverroot, $theme_dir.'apps/'.$script.'.js');
|
||||
|
||||
if ($found) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue