@@ -208,18 +208,18 @@ public static function get($dir, $files, $params = null) {
208208 } catch (\OCP \Lock \LockedException $ ex ) {
209209 self ::unlockAllTheFiles ($ dir , $ files , $ getType , $ view , $ filename );
210210 OC ::$ server ->getLogger ()->logException ($ ex );
211- $ l = \OC ::$ server ->getL10N ('core ' );
211+ $ l = \OC ::$ server ->getL10N ('lib ' );
212212 $ hint = method_exists ($ ex , 'getHint ' ) ? $ ex ->getHint () : '' ;
213213 \OC_Template::printErrorPage ($ l ->t ('File is currently busy, please try again later ' ), $ hint , 200 );
214214 } catch (\OCP \Files \ForbiddenException $ ex ) {
215215 self ::unlockAllTheFiles ($ dir , $ files , $ getType , $ view , $ filename );
216216 OC ::$ server ->getLogger ()->logException ($ ex );
217- $ l = \OC ::$ server ->getL10N ('core ' );
217+ $ l = \OC ::$ server ->getL10N ('lib ' );
218218 \OC_Template::printErrorPage ($ l ->t ('Can \'t read file ' ), $ ex ->getMessage (), 200 );
219219 } catch (\Exception $ ex ) {
220220 self ::unlockAllTheFiles ($ dir , $ files , $ getType , $ view , $ filename );
221221 OC ::$ server ->getLogger ()->logException ($ ex );
222- $ l = \OC ::$ server ->getL10N ('core ' );
222+ $ l = \OC ::$ server ->getL10N ('lib ' );
223223 $ hint = method_exists ($ ex , 'getHint ' ) ? $ ex ->getHint () : '' ;
224224 \OC_Template::printErrorPage ($ l ->t ('Can \'t read file ' ), $ hint , 200 );
225225 }
0 commit comments