Skip to content

Commit

Permalink
Merge pull request #2905 from owncloud/adjust-newmenu-labels
Browse files Browse the repository at this point in the history
Adjust labels in "new" menu in files app
  • Loading branch information
Vincent Petry authored Jan 23, 2020
2 parents a8ed42a + 0a1b66e commit f9655ec
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/draw-io/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const appInfo = {
routeName: 'draw-io-edit',
newFileMenu: {
menuTitle ($gettext) {
return $gettext('Create new draw.io document…')
return $gettext('New draw.io document…')
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions apps/files/src/components/FilesAppBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<oc-nav>
<file-upload :path='currentPath' :headers="headers" @success="onFileSuccess" @error="onFileError" @progress="onFileProgress"></file-upload>
<folder-upload v-if="!isIE11()" :rootPath='item' :path='currentPath' :headers="headers" @success="onFileSuccess" @error="onFileError" @progress="onFileProgress"></folder-upload>
<oc-nav-item @click="showCreateFolderDialog" id="new-folder-btn" icon="create_new_folder"><translate>Create new folder…</translate></oc-nav-item>
<oc-nav-item @click="showCreateFolderDialog" id="new-folder-btn" icon="create_new_folder"><translate>New folder…</translate></oc-nav-item>
<oc-nav-item v-for="(newFileHandler, key) in newFileHandlers"
:key="key"
@click="showCreateFileDialog(newFileHandler.ext, newFileHandler.action)"
Expand Down Expand Up @@ -167,7 +167,7 @@ export default {
return this.$gettext('Folder name')
},
$_createFolderDialogTitle () {
return this.$gettext('Create new folder…')
return this.$gettext('New folder…')
},
$_createFileDialogPlaceholder () {
return this.$gettext('Enter new file name…')
Expand All @@ -176,7 +176,7 @@ export default {
return this.$gettext('File name')
},
$_createFileDialogTitle () {
return this.$gettext('Create new file…')
return this.$gettext('New file…')
},
_cannotCreateDialogText () {
if (!this.canUpload) {
Expand Down
4 changes: 2 additions & 2 deletions apps/markdown-editor/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ const appInfo = {
extension: 'txt',
newFileMenu: {
menuTitle ($gettext) {
return $gettext('Create new plain text file…')
return $gettext('New plain text file…')
}
}
},
{
extension: 'md',
newFileMenu: {
menuTitle ($gettext) {
return $gettext('Create new mark-down file…')
return $gettext('New mark-down file…')
}
}
}
Expand Down
7 changes: 7 additions & 0 deletions changelog/unreleased/2902
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Change: Adjusted labels in files list

Renamed "Modification time" to "Updated" to make it look less technical.
Replace "Create new" with "New" in the "New" menu as it makes it look less cluttered when trying to spot a matching entry.

https://github.com/owncloud/phoenix/pull/2902
https://github.com/owncloud/phoenix/pull/2905

0 comments on commit f9655ec

Please sign in to comment.