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