summaryrefslogtreecommitdiffstats
path: root/apps/gallery/appinfo/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gallery/appinfo/app.php')
-rw-r--r--apps/gallery/appinfo/app.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/gallery/appinfo/app.php b/apps/gallery/appinfo/app.php
index 9c665fd3500..da872274497 100644
--- a/apps/gallery/appinfo/app.php
+++ b/apps/gallery/appinfo/app.php
@@ -26,6 +26,8 @@ OC::$CLASSPATH['OC_Gallery_Photo'] = 'apps/gallery/lib/photo.php';
OC::$CLASSPATH['OC_Gallery_Scanner'] = 'apps/gallery/lib/scanner.php';
OC::$CLASSPATH['OC_Gallery_Hooks_Handlers'] = 'apps/gallery/lib/hooks_handlers.php';
+$l = new OC_L10N('gallery');
+
OC_App::register(array(
'order' => 20,
'id' => 'gallery',
@@ -36,7 +38,7 @@ OC_App::addNavigationEntry( array(
'order' => 20,
'href' => OC_Helper::linkTo('gallery', 'index.php'),
'icon' => OC_Helper::imagePath('core', 'places/picture.svg'),
- 'name' => 'Gallery'));
+ 'name' => $l->t('Gallery')));
class OC_GallerySearchProvider extends OC_Search_Provider{
function search($query){