Commit 1479fe9f authored by Thomas Citharel's avatar Thomas Citharel 🏃🏻
Browse files

English translation & fixes


Signed-off-by: Thomas Citharel's avatarThomas Citharel <tcit@tcit.fr>
parent 01d8f273
Pipeline #13037 passed with stage
in 15 minutes and 36 seconds
......@@ -89,7 +89,9 @@ $(() => {
};
const updateURL = () => {
$('#presentationshareurl').val(makeURL());
const url = makeURL();
$('#presentationshareurl').val(url);
$('#btn-external').attr('href', url);
};
const makeEmbeed = () => {
......@@ -104,7 +106,6 @@ $(() => {
const height = $('#height').val();
if (!(height.endsWith('%') || height.endsWith('px'))) {
console.log('here');
$('#height').parent().addClass('has-error');
return null;
}
......
......@@ -33,6 +33,16 @@ presentations:
input: Public URL for the presentation
delete: Delete the public link
delete.details: If you delete the public link for this presentation, it will no longer be possible to access it through this link.
autoplay:
title: Autoplay
desc: The autoplay function makes the presentation go to the next slide after the choosen time
checkbox: Activate autoplay
time: Seconds between each slide
embeed:
title: Integration code
desc: The width and height of the iframe can be defined in pixels or percentage.
width: Width
height: Height
nbVersions:
label: 'one version|%count% versions'
desc: Number of versions
......
......@@ -6,7 +6,7 @@
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h3 class="modal-title" id="shareModalTitle">{{ 'presentations.share.title' | trans }}</h3>
<div class="alert alert-warning alert-dismissible fade in hidden" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button> <strong>{{ 'errors.default' | trans }}</strong> </div>
<div class="info alert-info fade in" role="complementary"><span>{{ 'presentations.share.title.details' | trans }}</span></div>
<div class="alert alert-info fade in" role="complementary"><span>{{ 'presentations.share.title.details' | trans }}</span></div>
</div>
<div class="modal-body">
<label for="presentationshareurl">{{ 'presentations.share.input' | trans }}</label>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment