Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust labels in "new" menu in files app #2905

Merged
merged 1 commit into from
Jan 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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