Changeset 3388256
- Timestamp:
- 11/02/2025 06:18:44 AM (4 months ago)
- Location:
- lean-cart-share-and-save
- Files:
-
- 2 added
- 8 edited
- 1 copied
-
tags/1.0.5 (copied) (copied from lean-cart-share-and-save/trunk)
-
tags/1.0.5/includes/class-deactivation-feedback.php (added)
-
tags/1.0.5/includes/class-menu.php (modified) (2 diffs)
-
tags/1.0.5/languages/lean-cart-share-and-save.pot (modified) (3 diffs)
-
tags/1.0.5/lean-cart-share-and-save.php (modified) (3 diffs)
-
tags/1.0.5/readme.txt (modified) (4 diffs)
-
trunk/includes/class-deactivation-feedback.php (added)
-
trunk/includes/class-menu.php (modified) (2 diffs)
-
trunk/languages/lean-cart-share-and-save.pot (modified) (3 diffs)
-
trunk/lean-cart-share-and-save.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lean-cart-share-and-save/tags/1.0.5/includes/class-menu.php
r3382502 r3388256 49 49 private function init() { 50 50 add_action('admin_menu', [$this, 'add_admin_menu']); 51 add_filter('plugin_action_links_' . plugin_basename(LEAN_CSNS_PL_FILE), [$this, 'add_plugin_action_links']); 51 52 add_action('admin_head', [$this, 'suppress_admin_notices']); 52 53 } … … 65 66 56 66 67 ); 68 } 69 70 /** 71 * Add plugin action links 72 */ 73 public function add_plugin_action_links($links) { 74 $quick_settings_link = '<a href="' . esc_url(admin_url('admin.php?page=lean-csns-settings')) . '">' . esc_html__('Settings', 'lean-cart-share-and-save') . '</a>'; 75 76 // Prepend Settings link at the beginning (before Deactivate) 77 return array_merge(['settings' => $quick_settings_link], $links); 67 78 } 68 79 -
lean-cart-share-and-save/tags/1.0.5/languages/lean-cart-share-and-save.pot
r3367807 r3388256 1 #, fuzzy 1 # Copyright (C) 2025 LeanPlugins 2 # This file is distributed under the GPLv2 or later. 2 3 msgid "" 3 4 msgstr "" 4 "Project-Id-Version: Lean Cart Share and Save\n" 5 "Report-Msgid-Bugs-To: \n" 6 "POT-Creation-Date: 2025-09-04 11:48+0000\n" 7 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 5 "Project-Id-Version: Lean Cart Share and Save for WooCommerce 1.0.5\n" 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/lean-cart-share-and-save\n" 8 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 9 "Language-Team: \n" 10 "Language: \n" 11 "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" 8 "Language-Team: LANGUAGE <[email protected]>\n" 12 9 "MIME-Version: 1.0\n" 13 10 "Content-Type: text/plain; charset=UTF-8\n" 14 11 "Content-Transfer-Encoding: 8bit\n" 15 "X-Generator: Loco https://localise.biz/\n" 16 "X-Loco-Version: 2.8.0; wp-6.8.2; php-8.0.30\n" 17 "X-Domain: lean-cart-share-and-save" 12 "POT-Creation-Date: 2025-11-02T06:02:00+00:00\n" 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2.8.1\n" 15 "X-Domain: lean-cart-share-and-save\n" 16 17 #. Plugin Name of the plugin 18 msgid "Lean Cart Share and Save for WooCommerce" 19 msgstr "" 20 21 #. Plugin URI of the plugin 22 #. Author URI of the plugin 23 msgid "https://leanplugins.com/" 24 msgstr "" 25 26 #. Description of the plugin 27 msgid "Lightweight cart sharing and saving for WooCommerce. Fully compatible with FSE themes and WooCommerce Cart Blocks." 28 msgstr "" 29 30 #. Author of the plugin 31 msgid "LeanPlugins" 32 msgstr "" 33 34 #: includes/class-ajax-actions.php:73 35 msgid "Cart name is required" 36 msgstr "" 37 38 #: includes/class-ajax-actions.php:89 39 msgid "Please log in to delete cart" 40 msgstr "" 41 42 #: includes/class-ajax-actions.php:94 43 msgid "Invalid cart ID" 44 msgstr "" 45 46 #: includes/class-ajax-actions.php:101 47 msgid "You are not authorized to delete this cart" 48 msgstr "" 49 50 #: includes/class-ajax-actions.php:108 51 #: includes/class-base.php:179 52 msgid "Cart deleted successfully!" 53 msgstr "" 54 55 #: includes/class-ajax-actions.php:108 56 msgid "Failed to delete cart" 57 msgstr "" 58 59 #: includes/class-assets-manager.php:95 60 msgid "Share Your Cart" 61 msgstr "" 62 63 #: includes/class-assets-manager.php:96 64 msgid "Save Your Cart" 65 msgstr "" 66 67 #: includes/class-assets-manager.php:97 68 msgid "Copy" 69 msgstr "" 70 71 #: includes/class-assets-manager.php:98 72 msgid "Close" 73 msgstr "" 74 75 #: includes/class-assets-manager.php:99 76 msgid "Save" 77 msgstr "" 78 79 #: includes/class-assets-manager.php:100 80 msgid "Cancel" 81 msgstr "" 82 83 #: includes/class-assets-manager.php:101 84 msgid "Enter cart name..." 85 msgstr "" 86 87 #: includes/class-assets-manager.php:102 88 msgid "Please enter a cart name" 89 msgstr "" 90 91 #: includes/class-assets-manager.php:103 92 msgid "Link copied to clipboard!" 93 msgstr "" 94 95 #: includes/class-base.php:88 96 msgid "Share Cart" 97 msgstr "" 98 99 #: includes/class-base.php:92 100 msgid "Save Cart" 101 msgstr "" 102 103 #: includes/class-base.php:130 104 #: templates/my-account/saved-carts.php:17 105 msgid "Saved Carts" 106 msgstr "" 107 108 #: includes/class-base.php:159 109 msgid "Security verification failed." 110 msgstr "" 111 112 #: includes/class-base.php:164 113 msgid "Please log in to delete cart." 114 msgstr "" 115 116 #: includes/class-base.php:172 117 msgid "You are not authorized to delete this cart." 118 msgstr "" 119 120 #: includes/class-base.php:181 121 msgid "Failed to delete cart." 122 msgstr "" 123 124 #: includes/class-cart-handler.php:153 125 #: includes/class-cart-handler.php:197 126 msgid "Cart is empty" 127 msgstr "" 128 129 #: includes/class-cart-handler.php:180 130 msgid "Failed to share cart" 131 msgstr "" 132 133 #: includes/class-cart-handler.php:191 134 msgid "Please log in to save cart" 135 msgstr "" 136 137 #: includes/class-cart-handler.php:216 138 msgid "Cart saved successfully!" 139 msgstr "" 140 141 #: includes/class-cart-handler.php:216 142 msgid "Failed to save cart" 143 msgstr "" 144 145 #: includes/class-deactivation-feedback.php:76 146 msgid "Sending..." 147 msgstr "" 148 149 #: includes/class-deactivation-feedback.php:89 150 msgid "I'm deactivating because" 151 msgstr "" 152 153 #: includes/class-deactivation-feedback.php:90 154 msgid "Type your reason here ... (optional)" 155 msgstr "" 156 157 #: includes/class-deactivation-feedback.php:93 158 msgid "I no longer need the plugin" 159 msgstr "" 160 161 #: includes/class-deactivation-feedback.php:97 162 msgid "I'm switching to a different plugin" 163 msgstr "" 164 165 #: includes/class-deactivation-feedback.php:98 166 msgid "Please share which plugin (optional)" 167 msgstr "" 168 169 #: includes/class-deactivation-feedback.php:101 170 msgid "I couldn't get the plugin to work" 171 msgstr "" 172 173 #: includes/class-deactivation-feedback.php:102 174 msgid "We're sorry to hear. Can you let us know what didn't work? (optional)" 175 msgstr "" 176 177 #: includes/class-deactivation-feedback.php:105 178 msgid "It's a temporary deactivation" 179 msgstr "" 180 181 #: includes/class-deactivation-feedback.php:154 182 msgid "Quick Feedback" 183 msgstr "" 184 185 #: includes/class-deactivation-feedback.php:155 186 msgid "If you have a moment, please share why you are deactivating this plugin:" 187 msgstr "" 188 189 #: includes/class-deactivation-feedback.php:156 190 msgid "Submit & Deactivate" 191 msgstr "" 192 193 #: includes/class-deactivation-feedback.php:157 194 msgid "Skip & Deactivate" 195 msgstr "" 196 197 #: includes/class-menu.php:60 198 #: includes/class-menu.php:61 199 msgid "Cart Share & Save" 200 msgstr "" 201 202 #: includes/class-menu.php:74 203 msgid "Settings" 204 msgstr "" 205 206 #: includes/class-settings-page.php:63 207 msgid "Cart Share Settings" 208 msgstr "" 209 210 #: includes/class-settings-page.php:70 211 msgid "Enable Share Cart" 212 msgstr "" 213 214 #: includes/class-settings-page.php:74 215 msgid "Allow users to share their cart" 216 msgstr "" 217 218 #: includes/class-settings-page.php:88 219 msgid "Share Expiry (Days)" 220 msgstr "" 221 222 #: includes/class-settings-page.php:92 223 msgid "Set to 0 for no expiration, or number of days before shared carts expire" 224 msgstr "" 225 226 #: includes/class-settings-page.php:98 227 msgid "Cart Save Settings" 228 msgstr "" 229 230 #: includes/class-settings-page.php:105 231 msgid "Enable Save Cart" 232 msgstr "" 233 234 #: includes/class-settings-page.php:109 235 msgid "Allow logged-in users to save their cart" 236 msgstr "" 237 238 #: includes/class-settings-page.php:115 239 msgid "Data Management" 240 msgstr "" 241 242 #: includes/class-settings-page.php:122 243 msgid "Delete All Data on Uninstall" 244 msgstr "" 245 246 #: includes/class-settings-page.php:126 247 msgid "Remove all saved & shared carts and plugin settings when the plugin is deleted.<br> This helps keep your database clean if you no longer plan to use the plugin." 248 msgstr "" 249 250 #: includes/class-settings-page.php:199 251 msgid "📢 Important: Fix 404 Errors" 252 msgstr "" 253 254 #: includes/class-settings-page.php:202 255 msgid "Share links require pretty permalinks. " 256 msgstr "" 257 258 #. translators: %s is a link to WordPress Settings → Permalinks page 259 #: includes/class-settings-page.php:207 260 msgid "If share links or My Account → Saved Carts show 404 errors: Go to %s and click \"Save Changes\" (no need to change anything). This refreshes WordPress URL rules and fixes 404 issues." 261 msgstr "" 262 263 #: includes/class-settings-page.php:208 264 msgid "Settings → Permalinks" 265 msgstr "" 266 267 #: includes/class-settings-page.php:210 268 msgid "Why this happens: WordPress needs to refresh URL routing when new link structures are added." 269 msgstr "" 270 271 #: includes/class-settings-page.php:286 272 msgid "Cart Share & Save Settings" 273 msgstr "" 274 275 #: includes/class-settings-page.php:291 276 msgid "Save Settings" 277 msgstr "" 278 279 #: includes/class-url-handler.php:100 280 msgid "Shared cart not found." 281 msgstr "" 282 283 #: includes/class-url-handler.php:107 284 msgid "This shared cart has expired." 285 msgstr "" 286 287 #: includes/class-url-handler.php:123 288 msgid "Shared cart loaded successfully!" 289 msgstr "" 290 291 #: includes/class-url-handler.php:125 292 msgid "Failed to load shared cart." 293 msgstr "" 294 295 #: lean-cart-share-and-save.php:34 296 msgid "Lean Cart Share and Save requires WooCommerce to be installed and active." 297 msgstr "" 298 299 #: templates/my-account/saved-carts.php:21 300 msgid "No saved carts found." 301 msgstr "" 302 303 #: templates/my-account/saved-carts.php:24 304 msgid "Start Shopping" 305 msgstr "" 306 307 #: templates/my-account/saved-carts.php:33 308 #: templates/my-account/saved-carts.php:46 309 msgid "Cart Name" 310 msgstr "" 311 312 #: templates/my-account/saved-carts.php:36 313 #: templates/my-account/saved-carts.php:49 314 msgid "Saved On" 315 msgstr "" 18 316 19 317 #: templates/my-account/saved-carts.php:39 … … 22 320 msgstr "" 23 321 24 #: includes/class-settings-page.php:119 25 msgid "Allow logged-in users to save their cart" 26 msgstr "" 27 28 #: includes/class-settings-page.php:84 29 msgid "Allow users to share their cart" 322 #: templates/my-account/saved-carts.php:57 323 msgid "Restore this cart" 324 msgstr "" 325 326 #: templates/my-account/saved-carts.php:58 327 msgid "Restore" 328 msgstr "" 329 330 #: templates/my-account/saved-carts.php:62 331 msgid "Delete this cart" 30 332 msgstr "" 31 333 32 334 #: templates/my-account/saved-carts.php:63 33 msgid "" 34 "Are you sure you want to delete this saved cart? This action cannot be " 35 "undone." 36 msgstr "" 37 38 #. Author of the plugin 39 msgid "AZPlugins" 40 msgstr "" 41 42 #: includes/class-assets-manager.php:92 43 msgid "Cancel" 44 msgstr "" 45 46 #: includes/class-ajax-actions.php:108 includes/class-base.php:157 47 msgid "Cart deleted successfully!" 48 msgstr "" 49 50 #: includes/class-cart-handler.php:153 includes/class-cart-handler.php:197 51 msgid "Cart is empty" 52 msgstr "" 53 54 #: templates/my-account/saved-carts.php:33 55 #: templates/my-account/saved-carts.php:46 56 msgid "Cart Name" 57 msgstr "" 58 59 #: includes/class-ajax-actions.php:73 60 msgid "Cart name is required" 61 msgstr "" 62 63 #: includes/class-settings-page.php:108 64 msgid "Cart Save Settings" 65 msgstr "" 66 67 #: includes/class-cart-handler.php:216 68 msgid "Cart saved successfully!" 69 msgstr "" 70 71 #: includes/class-settings-page.php:53 includes/class-settings-page.php:54 72 msgid "Cart Share & Save" 73 msgstr "" 74 75 #: includes/class-settings-page.php:296 76 msgid "Cart Share & Save Settings" 77 msgstr "" 78 79 #: includes/class-settings-page.php:73 80 msgid "Cart Share Settings" 81 msgstr "" 82 83 #: includes/class-assets-manager.php:90 84 msgid "Close" 85 msgstr "" 86 87 #: includes/class-assets-manager.php:89 88 msgid "Copy" 89 msgstr "" 90 91 #: includes/class-settings-page.php:125 92 msgid "Data Management" 335 msgid "Are you sure you want to delete this saved cart? This action cannot be undone." 93 336 msgstr "" 94 337 … … 96 339 msgid "Delete" 97 340 msgstr "" 98 99 #: includes/class-settings-page.php:132100 msgid "Delete All Data on Uninstall"101 msgstr ""102 103 #: templates/my-account/saved-carts.php:62104 msgid "Delete this cart"105 msgstr ""106 107 #: includes/class-settings-page.php:115108 msgid "Enable Save Cart"109 msgstr ""110 111 #: includes/class-settings-page.php:80112 msgid "Enable Share Cart"113 msgstr ""114 115 #: includes/class-assets-manager.php:93116 msgid "Enter cart name..."117 msgstr ""118 119 #: includes/class-ajax-actions.php:108120 msgid "Failed to delete cart"121 msgstr ""122 123 #: includes/class-base.php:159124 msgid "Failed to delete cart."125 msgstr ""126 127 #: includes/class-url-handler.php:125128 msgid "Failed to load shared cart."129 msgstr ""130 131 #: includes/class-cart-handler.php:216132 msgid "Failed to save cart"133 msgstr ""134 135 #: includes/class-cart-handler.php:180136 msgid "Failed to share cart"137 msgstr ""138 139 #. %s is a link to WordPress Settings → Permalinks page140 #: includes/class-settings-page.php:217141 #, php-format142 msgid ""143 "If share links or My Account → Saved Carts show 404 errors: Go to %s and "144 "click \"Save Changes\" (no need to change anything). This refreshes "145 "WordPress URL rules and fixes 404 issues."146 msgstr ""147 148 #: includes/class-ajax-actions.php:94149 msgid "Invalid cart ID"150 msgstr ""151 152 #. Name of the plugin153 msgid "Lean Cart Share and Save"154 msgstr ""155 156 #: lean-cart-share-and-save.php:34157 msgid ""158 "Lean Cart Share and Save requires WooCommerce to be installed and active."159 msgstr ""160 161 #. Description of the plugin162 msgid "Lightweight cart sharing and saving for WooCommerce"163 msgstr ""164 165 #: includes/class-assets-manager.php:95166 msgid "Link copied to clipboard!"167 msgstr ""168 169 #: templates/my-account/saved-carts.php:21170 msgid "No saved carts found."171 msgstr ""172 173 #: includes/class-assets-manager.php:94174 msgid "Please enter a cart name"175 msgstr ""176 177 #: includes/class-ajax-actions.php:89178 msgid "Please log in to delete cart"179 msgstr ""180 181 #: includes/class-base.php:142182 msgid "Please log in to delete cart."183 msgstr ""184 185 #: includes/class-cart-handler.php:191186 msgid "Please log in to save cart"187 msgstr ""188 189 #: includes/class-settings-page.php:136190 msgid ""191 "Remove all saved & shared carts and plugin settings when the plugin is "192 "deleted (unchecked by default). <br> This helps keep your database clean if "193 "you no longer plan to use the plugin."194 msgstr ""195 196 #: templates/my-account/saved-carts.php:58197 msgid "Restore"198 msgstr ""199 200 #: templates/my-account/saved-carts.php:57201 msgid "Restore this cart"202 msgstr ""203 204 #: includes/class-assets-manager.php:91205 msgid "Save"206 msgstr ""207 208 #: includes/class-base.php:81209 msgid "Save Cart"210 msgstr ""211 212 #: includes/class-settings-page.php:301213 msgid "Save Settings"214 msgstr ""215 216 #: includes/class-assets-manager.php:88217 msgid "Save Your Cart"218 msgstr ""219 220 #: includes/class-base.php:108 templates/my-account/saved-carts.php:17221 msgid "Saved Carts"222 msgstr ""223 224 #: templates/my-account/saved-carts.php:36225 #: templates/my-account/saved-carts.php:49226 msgid "Saved On"227 msgstr ""228 229 #: includes/class-base.php:137230 msgid "Security verification failed."231 msgstr ""232 233 #: includes/class-settings-page.php:102234 msgid ""235 "Set to 0 for no expiration, or number of days before shared carts expire"236 msgstr ""237 238 #: includes/class-settings-page.php:218239 msgid "Settings → Permalinks"240 msgstr ""241 242 #: includes/class-base.php:77243 msgid "Share Cart"244 msgstr ""245 246 #: includes/class-settings-page.php:98247 msgid "Share Expiry (Days)"248 msgstr ""249 250 #: includes/class-settings-page.php:212251 msgid "Share links require pretty permalinks. "252 msgstr ""253 254 #: includes/class-assets-manager.php:87255 msgid "Share Your Cart"256 msgstr ""257 258 #: includes/class-url-handler.php:123259 msgid "Shared cart loaded successfully!"260 msgstr ""261 262 #: includes/class-url-handler.php:100263 msgid "Shared cart not found."264 msgstr ""265 266 #: templates/my-account/saved-carts.php:24267 msgid "Start Shopping"268 msgstr ""269 270 #: includes/class-url-handler.php:107271 msgid "This shared cart has expired."272 msgstr ""273 274 #: includes/class-settings-page.php:220275 msgid ""276 "Why this happens: WordPress needs to refresh URL routing when new link "277 "structures are added."278 msgstr ""279 280 #: includes/class-ajax-actions.php:101281 msgid "You are not authorized to delete this cart"282 msgstr ""283 284 #: includes/class-base.php:150285 msgid "You are not authorized to delete this cart."286 msgstr ""287 288 #: includes/class-settings-page.php:209289 msgid "📢 Important: Fix 404 Errors"290 msgstr "" -
lean-cart-share-and-save/tags/1.0.5/lean-cart-share-and-save.php
r3382502 r3388256 4 4 * Plugin URI: https://leanplugins.com/ 5 5 * Description: Lightweight cart sharing and saving for WooCommerce. Fully compatible with FSE themes and WooCommerce Cart Blocks. 6 * Version: 1.0. 46 * Version: 1.0.5 7 7 * Author: LeanPlugins 8 8 * Author URI: https://leanplugins.com/ … … 20 20 21 21 // Define plugin constants 22 define('LEAN_CSNS_VERSION', '1.0. 4');22 define('LEAN_CSNS_VERSION', '1.0.5'); 23 23 define('LEAN_CSNS_DB_VERSION', '1.0.0'); 24 24 define('LEAN_CSNS_PL_FILE', __FILE__); … … 58 58 'class-settings-page.php', 59 59 'class-ajax-actions.php', 60 'class-assets-manager.php' 60 'class-assets-manager.php', 61 'class-deactivation-feedback.php' 61 62 ]; 62 63 -
lean-cart-share-and-save/tags/1.0.5/readme.txt
r3382502 r3388256 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 1.0. 47 Stable tag: 1.0.5 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 18 18 19 19 Lightweight, works with classic themes and modern FSE Cart Blocks, and helps reduce cart abandonment while enabling natural product sharing. 20 21 **[Learn More](https://leanplugins.com/wordpress-plugins/cart-share-and-save/)** 20 22 21 23 == Live Demo == … … 141 143 Go to Settings → Permalinks in your WordPress admin and click "Save Changes" (no need to change anything). This refreshes WordPress URL rules. 142 144 145 = Does this plugin use any third-party services? = 146 147 Yes. When you deactivate this plugin, a feedback modal appears. If you choose to submit feedback, these 5 pieces of information are sent to our server: 148 149 * Your deactivation reason (from the options provided) 150 * Your optional comment (if you write one) 151 * Plugin version 152 * WordPress version 153 * PHP version 154 155 This feedback helps us understand real-world issues and prioritize fixes. You can click "Skip & Deactivate" to skip feedback entirely. 156 157 **Service Used:** Supabase (https://supabase.com/) 158 **Privacy Policy:** https://supabase.com/privacy 159 **Terms of Service:** https://supabase.com/terms 160 161 The feedback is only sent when you click "Submit & Deactivate". Nothing is collected during normal plugin usage. 162 143 163 == Screenshots == 144 164 … … 151 171 152 172 == Changelog == 173 174 = 1.0.5 = 175 * New: Added Settings link to plugin action links 176 * Updated: Language translation file 153 177 154 178 = 1.0.4 = -
lean-cart-share-and-save/trunk/includes/class-menu.php
r3382502 r3388256 49 49 private function init() { 50 50 add_action('admin_menu', [$this, 'add_admin_menu']); 51 add_filter('plugin_action_links_' . plugin_basename(LEAN_CSNS_PL_FILE), [$this, 'add_plugin_action_links']); 51 52 add_action('admin_head', [$this, 'suppress_admin_notices']); 52 53 } … … 65 66 56 66 67 ); 68 } 69 70 /** 71 * Add plugin action links 72 */ 73 public function add_plugin_action_links($links) { 74 $quick_settings_link = '<a href="' . esc_url(admin_url('admin.php?page=lean-csns-settings')) . '">' . esc_html__('Settings', 'lean-cart-share-and-save') . '</a>'; 75 76 // Prepend Settings link at the beginning (before Deactivate) 77 return array_merge(['settings' => $quick_settings_link], $links); 67 78 } 68 79 -
lean-cart-share-and-save/trunk/languages/lean-cart-share-and-save.pot
r3367807 r3388256 1 #, fuzzy 1 # Copyright (C) 2025 LeanPlugins 2 # This file is distributed under the GPLv2 or later. 2 3 msgid "" 3 4 msgstr "" 4 "Project-Id-Version: Lean Cart Share and Save\n" 5 "Report-Msgid-Bugs-To: \n" 6 "POT-Creation-Date: 2025-09-04 11:48+0000\n" 7 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 5 "Project-Id-Version: Lean Cart Share and Save for WooCommerce 1.0.5\n" 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/lean-cart-share-and-save\n" 8 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 9 "Language-Team: \n" 10 "Language: \n" 11 "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" 8 "Language-Team: LANGUAGE <[email protected]>\n" 12 9 "MIME-Version: 1.0\n" 13 10 "Content-Type: text/plain; charset=UTF-8\n" 14 11 "Content-Transfer-Encoding: 8bit\n" 15 "X-Generator: Loco https://localise.biz/\n" 16 "X-Loco-Version: 2.8.0; wp-6.8.2; php-8.0.30\n" 17 "X-Domain: lean-cart-share-and-save" 12 "POT-Creation-Date: 2025-11-02T06:02:00+00:00\n" 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2.8.1\n" 15 "X-Domain: lean-cart-share-and-save\n" 16 17 #. Plugin Name of the plugin 18 msgid "Lean Cart Share and Save for WooCommerce" 19 msgstr "" 20 21 #. Plugin URI of the plugin 22 #. Author URI of the plugin 23 msgid "https://leanplugins.com/" 24 msgstr "" 25 26 #. Description of the plugin 27 msgid "Lightweight cart sharing and saving for WooCommerce. Fully compatible with FSE themes and WooCommerce Cart Blocks." 28 msgstr "" 29 30 #. Author of the plugin 31 msgid "LeanPlugins" 32 msgstr "" 33 34 #: includes/class-ajax-actions.php:73 35 msgid "Cart name is required" 36 msgstr "" 37 38 #: includes/class-ajax-actions.php:89 39 msgid "Please log in to delete cart" 40 msgstr "" 41 42 #: includes/class-ajax-actions.php:94 43 msgid "Invalid cart ID" 44 msgstr "" 45 46 #: includes/class-ajax-actions.php:101 47 msgid "You are not authorized to delete this cart" 48 msgstr "" 49 50 #: includes/class-ajax-actions.php:108 51 #: includes/class-base.php:179 52 msgid "Cart deleted successfully!" 53 msgstr "" 54 55 #: includes/class-ajax-actions.php:108 56 msgid "Failed to delete cart" 57 msgstr "" 58 59 #: includes/class-assets-manager.php:95 60 msgid "Share Your Cart" 61 msgstr "" 62 63 #: includes/class-assets-manager.php:96 64 msgid "Save Your Cart" 65 msgstr "" 66 67 #: includes/class-assets-manager.php:97 68 msgid "Copy" 69 msgstr "" 70 71 #: includes/class-assets-manager.php:98 72 msgid "Close" 73 msgstr "" 74 75 #: includes/class-assets-manager.php:99 76 msgid "Save" 77 msgstr "" 78 79 #: includes/class-assets-manager.php:100 80 msgid "Cancel" 81 msgstr "" 82 83 #: includes/class-assets-manager.php:101 84 msgid "Enter cart name..." 85 msgstr "" 86 87 #: includes/class-assets-manager.php:102 88 msgid "Please enter a cart name" 89 msgstr "" 90 91 #: includes/class-assets-manager.php:103 92 msgid "Link copied to clipboard!" 93 msgstr "" 94 95 #: includes/class-base.php:88 96 msgid "Share Cart" 97 msgstr "" 98 99 #: includes/class-base.php:92 100 msgid "Save Cart" 101 msgstr "" 102 103 #: includes/class-base.php:130 104 #: templates/my-account/saved-carts.php:17 105 msgid "Saved Carts" 106 msgstr "" 107 108 #: includes/class-base.php:159 109 msgid "Security verification failed." 110 msgstr "" 111 112 #: includes/class-base.php:164 113 msgid "Please log in to delete cart." 114 msgstr "" 115 116 #: includes/class-base.php:172 117 msgid "You are not authorized to delete this cart." 118 msgstr "" 119 120 #: includes/class-base.php:181 121 msgid "Failed to delete cart." 122 msgstr "" 123 124 #: includes/class-cart-handler.php:153 125 #: includes/class-cart-handler.php:197 126 msgid "Cart is empty" 127 msgstr "" 128 129 #: includes/class-cart-handler.php:180 130 msgid "Failed to share cart" 131 msgstr "" 132 133 #: includes/class-cart-handler.php:191 134 msgid "Please log in to save cart" 135 msgstr "" 136 137 #: includes/class-cart-handler.php:216 138 msgid "Cart saved successfully!" 139 msgstr "" 140 141 #: includes/class-cart-handler.php:216 142 msgid "Failed to save cart" 143 msgstr "" 144 145 #: includes/class-deactivation-feedback.php:76 146 msgid "Sending..." 147 msgstr "" 148 149 #: includes/class-deactivation-feedback.php:89 150 msgid "I'm deactivating because" 151 msgstr "" 152 153 #: includes/class-deactivation-feedback.php:90 154 msgid "Type your reason here ... (optional)" 155 msgstr "" 156 157 #: includes/class-deactivation-feedback.php:93 158 msgid "I no longer need the plugin" 159 msgstr "" 160 161 #: includes/class-deactivation-feedback.php:97 162 msgid "I'm switching to a different plugin" 163 msgstr "" 164 165 #: includes/class-deactivation-feedback.php:98 166 msgid "Please share which plugin (optional)" 167 msgstr "" 168 169 #: includes/class-deactivation-feedback.php:101 170 msgid "I couldn't get the plugin to work" 171 msgstr "" 172 173 #: includes/class-deactivation-feedback.php:102 174 msgid "We're sorry to hear. Can you let us know what didn't work? (optional)" 175 msgstr "" 176 177 #: includes/class-deactivation-feedback.php:105 178 msgid "It's a temporary deactivation" 179 msgstr "" 180 181 #: includes/class-deactivation-feedback.php:154 182 msgid "Quick Feedback" 183 msgstr "" 184 185 #: includes/class-deactivation-feedback.php:155 186 msgid "If you have a moment, please share why you are deactivating this plugin:" 187 msgstr "" 188 189 #: includes/class-deactivation-feedback.php:156 190 msgid "Submit & Deactivate" 191 msgstr "" 192 193 #: includes/class-deactivation-feedback.php:157 194 msgid "Skip & Deactivate" 195 msgstr "" 196 197 #: includes/class-menu.php:60 198 #: includes/class-menu.php:61 199 msgid "Cart Share & Save" 200 msgstr "" 201 202 #: includes/class-menu.php:74 203 msgid "Settings" 204 msgstr "" 205 206 #: includes/class-settings-page.php:63 207 msgid "Cart Share Settings" 208 msgstr "" 209 210 #: includes/class-settings-page.php:70 211 msgid "Enable Share Cart" 212 msgstr "" 213 214 #: includes/class-settings-page.php:74 215 msgid "Allow users to share their cart" 216 msgstr "" 217 218 #: includes/class-settings-page.php:88 219 msgid "Share Expiry (Days)" 220 msgstr "" 221 222 #: includes/class-settings-page.php:92 223 msgid "Set to 0 for no expiration, or number of days before shared carts expire" 224 msgstr "" 225 226 #: includes/class-settings-page.php:98 227 msgid "Cart Save Settings" 228 msgstr "" 229 230 #: includes/class-settings-page.php:105 231 msgid "Enable Save Cart" 232 msgstr "" 233 234 #: includes/class-settings-page.php:109 235 msgid "Allow logged-in users to save their cart" 236 msgstr "" 237 238 #: includes/class-settings-page.php:115 239 msgid "Data Management" 240 msgstr "" 241 242 #: includes/class-settings-page.php:122 243 msgid "Delete All Data on Uninstall" 244 msgstr "" 245 246 #: includes/class-settings-page.php:126 247 msgid "Remove all saved & shared carts and plugin settings when the plugin is deleted.<br> This helps keep your database clean if you no longer plan to use the plugin." 248 msgstr "" 249 250 #: includes/class-settings-page.php:199 251 msgid "📢 Important: Fix 404 Errors" 252 msgstr "" 253 254 #: includes/class-settings-page.php:202 255 msgid "Share links require pretty permalinks. " 256 msgstr "" 257 258 #. translators: %s is a link to WordPress Settings → Permalinks page 259 #: includes/class-settings-page.php:207 260 msgid "If share links or My Account → Saved Carts show 404 errors: Go to %s and click \"Save Changes\" (no need to change anything). This refreshes WordPress URL rules and fixes 404 issues." 261 msgstr "" 262 263 #: includes/class-settings-page.php:208 264 msgid "Settings → Permalinks" 265 msgstr "" 266 267 #: includes/class-settings-page.php:210 268 msgid "Why this happens: WordPress needs to refresh URL routing when new link structures are added." 269 msgstr "" 270 271 #: includes/class-settings-page.php:286 272 msgid "Cart Share & Save Settings" 273 msgstr "" 274 275 #: includes/class-settings-page.php:291 276 msgid "Save Settings" 277 msgstr "" 278 279 #: includes/class-url-handler.php:100 280 msgid "Shared cart not found." 281 msgstr "" 282 283 #: includes/class-url-handler.php:107 284 msgid "This shared cart has expired." 285 msgstr "" 286 287 #: includes/class-url-handler.php:123 288 msgid "Shared cart loaded successfully!" 289 msgstr "" 290 291 #: includes/class-url-handler.php:125 292 msgid "Failed to load shared cart." 293 msgstr "" 294 295 #: lean-cart-share-and-save.php:34 296 msgid "Lean Cart Share and Save requires WooCommerce to be installed and active." 297 msgstr "" 298 299 #: templates/my-account/saved-carts.php:21 300 msgid "No saved carts found." 301 msgstr "" 302 303 #: templates/my-account/saved-carts.php:24 304 msgid "Start Shopping" 305 msgstr "" 306 307 #: templates/my-account/saved-carts.php:33 308 #: templates/my-account/saved-carts.php:46 309 msgid "Cart Name" 310 msgstr "" 311 312 #: templates/my-account/saved-carts.php:36 313 #: templates/my-account/saved-carts.php:49 314 msgid "Saved On" 315 msgstr "" 18 316 19 317 #: templates/my-account/saved-carts.php:39 … … 22 320 msgstr "" 23 321 24 #: includes/class-settings-page.php:119 25 msgid "Allow logged-in users to save their cart" 26 msgstr "" 27 28 #: includes/class-settings-page.php:84 29 msgid "Allow users to share their cart" 322 #: templates/my-account/saved-carts.php:57 323 msgid "Restore this cart" 324 msgstr "" 325 326 #: templates/my-account/saved-carts.php:58 327 msgid "Restore" 328 msgstr "" 329 330 #: templates/my-account/saved-carts.php:62 331 msgid "Delete this cart" 30 332 msgstr "" 31 333 32 334 #: templates/my-account/saved-carts.php:63 33 msgid "" 34 "Are you sure you want to delete this saved cart? This action cannot be " 35 "undone." 36 msgstr "" 37 38 #. Author of the plugin 39 msgid "AZPlugins" 40 msgstr "" 41 42 #: includes/class-assets-manager.php:92 43 msgid "Cancel" 44 msgstr "" 45 46 #: includes/class-ajax-actions.php:108 includes/class-base.php:157 47 msgid "Cart deleted successfully!" 48 msgstr "" 49 50 #: includes/class-cart-handler.php:153 includes/class-cart-handler.php:197 51 msgid "Cart is empty" 52 msgstr "" 53 54 #: templates/my-account/saved-carts.php:33 55 #: templates/my-account/saved-carts.php:46 56 msgid "Cart Name" 57 msgstr "" 58 59 #: includes/class-ajax-actions.php:73 60 msgid "Cart name is required" 61 msgstr "" 62 63 #: includes/class-settings-page.php:108 64 msgid "Cart Save Settings" 65 msgstr "" 66 67 #: includes/class-cart-handler.php:216 68 msgid "Cart saved successfully!" 69 msgstr "" 70 71 #: includes/class-settings-page.php:53 includes/class-settings-page.php:54 72 msgid "Cart Share & Save" 73 msgstr "" 74 75 #: includes/class-settings-page.php:296 76 msgid "Cart Share & Save Settings" 77 msgstr "" 78 79 #: includes/class-settings-page.php:73 80 msgid "Cart Share Settings" 81 msgstr "" 82 83 #: includes/class-assets-manager.php:90 84 msgid "Close" 85 msgstr "" 86 87 #: includes/class-assets-manager.php:89 88 msgid "Copy" 89 msgstr "" 90 91 #: includes/class-settings-page.php:125 92 msgid "Data Management" 335 msgid "Are you sure you want to delete this saved cart? This action cannot be undone." 93 336 msgstr "" 94 337 … … 96 339 msgid "Delete" 97 340 msgstr "" 98 99 #: includes/class-settings-page.php:132100 msgid "Delete All Data on Uninstall"101 msgstr ""102 103 #: templates/my-account/saved-carts.php:62104 msgid "Delete this cart"105 msgstr ""106 107 #: includes/class-settings-page.php:115108 msgid "Enable Save Cart"109 msgstr ""110 111 #: includes/class-settings-page.php:80112 msgid "Enable Share Cart"113 msgstr ""114 115 #: includes/class-assets-manager.php:93116 msgid "Enter cart name..."117 msgstr ""118 119 #: includes/class-ajax-actions.php:108120 msgid "Failed to delete cart"121 msgstr ""122 123 #: includes/class-base.php:159124 msgid "Failed to delete cart."125 msgstr ""126 127 #: includes/class-url-handler.php:125128 msgid "Failed to load shared cart."129 msgstr ""130 131 #: includes/class-cart-handler.php:216132 msgid "Failed to save cart"133 msgstr ""134 135 #: includes/class-cart-handler.php:180136 msgid "Failed to share cart"137 msgstr ""138 139 #. %s is a link to WordPress Settings → Permalinks page140 #: includes/class-settings-page.php:217141 #, php-format142 msgid ""143 "If share links or My Account → Saved Carts show 404 errors: Go to %s and "144 "click \"Save Changes\" (no need to change anything). This refreshes "145 "WordPress URL rules and fixes 404 issues."146 msgstr ""147 148 #: includes/class-ajax-actions.php:94149 msgid "Invalid cart ID"150 msgstr ""151 152 #. Name of the plugin153 msgid "Lean Cart Share and Save"154 msgstr ""155 156 #: lean-cart-share-and-save.php:34157 msgid ""158 "Lean Cart Share and Save requires WooCommerce to be installed and active."159 msgstr ""160 161 #. Description of the plugin162 msgid "Lightweight cart sharing and saving for WooCommerce"163 msgstr ""164 165 #: includes/class-assets-manager.php:95166 msgid "Link copied to clipboard!"167 msgstr ""168 169 #: templates/my-account/saved-carts.php:21170 msgid "No saved carts found."171 msgstr ""172 173 #: includes/class-assets-manager.php:94174 msgid "Please enter a cart name"175 msgstr ""176 177 #: includes/class-ajax-actions.php:89178 msgid "Please log in to delete cart"179 msgstr ""180 181 #: includes/class-base.php:142182 msgid "Please log in to delete cart."183 msgstr ""184 185 #: includes/class-cart-handler.php:191186 msgid "Please log in to save cart"187 msgstr ""188 189 #: includes/class-settings-page.php:136190 msgid ""191 "Remove all saved & shared carts and plugin settings when the plugin is "192 "deleted (unchecked by default). <br> This helps keep your database clean if "193 "you no longer plan to use the plugin."194 msgstr ""195 196 #: templates/my-account/saved-carts.php:58197 msgid "Restore"198 msgstr ""199 200 #: templates/my-account/saved-carts.php:57201 msgid "Restore this cart"202 msgstr ""203 204 #: includes/class-assets-manager.php:91205 msgid "Save"206 msgstr ""207 208 #: includes/class-base.php:81209 msgid "Save Cart"210 msgstr ""211 212 #: includes/class-settings-page.php:301213 msgid "Save Settings"214 msgstr ""215 216 #: includes/class-assets-manager.php:88217 msgid "Save Your Cart"218 msgstr ""219 220 #: includes/class-base.php:108 templates/my-account/saved-carts.php:17221 msgid "Saved Carts"222 msgstr ""223 224 #: templates/my-account/saved-carts.php:36225 #: templates/my-account/saved-carts.php:49226 msgid "Saved On"227 msgstr ""228 229 #: includes/class-base.php:137230 msgid "Security verification failed."231 msgstr ""232 233 #: includes/class-settings-page.php:102234 msgid ""235 "Set to 0 for no expiration, or number of days before shared carts expire"236 msgstr ""237 238 #: includes/class-settings-page.php:218239 msgid "Settings → Permalinks"240 msgstr ""241 242 #: includes/class-base.php:77243 msgid "Share Cart"244 msgstr ""245 246 #: includes/class-settings-page.php:98247 msgid "Share Expiry (Days)"248 msgstr ""249 250 #: includes/class-settings-page.php:212251 msgid "Share links require pretty permalinks. "252 msgstr ""253 254 #: includes/class-assets-manager.php:87255 msgid "Share Your Cart"256 msgstr ""257 258 #: includes/class-url-handler.php:123259 msgid "Shared cart loaded successfully!"260 msgstr ""261 262 #: includes/class-url-handler.php:100263 msgid "Shared cart not found."264 msgstr ""265 266 #: templates/my-account/saved-carts.php:24267 msgid "Start Shopping"268 msgstr ""269 270 #: includes/class-url-handler.php:107271 msgid "This shared cart has expired."272 msgstr ""273 274 #: includes/class-settings-page.php:220275 msgid ""276 "Why this happens: WordPress needs to refresh URL routing when new link "277 "structures are added."278 msgstr ""279 280 #: includes/class-ajax-actions.php:101281 msgid "You are not authorized to delete this cart"282 msgstr ""283 284 #: includes/class-base.php:150285 msgid "You are not authorized to delete this cart."286 msgstr ""287 288 #: includes/class-settings-page.php:209289 msgid "📢 Important: Fix 404 Errors"290 msgstr "" -
lean-cart-share-and-save/trunk/lean-cart-share-and-save.php
r3382502 r3388256 4 4 * Plugin URI: https://leanplugins.com/ 5 5 * Description: Lightweight cart sharing and saving for WooCommerce. Fully compatible with FSE themes and WooCommerce Cart Blocks. 6 * Version: 1.0. 46 * Version: 1.0.5 7 7 * Author: LeanPlugins 8 8 * Author URI: https://leanplugins.com/ … … 20 20 21 21 // Define plugin constants 22 define('LEAN_CSNS_VERSION', '1.0. 4');22 define('LEAN_CSNS_VERSION', '1.0.5'); 23 23 define('LEAN_CSNS_DB_VERSION', '1.0.0'); 24 24 define('LEAN_CSNS_PL_FILE', __FILE__); … … 58 58 'class-settings-page.php', 59 59 'class-ajax-actions.php', 60 'class-assets-manager.php' 60 'class-assets-manager.php', 61 'class-deactivation-feedback.php' 61 62 ]; 62 63 -
lean-cart-share-and-save/trunk/readme.txt
r3382502 r3388256 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 1.0. 47 Stable tag: 1.0.5 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 18 18 19 19 Lightweight, works with classic themes and modern FSE Cart Blocks, and helps reduce cart abandonment while enabling natural product sharing. 20 21 **[Learn More](https://leanplugins.com/wordpress-plugins/cart-share-and-save/)** 20 22 21 23 == Live Demo == … … 141 143 Go to Settings → Permalinks in your WordPress admin and click "Save Changes" (no need to change anything). This refreshes WordPress URL rules. 142 144 145 = Does this plugin use any third-party services? = 146 147 Yes. When you deactivate this plugin, a feedback modal appears. If you choose to submit feedback, these 5 pieces of information are sent to our server: 148 149 * Your deactivation reason (from the options provided) 150 * Your optional comment (if you write one) 151 * Plugin version 152 * WordPress version 153 * PHP version 154 155 This feedback helps us understand real-world issues and prioritize fixes. You can click "Skip & Deactivate" to skip feedback entirely. 156 157 **Service Used:** Supabase (https://supabase.com/) 158 **Privacy Policy:** https://supabase.com/privacy 159 **Terms of Service:** https://supabase.com/terms 160 161 The feedback is only sent when you click "Submit & Deactivate". Nothing is collected during normal plugin usage. 162 143 163 == Screenshots == 144 164 … … 151 171 152 172 == Changelog == 173 174 = 1.0.5 = 175 * New: Added Settings link to plugin action links 176 * Updated: Language translation file 153 177 154 178 = 1.0.4 =
Note: See TracChangeset
for help on using the changeset viewer.