Skip to content
Snippets Groups Projects
Commit 0da3fc92 authored by Sean Arnold's avatar Sean Arnold :one:
Browse files

Rename URL to Link in modals

parent 5a73d4d2
No related branches found
No related tags found
1 merge request!79811Allow urlText to be saved on metric images
......@@ -21,7 +21,7 @@ export default {
modalTitle: s__('Incident|Deleting %{filename}'),
editModalUpdate: __('Update'),
editModalTitle: s__('Incident|Editing %{filename}'),
editIconTitle: s__('Incident|Edit image text or URL'),
editIconTitle: s__('Incident|Edit image text or link'),
deleteIconTitle: s__('Incident|Delete image'),
},
components: {
......
......@@ -74,7 +74,7 @@ export default {
modalCancel: __('Cancel'),
modalTitle: s__('Incidents|Add image details'),
modalDescription: s__(
"Incidents|Add text or a URL that will display with your image. If you don't add either, the file name will display instead.",
"Incidents|Add text or a link that will display with your image. If you don't add either, the file name will display instead.",
),
dropDescription: s__(
'Incidents|Drop or %{linkStart}upload%{linkEnd} a metric screenshot to attach it to the incident',
......
......@@ -103,7 +103,7 @@ describe('Metric images mutations', () => {
describe('RECEIVE_METRIC_UPDATE_SUCCESS', () => {
const initialImage = testImages[0];
const newImage = Object.assign({}, testImages[0]);
const newImage = testImages[0];
newImage.url = 'https://www.gitlab.com';
beforeEach(() => {
......
......@@ -18954,10 +18954,10 @@ msgstr ""
msgid "Incidents"
msgstr ""
 
msgid "Incidents|Add a URL"
msgid "Incidents|Add image details"
msgstr ""
 
msgid "Incidents|Add a link to the uploaded image."
msgid "Incidents|Add text or a link that will display with your image. If you don't add either, the file name will display instead."
msgstr ""
 
msgid "Incidents|Drop or %{linkStart}upload%{linkEnd} a metric screenshot to attach it to the incident"
......@@ -18984,9 +18984,15 @@ msgstr ""
msgid "Incident|Are you sure you wish to delete this image?"
msgstr ""
 
msgid "Incident|Delete image"
msgstr ""
msgid "Incident|Deleting %{filename}"
msgstr ""
 
msgid "Incident|Edit image text or link"
msgstr ""
msgid "Incident|Editing %{filename}"
msgstr ""
 
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment