mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #1574 good message when unlocking the gallery
This commit is contained in:
@@ -10,7 +10,12 @@ const unit_MB = "{"%s MB"|@translate}"
|
||||
let selected = [];
|
||||
$(".lock-gallery-button").each(function() {
|
||||
const gallery_tip = '{"A locked gallery is only visible to administrators"|@translate|@escape:'javascript'}';
|
||||
let title = '{"Are you sure you want to lock the gallery?"|@translate}';
|
||||
{if (isset($U_MAINT_LOCK_GALLERY))}
|
||||
let title = '{"Are you sure you want to lock the gallery?"|@translate}';
|
||||
{else}
|
||||
let title = '{"Are you sure you want to unlock the gallery?"|@translate}';
|
||||
{/if}
|
||||
|
||||
let confirm_msg_gallery = '{"Yes, I want to lock the gallery"|@translate}';
|
||||
let cancel_msg_gallery = '{"Keep it unlocked"|@translate}';
|
||||
$(this).pwg_jconfirm_follow_href({
|
||||
|
||||
@@ -1068,6 +1068,7 @@ $lang['Are you sure you want to delete the plugin "%s"?'] = 'Are you sure you wa
|
||||
$lang['Are you sure you want to restore the plugin "%s"?'] = 'Are you sure you want to restore the plugin "%s"?';
|
||||
$lang['Are you sure you want to delete all sizes?'] = 'Are you sure you want to delete all sizes?';
|
||||
$lang['Are you sure you want to lock the gallery?'] = 'Are you sure you want to lock the gallery?';
|
||||
$lang['Are you sure you want to unlock the gallery?'] = 'Are you sure you want to unlock the gallery?';
|
||||
$lang['Are you sure you want to delete the language "%s"?'] = 'Are you sure you want to delete the language "%s"?';
|
||||
$lang['Are you sure you want to delete the theme "%s"?'] = 'Are you sure you want to delete the theme "%s"?';
|
||||
$lang['Are you sure you want to update all extensions?'] = 'Are you sure you want to update all extensions?';
|
||||
|
||||
@@ -1066,6 +1066,7 @@ $lang['Are you sure you want to delete the plugin "%s"?'] = 'Êtes-vous sûr de
|
||||
$lang['Are you sure you want to restore the plugin "%s"?'] = 'Êtes-vous sûr de vouloir restaurer le plugin "%s" ?';
|
||||
$lang['Are you sure you want to delete all sizes?'] = 'Êtes-vous sûr de vouloir supprimer toutes les tailles ?';
|
||||
$lang['Are you sure you want to lock the gallery?'] = 'Êtes-vous sûr de vouloir verrouiller la galerie ?';
|
||||
$lang['Are you sure you want to unlock the gallery?'] = 'Êtes-vous sûr de vouloir déverrouiller la galerie ?';
|
||||
$lang['Are you sure you want to delete the language "%s"?'] = 'Êtes-vous sûr de vouloir supprimer la langue "%s" ?';
|
||||
$lang['Are you sure you want to delete the theme "%s"?'] = 'Êtes-vous sûr de vouloir supprimer le thème "%s" ?';
|
||||
$lang['Are you sure you want to update all extensions?'] = 'Êtes-vous sûr de vouloir mettre à jour toutes les extensions ?';
|
||||
|
||||
Reference in New Issue
Block a user