Skip to content

Commit

Permalink
Fixing the spelling of functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
djpadz committed Dec 31, 2018
1 parent d40981c commit 4fb02af
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions language/en_UK/plugin.lang.php
Expand Up @@ -4,7 +4,7 @@
$lang['Share'] = 'Share';
$lang['This album is shared via a public link'] = 'This album is shared via a public link';
$lang['Copy to clipboard'] = 'Copy to clipboard';
$lang['Link was successfully copied to clipboard. You can now use system paste functionnality to share it !'] = 'Link was successfully copied to clipboard. You can now use system paste functionnality to share it !';
$lang['Link was successfully copied to clipboard. You can now use system paste functionality to share it !'] = 'Link was successfully copied to clipboard. You can now use system paste functionality to share it !';
$lang['Please select the link and use the Edit > Copy function from your browser.'] = 'Please select the link and use the Edit > Copy function from your browser.';
$lang['You are going to renew the shared link for this album. Previously communicated link will no more be active. Do you confirm ?'] = 'You are going to renew the shared link for this album. Previously communicated link will no more be active. Do you confirm ?';
$lang['Are you sure you wish to cancel this album sharing ?'] = 'Are you sure you wish to cancel this album sharing ?';
Expand All @@ -29,4 +29,4 @@
$lang['Visit date'] = 'Visit date';
$lang['Connection log for selected album'] = 'Connection log for selected album';
$lang['Activity logs shown below'] = 'Activity logs shown below';
?>
?>
6 changes: 3 additions & 3 deletions language/fr_FR/plugin.lang.php
@@ -1,13 +1,13 @@
<?php

/*
*
*
*/
// Commmon
$lang['Share'] = 'Partager';
$lang['This album is shared via a public link'] = 'Cet album est partagé via un lien public';
$lang['Copy to clipboard'] = 'Copier vers le presse-papier';
$lang['Link was successfully copied to clipboard. You can now use system paste functionnality to share it !'] = 'Lien copié avec succès dans le presse-papier. Vous pouvez maintenant utiliser la fonctionnalité Copier du système pour le partager.';
$lang['Link was successfully copied to clipboard. You can now use system paste functionality to share it !'] = 'Lien copié avec succès dans le presse-papier. Vous pouvez maintenant utiliser la fonctionnalité Copier du système pour le partager.';
$lang['Please select the link and use the Edit > Copy function from your browser.'] = 'Veuillez sélectionner le lien et utiliser la fonction Edition > Copier de votre navigateur.!';
$lang['You are going to renew the shared link for this album. Previously communicated link will no more be active. Do you confirm ?'] = 'Vous êtes sur le point de renouveler le lien public vers cet album. Le lien précédent, si communiqué, ne fonctionnera plus. Confirmez-vous ?';
$lang['Are you sure you wish to cancel this album sharing ?'] = 'Êtes-vous sûr de vouloir annuler ce partage ?';
Expand All @@ -32,4 +32,4 @@
$lang['Visit date'] = 'Date de visite';
$lang['Connection log for selected album'] = 'Logs de connexion pour l\'album sélectionné';
$lang['Activity logs shown below'] = 'Logs connexion ci-dessous';
?>
?>
8 changes: 4 additions & 4 deletions template/sharealbum_button_bootstrap_darkroom.tpl
Expand Up @@ -13,18 +13,18 @@
<i class="fa fa-share-alt fa-fw" aria-hidden="true"></i><span class="d-lg-none ml-2"></span><span class="glyphicon sharealbum-button_active"></span>
</a>
{/if}

<div class="dropdown-menu dropdown-menu-right" role="menu">

{if ($SHAREALBUM_LINK_IS_ACTIVE == 1)}
<span class="dropdown-item">{'This album is shared via a public link'|translate}</span>
<span class="dropdown-item"><span class="sharealbum_url">{$SHAREALBUM_CODE}</span></span>

<button class="sharealbum_button" data-clipboard-text="{$SHAREALBUM_CODE}">{'Copy to clipboard'|translate}</button><br>
<script>
var clipboard = new Clipboard('.sharealbum_button');
clipboard.on('success', function(e) {
alert("{'Link was successfully copied to clipboard. You can now use system paste functionnality to share it !'|translate}");
alert("{'Link was successfully copied to clipboard. You can now use system paste functionality to share it !'|translate}");
});
clipboard.on('error', function(e) {
alert("{'Please select the link and use the Edit > Copy function from your browser.'|translate}");
Expand Down
2 changes: 1 addition & 1 deletion template/sharealbum_button_bootstrapdefault.tpl
Expand Up @@ -21,7 +21,7 @@
<script>
var clipboard = new Clipboard('.sharealbum_button');
clipboard.on('success', function(e) {
alert("{'Link was successfully copied to clipboard. You can now use system paste functionnality to share it !'|translate}");
alert("{'Link was successfully copied to clipboard. You can now use system paste functionality to share it !'|translate}");
});
clipboard.on('error', function(e) {
alert("{'Please select the link and use the Edit > Copy function from your browser.'|translate}");
Expand Down
4 changes: 2 additions & 2 deletions template/sharealbum_button_default.tpl
Expand Up @@ -15,7 +15,7 @@
<span class="glyphicon sharealbum-button_inactive"> </span>
</a>
{/if}

{if ($SHAREALBUM_LINK_IS_ACTIVE == 1)}
{'This album is shared via a public link'|translate}<br>
<input class="sharealbum_input_url" id="sharealbum_code" selected="yes" type="text" size="{$SHAREALBUM_CODE|count_characters:true+10}" value="{$SHAREALBUM_CODE}"/><br>
Expand All @@ -32,7 +32,7 @@ window.SwitchBox=window.SwitchBox||[]).push("#sharealbumLink", "#sharealbumBox")
{footer_script}
var clipboard = new Clipboard('.sharealbum_button');
clipboard.on('success', function(e) {
alert("{'Link was successfully copied to clipboard. You can now use system paste functionnality to share it !'|translate}");
alert("{'Link was successfully copied to clipboard. You can now use system paste functionality to share it !'|translate}");
});
clipboard.on('error', function(e) {
alert("{'Please select the link and use the Edit > Copy function from your browser.'|translate}");
Expand Down

0 comments on commit 4fb02af

Please sign in to comment.