summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-01-18 20:36:19 +0100
committerLukas Reschke <lukas@owncloud.com>2015-01-18 20:36:19 +0100
commit48126c3f542ab7b6c3f38fce0acb6b0006cfbe90 (patch)
treed27f821e90f9259b8280de9b39613aa4945547ef
parent8285744e4af1190558f73a9fce30a2ed6e3a1187 (diff)
parentd253ef51a567fc163fe2d3d7c3369553fb0cd965 (diff)
downloadnextcloud-server-48126c3f542ab7b6c3f38fce0acb6b0006cfbe90.tar.gz
nextcloud-server-48126c3f542ab7b6c3f38fce0acb6b0006cfbe90.zip
Merge pull request #13433 from owncloud/favoritesl10n
fix unlocalized favorites browser title and alttext
-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)
});
}