Skip to content

Commit

Permalink
Merge pull request #140 from GrabowskiM/EZP-29475-changes-for-udw-title
Browse files Browse the repository at this point in the history
EZP-29475: Changes for UDW title
  • Loading branch information
lserwatka authored Apr 17, 2020
2 parents 5e84947 + 8c81342 commit 10b1f6e
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
};
Original file line number Diff line number Diff line change
Expand Up @@ -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',
};
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down
16 changes: 8 additions & 8 deletions src/bundle/Resources/translations/alloy_editor.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@
<note>key: embed_btn.label</note>
</trans-unit>
<trans-unit id="8527fe7f41af8879f558034d2b2cf316d20eb5e3" resname="embed_btn.udw.title">
<source>Select content to embed</source>
<target>Select content to embed</target>
<source>Select a Content item to embed</source>
<target>Select a Content item to embed</target>
<note>key: embed_btn.udw.title</note>
</trans-unit>
<trans-unit id="f646efa9564da382019a8267461d76231bb688e2" resname="embed_update_btn.label">
Expand All @@ -97,8 +97,8 @@
<note>key: embed_update_btn.label</note>
</trans-unit>
<trans-unit id="e7a9e3844a638a4ee009a878206b96c9d0af681e" resname="embed_update_btn.udw.title">
<source>Select content to embed</source>
<target>Select content to embed</target>
<source>Select a Content item to embed</source>
<target>Select a Content item to embed</target>
<note>key: embed_update_btn.udw.title</note>
</trans-unit>
<trans-unit id="841a18570b88796e700e0d0cd2f8d4e99f9e13bd" resname="heading_btn.label">
Expand All @@ -112,8 +112,8 @@
<note>key: image_btn.label</note>
</trans-unit>
<trans-unit id="392f9d82a172655fbfe702c584ca3e5880fac25e" resname="image_btn.udw.label">
<source>Select an image to embed</source>
<target>Select an image to embed</target>
<source>Select an image</source>
<target>Select an image</target>
<note>key: image_btn.udw.label</note>
</trans-unit>
<trans-unit id="85da4c4b98bb2f13b880845e1f5850134ace276d" resname="image_update_btn.label">
Expand All @@ -122,8 +122,8 @@
<note>key: image_update_btn.label</note>
</trans-unit>
<trans-unit id="d8edff94c5ba9f6148382057d71339ba75bc3903" resname="image_update_btn.udw.title">
<source>Select an image to embed</source>
<target>Select an image to embed</target>
<source>Select an image</source>
<target>Select an image</target>
<note>key: image_update_btn.udw.title</note>
</trans-unit>
<trans-unit id="15e27e2548df7ace117c1dd3b119db5798d34e9a" resname="link_edit_btn.action_row.remove">
Expand Down

0 comments on commit 10b1f6e

Please sign in to comment.