From d253ef51a567fc163fe2d3d7c3369553fb0cd965 Mon Sep 17 00:00:00 2001
From: Volkan Gezer <volkangezer@gmail.com>
Date: Sat, 17 Jan 2015 16:52:36 +0100
Subject: [PATCH] fix unlocalized favorites browser title and alttext

---
 apps/files/js/favoritesfilelist.js | 2 +-
 apps/files/js/tagsplugin.js        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/files/js/favoritesfilelist.js b/apps/files/js/favoritesfilelist.js
index 0d555ce609d..4e7db9f17ba 100644
--- a/apps/files/js/favoritesfilelist.js
+++ b/apps/files/js/favoritesfilelist.js
@@ -28,7 +28,7 @@ $(document).ready(function() {
 		FavoritesFileList.prototype = _.extend({}, OCA.Files.FileList.prototype,
 			/** @lends OCA.Files.FavoritesFileList.prototype */ {
 			id: 'favorites',
-			appName: 'Favorites',
+			appName: t('files','Favorites'),
 
 			_clientSideSort: true,
 			_allowSelection: false,
diff --git a/apps/files/js/tagsplugin.js b/apps/files/js/tagsplugin.js
index 22a92f8400b..27ab3eced04 100644
--- a/apps/files/js/tagsplugin.js
+++ b/apps/files/js/tagsplugin.js
@@ -40,7 +40,7 @@
 		}
 		return this._template({
 			isFavorite: state,
-			altText: state ? t('core', 'Favorited') : t('core', 'Favorite'),
+			altText: state ? t('files', 'Favorited') : t('files', 'Favorite'),
 			imgFile: getStarImage(state)
 		});
 	}
-- 
GitLab