Don't fetch the translation from core but from files
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
a7f2dc6dd6
commit
5a9a199aaa
|
@ -2720,7 +2720,7 @@
|
||||||
* Shows a "permission denied" notification
|
* Shows a "permission denied" notification
|
||||||
*/
|
*/
|
||||||
_showPermissionDeniedNotification: function() {
|
_showPermissionDeniedNotification: function() {
|
||||||
var message = t('core', 'You don’t have permission to upload or create files here');
|
var message = t('files', 'You don’t have permission to upload or create files here');
|
||||||
OC.Notification.show(message, {type: 'error'});
|
OC.Notification.show(message, {type: 'error'});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue