summaryrefslogtreecommitdiffstats
path: root/apps/gallery/templates/view_album.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gallery/templates/view_album.php')
-rw-r--r--apps/gallery/templates/view_album.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gallery/templates/view_album.php b/apps/gallery/templates/view_album.php
index 6b513a672d5..f938e487954 100644
--- a/apps/gallery/templates/view_album.php
+++ b/apps/gallery/templates/view_album.php
@@ -5,7 +5,7 @@ OC_Util::addScript('gallery', 'album_cover');
OC_Util::addScript('files_imageviewer', 'jquery.mousewheel-3.0.4.pack');
OC_Util::addScript('files_imageviewer', 'jquery.fancybox-1.3.4.pack');
OC_Util::addStyle( 'files_imageviewer', 'jquery.fancybox-1.3.4' );
-$l = new OC_L10N('gallery');
+$l = OC_L10N::get('gallery');
?>
<script type="text/javascript">
$(document).ready(function() {