aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorVolkan Gezer <volkangezer@gmail.com>2015-01-17 16:52:36 +0100
committerVolkan Gezer <volkangezer@gmail.com>2015-01-17 16:52:36 +0100
commitd253ef51a567fc163fe2d3d7c3369553fb0cd965 (patch)
tree26b8518af81b3d1c635a517f5d00dcb7bfa454a5 /apps/files/js
parent60c4cb1dd669a0c40abcff50a636d7b4cb6469e0 (diff)
downloadnextcloud-server-d253ef51a567fc163fe2d3d7c3369553fb0cd965.tar.gz
nextcloud-server-d253ef51a567fc163fe2d3d7c3369553fb0cd965.zip
fix unlocalized favorites browser title and alttext
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/favoritesfilelist.js2
-rw-r--r--apps/files/js/tagsplugin.js2
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)
});
}