fix unlocalized favorites browser title and alttext
This commit is contained in:
parent
60c4cb1dd6
commit
d253ef51a5
|
@ -28,7 +28,7 @@ $(document).ready(function() {
|
||||||
FavoritesFileList.prototype = _.extend({}, OCA.Files.FileList.prototype,
|
FavoritesFileList.prototype = _.extend({}, OCA.Files.FileList.prototype,
|
||||||
/** @lends OCA.Files.FavoritesFileList.prototype */ {
|
/** @lends OCA.Files.FavoritesFileList.prototype */ {
|
||||||
id: 'favorites',
|
id: 'favorites',
|
||||||
appName: 'Favorites',
|
appName: t('files','Favorites'),
|
||||||
|
|
||||||
_clientSideSort: true,
|
_clientSideSort: true,
|
||||||
_allowSelection: false,
|
_allowSelection: false,
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
}
|
}
|
||||||
return this._template({
|
return this._template({
|
||||||
isFavorite: state,
|
isFavorite: state,
|
||||||
altText: state ? t('core', 'Favorited') : t('core', 'Favorite'),
|
altText: state ? t('files', 'Favorited') : t('files', 'Favorite'),
|
||||||
imgFile: getStarImage(state)
|
imgFile: getStarImage(state)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue