File tree Expand file tree Collapse file tree
contentcuration/contentcuration/frontend/channelList/views/Channel Expand file tree Collapse file tree Original file line number Diff line number Diff line change 190190 icon =" trash"
191191 />
192192 </VListTileAvatar >
193- <VListTileTitle >{{ $tr('deleteChannel') }}</VListTileTitle >
193+ <VListTileTitle >
194+ {{ canEdit ? $tr('deleteChannel') : $tr('removeChannel') }}
195+ </VListTileTitle >
194196 </VListTile >
195197 </VList >
196198 </Menu >
202204 <!-- Delete dialog -->
203205 <KModal
204206 v-if =" deleteDialog"
205- :title =" $tr('deleteTitle')"
206- :submitText =" $tr('deleteChannel')"
207+ :title =" canEdit ? $tr('deleteTitle') : $tr('removeTitle ')"
208+ :submitText =" canEdit ? $tr('deleteChannel') : $tr('removeBtn ')"
207209 :cancelText =" $tr('cancel')"
208210 data-test =" delete-modal"
209211 @submit =" handleDelete"
210212 @cancel =" deleteDialog = false"
211213 >
212- {{ $tr('deletePrompt') }}
214+ {{ canEdit ? $tr('deletePrompt') : $tr('removePrompt ') }}
213215 </KModal >
214216 <!-- Copy dialog -->
215217 <ChannelTokenModal
382384 copyToken: ' Copy channel token' ,
383385 deleteChannel: ' Delete channel' ,
384386 deleteTitle: ' Delete this channel' ,
387+ removeChannel: ' Remove from channel list' ,
388+ removeBtn: ' Remove' ,
389+ removeTitle: ' Remove from channel list' ,
385390 deletePrompt: ' This channel will be permanently deleted. This cannot be undone.' ,
391+ removePrompt:
392+ ' You have view-only access to this channel. Confirm that you want to remove it from your list of channels.' ,
386393 channelDeletedSnackbar: ' Channel deleted' ,
387394 channelLanguageNotSetIndicator: ' No language set' ,
388395 cancel: ' Cancel' ,
You can’t perform that action at this time.
0 commit comments