Skip to content

Commit baa8b65

Browse files
authored
Merge pull request #11972 from nextcloud/bugfix/noid/fix-l10n-fetching-from-theme
Load apps/APP/l10n/*.js and themes/THEME/apps/APP/l10n/*.js
2 parents 1623b27 + 2a17281 commit baa8b65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/private/Template/JSResourceLocator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public function doFind($script) {
5555
$found += $this->appendIfExist($this->serverroot, $theme_dir.'core/'.$script.'.js');
5656
$found += $this->appendIfExist($this->serverroot, $script.'.js');
5757
$found += $this->appendIfExist($this->serverroot, $theme_dir.$script.'.js');
58+
$found += $this->appendIfExist($this->serverroot, 'apps/'.$script.'.js');
5859
$found += $this->appendIfExist($this->serverroot, $theme_dir.'apps/'.$script.'.js');
5960

6061
if ($found) {

0 commit comments

Comments
 (0)