Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Element: replace drop area text update #2673

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/templates/global-elements.xml
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ $(target).find('img').xiboImageRender(properties);
<properties>
<property id="imageReplace" type="imageReplaceControl">
<title>Replace Image</title>
<helpText>Add an image from the Toolbar to replace this element.</helpText>
<helpText>Select an image from the Toolbox and drop here to replace this element.</helpText>
</property>
</properties>
</template>
Expand Down
2 changes: 1 addition & 1 deletion views/common.twig
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@
backgroundColor: "{{ "Background Colour" |trans }}",
backgroundColorHelpText: "{{ "Use the colour picker to select the background colour" |trans }}",
backgroundImage: "{{ "Background Image" |trans }}",
noImageSet: "{{ "No Image set, add from Toolbar or Upload!" |trans }}",
noImageSet: "{{ "No Image set, add from Toolbox or Upload!" |trans }}",
addBackgroundImage: "{{ "Add background image" |trans }}",
upload: "{{ "Upload" |trans }}",
remove: "{{ "Remove" |trans }}",
Expand Down
2 changes: 1 addition & 1 deletion views/layout-form-background.twig
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<div class="text-center background-image-add editable">
<div id="bg_not_found_icon">
<i class="fa bg_not_found_icon"></i>
<div>{% trans "No Image set, add from Toolbar or Upload!" %}</div>
<div>{% trans "No Image set, add from Toolbox or Upload!" %}</div>
</div>

<img id="bg_image_image" data-url="{{ url_for("library.download", {id: ':id'}) }}?preview=1&width=200&height=100" alt="{% trans "Background thumbnail" %}" />
Expand Down