| @@ -76,8 +76,9 @@ | ||
| 76 | 76 | 'proxy_server_url' => $this->config->get_proxy_server_url(), |
| 77 | 77 | 'checkout_loading_url' => $this->config->get_proxy_checkout_loading_url(), |
| 78 | 78 | 'checkout_url' => $this->config->get_proxy_checkout_base_url(), |
| 79 | 79 | 'siteDomain' => LicenseModule::get_site_domain(), |
| 80 | + 'pluginUploadUrl' => is_multisite() ? network_admin_url( 'plugin-install.php?tab=upload' ) : admin_url( 'plugin-install.php?tab=upload' ), | |
| 80 | 81 | 'i18n' => [ |
| 81 | 82 | 'loading' => __( 'Loading...', 'gvectors' ), |
| 82 | 83 | 'buy' => __( 'Buy Now', 'gvectors' ), |
| 83 | 84 | 'startTrial' => __( 'Start Free Trial', 'gvectors' ), |
| @@ -108,8 +109,29 @@ | ||
| 108 | 109 | 'resumeSubscription' => __( 'Resume Subscription', 'gvectors' ), |
| 109 | 110 | 'refreshProducts' => __( 'Refresh', 'gvectors' ), |
| 110 | 111 | 'noProducts' => __( 'No products available at this time.', 'gvectors' ), |
| 111 | 112 | 'checkoutError' => __( 'Checkout could not be opened. Please try again.', 'gvectors' ), |
| 113 | + 'downloadZip' => __( 'Download ZIP', 'gvectors' ), | |
| 114 | + 'downloadStarted' => __( 'Your download has started.', 'gvectors' ), | |
| 115 | + 'verifiedCopy' => __( 'Reinstall Addon', 'gvectors' ), | |
| 116 | + 'verifiedCopyConfirm' => __( 'Reinstall this addon with a fresh copy from gVectors? Your settings and data are kept; changes made directly to the addon\'s files are lost.', 'gvectors' ), | |
| 117 | + 'manualInstallTitle' => __( 'Manual Installation', 'gvectors' ), | |
| 118 | + 'manualInstallIntro' => __( 'WordPress can\'t install this addon automatically on this site, so install it manually:', 'gvectors' ), | |
| 119 | + 'manualInstallHow' => __( 'To install this addon manually:', 'gvectors' ), | |
| 120 | + 'manualStepDownload' => __( 'Download the addon ZIP file.', 'gvectors' ), | |
| 121 | + /* translators: %s: "Plugins → Add New Plugin → Upload Plugin" link */ | |
| 122 | + 'manualStepDashboard' => __( 'Upload it in WordPress: go to %s, choose the ZIP file (don\'t unzip it), click "Install Now" and then "Activate Plugin".', 'gvectors' ), | |
| 123 | + 'manualUploadPath' => __( 'Plugins → Add New Plugin → Upload Plugin', 'gvectors' ), | |
| 124 | + 'manualFtpIntro' => __( 'If that doesn\'t work (the Upload Plugin button is missing or the upload fails), install it via FTP/SFTP instead, using the same ZIP file:', 'gvectors' ), | |
| 125 | + /* translators: %s: addon folder name */ | |
| 126 | + 'manualStepUnzip' => __( 'Unzip it on your computer. You will get a folder named %s.', 'gvectors' ), | |
| 127 | + 'manualStepUpload' => __( 'Upload the whole folder to wp-content/plugins/ on your server via FTP/SFTP. Use binary transfer mode and make sure the hidden .addon-signatures.json file is uploaded too (enable "show hidden files" in your FTP client) — without it the addon is treated as modified.', 'gvectors' ), | |
| 128 | + 'manualStepActivate' => __( 'Reload this page and click "Activate" on the addon (or activate it on the Plugins page).', 'gvectors' ), | |
| 129 | + 'manualInstallNote' => __( 'The ZIP is signed for this website only.', 'gvectors' ), | |
| 130 | + 'manualUpdatesNotice' => __( 'While WordPress can\'t install plugins on this site, new addon releases can\'t be delivered through the standard WordPress update process.', 'gvectors' ), | |
| 131 | + 'manualRecommendTitle' => __( 'Recommended — get updates immediately:', 'gvectors' ), | |
| 132 | + 'manualRecommend' => __( 'restore the default WordPress permissions and let the built-in WordPress updater do the work. Remove DISALLOW_FILE_MODS from wp-config.php (or set it to false) and make sure WordPress can write to wp-content/plugins/ — your hosting provider can help with that. New versions then appear in Dashboard → Updates as soon as they are released and install with one click, like any other plugin, while your license is active.', 'gvectors' ), | |
| 133 | + 'manualRecommendTip' => __( 'Tip: if you only want to block code editing in the dashboard, DISALLOW_FILE_EDIT does that without blocking updates.', 'gvectors' ), | |
| 112 | 134 | ], |
| 113 | 135 | ] ); |
| 114 | 136 | } |
| 115 | 137 | } |