Merge pull request #13433 from owncloud/favoritesl10n

fix unlocalized favorites browser title and alttext
remotes/origin/create-share-target-reuse
Lukas Reschke 12 years ago
commit 48126c3f54
  1. 2
      apps/files/js/favoritesfilelist.js
  2. 2
      apps/files/js/tagsplugin.js

@ -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…
Cancel
Save