Merge pull request #6251 from nextcloud/get_right_translation

Don't fetch the translation from core but from files
This commit is contained in:
Roeland Jago Douma 2017-08-24 19:24:07 +02:00 committed by GitHub
commit f99527ab8b
1 changed files with 1 additions and 1 deletions

View File

@ -2720,7 +2720,7 @@
* Shows a "permission denied" notification * Shows a "permission denied" notification
*/ */
_showPermissionDeniedNotification: function() { _showPermissionDeniedNotification: function() {
var message = t('core', 'You dont have permission to upload or create files here'); var message = t('files', 'You dont have permission to upload or create files here');
OC.Notification.show(message, {type: 'error'}); OC.Notification.show(message, {type: 'error'});
}, },