Skip to content

Commit

Permalink
Rename change description to edit description
Browse files Browse the repository at this point in the history
  • Loading branch information
JanAckermann committed Feb 23, 2022
1 parent 165ba79 commit f20e87e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<portal v-if="$data.$_editReadmeContent_modalOpen" to="app.runtime.modal">
<oc-modal
focus-trap-initial="#description-input-area"
:title="$gettext('Change description for space') + ' ' + resources[0].name"
:title="$gettext('Edit description for space') + ' ' + resources[0].name"
:button-cancel-text="$gettext('Cancel')"
:button-confirm-text="$gettext('Confirm')"
@confirm="$_editReadmeContent_editReadmeContentSpace"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default {
name: 'editReadmeContent',
icon: 'markdown',
label: () => {
return this.$gettext('Change description')
return this.$gettext('Edit description')
},
handler: this.$_editReadmeContent_trigger,
isEnabled: ({ resources }) => {
Expand Down Expand Up @@ -69,12 +69,12 @@ export default {
value: { ...space.spaceReadmeData, ...{ etag: readmeMetaData.ETag } }
})
this.showMessage({
title: this.$gettext('Space description successfully changed')
title: this.$gettext('Space description successfully edited')
})
})
.catch((error) => {
this.showMessage({
title: this.$gettext('Changing space description failed…'),
title: this.$gettext('Editing space description failed…'),
desc: error,
status: 'danger'
})
Expand Down
2 changes: 1 addition & 1 deletion packages/web-app-files/src/views/spaces/Project.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<portal v-if="$data.$_editReadmeContent_modalOpen" to="app.runtime.modal">
<oc-modal
focus-trap-initial="#description-input-area"
:title="$gettext('Change description for space') + ' ' + space.name"
:title="$gettext('Edit description for space') + ' ' + space.name"
:button-cancel-text="$gettext('Cancel')"
:button-confirm-text="$gettext('Confirm')"
@confirm="$_editReadmeContent_editReadmeContentSpace"
Expand Down

0 comments on commit f20e87e

Please sign in to comment.