PluginProbe
MainWP Dashboard: Self-hosted WordPress Management for Agencies / 6.2.2
MainWP Dashboard: Self-hosted WordPress Management for Agencies v6.2.2
6.2.2 6.2.1 6.2 6.1.8 6.1.7 6.1.6 6.1.5 6.1.4 6.1.3 6.1.2 6.1.1 6.1 6.0.12 6.0.11 4.6.0.1 5.0 5.0.1 5.0.2 5.0.3 5.0.3.1 5.0.3.2 5.1 5.1.1 5.2 5.2.1 All 155 releases
← All changes | modules/api-backups/assets/js/module-api-backups-manager.js +10 -10 6.1.5 → 6.2.2 View file →
@@ -148,9 +148,9 @@
148 148 });
149 149
150 150 // Trigger action_delete_backup.
151 151 jQuery('#mainwp_3rd_party_api_linode_action_cancel_backups').on('click', function () {
152 - let confirmMsg = __('Are you sure you want to Disable and Delete all existing backups from this Linode?');
152 + let confirmMsg = MainWP.I18n.t('Are you sure you want to Disable and Delete all existing backups from this Linode?');
153 153 mainwp_confirm(confirmMsg, function () {
154 154 linode_action_cancel_backups(this);
155 155 });
156 156 });
@@ -199,9 +199,9 @@
199 199 });
200 200
201 201 // Trigger action_restore_backup.
202 202 jQuery(document).on('click', '.mainwp_3rd_party_api_cpanel_action_restore_backup', function () {
203 - let confirmMsg = __('Are you sure you want to Restore this backup?');
203 + let confirmMsg = MainWP.I18n.t('Are you sure you want to Restore this backup?');
204 204 mainwp_confirm(confirmMsg, function () {
205 205 cPanel_action_restore_backup(this);
206 206 });
207 207 });
@@ -207,9 +207,9 @@
207 207 });
208 208
209 209 // Trigger action_restore_database_backup.
210 210 jQuery(document).on('click', '.mainwp_3rd_party_api_cpanel_action_restore_database_backup', function () {
211 - let confirmMsg = __('Are you sure you want to Restore this backup?');
211 + let confirmMsg = MainWP.I18n.t('Are you sure you want to Restore this backup?');
212 212 mainwp_confirm(confirmMsg, () => {
213 213 cpanel_action_restore_database_backup(this);
214 214 });
215 215 });
@@ -215,9 +215,9 @@
215 215 });
216 216
217 217 // Trigger action_restore_manual_backup.
218 218 jQuery(document).on('click', '.mainwp_3rd_party_api_cpanel_action_restore_manual_backup', function () {
219 - let confirmMsg = __('Are you sure you want to Restore this backup?');
219 + let confirmMsg = MainWP.I18n.t('Are you sure you want to Restore this backup?');
220 220 mainwp_confirm(confirmMsg, function () {
221 221 cpanel_action_restore_manual_backup();
222 222 });
223 223 });
@@ -248,9 +248,9 @@
248 248 });
249 249
250 250 // Trigger action_restore_wptk_backup.
251 251 jQuery('.mainwp_3rd_party_api_cpanel_action_restore_wptk_backup').on('click', function () {
252 - let confirmMsg = __('Are you sure you want to Restore this backup?');
252 + let confirmMsg = MainWP.I18n.t('Are you sure you want to Restore this backup?');
253 253 mainwp_confirm(confirmMsg, function () {
254 254 cpanel_action_restore_wptk_backup(this);
255 255 });
256 256 });
@@ -256,9 +256,9 @@
256 256 });
257 257
258 258 // Trigger action_delete_wptk_backup.
259 259 jQuery('.mainwp_3rd_party_api_cpanel_action_delete_wptk_backup').on('click', function () {
260 - let confirmMsg = __('Are you sure you want to Delete this backup?');
260 + let confirmMsg = MainWP.I18n.t('Are you sure you want to Delete this backup?');
261 261 mainwp_confirm(confirmMsg, function () {
262 262 cpanel_action_delete_wptk_backup(this);
263 263 });
264 264 });
@@ -288,9 +288,9 @@
288 288 });
289 289
290 290 // Trigger action_restore_backup.
291 291 jQuery(document).on('click', '.mainwp_3rd_party_api_plesk_action_restore_backup', function () {
292 - let confirmMsg = __('Are you sure you want to Restore this backup?');
292 + let confirmMsg = MainWP.I18n.t('Are you sure you want to Restore this backup?');
293 293 mainwp_confirm(confirmMsg, function () {
294 294 plesk_action_restore_backup();
295 295 });
296 296 });
@@ -296,9 +296,9 @@
296 296 });
297 297
298 298 // Trigger action_delete_backup.
299 299 jQuery(document).on('click', '.mainwp_3rd_party_api_plesk_action_delete_backup', function () {
300 - let confirmMsg = __('Are you sure you want to Delete this backup?');
300 + let confirmMsg = MainWP.I18n.t('Are you sure you want to Delete this backup?');
301 301 mainwp_confirm(confirmMsg, function () {
302 302 plesk_action_delete_backup();
303 303 });
304 304 });
@@ -322,9 +322,9 @@
322 322 });
323 323
324 324 // Trigger action_delete_backup.
325 325 jQuery('.mainwp_3rd_party_api_kinsta_action_delete_backup').on('click', function () {
326 - let confirmMsg = __('Are you sure you want to Delete this backup?');
326 + let confirmMsg = MainWP.I18n.t('Are you sure you want to Delete this backup?');
327 327 let backupId = jQuery(this).attr('backup_id');
328 328 mainwp_confirm(confirmMsg, function () {
329 329 kinsta_action_delete_backup(this, backupId);
330 330 });
@@ -331,9 +331,9 @@
331 331 });
332 332
333 333 // Trigger action_restore_backup.
334 334 jQuery('.mainwp_3rd_party_api_kinsta_action_restore_backup').on('click', function () {
335 - let confirmMsg = __('Are you sure you want to Restore this backup?');
335 + let confirmMsg = MainWP.I18n.t('Are you sure you want to Restore this backup?');
336 336 let backupId = jQuery(this).attr('backup_id');
337 337 mainwp_confirm(confirmMsg, function () {
338 338 kinsta_action_restore_backup(this, backupId);
339 339 });