mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
related to #1725 added the definition of restore in the validation popin
This commit is contained in:
@@ -380,6 +380,7 @@ $(document).ready(function () {
|
||||
let plugin_id = $(this).closest(".pluginContent").parent().attr("id");
|
||||
$.confirm({
|
||||
title: restore_plugin_msg.replace('%s', plugin_name),
|
||||
content: str_restore_def,
|
||||
buttons: {
|
||||
confirm: {
|
||||
text: confirm_msg,
|
||||
|
||||
@@ -40,6 +40,7 @@ const x_plugins_found = '{'%s plugins found'|@translate|@escape:'javascript'}';
|
||||
const plugin_found = '{'%s plugin found'|@translate|@escape:'javascript'}';
|
||||
const isWebmaster = {$isWebmaster};
|
||||
const view_selector = '{$view_selector}';
|
||||
const str_restore_def = '{'While restoring this plugin, it will be reset to its original parameters and associated data is going to be reset'|@translate|@escape:'javascript'}';
|
||||
|
||||
const show_details = {if $show_details} true {else} false {/if};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user