chapter
2 years ago
modals
2 years ago
modules
2 years ago
templates
2 years ago
settings.php
2 years ago
translations.php
2 years ago
translations.php
198 lines
| 1 | <?php |
| 2 | |
| 3 | // Namespace |
| 4 | namespace BMI\Plugin\Dashboard; |
| 5 | |
| 6 | // Exit on direct access |
| 7 | if (!defined('ABSPATH')) { |
| 8 | exit; |
| 9 | } |
| 10 | |
| 11 | // Load translations |
| 12 | $additional_translation_pre_load = [ |
| 13 | __("Exclude certain tables from backups", 'backup-backup'), |
| 14 | __("Currently you excluded", 'backup-backup'), |
| 15 | __("Red tables", 'backup-backup'), |
| 16 | __("makred with star* are part of WordPress core, exclude them only if youre 100% sure what you are doing.", 'backup-backup'), |
| 17 | __("Blue tables", 'backup-backup'), |
| 18 | __("are related to your WordPress instance, most of them are related to your plugins.", 'backup-backup'), |
| 19 | __("If you see any black table here, it's recommended to exclude them.", 'backup-backup'), |
| 20 | __("Hint: Hold shift+click to selece many tables at once.", 'backup-backup'), |
| 21 | __("out of %s tables.", 'backup-backup'), |
| 22 | __("In total you save %s MB.", 'backup-backup'), |
| 23 | __('rows', 'backup-backup') |
| 24 | ]; |
| 25 | |
| 26 | ?> |
| 27 | |
| 28 | <div class="translations"> |
| 29 | <div id="premium-tooltip"> |
| 30 | <?php if (defined('BMI_PREMIUM_TOOLTIP')): ?> |
| 31 | <?php echo BMI_PREMIUM_TOOLTIP; ?> |
| 32 | <?php endif; ?> |
| 33 | </div> |
| 34 | <div id="premium-tooltip-r"> |
| 35 | <?php if (defined('BMI_PREMIUM_TOOLTIP_R')): ?> |
| 36 | <?php echo BMI_PREMIUM_TOOLTIP_R; ?> |
| 37 | <?php endif; ?> |
| 38 | </div> |
| 39 | <div id="premium-tooltip-pre"><b><u><?php _e('Pro feature:', 'backup-backup'); ?></u></b></div> |
| 40 | |
| 41 | <div id="bmi-success-copy"> |
| 42 | <?php _e('Text copied successfully', 'backup-backup') ?> |
| 43 | </div> |
| 44 | <div id="bmi-received-hard"> |
| 45 | <?php _e('Browser successfully received backup settings.', 'backup-backup') ?> |
| 46 | </div> |
| 47 | <div id="bmi-failed-copy"> |
| 48 | <?php _e('Your browser does not support copying, please copy by hand', 'backup-backup') ?> |
| 49 | </div> |
| 50 | <div id="bmi-abort-soon"> |
| 51 | <?php _e('Backup will be aborted in few seconds.', 'backup-backup') ?> |
| 52 | </div> |
| 53 | <div id="bmi-aborted-al"> |
| 54 | <?php _e('Backup process aborted.', 'backup-backup') ?> |
| 55 | </div> |
| 56 | <div id="bmi-stg-aborted-al"> |
| 57 | <?php _e('Staging process aborted.', 'backup-backup') ?> |
| 58 | </div> |
| 59 | <div id="bmi-downloading-remote"> |
| 60 | <?php _e('Downloading backup file...', 'backup-backup') ?> |
| 61 | </div> |
| 62 | <div id="bmi-restoring-prepare"> |
| 63 | <?php _e('Preparing restore process...', 'backup-backup') ?> |
| 64 | </div> |
| 65 | <div id="bmi-restore-require-checkmark"> |
| 66 | <?php _e('You have to confirm that you understand the risk.', 'backup-backup') ?> |
| 67 | </div> |
| 68 | <div id="bmi-upload-start"> |
| 69 | <?php _e('File upload started.', 'backup-backup') ?> |
| 70 | </div> |
| 71 | <div id="bmi-upload-error"> |
| 72 | <?php _e('There was an error during file upload.', 'backup-backup') ?> |
| 73 | </div> |
| 74 | <div id="bmi-upload-end"> |
| 75 | <?php _e('File has been uploaded successfully.', 'backup-backup') ?> |
| 76 | </div> |
| 77 | <div id="bmi-upload-wrong"> |
| 78 | <?php _e('File has wrong type.', 'backup-backup') ?> |
| 79 | </div> |
| 80 | <div id="bmi-upload-exists"> |
| 81 | <?php _e('File already exist in backup directory.', 'backup-backup') ?> |
| 82 | </div> |
| 83 | <div id="bmi-remove-success"> |
| 84 | <?php _e('Backup(s) removed successfully.', 'backup-backup') ?> |
| 85 | </div> |
| 86 | <div id="bmi-remove-error"> |
| 87 | <?php _e('Cannot remove backup(s) file(s) due to unknown error.', 'backup-backup') ?> |
| 88 | </div> |
| 89 | <div id="bmi-save-success"> |
| 90 | <?php _e('Configuration saved successfully.', 'backup-backup') ?> |
| 91 | </div> |
| 92 | <div id="bmi-save-issues"> |
| 93 | <?php _e('There was an issue during saving, some settings may stay unchanged.', 'backup-backup') ?> |
| 94 | </div> |
| 95 | <div id="bmi-no-file"> |
| 96 | <?php _e('Could not find this backup, it may be deleted or there was an error with getting the name.', 'backup-backup') ?> |
| 97 | </div> |
| 98 | <div id="bmi-unlock-success"> |
| 99 | <?php _e('File unlocked successfully.', 'backup-backup') ?> |
| 100 | </div> |
| 101 | <div id="bmi-unlock-error"> |
| 102 | <?php _e('Could not unlock this backup due to unknown error, please reload and try again.', 'backup-backup') ?> |
| 103 | </div> |
| 104 | <div id="bmi-lock-success"> |
| 105 | <?php _e('File locked successfully.', 'backup-backup') ?> |
| 106 | </div> |
| 107 | <div id="bmi-lock-error"> |
| 108 | <?php _e('Could not lock this backup due to unknown error, please reload and try again.', 'backup-backup') ?> |
| 109 | </div> |
| 110 | <div id="bmi-download-should-start"> |
| 111 | <?php _e('Download process should start.', 'backup-backup') ?> |
| 112 | </div> |
| 113 | <div id="bmi-preb-processing"> |
| 114 | <?php _e('We are processing your files, please wait till it complete. You can check the progress in the "What will be backed up?" tab.', 'backup-backup') ?> |
| 115 | </div> |
| 116 | <div id="bmi-no-selected"> |
| 117 | <?php _e('There is nothing to backup. Please select database and / or files to backup.', 'backup-backup') ?> |
| 118 | </div> |
| 119 | <div id="bmi-invalid-url"> |
| 120 | <?php _e('The URL you provided does not seems to be correct.', 'backup-backup') ?> |
| 121 | </div> |
| 122 | <div id="bmi-bc-ended"> |
| 123 | <?php _e('Backup process ended, we triggered backup list reload for your.', 'backup-backup') ?> |
| 124 | </div> |
| 125 | <div id="bmi-current-time"> |
| 126 | <?php _e('Current server time: ', 'backup-backup') ?> |
| 127 | </div> |
| 128 | <div id="bmi-next-cron"> |
| 129 | <?php _e('Next backup planned: ', 'backup-backup') ?> |
| 130 | </div> |
| 131 | <div id="bmi-cron-updated"> |
| 132 | <?php _e('Settings updated successfully', 'backup-backup') ?> |
| 133 | </div> |
| 134 | <div id="bmi-cron-updated-fail"> |
| 135 | <?php _e('Could not update CRON setting now, please check the logs.', 'backup-backup') ?> |
| 136 | </div> |
| 137 | <div id="bmi-making-archive"> |
| 138 | <?php _e("Making archive", 'backup-backup') ?> |
| 139 | </div> |
| 140 | <div id="bmi-email-success"> |
| 141 | <?php _e('Email send successfully, check mailbox.', 'backup-backup') ?> |
| 142 | </div> |
| 143 | <div id="bmi-email-fail"> |
| 144 | <?php _e("There was an error sending the email, please use additional plugins to debug it or ask your hosting administrator for help.", 'backup-backup') ?> |
| 145 | </div> |
| 146 | <div id="bmi-manual-locked"> |
| 147 | <?php _e("Manually created backups are always locked.", 'backup-backup') ?> |
| 148 | </div> |
| 149 | <div id="bmi-default-success"> |
| 150 | <?php _e("Operation finished with success.", 'backup-backup') ?> |
| 151 | </div> |
| 152 | <div id="bmi-default-fail"> |
| 153 | <?php _e("Operation failed, please try again.", 'backup-backup') ?> |
| 154 | </div> |
| 155 | <div id="bmi-loading-translation"> |
| 156 | <?php _e("Loading...", 'backup-backup') ?> |
| 157 | </div> |
| 158 | <div id="failed-to-stop"> |
| 159 | <?php _e("We could not stop the process due to some issues on your server (maybe file permissions).", 'backup-backup') ?> |
| 160 | </div> |
| 161 | <div id="bmi-force-stop-in-progress"> |
| 162 | <?php _e("Stopping the process, it will be confirmed...", 'backup-backup') ?> |
| 163 | </div> |
| 164 | <div id="bmi-force-stop-success"> |
| 165 | <?php _e("The process should be stopped now.", 'backup-backup') ?> |
| 166 | </div> |
| 167 | <div id="bmi-support-send-success"> |
| 168 | <?php _e("Logs shared successfully.", 'backup-backup') ?> |
| 169 | </div> |
| 170 | <div id="bmi-support-send-fail"> |
| 171 | <?php _e("There was an error while sharing logs for support.", 'backup-backup') ?> |
| 172 | </div> |
| 173 | <div id="bmi-support-send-start"> |
| 174 | <?php _e("Sending your logs, please wait (up to 15 seconds)...", 'backup-backup') ?> |
| 175 | </div> |
| 176 | <div id="bmi-backup-created-on"> |
| 177 | <?php _e("Backup created on site:", 'backup-backup') ?> |
| 178 | </div> |
| 179 | <div id="bmi-backup-original-name"> |
| 180 | <?php _e("Backup original name:", 'backup-backup') ?> |
| 181 | </div> |
| 182 | <div id="bmi-backup-file-name"> |
| 183 | <?php _e("Name of file on server:", 'backup-backup') ?> |
| 184 | </div> |
| 185 | <?php if (false) { ?> |
| 186 | <div id="bmi-share-logs-thank-you"> |
| 187 | <?php _e("Thank you very much for your support!", 'backup-backup') ?> |
| 188 | </div> |
| 189 | <div id="bmi-staging-prepare"> |
| 190 | <?php _e('Preparing creation of staging site...', 'backup-backup') ?> |
| 191 | </div> |
| 192 | <?php } ?> |
| 193 | <div id="BMI_URL_ROOT"><?php echo plugin_dir_url(BMI_ROOT_FILE); ?></div> |
| 194 | <div id="BMI_BLOG_URL"><?php echo get_site_url(); ?></div> |
| 195 | <div id="BMI_REV"><?php echo BMI_REV; ?></div> |
| 196 | <div><input type="text" id="bmi-support-url-translation" value="<?php echo BMI_CHAT_SUPPORT_URL ?>" hidden></div> |
| 197 | </div> |
| 198 |