Use more verbose text for upload menu

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2017-05-16 21:06:05 +02:00
parent 2c9007616b
commit b7a9ec0002
1 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@
this._menuItems = [{ this._menuItems = [{
id: 'folder', id: 'folder',
displayName: t('files', 'Folder'), displayName: t('files', 'New folder'),
templateName: t('files', 'New folder'), templateName: t('files', 'New folder'),
iconClass: 'icon-folder', iconClass: 'icon-folder',
fileType: 'folder', fileType: 'folder',
@ -223,7 +223,7 @@
render: function() { render: function() {
this.$el.html(this.template({ this.$el.html(this.template({
uploadMaxHumanFileSize: 'TODO', uploadMaxHumanFileSize: 'TODO',
uploadLabel: t('files', 'Upload'), uploadLabel: t('files', 'Upload file'),
items: this._menuItems items: this._menuItems
})); }));
OC.Util.scaleFixForIE8(this.$('.svg')); OC.Util.scaleFixForIE8(this.$('.svg'));