From 8c81342b95543a23e767e4701485f94c2dcfd3ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Grabowski?= Date: Fri, 17 Apr 2020 11:26:11 +0200 Subject: [PATCH] EZP-29475: changed titles for udw --- .../js/OnlineEditor/buttons/ez-btn-embed.js | 2 +- .../OnlineEditor/buttons/ez-btn-embedinline.js | 2 +- .../OnlineEditor/buttons/ez-btn-embedupdate.js | 2 +- .../js/OnlineEditor/buttons/ez-btn-image.js | 2 +- .../OnlineEditor/buttons/ez-btn-imageupdate.js | 2 +- .../Resources/translations/alloy_editor.en.xliff | 16 ++++++++-------- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-embed.js b/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-embed.js index 1535c58e..f86884c9 100644 --- a/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-embed.js +++ b/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-embed.js @@ -83,7 +83,7 @@ eZ.ezAlloyEditor.ezBtnEmbed = EzBtnEmbed; EzBtnEmbed.defaultProps = { command: 'ezembed', modifiesSelection: true, - udwTitle: Translator.trans(/*@Desc("Select content to embed")*/ 'embed_btn.udw.title', {}, 'alloy_editor'), + udwTitle: Translator.trans(/*@Desc("Select a Content item to embed")*/ 'embed_btn.udw.title', {}, 'alloy_editor'), udwContentDiscoveredMethod: 'addEmbed', udwConfigName: 'richtext_embed', }; diff --git a/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-embedinline.js b/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-embedinline.js index 09fb24af..ea4a13ba 100644 --- a/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-embedinline.js +++ b/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-embedinline.js @@ -38,7 +38,7 @@ eZ.ezAlloyEditor.ezBtnEmbedInline = EzBtnEmbedInline; EzBtnEmbedInline.defaultProps = { command: 'ezembedinline', modifiesSelection: true, - udwTitle: Translator.trans(/*@Desc("Select content to embed")*/ 'embed_btn.udw.title', {}, 'alloy_editor'), + udwTitle: Translator.trans(/*@Desc("Select a Content item to embed")*/ 'embed_btn.udw.title', {}, 'alloy_editor'), udwContentDiscoveredMethod: 'addEmbed', udwConfigName: 'richtext_embed', }; diff --git a/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-embedupdate.js b/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-embedupdate.js index 917dc7a2..4b711fd4 100644 --- a/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-embedupdate.js +++ b/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-embedupdate.js @@ -54,7 +54,7 @@ eZ.ezAlloyEditor = eZ.ezAlloyEditor || {}; eZ.ezAlloyEditor.ezBtnEmbedUpdate = EzBtnEmbedUpdate; EzBtnEmbedUpdate.defaultProps = { - udwTitle: Translator.trans(/*@Desc("Select content to embed")*/ 'embed_update_btn.udw.title', {}, 'alloy_editor'), + udwTitle: Translator.trans(/*@Desc("Select a Content item to embed")*/ 'embed_update_btn.udw.title', {}, 'alloy_editor'), udwContentDiscoveredMethod: 'updateEmbed', udwConfigName: 'richtext_embed', label: Translator.trans(/*@Desc("Select another Content item")*/ 'embed_update_btn.label', {}, 'alloy_editor'), diff --git a/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-image.js b/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-image.js index e027d1ef..f81b69d8 100644 --- a/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-image.js +++ b/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-image.js @@ -85,7 +85,7 @@ eZ.ezAlloyEditor.ezBtnImage = EzBtnImage; EzBtnImage.defaultProps = { command: 'ezembed', modifiesSelection: true, - udwTitle: Translator.trans(/*@Desc("Select an image to embed")*/ 'image_btn.udw.label', {}, 'alloy_editor'), + udwTitle: Translator.trans(/*@Desc("Select an image")*/ 'image_btn.udw.label', {}, 'alloy_editor'), udwContentDiscoveredMethod: 'addImage', udwConfigName: 'richtext_embed_image', udwLoadContent: true, diff --git a/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-imageupdate.js b/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-imageupdate.js index e2cc0ee0..58cd957e 100644 --- a/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-imageupdate.js +++ b/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-imageupdate.js @@ -67,7 +67,7 @@ eZ.ezAlloyEditor = eZ.ezAlloyEditor || {}; eZ.ezAlloyEditor.ezBtnImageUpdate = EzBtnImageUpdate; EzBtnImageUpdate.defaultProps = { - udwTitle: Translator.trans(/*@Desc("Select an image to embed")*/ 'image_update_btn.udw.title', {}, 'alloy_editor'), + udwTitle: Translator.trans(/*@Desc("Select an image")*/ 'image_update_btn.udw.title', {}, 'alloy_editor'), udwContentDiscoveredMethod: 'updateImage', udwConfigName: 'richtext_embed_image', label: Translator.trans(/*@Desc("Select another image")*/ 'image_update_btn.label', {}, 'alloy_editor'), diff --git a/src/bundle/Resources/translations/alloy_editor.en.xliff b/src/bundle/Resources/translations/alloy_editor.en.xliff index 3f162185..d7ef5053 100644 --- a/src/bundle/Resources/translations/alloy_editor.en.xliff +++ b/src/bundle/Resources/translations/alloy_editor.en.xliff @@ -87,8 +87,8 @@ key: embed_btn.label - Select content to embed - Select content to embed + Select a Content item to embed + Select a Content item to embed key: embed_btn.udw.title @@ -97,8 +97,8 @@ key: embed_update_btn.label - Select content to embed - Select content to embed + Select a Content item to embed + Select a Content item to embed key: embed_update_btn.udw.title @@ -112,8 +112,8 @@ key: image_btn.label - Select an image to embed - Select an image to embed + Select an image + Select an image key: image_btn.udw.label @@ -122,8 +122,8 @@ key: image_update_btn.label - Select an image to embed - Select an image to embed + Select an image + Select an image key: image_update_btn.udw.title