fix unlocalized favorites browser title and alttext

This commit is contained in:
Volkan Gezer 2015-01-17 16:52:36 +01:00
parent 60c4cb1dd6
commit d253ef51a5
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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)
});
}