]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix unlocalized favorites browser title and alttext
authorVolkan Gezer <volkangezer@gmail.com>
Sat, 17 Jan 2015 15:52:36 +0000 (16:52 +0100)
committerVolkan Gezer <volkangezer@gmail.com>
Sat, 17 Jan 2015 15:52:36 +0000 (16:52 +0100)
apps/files/js/favoritesfilelist.js
apps/files/js/tagsplugin.js

index 0d555ce609d47d308463d7c6ad1644c2b6ca1f21..4e7db9f17ba7d8bd1cec835ac7e208606b6add8b 100644 (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,
index 22a92f8400b7470f9e22f743da9f2b928b6ef5e1..27ab3eced0469ee9d8532ce2d65b3cf43b0fff74 100644 (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)
                });
        }