File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ import { showSuccess, showError } from '@nextcloud/dialogs'
3333import axios from '@nextcloud/axios'
3434import { dirname } from 'path'
3535
36- import FilePlusSvg from '@mdi/svg/svg/file-plus .svg'
36+ import TextSvg from '@mdi/svg/svg/text .svg'
3737
3838const FILE_ACTION_IDENTIFIER = 'Edit with text app'
3939
@@ -134,14 +134,14 @@ export const addMenuRichWorkspace = () => {
134134 const descriptionFile = t ( 'text' , 'Readme' ) + '.' + loadState ( 'text' , 'default_file_extension' )
135135 addNewFileMenuEntry ( {
136136 id : 'rich-workspace-init' ,
137- displayName : t ( 'text' , 'Add description' ) ,
137+ displayName : t ( 'text' , 'Add folder description' ) ,
138138 enabled ( context ) {
139139 if ( Number ( context . attributes [ 'rich-workspace-file' ] ) ) {
140140 return false
141141 }
142142 return ( context . permissions & Permission . CREATE ) !== 0
143143 } ,
144- iconSvgInline : FilePlusSvg ,
144+ iconSvgInline : TextSvg ,
145145 async handler ( context , content ) {
146146 const contentNames = content . map ( ( node ) => node . basename )
147147
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ const newRichWorkspaceFileMenuPlugin = {
2626 // register the new menu entry
2727 menu . addMenuEntry ( {
2828 id : 'rich-workspace-init' ,
29- displayName : t ( 'text' , 'Add description' ) ,
29+ displayName : t ( 'text' , 'Add folder description' ) ,
3030 templateName : descriptionFile ,
3131 iconClass : 'icon-rename' ,
3232 fileType : 'file' ,
You can’t perform that action at this time.
0 commit comments