Changeset 3327790
- Timestamp:
- 07/14/2025 07:44:28 PM (7 months ago)
- Location:
- woo-document-preview
- Files:
-
- 93 added
- 7 edited
-
tags/1.6.0 (added)
-
tags/1.6.0/.gitignore (added)
-
tags/1.6.0/LICENSE.txt (added)
-
tags/1.6.0/admin (added)
-
tags/1.6.0/admin/class-wc-document-preview-admin-feedback.php (added)
-
tags/1.6.0/admin/class-wc-document-preview-admin.php (added)
-
tags/1.6.0/admin/css (added)
-
tags/1.6.0/admin/css-rtl (added)
-
tags/1.6.0/admin/css-rtl/wc-document-preview-admin.css (added)
-
tags/1.6.0/admin/css-rtl/wc-document-preview-admin.css.map (added)
-
tags/1.6.0/admin/css-rtl/wc-document-preview-admin.min.css (added)
-
tags/1.6.0/admin/css/wc-document-preview-admin.css (added)
-
tags/1.6.0/admin/css/wc-document-preview-admin.min.css (added)
-
tags/1.6.0/admin/images (added)
-
tags/1.6.0/admin/images/general-pro.png (added)
-
tags/1.6.0/admin/images/wo_document_preview.png (added)
-
tags/1.6.0/admin/index.php (added)
-
tags/1.6.0/admin/js (added)
-
tags/1.6.0/admin/js/wc-document-preview-admin.js (added)
-
tags/1.6.0/admin/js/wc-document-preview-admin.min.js (added)
-
tags/1.6.0/admin/partials (added)
-
tags/1.6.0/admin/partials/woo-document-preview-faq.php (added)
-
tags/1.6.0/admin/partials/woo-document-preview-general-pro.php (added)
-
tags/1.6.0/admin/partials/woo-document-preview-welcome-page.php (added)
-
tags/1.6.0/admin/wbcom (added)
-
tags/1.6.0/admin/wbcom/assets (added)
-
tags/1.6.0/admin/wbcom/assets/css (added)
-
tags/1.6.0/admin/wbcom/assets/css-rtl (added)
-
tags/1.6.0/admin/wbcom/assets/css-rtl/wbcom-admin-setting.css (added)
-
tags/1.6.0/admin/wbcom/assets/css-rtl/wbcom-admin-setting.css.map (added)
-
tags/1.6.0/admin/wbcom/assets/css-rtl/wbcom-admin-setting.min.css (added)
-
tags/1.6.0/admin/wbcom/assets/css/wbcom-admin-setting.css (added)
-
tags/1.6.0/admin/wbcom/assets/css/wbcom-admin-setting.min.css (added)
-
tags/1.6.0/admin/wbcom/assets/js (added)
-
tags/1.6.0/admin/wbcom/assets/js/wbcom-admin-setting.js (added)
-
tags/1.6.0/admin/wbcom/assets/js/wbcom-admin-setting.min.js (added)
-
tags/1.6.0/admin/wbcom/templates (added)
-
tags/1.6.0/admin/wbcom/templates/wbcom-license-page.php (added)
-
tags/1.6.0/admin/wbcom/templates/wbcom-plugins-page.php (added)
-
tags/1.6.0/admin/wbcom/templates/wbcom-support-page.php (added)
-
tags/1.6.0/admin/wbcom/wbcom-admin-settings.php (added)
-
tags/1.6.0/gruntfile.js (added)
-
tags/1.6.0/includes (added)
-
tags/1.6.0/includes/class-wc-document-preview-activator.php (added)
-
tags/1.6.0/includes/class-wc-document-preview-deactivator.php (added)
-
tags/1.6.0/includes/class-wc-document-preview-i18n.php (added)
-
tags/1.6.0/includes/class-wc-document-preview-loader.php (added)
-
tags/1.6.0/includes/class-wc-document-preview.php (added)
-
tags/1.6.0/includes/index.php (added)
-
tags/1.6.0/index.php (added)
-
tags/1.6.0/languages (added)
-
tags/1.6.0/languages/wc-document-preview.pot (added)
-
tags/1.6.0/public (added)
-
tags/1.6.0/public/class-wc-document-preview-public.php (added)
-
tags/1.6.0/public/css (added)
-
tags/1.6.0/public/css-rtl (added)
-
tags/1.6.0/public/css-rtl/wc-document-preview-public.css (added)
-
tags/1.6.0/public/css-rtl/wc-document-preview-public.css.map (added)
-
tags/1.6.0/public/css-rtl/wc-document-preview-public.min.css (added)
-
tags/1.6.0/public/css/wc-document-preview-public.css (added)
-
tags/1.6.0/public/css/wc-document-preview-public.min.css (added)
-
tags/1.6.0/public/index.php (added)
-
tags/1.6.0/public/js (added)
-
tags/1.6.0/public/js/wc-document-preview-public.js (added)
-
tags/1.6.0/public/js/wc-document-preview-public.min.js (added)
-
tags/1.6.0/readme.txt (added)
-
tags/1.6.0/screenshot-1.png (added)
-
tags/1.6.0/screenshot-2.png (added)
-
tags/1.6.0/screenshot-3.png (added)
-
tags/1.6.0/uninstall.php (added)
-
tags/1.6.0/woo-product-document-preview.php (added)
-
trunk/.gitignore (added)
-
trunk/admin/class-wc-document-preview-admin.php (modified) (5 diffs)
-
trunk/admin/css-rtl (added)
-
trunk/admin/css-rtl/wc-document-preview-admin.css (added)
-
trunk/admin/css-rtl/wc-document-preview-admin.css.map (added)
-
trunk/admin/css-rtl/wc-document-preview-admin.min.css (added)
-
trunk/admin/css/wc-document-preview-admin.min.css (added)
-
trunk/admin/js/wc-document-preview-admin.js (modified) (1 diff)
-
trunk/admin/js/wc-document-preview-admin.min.js (added)
-
trunk/admin/wbcom/assets/css-rtl (added)
-
trunk/admin/wbcom/assets/css-rtl/wbcom-admin-setting.css (added)
-
trunk/admin/wbcom/assets/css-rtl/wbcom-admin-setting.css.map (added)
-
trunk/admin/wbcom/assets/css-rtl/wbcom-admin-setting.min.css (added)
-
trunk/admin/wbcom/assets/css/wbcom-admin-setting.min.css (added)
-
trunk/admin/wbcom/assets/js/wbcom-admin-setting.min.js (added)
-
trunk/admin/wbcom/wbcom-admin-settings.php (modified) (2 diffs)
-
trunk/gruntfile.js (added)
-
trunk/languages/wc-document-preview.pot (modified) (83 diffs)
-
trunk/package-lock.json (added)
-
trunk/package.json (added)
-
trunk/public/class-wc-document-preview-public.php (modified) (3 diffs)
-
trunk/public/css-rtl (added)
-
trunk/public/css-rtl/wc-document-preview-public.css (added)
-
trunk/public/css-rtl/wc-document-preview-public.css.map (added)
-
trunk/public/css-rtl/wc-document-preview-public.min.css (added)
-
trunk/public/css/wc-document-preview-public.min.css (added)
-
trunk/public/js/wc-document-preview-public.min.js (added)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/woo-product-document-preview.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woo-document-preview/trunk/admin/class-wc-document-preview-admin.php
r3311902 r3327790 140 140 // Only load on product pages and plugin settings pages 141 141 if ( $screen && ( 'product' === $screen->post_type || strpos( $screen->id, 'woo-document-preview' ) !== false ) ) { 142 wp_enqueue_style( 143 $this->plugin_name, 144 plugin_dir_url( __FILE__ ) . 'css/wc-document-preview-admin.css', 145 array(), 146 $this->version, 147 'all' 148 ); 142 143 $css_file = $this->get_asset_filename('css', 'wc-document-preview-admin'); 144 if ($css_file) { 145 wp_enqueue_style( 146 $this->plugin_name, 147 plugin_dir_url(__FILE__) . $css_file, 148 array(), 149 $this->version, 150 'all' 151 ); 152 } 149 153 } 150 154 } … … 160 164 // Only load on product edit pages and faq section 161 165 if ( ( $screen && ( 'product' === $screen->post_type ) || ( isset( $_GET['tab'] ) && ( 'woo-document-preview-faq' === $_GET['tab'] ) ) ) ) { //phpcs:ignore 162 wp_enqueue_script( 163 $this->plugin_name, 164 plugin_dir_url( __FILE__ ) . 'js/wc-document-preview-admin.js', 165 array( 'jquery', 'media-upload' ), 166 $this->version, 167 false 168 ); 169 170 // Enhanced localize script with embeddable URL support 171 wp_localize_script( 172 $this->plugin_name, 173 'wcdp_ajax_object', 174 array( 175 'ajax_url' => admin_url( 'admin-ajax.php' ), 176 'nonce' => wp_create_nonce( 'ajax-nonce' ), 177 'allowed_types' => $this->allowed_file_types, 178 'embeddable_patterns' => $this->get_embeddable_patterns_for_js(), 179 'error_messages' => array( 180 'invalid_file_type' => __( 'Invalid file type. Supported formats: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, TXT, or direct links from Google Docs/Sheets, OneDrive, Dropbox.', 'wc-document-preview' ), 181 'file_required' => __( 'Please select a file or enter a file URL.', 'wc-document-preview' ), 182 'name_required' => __( 'Document name is required.', 'wc-document-preview' ), 183 'url_invalid' => __( 'Please enter a valid URL.', 'wc-document-preview' ), 184 'file_too_large' => __( 'File size is too large. Maximum allowed size is 50MB.', 'wc-document-preview' ), 185 'embeddable_detected' => __( 'Embeddable link detected! This will work great for preview.', 'wc-document-preview' ), 186 ), 187 'supported_services' => $this->get_supported_services_info(), 188 ) 189 ); 166 167 $js_file = $this->get_asset_filename('js', 'wc-document-preview-admin'); 168 if ($js_file) { 169 wp_enqueue_script( 170 $this->plugin_name, 171 plugin_dir_url(__FILE__) . $js_file, 172 array('jquery', 'media-upload'), 173 $this->version, 174 false 175 ); 176 // Enhanced localize script with embeddable URL support 177 wp_localize_script( 178 $this->plugin_name, 179 'wcdp_ajax_object', 180 array( 181 'ajax_url' => admin_url( 'admin-ajax.php' ), 182 'nonce' => wp_create_nonce( 'ajax-nonce' ), 183 'allowed_types' => $this->allowed_file_types, 184 'embeddable_patterns' => $this->get_embeddable_patterns_for_js(), 185 'error_messages' => array( 186 'invalid_file_type' => __( 'Invalid file type. Supported formats: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, TXT, or direct links from Google Docs/Sheets, OneDrive, Dropbox.', 'wc-document-preview' ), 187 'file_required' => __( 'Please select a file or enter a file URL.', 'wc-document-preview' ), 188 'name_required' => __( 'Document name is required.', 'wc-document-preview' ), 189 'url_invalid' => __( 'Please enter a valid URL.', 'wc-document-preview' ), 190 'file_too_large' => __( 'File size is too large. Maximum allowed size is 50MB.', 'wc-document-preview' ), 191 'embeddable_detected' => __( 'Embeddable link detected! This will work great for preview.', 'wc-document-preview' ), 192 ), 193 'supported_services' => $this->get_supported_services_info(), 194 ) 195 ); 196 } 190 197 } 191 198 } … … 496 503 name="wcdp_documents[wcdp_file_names][]" 497 504 value="<?php echo esc_attr( isset( $wcdp_documents['wcdp_file_names'][ $key ] ) ? $wcdp_documents['wcdp_file_names'][ $key ] : '' ); ?>" 498 type="text" 499 required> 505 type="text"> 500 506 </td> 501 507 <td class="file_url" data-label="<?php esc_attr_e( 'File URL', 'wc-document-preview' ); ?>"> … … 534 540 name="wcdp_documents[wcdp_file_names][]" 535 541 value="" 536 type="text" 537 required> 542 type="text"> 538 543 </td> 539 544 <td class="file_url" data-label="<?php esc_attr_e( 'File URL', 'wc-document-preview' ); ?>"> … … 843 848 wp_die( esc_html__( 'Document reference deleted successfully.', 'wc-document-preview' ) ); 844 849 } 850 851 /** 852 * Get asset filename with intelligent fallback 853 * 854 * @since 1.6.0 855 * @param string $type Asset type ('css' or 'js') 856 * @param string $filename Base filename without extension 857 * @return string|false Full filename with path or false if not found 858 */ 859 private function get_asset_filename($type, $filename) { 860 // Determine if we should use minified files 861 $use_minified = !(defined('SCRIPT_DEBUG') && SCRIPT_DEBUG); 862 863 // Determine if RTL is needed (only for CSS) 864 $is_rtl = ($type === 'css') ? is_rtl() : false; 865 866 // Build the base directory path 867 $base_dir = plugin_dir_path(__FILE__) . $type . '/'; 868 $actual_type = $type; 869 $actual_base_dir = $base_dir; 870 871 872 // Array of file variants to try in order of preference 873 $variants = array(); 874 875 if ($type === 'css') { 876 if ($is_rtl && $use_minified) { 877 $variants[] = $filename . '.min.css'; // 1st preference: RTL minified 878 $variants[] = $filename . '.css'; // 2nd preference: RTL non-minified 879 } elseif ($is_rtl && !$use_minified) { 880 $variants[] = $filename . '.css'; // 1st preference: RTL non-minified 881 } elseif (!$is_rtl && $use_minified) { 882 $variants[] = $filename . '.min.css'; // 1st preference: LTR minified 883 $variants[] = $filename . '.css'; // 2nd preference: LTR non-minified 884 } else { 885 $variants[] = $filename . '.css'; // 1st preference: LTR non-minified 886 } 887 } else { // JavaScript 888 if ($use_minified) { 889 $variants[] = $filename . '.min.js'; // 1st preference: minified 890 $variants[] = $filename . '.js'; // 2nd preference: non-minified 891 } else { 892 $variants[] = $filename . '.js'; // 1st preference: non-minified 893 } 894 } 895 if ($type === 'css' && $is_rtl ) { 896 $actual_type = 'css-rtl'; 897 $actual_base_dir = plugin_dir_path(__FILE__) . 'css-rtl/'; 898 } 899 900 // Check each variant in order 901 foreach ($variants as $variant) { 902 if (file_exists($actual_base_dir . $variant)) { 903 904 // Log which file is being used in debug mode 905 if (defined('WP_DEBUG') && WP_DEBUG && defined('WP_DEBUG_LOG') && WP_DEBUG_LOG) { 906 error_log(sprintf( 907 'WCAP Asset: Loading %s file: %s (RTL: %s, Debug: %s)', 908 $actual_type, 909 $variant, 910 $is_rtl ? 'yes' : 'no', 911 !$use_minified ? 'yes' : 'no' 912 )); 913 } 914 915 return $actual_type . '/' . $variant; 916 } 917 } 918 919 // No valid file found - log error 920 if (defined('WP_DEBUG') && WP_DEBUG) { 921 error_log(sprintf( 922 'WCAP Asset Error: No %s file found for %s (tried: %s)', 923 $actual_type, 924 $filename, 925 implode(', ', $variants) 926 )); 927 } 928 929 return false; 930 } 845 931 } -
woo-document-preview/trunk/admin/js/wc-document-preview-admin.js
r3311902 r3327790 270 270 name="wcdp_documents[wcdp_file_names][]" 271 271 value="" 272 type="text" 273 required> 272 type="text"> 274 273 </td> 275 274 <td class="file_url" data-label="File URL"> -
woo-document-preview/trunk/admin/wbcom/wbcom-admin-settings.php
r3311902 r3327790 177 177 wp_enqueue_style( 'font-awesome', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css' ); 178 178 } 179 if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) { 180 $js_extension = '.js'; 181 } else { 182 $js_extension = '.min.js'; 183 } 179 184 if ( ! wp_script_is( 'wbcom_admin_setting_js', 'enqueued' ) ) { 180 185 181 186 wp_register_script( 182 187 'wbcom_admin_setting_js', 183 WOO_DOCUMENT_PREVIEW_URL . 'admin/wbcom/assets/js/wbcom-admin-setting .js',188 WOO_DOCUMENT_PREVIEW_URL . 'admin/wbcom/assets/js/wbcom-admin-setting'.$js_extension, 184 189 array( 'jquery' ), 185 190 time(), … … 200 205 } 201 206 207 $rtl_css = is_rtl() ? '-rtl' : ''; 208 209 if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) { 210 $css_extension = '.css'; 211 } else { 212 $css_extension = '.min.css'; 213 } 214 if(is_rtl()){ 215 $css_extension = '.css'; 216 } 217 202 218 if ( ! wp_style_is( 'wbcom-admin-setting-css', 'enqueued' ) ) { 203 wp_enqueue_style( 'wbcom-admin-setting-css', WOO_DOCUMENT_PREVIEW_URL . 'admin/wbcom/assets/css /wbcom-admin-setting.css');219 wp_enqueue_style( 'wbcom-admin-setting-css', WOO_DOCUMENT_PREVIEW_URL . 'admin/wbcom/assets/css'.$rtl_css.'/wbcom-admin-setting'.$css_extension); 204 220 } 205 221 } -
woo-document-preview/trunk/languages/wc-document-preview.pot
r3311902 r3327790 1 # Copyright (C) 2025 2 # This file is distributed under the same license as the package.1 # Copyright (C) 2025 Wbcom Designs <[email protected]> 2 # This file is distributed under the GPL-2.0+. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: \n" 6 "Report-Msgid-Bugs-To: \n" 7 "POT-Creation-Date: 2025-06-13 07:30:37+00:00\n" 5 "Project-Id-Version: Document Preview For WooCommerce 1.5.0\n" 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woo-document-preview\n" 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 8 "Language-Team: LANGUAGE <[email protected]>\n" 8 9 "MIME-Version: 1.0\n" 9 "Content-Type: text/plain; charset= utf-8\n"10 "Content-Type: text/plain; charset=UTF-8\n" 10 11 "Content-Transfer-Encoding: 8bit\n" 11 "PO-Revision-Date: 2025-MO-DA HO:MI+ZONE\n" 12 "Last-Translator: Varun Dubey\n" 13 "Language-Team: Wbcom Designs\n" 14 "Language: en\n" 15 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 16 "X-Poedit-Country: United States\n" 17 "X-Poedit-SourceCharset: UTF-8\n" 18 "X-Poedit-KeywordsList: " 19 "__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_" 20 "attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n" 21 "X-Poedit-Basepath: ../\n" 22 "X-Poedit-SearchPath-0: .\n" 23 "X-Poedit-Bookmarks: \n" 24 "X-Textdomain-Support: yes\n" 25 "X-Generator: grunt-wp-i18n 1.0.3\n" 12 "POT-Creation-Date: 2025-06-18T18:51:17+05:30\n" 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2.12.0\n" 15 "X-Domain: wc-document-preview\n" 16 17 #. Plugin Name of the plugin 18 #: woo-product-document-preview.php 19 msgid "Document Preview For WooCommerce" 20 msgstr "" 21 22 #. Plugin URI of the plugin 23 #. Author URI of the plugin 24 #: woo-product-document-preview.php 25 msgid "http://wbcomdesigns.com" 26 msgstr "" 27 28 #. Description of the plugin 29 #: woo-product-document-preview.php 30 msgid "Woo Document Preview lets you display a document preview on the single product page, helping customers better understand your offerings when selling eBooks, PDFs, or other digital documents." 31 msgstr "" 32 33 #. Author of the plugin 34 #: woo-product-document-preview.php 35 msgid "Wbcom Designs <[email protected]>" 36 msgstr "" 26 37 27 38 #: admin/class-wc-document-preview-admin-feedback.php:84 … … 29 40 msgstr "" 30 41 42 #. translators: Number of years 31 43 #: admin/class-wc-document-preview-admin-feedback.php:93 32 # . translators: Number of years44 #, php-format 33 45 msgid "%s years" 34 46 msgstr "" … … 38 50 msgstr "" 39 51 52 #. translators: Number of weeks 40 53 #: admin/class-wc-document-preview-admin-feedback.php:102 41 # . translators: Number of weeks54 #, php-format 42 55 msgid "%s weeks" 43 56 msgstr "" … … 47 60 msgstr "" 48 61 62 #. translators: Number of days 49 63 #: admin/class-wc-document-preview-admin-feedback.php:111 50 # . translators: Number of days64 #, php-format 51 65 msgid "%s days" 52 66 msgstr "" … … 56 70 msgstr "" 57 71 72 #. translators: Number of hours 58 73 #: admin/class-wc-document-preview-admin-feedback.php:120 59 # . translators: Number of hours74 #, php-format 60 75 msgid "%s hours" 61 76 msgstr "" … … 65 80 msgstr "" 66 81 82 #. translators: Number of minutes 67 83 #: admin/class-wc-document-preview-admin-feedback.php:129 68 # . translators: Number of minutes84 #, php-format 69 85 msgid "%s minutes" 70 86 msgstr "" … … 74 90 msgstr "" 75 91 92 #. translators: Number of seconds 76 93 #: admin/class-wc-document-preview-admin-feedback.php:138 77 # . translators: Number of seconds94 #, php-format 78 95 msgid "%s seconds" 79 96 msgstr "" … … 88 105 89 106 #: admin/class-wc-document-preview-admin-feedback.php:194 90 #: admin/class-wc-document-preview-admin.php:2 8891 #: admin/class-wc-document-preview-admin.php:40 092 #: admin/class-wc-document-preview-admin.php:40 1107 #: admin/class-wc-document-preview-admin.php:295 108 #: admin/class-wc-document-preview-admin.php:407 109 #: admin/class-wc-document-preview-admin.php:408 93 110 #: admin/wbcom/templates/wbcom-license-page.php:9 94 111 #: woo-product-document-preview.php:101 … … 100 117 msgstr "" 101 118 119 #. translators: 1. Plugin name, 2. Time elapsed 102 120 #: admin/class-wc-document-preview-admin-feedback.php:210 103 #. translators: 1. Plugin name, 2. Time elapsed 104 msgid "" 105 "You've been using %1$s for %2$s now! Could you please do us a big favor and " 106 "give it a 5-star rating on WordPress? This helps us spread the word and " 107 "boost our motivation to keep improving the plugin." 121 #, php-format 122 msgid "You've been using %1$s for %2$s now! Could you please do us a big favor and give it a 5-star rating on WordPress? This helps us spread the word and boost our motivation to keep improving the plugin." 108 123 msgstr "" 109 124 … … 128 143 msgstr "" 129 144 130 #: admin/class-wc-document-preview-admin.php:180 131 msgid "" 132 "Invalid file type. Supported formats: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, " 133 "TXT, or direct links from Google Docs/Sheets, OneDrive, Dropbox." 134 msgstr "" 135 136 #: admin/class-wc-document-preview-admin.php:181 145 #: admin/class-wc-document-preview-admin.php:186 146 msgid "Invalid file type. Supported formats: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, TXT, or direct links from Google Docs/Sheets, OneDrive, Dropbox." 147 msgstr "" 148 149 #: admin/class-wc-document-preview-admin.php:187 137 150 msgid "Please select a file or enter a file URL." 138 151 msgstr "" 139 152 140 #: admin/class-wc-document-preview-admin.php:18 2153 #: admin/class-wc-document-preview-admin.php:188 141 154 msgid "Document name is required." 142 155 msgstr "" 143 156 144 #: admin/class-wc-document-preview-admin.php:18 3145 #: admin/class-wc-document-preview-admin.php:6 17157 #: admin/class-wc-document-preview-admin.php:189 158 #: admin/class-wc-document-preview-admin.php:624 146 159 msgid "Please enter a valid URL." 147 160 msgstr "" 148 161 149 #: admin/class-wc-document-preview-admin.php:1 84162 #: admin/class-wc-document-preview-admin.php:190 150 163 msgid "File size is too large. Maximum allowed size is 50MB." 151 164 msgstr "" 152 165 153 #: admin/class-wc-document-preview-admin.php:1 85166 #: admin/class-wc-document-preview-admin.php:191 154 167 msgid "Embeddable link detected! This will work great for preview." 155 168 msgstr "" 156 169 157 #: admin/class-wc-document-preview-admin.php:2 89170 #: admin/class-wc-document-preview-admin.php:296 158 171 #: admin/wbcom/templates/wbcom-license-page.php:10 172 #, php-format 159 173 msgid "Version %s" 160 174 msgstr "" 161 175 162 #: admin/class-wc-document-preview-admin.php:3 15163 #: admin/class-wc-document-preview-admin.php:39 2164 #: admin/class-wc-document-preview-admin.php: 393176 #: admin/class-wc-document-preview-admin.php:322 177 #: admin/class-wc-document-preview-admin.php:399 178 #: admin/class-wc-document-preview-admin.php:400 165 179 msgid "Welcome" 166 180 msgstr "" 167 181 168 #: admin/class-wc-document-preview-admin.php:3 19182 #: admin/class-wc-document-preview-admin.php:326 169 183 msgid "General (PRO)" 170 184 msgstr "" 171 185 172 #: admin/class-wc-document-preview-admin.php:32 2186 #: admin/class-wc-document-preview-admin.php:329 173 187 msgid "FAQ" 174 188 msgstr "" 175 189 176 #: admin/class-wc-document-preview-admin.php:38 2177 #: admin/class-wc-document-preview-admin.php:3 83190 #: admin/class-wc-document-preview-admin.php:389 191 #: admin/class-wc-document-preview-admin.php:390 178 192 msgid "WB Plugins" 179 193 msgstr "" 180 194 181 #: admin/class-wc-document-preview-admin.php:425 182 msgid "" 183 "Preview Documents <span class=\"wcdp-required-span\">(Supports: PDF, DOC, " 184 "DOCX, XLS, XLSX, PPT, PPTX, TXT files, or direct links from Google Docs, " 185 "Sheets, OneDrive, Dropbox)</span>" 186 msgstr "" 187 188 #: admin/class-wc-document-preview-admin.php:472 189 #: admin/class-wc-document-preview-admin.php:495 190 #: admin/class-wc-document-preview-admin.php:533 195 #: admin/class-wc-document-preview-admin.php:432 196 msgid "Preview Documents <span class=\"wcdp-required-span\">(Supports: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, TXT files, or direct links from Google Docs, Sheets, OneDrive, Dropbox)</span>" 197 msgstr "" 198 199 #: admin/class-wc-document-preview-admin.php:479 200 #: admin/class-wc-document-preview-admin.php:502 201 #: admin/class-wc-document-preview-admin.php:540 191 202 msgid "Document Name" 192 203 msgstr "" 193 204 194 #: admin/class-wc-document-preview-admin.php:4 73205 #: admin/class-wc-document-preview-admin.php:480 195 206 msgid "Enter a descriptive name for the document" 196 207 msgstr "" 197 208 198 #: admin/class-wc-document-preview-admin.php:4 76209 #: admin/class-wc-document-preview-admin.php:483 199 210 msgid "File URL or Sharing Link" 200 211 msgstr "" 201 212 202 #: admin/class-wc-document-preview-admin.php:477 203 msgid "" 204 "Upload a file, enter a file URL, or paste a sharing link from Google Docs, " 205 "OneDrive, or Dropbox" 206 msgstr "" 207 208 #: admin/class-wc-document-preview-admin.php:479 213 #: admin/class-wc-document-preview-admin.php:484 214 msgid "Upload a file, enter a file URL, or paste a sharing link from Google Docs, OneDrive, or Dropbox" 215 msgstr "" 216 217 #: admin/class-wc-document-preview-admin.php:486 209 218 msgid "Upload File" 210 219 msgstr "" 211 220 212 #: admin/class-wc-document-preview-admin.php:49 2213 #: admin/class-wc-document-preview-admin.php:53 0221 #: admin/class-wc-document-preview-admin.php:499 222 #: admin/class-wc-document-preview-admin.php:537 214 223 msgid "Sort" 215 224 msgstr "" 216 225 217 #: admin/class-wc-document-preview-admin.php: 493218 #: admin/class-wc-document-preview-admin.php:53 1226 #: admin/class-wc-document-preview-admin.php:500 227 #: admin/class-wc-document-preview-admin.php:538 219 228 msgid "Name" 220 229 msgstr "" 221 230 222 #: admin/class-wc-document-preview-admin.php:50 1223 #: admin/class-wc-document-preview-admin.php:5 39231 #: admin/class-wc-document-preview-admin.php:508 232 #: admin/class-wc-document-preview-admin.php:546 224 233 msgid "File URL" 225 234 msgstr "" 226 235 227 #: admin/class-wc-document-preview-admin.php:5 03228 #: admin/class-wc-document-preview-admin.php:54 1236 #: admin/class-wc-document-preview-admin.php:510 237 #: admin/class-wc-document-preview-admin.php:548 229 238 msgid "Upload file, enter URL, or paste sharing link" 230 msgstr ""231 232 #: admin/class-wc-document-preview-admin.php:513233 #: admin/class-wc-document-preview-admin.php:546234 msgid "Upload"235 msgstr ""236 237 #: admin/class-wc-document-preview-admin.php:514238 #: admin/class-wc-document-preview-admin.php:547239 msgid "Choose File"240 msgstr ""241 242 #: admin/class-wc-document-preview-admin.php:516243 #: admin/class-wc-document-preview-admin.php:549244 msgid "Actions"245 msgstr ""246 247 #: admin/class-wc-document-preview-admin.php:517248 #: admin/class-wc-document-preview-admin.php:550249 msgid "Add a new document"250 msgstr ""251 252 #: admin/class-wc-document-preview-admin.php:518253 #: admin/class-wc-document-preview-admin.php:551254 msgid "Add"255 239 msgstr "" 256 240 257 241 #: admin/class-wc-document-preview-admin.php:520 258 242 #: admin/class-wc-document-preview-admin.php:553 259 msgid " Remove this document"243 msgid "Upload" 260 244 msgstr "" 261 245 262 246 #: admin/class-wc-document-preview-admin.php:521 263 247 #: admin/class-wc-document-preview-admin.php:554 248 msgid "Choose File" 249 msgstr "" 250 251 #: admin/class-wc-document-preview-admin.php:523 252 #: admin/class-wc-document-preview-admin.php:556 253 msgid "Actions" 254 msgstr "" 255 256 #: admin/class-wc-document-preview-admin.php:524 257 #: admin/class-wc-document-preview-admin.php:557 258 msgid "Add a new document" 259 msgstr "" 260 261 #: admin/class-wc-document-preview-admin.php:525 262 #: admin/class-wc-document-preview-admin.php:558 263 msgid "Add" 264 msgstr "" 265 266 #: admin/class-wc-document-preview-admin.php:527 267 #: admin/class-wc-document-preview-admin.php:560 268 msgid "Remove this document" 269 msgstr "" 270 271 #: admin/class-wc-document-preview-admin.php:528 272 #: admin/class-wc-document-preview-admin.php:561 264 273 msgid "Remove" 265 274 msgstr "" 266 275 267 #: admin/class-wc-document-preview-admin.php:571 268 msgid "" 269 "Add document previews for your product. Customers will be able to preview " 270 "these documents before purchasing. Supports traditional file uploads and " 271 "direct embedding from popular cloud services." 272 msgstr "" 273 274 #: admin/class-wc-document-preview-admin.php:611 276 #: admin/class-wc-document-preview-admin.php:578 277 msgid "Add document previews for your product. Customers will be able to preview these documents before purchasing. Supports traditional file uploads and direct embedding from popular cloud services." 278 msgstr "" 279 280 #: admin/class-wc-document-preview-admin.php:618 275 281 msgid "File URL cannot be empty." 276 282 msgstr "" 277 283 278 #: admin/class-wc-document-preview-admin.php:628 284 #: admin/class-wc-document-preview-admin.php:635 285 #, php-format 279 286 msgid "Embeddable %s link detected and validated." 280 287 msgstr "" 281 288 282 #: admin/class-wc-document-preview-admin.php:638 283 msgid "" 284 "Invalid file type. Supported formats: %s, or direct links from Google " 285 "Docs/Sheets, OneDrive, Dropbox." 286 msgstr "" 287 288 #: admin/class-wc-document-preview-admin.php:649 289 #: admin/class-wc-document-preview-admin.php:645 290 #, php-format 291 msgid "Invalid file type. Supported formats: %s, or direct links from Google Docs/Sheets, OneDrive, Dropbox." 292 msgstr "" 293 294 #: admin/class-wc-document-preview-admin.php:656 289 295 msgid "Invalid MIME type. Please upload a valid document file." 290 296 msgstr "" 291 297 292 #: admin/class-wc-document-preview-admin.php:73 1298 #: admin/class-wc-document-preview-admin.php:738 293 299 msgid "Document name is required for all files." 294 300 msgstr "" 295 301 296 #: admin/class-wc-document-preview-admin.php:737 302 #: admin/class-wc-document-preview-admin.php:744 303 #, php-format 297 304 msgid "File URL is required for document: %s" 298 305 msgstr "" 299 306 300 #: admin/class-wc-document-preview-admin.php:744 307 #: admin/class-wc-document-preview-admin.php:751 308 #, php-format 301 309 msgid "Error with document \"%s\": %s" 302 310 msgstr "" 303 311 304 #: admin/class-wc-document-preview-admin.php:756 312 #: admin/class-wc-document-preview-admin.php:763 313 #, php-format 305 314 msgid "Successfully added %s document: %s" 306 315 msgstr "" 307 316 308 #: admin/class-wc-document-preview-admin.php:78 2317 #: admin/class-wc-document-preview-admin.php:789 309 318 msgid "Document previews saved successfully." 310 319 msgstr "" 311 320 312 #: admin/class-wc-document-preview-admin.php:7 87321 #: admin/class-wc-document-preview-admin.php:794 313 322 msgid "No valid documents found. Document previews have been removed." 314 323 msgstr "" 315 324 316 #: admin/class-wc-document-preview-admin.php:80 1325 #: admin/class-wc-document-preview-admin.php:808 317 326 msgid "Security check failed." 318 327 msgstr "" 319 328 320 #: admin/class-wc-document-preview-admin.php:8 06329 #: admin/class-wc-document-preview-admin.php:813 321 330 msgid "You do not have permission to perform this action." 322 331 msgstr "" 323 332 324 #: admin/class-wc-document-preview-admin.php:8 13333 #: admin/class-wc-document-preview-admin.php:820 325 334 msgid "Invalid request parameters." 326 335 msgstr "" 327 336 328 #: admin/class-wc-document-preview-admin.php:8 18337 #: admin/class-wc-document-preview-admin.php:825 329 338 msgid "You do not have permission to edit this product." 330 339 msgstr "" 331 340 332 #: admin/class-wc-document-preview-admin.php:83 2341 #: admin/class-wc-document-preview-admin.php:839 333 342 msgid "Failed to delete file." 334 343 msgstr "" 335 344 336 #: admin/class-wc-document-preview-admin.php:8 43345 #: admin/class-wc-document-preview-admin.php:850 337 346 msgid "Document reference deleted successfully." 338 347 msgstr "" … … 343 352 344 353 #: admin/partials/woo-document-preview-faq.php:24 345 msgid "" 346 "Find answers to the most common questions about the Woo Document Preview " 347 "plugin." 354 msgid "Find answers to the most common questions about the Woo Document Preview plugin." 348 355 msgstr "" 349 356 … … 353 360 354 361 #: admin/partials/woo-document-preview-faq.php:39 355 msgid "" 356 "Yes, this plugin requires WooCommerce to be installed and activated. The " 357 "plugin adds document preview functionality specifically to WooCommerce " 358 "product pages." 362 msgid "Yes, this plugin requires WooCommerce to be installed and activated. The plugin adds document preview functionality specifically to WooCommerce product pages." 359 363 msgstr "" 360 364 … … 408 412 409 413 #: admin/partials/woo-document-preview-faq.php:67 410 msgid "" 411 "The preview button will automatically appear on your product page for " 412 "customers to use." 414 msgid "The preview button will automatically appear on your product page for customers to use." 413 415 msgstr "" 414 416 … … 438 440 439 441 #: admin/partials/woo-document-preview-faq.php:95 440 msgid "" 441 "Files are displayed using Google Docs Viewer (for PDF, Word) and Microsoft " 442 "Office Online (for Excel files)." 442 msgid "Files are displayed using Google Docs Viewer (for PDF, Word) and Microsoft Office Online (for Excel files)." 443 443 msgstr "" 444 444 … … 448 448 449 449 #: admin/partials/woo-document-preview-faq.php:108 450 msgid "" 451 "The preview functionality is designed to show documents without allowing " 452 "direct downloads. However, the behavior depends on the viewer service used:" 450 msgid "The preview functionality is designed to show documents without allowing direct downloads. However, the behavior depends on the viewer service used:" 453 451 msgstr "" 454 452 … … 470 468 471 469 #: admin/partials/woo-document-preview-faq.php:113 472 msgid "" 473 "For better download control, consider using a separate download management " 474 "plugin alongside this preview plugin." 470 msgid "For better download control, consider using a separate download management plugin alongside this preview plugin." 475 471 msgstr "" 476 472 … … 600 596 601 597 #: admin/partials/woo-document-preview-faq.php:187 602 msgid "" 603 "Still having issues? Contact our support team with specific details about " 604 "the problem." 598 msgid "Still having issues? Contact our support team with specific details about the problem." 605 599 msgstr "" 606 600 … … 610 604 611 605 #: admin/partials/woo-document-preview-faq.php:200 612 msgid "" 613 "The free version provides core document preview functionality. For advanced " 614 "features, consider our Pro version or custom development:" 606 msgid "The free version provides core document preview functionality. For advanced features, consider our Pro version or custom development:" 615 607 msgstr "" 616 608 … … 644 636 645 637 #: admin/partials/woo-document-preview-faq.php:214 646 msgid "" 647 "Need specific functionality? Our development team can create custom " 648 "solutions tailored to your business needs." 638 msgid "Need specific functionality? Our development team can create custom solutions tailored to your business needs." 649 639 msgstr "" 650 640 … … 716 706 717 707 #: admin/partials/woo-document-preview-welcome-page.php:16 718 msgid "" 719 "Woo Document Preview enables you to add a document preview directly to a " 720 "single product page, making it ideal for showcasing eBooks, PDFs, or other " 721 "documents." 708 msgid "Woo Document Preview enables you to add a document preview directly to a single product page, making it ideal for showcasing eBooks, PDFs, or other documents." 722 709 msgstr "" 723 710 … … 727 714 728 715 #: admin/partials/woo-document-preview-welcome-page.php:22 729 msgid "" 730 "If you need assistance, here are some helpful resources. Our documentation " 731 "is a great place to start, and our support team is available if you require " 732 "further help." 716 msgid "If you need assistance, here are some helpful resources. Our documentation is a great place to start, and our support team is available if you require further help." 733 717 msgstr "" 734 718 735 719 #: admin/partials/woo-document-preview-welcome-page.php:27 736 msgid "" 737 "Explore our detailed guide on Woo Document Preview to understand all the " 738 "features and how to make the most of them." 720 msgid "Explore our detailed guide on Woo Document Preview to understand all the features and how to make the most of them." 739 721 msgstr "" 740 722 … … 748 730 749 731 #: admin/partials/woo-document-preview-welcome-page.php:35 750 msgid "" 751 "Our support team is here to assist you with any questions or issues. Feel " 752 "free to contact us anytime through our support center." 732 msgid "Our support team is here to assist you with any questions or issues. Feel free to contact us anytime through our support center." 753 733 msgstr "" 754 734 … … 762 742 763 743 #: admin/partials/woo-document-preview-welcome-page.php:42 764 msgid "" 765 "We’d love to hear about your experience with the plugin. Your feedback and " 766 "suggestions help us improve future updates." 744 msgid "We’d love to hear about your experience with the plugin. Your feedback and suggestions help us improve future updates." 767 745 msgstr "" 768 746 … … 815 793 #: admin/wbcom/templates/wbcom-plugins-page.php:20 816 794 #: admin/wbcom/templates/wbcom-plugins-page.php:366 817 #: admin/wbcom/wbcom-admin-settings.php:2 24818 #: admin/wbcom/wbcom-admin-settings.php:2 25795 #: admin/wbcom/wbcom-admin-settings.php:240 796 #: admin/wbcom/wbcom-admin-settings.php:241 819 797 msgid "Our Themes" 820 798 msgstr "" … … 831 809 832 810 #: admin/wbcom/templates/wbcom-plugins-page.php:32 833 msgid "" 834 "Allow users to change their usernames directly from their profile settings. " 835 "Enhance flexibility for members while keeping admin-level approval and " 836 "control over username updates." 811 msgid "Allow users to change their usernames directly from their profile settings. Enhance flexibility for members while keeping admin-level approval and control over username updates." 837 812 msgstr "" 838 813 … … 960 935 961 936 #: admin/wbcom/templates/wbcom-plugins-page.php:42 962 msgid "" 963 "Empower users to create personalized lists of friends, follow curated " 964 "streams, and organize their connections for a better social experience " 965 "within your community." 937 msgid "Empower users to create personalized lists of friends, follow curated streams, and organize their connections for a better social experience within your community." 966 938 msgstr "" 967 939 … … 971 943 972 944 #: admin/wbcom/templates/wbcom-plugins-page.php:52 973 msgid "" 974 "Plan posts and activities in advance with easy scheduling tools. Keep your " 975 "community active even during off-hours and automate important updates." 945 msgid "Plan posts and activities in advance with easy scheduling tools. Keep your community active even during off-hours and automate important updates." 976 946 msgstr "" 977 947 … … 981 951 982 952 #: admin/wbcom/templates/wbcom-plugins-page.php:62 983 msgid "" 984 "Enable members to share updates anonymously without revealing their " 985 "identity, encouraging more honest, open, and candid conversations across " 986 "your platform." 953 msgid "Enable members to share updates anonymously without revealing their identity, encouraging more honest, open, and candid conversations across your platform." 987 954 msgstr "" 988 955 … … 992 959 993 960 #: admin/wbcom/templates/wbcom-plugins-page.php:72 994 msgid "" 995 "Let users edit their posted activities anytime. Help members fix mistakes " 996 "or update their posts, keeping conversations fresh and accurate." 961 msgid "Let users edit their posted activities anytime. Help members fix mistakes or update their posts, keeping conversations fresh and accurate." 997 962 msgstr "" 998 963 … … 1002 967 1003 968 #: admin/wbcom/templates/wbcom-plugins-page.php:82 1004 msgid "" 1005 "Introduce Instagram-style stories where users can share photos and videos. " 1006 "Boost community engagement through visual storytelling and real-time " 1007 "content sharing." 969 msgid "Introduce Instagram-style stories where users can share photos and videos. Boost community engagement through visual storytelling and real-time content sharing." 1008 970 msgstr "" 1009 971 … … 1013 975 1014 976 #: admin/wbcom/templates/wbcom-plugins-page.php:92 1015 msgid "" 1016 "Allow businesses to set up profile pages, showcase their services, and " 1017 "directly connect with potential customers through your social network." 977 msgid "Allow businesses to set up profile pages, showcase their services, and directly connect with potential customers through your social network." 1018 978 msgstr "" 1019 979 … … 1023 983 1024 984 #: admin/wbcom/templates/wbcom-plugins-page.php:102 1025 msgid "" 1026 "Allow members to flag inappropriate content and maintain a safe, " 1027 "respectful, and welcoming community environment." 985 msgid "Allow members to flag inappropriate content and maintain a safe, respectful, and welcoming community environment." 1028 986 msgstr "" 1029 987 … … 1033 991 1034 992 #: admin/wbcom/templates/wbcom-plugins-page.php:112 1035 msgid "" 1036 "Let users upload and display professional resumes right on their profiles. " 1037 "Ideal for building career-focused communities." 993 msgid "Let users upload and display professional resumes right on their profiles. Ideal for building career-focused communities." 1038 994 msgstr "" 1039 995 … … 1043 999 1044 1000 #: admin/wbcom/templates/wbcom-plugins-page.php:122 1045 msgid "" 1046 "Let members create polls and surveys directly inside activity streams to " 1047 "collect opinions, boost participation, and spark discussions easily." 1001 msgid "Let members create polls and surveys directly inside activity streams to collect opinions, boost participation, and spark discussions easily." 1048 1002 msgstr "" 1049 1003 … … 1053 1007 1054 1008 #: admin/wbcom/templates/wbcom-plugins-page.php:132 1055 msgid "" 1056 "Restrict access to BuddyPress areas. Protect member profiles and create a " 1057 "fully private, members-only experience." 1009 msgid "Restrict access to BuddyPress areas. Protect member profiles and create a fully private, members-only experience." 1058 1010 msgstr "" 1059 1011 … … 1063 1015 1064 1016 #: admin/wbcom/templates/wbcom-plugins-page.php:142 1065 msgid "" 1066 "Add custom repeater fields and groups to member profiles. Collect richer " 1067 "information and enhance profile personalization." 1017 msgid "Add custom repeater fields and groups to member profiles. Collect richer information and enhance profile personalization." 1068 1018 msgstr "" 1069 1019 … … 1073 1023 1074 1024 #: admin/wbcom/templates/wbcom-plugins-page.php:152 1075 msgid "" 1076 "Allow users to check in at places like restaurants or events. Encourage " 1077 "social interactions and real-world meetups through your platform." 1025 msgid "Allow users to check in at places like restaurants or events. Encourage social interactions and real-world meetups through your platform." 1078 1026 msgstr "" 1079 1027 … … 1083 1031 1084 1032 #: admin/wbcom/templates/wbcom-plugins-page.php:162 1085 msgid "" 1086 "Streamline idea management. Let members submit ideas, provide feedback, and " 1087 "spark innovation directly within their profiles." 1033 msgid "Streamline idea management. Let members submit ideas, provide feedback, and spark innovation directly within their profiles." 1088 1034 msgstr "" 1089 1035 … … 1093 1039 1094 1040 #: admin/wbcom/templates/wbcom-plugins-page.php:172 1095 msgid "" 1096 "Add easy-to-use contact forms on member profiles. Enable seamless " 1097 "communication between visitors and users without sharing personal " 1098 "information." 1041 msgid "Add easy-to-use contact forms on member profiles. Enable seamless communication between visitors and users without sharing personal information." 1099 1042 msgstr "" 1100 1043 … … 1104 1047 1105 1048 #: admin/wbcom/templates/wbcom-plugins-page.php:182 1106 msgid "" 1107 "Offer personal blogging spaces for members. Let users share articles, " 1108 "stories, and updates, turning your community into a vibrant content hub." 1049 msgid "Offer personal blogging spaces for members. Let users share articles, stories, and updates, turning your community into a vibrant content hub." 1109 1050 msgstr "" 1110 1051 … … 1114 1055 1115 1056 #: admin/wbcom/templates/wbcom-plugins-page.php:192 1116 msgid "" 1117 "Combine e-commerce with social networking. Allow users to buy, sell, and " 1118 "interact on a community-driven multi-vendor marketplace." 1057 msgid "Combine e-commerce with social networking. Allow users to buy, sell, and interact on a community-driven multi-vendor marketplace." 1119 1058 msgstr "" 1120 1059 … … 1124 1063 1125 1064 #: admin/wbcom/templates/wbcom-plugins-page.php:202 1126 msgid "" 1127 "Get detailed community analytics. Monitor activities, understand engagement " 1128 "patterns, and make smarter decisions to grow your site." 1065 msgid "Get detailed community analytics. Monitor activities, understand engagement patterns, and make smarter decisions to grow your site." 1129 1066 msgstr "" 1130 1067 … … 1134 1071 1135 1072 #: admin/wbcom/templates/wbcom-plugins-page.php:212 1136 msgid "" 1137 "Give users visibility into who has visited their profile. Build curiosity, " 1138 "drive more profile views, and increase member engagement." 1073 msgid "Give users visibility into who has visited their profile. Build curiosity, drive more profile views, and increase member engagement." 1139 1074 msgstr "" 1140 1075 … … 1144 1079 1145 1080 #: admin/wbcom/templates/wbcom-plugins-page.php:222 1146 msgid "" 1147 "Provide personalized friend and follow suggestions based on profile data, " 1148 "boosting connections and community interactions." 1081 msgid "Provide personalized friend and follow suggestions based on profile data, boosting connections and community interactions." 1149 1082 msgstr "" 1150 1083 … … 1154 1087 1155 1088 #: admin/wbcom/templates/wbcom-plugins-page.php:232 1156 msgid "" 1157 "Enable GIF sharing in activities, comments, and private messages. Make " 1158 "conversations more fun, expressive, and visually engaging." 1089 msgid "Enable GIF sharing in activities, comments, and private messages. Make conversations more fun, expressive, and visually engaging." 1159 1090 msgstr "" 1160 1091 … … 1164 1095 1165 1096 #: admin/wbcom/templates/wbcom-plugins-page.php:242 1166 msgid "" 1167 "Add BuddyPress components anywhere on your site with shortcodes and " 1168 "Elementor widgets. Enjoy full design freedom and flexibility." 1097 msgid "Add BuddyPress components anywhere on your site with shortcodes and Elementor widgets. Enjoy full design freedom and flexibility." 1169 1098 msgstr "" 1170 1099 … … 1174 1103 1175 1104 #: admin/wbcom/templates/wbcom-plugins-page.php:252 1176 msgid "" 1177 "Highlight important updates by pinning posts to the top of activity " 1178 "streams. Ensure key messages are always seen by members." 1105 msgid "Highlight important updates by pinning posts to the top of activity streams. Ensure key messages are always seen by members." 1179 1106 msgstr "" 1180 1107 … … 1184 1111 1185 1112 #: admin/wbcom/templates/wbcom-plugins-page.php:262 1186 msgid "" 1187 "Let users decorate their posts with vibrant backgrounds and images, making " 1188 "activity updates more expressive and attention-grabbing." 1113 msgid "Let users decorate their posts with vibrant backgrounds and images, making activity updates more expressive and attention-grabbing." 1189 1114 msgstr "" 1190 1115 … … 1194 1119 1195 1120 #: admin/wbcom/templates/wbcom-plugins-page.php:272 1196 msgid "" 1197 "Automatically add specific users as friends to new members, helping them " 1198 "build their network and feel connected from day one." 1121 msgid "Automatically add specific users as friends to new members, helping them build their network and feel connected from day one." 1199 1122 msgstr "" 1200 1123 … … 1204 1127 1205 1128 #: admin/wbcom/templates/wbcom-plugins-page.php:282 1206 msgid "" 1207 "Organize activity updates into a familiar Facebook-style newsfeed, helping " 1208 "members find new content quickly and engage more." 1129 msgid "Organize activity updates into a familiar Facebook-style newsfeed, helping members find new content quickly and engage more." 1209 1130 msgstr "" 1210 1131 … … 1214 1135 1215 1136 #: admin/wbcom/templates/wbcom-plugins-page.php:292 1216 msgid "" 1217 "Allow members to post quick status updates and react to activities, making " 1218 "your community more dynamic and lively." 1137 msgid "Allow members to post quick status updates and react to activities, making your community more dynamic and lively." 1219 1138 msgstr "" 1220 1139 … … 1224 1143 1225 1144 #: admin/wbcom/templates/wbcom-plugins-page.php:302 1226 msgid "" 1227 "Boost discoverability and organize discussions by adding hashtag " 1228 "functionality across activities, posts, and comments." 1145 msgid "Boost discoverability and organize discussions by adding hashtag functionality across activities, posts, and comments." 1229 1146 msgstr "" 1230 1147 … … 1234 1151 1235 1152 #: admin/wbcom/templates/wbcom-plugins-page.php:312 1236 msgid "" 1237 "Block unwanted words and keep your community safe, family-friendly, and " 1238 "free from offensive language." 1153 msgid "Block unwanted words and keep your community safe, family-friendly, and free from offensive language." 1239 1154 msgstr "" 1240 1155 … … 1248 1163 1249 1164 #: admin/wbcom/templates/wbcom-plugins-page.php:333 1250 msgid "" 1251 "LMS Notes will extend the LMS functionality to create Notes for courses, " 1252 "lessons and topics." 1165 msgid "LMS Notes will extend the LMS functionality to create Notes for courses, lessons and topics." 1253 1166 msgstr "" 1254 1167 … … 1258 1171 1259 1172 #: admin/wbcom/templates/wbcom-plugins-page.php:343 1260 msgid "" 1261 "The LearnDash wpForo integration allows you to create dedicated discussion " 1262 "channels for your learners and link your courses to multiple forums." 1173 msgid "The LearnDash wpForo integration allows you to create dedicated discussion channels for your learners and link your courses to multiple forums." 1263 1174 msgstr "" 1264 1175 … … 1268 1179 1269 1180 #: admin/wbcom/templates/wbcom-plugins-page.php:353 1270 msgid "" 1271 "The LearnDash Dashboard provides admins, instructors, group leaders, and " 1272 "students with personalized dashboards, allowing them to easily manage their " 1273 "courses, lessons, and communication." 1181 msgid "The LearnDash Dashboard provides admins, instructors, group leaders, and students with personalized dashboards, allowing them to easily manage their courses, lessons, and communication." 1274 1182 msgstr "" 1275 1183 … … 1283 1191 1284 1192 #: admin/wbcom/templates/wbcom-plugins-page.php:373 1285 msgid "" 1286 "Create your social network website for the company, school, sports team, or " 1287 "any niche community using a highly customizable WordPress, Community theme." 1193 msgid "Create your social network website for the company, school, sports team, or any niche community using a highly customizable WordPress, Community theme." 1288 1194 msgstr "" 1289 1195 … … 1293 1199 1294 1200 #: admin/wbcom/templates/wbcom-plugins-page.php:383 1295 msgid "" 1296 "Build a flexible, code-free online community website with full control. " 1297 "Enjoy unique layouts, clean code, and easy customization for " 1298 "BuddyPress/BossBoss Platform." 1201 msgid "Build a flexible, code-free online community website with full control. Enjoy unique layouts, clean code, and easy customization for BuddyPress/BossBoss Platform." 1299 1202 msgstr "" 1300 1203 … … 1304 1207 1305 1208 #: admin/wbcom/templates/wbcom-plugins-page.php:393 1306 msgid "" 1307 "BuddyX is a free, fast, and responsive WordPress theme for creating social " 1308 "network sites like Facebook. Ideal for BuddyPress and BuddyBoss " 1309 "communities, memberships, eLearning, and marketplaces." 1209 msgid "BuddyX is a free, fast, and responsive WordPress theme for creating social network sites like Facebook. Ideal for BuddyPress and BuddyBoss communities, memberships, eLearning, and marketplaces." 1310 1210 msgstr "" 1311 1211 … … 1315 1215 1316 1216 #: admin/wbcom/templates/wbcom-plugins-page.php:403 1317 msgid "" 1318 "A Free WordPress Knowledge base Theme. KnowX helps you set up a Knowledge " 1319 "Base in WordPress in less time than it takes to brew a coffee." 1217 msgid "A Free WordPress Knowledge base Theme. KnowX helps you set up a Knowledge Base in WordPress in less time than it takes to brew a coffee." 1320 1218 msgstr "" 1321 1219 … … 1329 1227 1330 1228 #: admin/wbcom/templates/wbcom-plugins-page.php:423 1331 msgid "" 1332 "Get dozens of stylish widgets packed inside Wbcom Essential. Enhance your " 1333 "BuddyPress site's design with advanced customizations without needing any " 1334 "technical skills." 1229 msgid "Get dozens of stylish widgets packed inside Wbcom Essential. Enhance your BuddyPress site's design with advanced customizations without needing any technical skills." 1335 1230 msgstr "" 1336 1231 … … 1340 1235 1341 1236 #: admin/wbcom/templates/wbcom-plugins-page.php:433 1342 msgid "" 1343 "Effortlessly create and manage multiple member types. Personalize user " 1344 "experiences and organize your community more effectively based on user " 1345 "profiles." 1237 msgid "Effortlessly create and manage multiple member types. Personalize user experiences and organize your community more effectively based on user profiles." 1346 1238 msgstr "" 1347 1239 … … 1351 1243 1352 1244 #: admin/wbcom/templates/wbcom-plugins-page.php:443 1353 msgid "" 1354 "Add advertisement placements across your BuddyPress community. Increase " 1355 "engagement and generate extra revenue with seamless ad integration." 1245 msgid "Add advertisement placements across your BuddyPress community. Increase engagement and generate extra revenue with seamless ad integration." 1356 1246 msgstr "" 1357 1247 … … 1361 1251 1362 1252 #: admin/wbcom/templates/wbcom-plugins-page.php:453 1363 msgid "" 1364 "Secure your BuddyPress, WordPress, and WooCommerce sites by adding powerful " 1365 "Google reCaptcha protection against bots and spam activities." 1253 msgid "Secure your BuddyPress, WordPress, and WooCommerce sites by adding powerful Google reCaptcha protection against bots and spam activities." 1366 1254 msgstr "" 1367 1255 … … 1371 1259 1372 1260 #: admin/wbcom/templates/wbcom-plugins-page.php:463 1373 msgid "" 1374 "Allow community members to create and manage their blog posts directly from " 1375 "their BuddyPress profiles, boosting engagement and user-generated content." 1261 msgid "Allow community members to create and manage their blog posts directly from their BuddyPress profiles, boosting engagement and user-generated content." 1376 1262 msgstr "" 1377 1263 … … 1381 1267 1382 1268 #: admin/wbcom/templates/wbcom-plugins-page.php:473 1383 msgid "" 1384 "Easily integrate WooCommerce with BuddyPress. Showcase WooCommerce " 1385 "activities inside profiles and create a seamless social shopping experience." 1269 msgid "Easily integrate WooCommerce with BuddyPress. Showcase WooCommerce activities inside profiles and create a seamless social shopping experience." 1386 1270 msgstr "" 1387 1271 … … 1391 1275 1392 1276 #: admin/wbcom/templates/wbcom-plugins-page.php:483 1393 msgid "" 1394 "Automatically generate rich link previews inside the activity feed, " 1395 "displaying title, description, and image to make posts more engaging." 1277 msgid "Automatically generate rich link previews inside the activity feed, displaying title, description, and image to make posts more engaging." 1396 1278 msgstr "" 1397 1279 … … 1401 1283 1402 1284 #: admin/wbcom/templates/wbcom-plugins-page.php:493 1403 msgid "" 1404 "Celebrate community members' birthdays by displaying upcoming birthdays in " 1405 "a sidebar widget, fostering deeper social interactions." 1285 msgid "Celebrate community members' birthdays by displaying upcoming birthdays in a sidebar widget, fostering deeper social interactions." 1406 1286 msgstr "" 1407 1287 … … 1411 1291 1412 1292 #: admin/wbcom/templates/wbcom-plugins-page.php:503 1413 msgid "" 1414 "Redirect users to custom pages after login or logout, based on their user " 1415 "roles, creating a more personalized navigation experience." 1293 msgid "Redirect users to custom pages after login or logout, based on their user roles, creating a more personalized navigation experience." 1416 1294 msgstr "" 1417 1295 … … 1421 1299 1422 1300 #: admin/wbcom/templates/wbcom-plugins-page.php:513 1423 msgid "" 1424 "Move the most recent interactions to the top of the activity feed " 1425 "automatically, keeping your BuddyPress newsfeed lively and active." 1301 msgid "Move the most recent interactions to the top of the activity feed automatically, keeping your BuddyPress newsfeed lively and active." 1426 1302 msgstr "" 1427 1303 … … 1431 1307 1432 1308 #: admin/wbcom/templates/wbcom-plugins-page.php:523 1433 msgid "" 1434 "Lock down selected BuddyPress components to create a private, members-only " 1435 "community and protect your site's content from the public." 1309 msgid "Lock down selected BuddyPress components to create a private, members-only community and protect your site's content from the public." 1436 1310 msgstr "" 1437 1311 … … 1441 1315 1442 1316 #: admin/wbcom/templates/wbcom-plugins-page.php:533 1443 msgid "" 1444 "Use simple shortcodes to embed BuddyPress components like activity streams, " 1445 "member lists, or groups on any page or post." 1317 msgid "Use simple shortcodes to embed BuddyPress components like activity streams, member lists, or groups on any page or post." 1446 1318 msgstr "" 1447 1319 … … 1451 1323 1452 1324 #: admin/wbcom/templates/wbcom-plugins-page.php:543 1453 msgid "" 1454 "Allow users to create, organize, and manage personal to-do lists with " 1455 "categories directly from their BuddyPress profiles." 1325 msgid "Allow users to create, organize, and manage personal to-do lists with categories directly from their BuddyPress profiles." 1456 1326 msgstr "" 1457 1327 … … 1461 1331 1462 1332 #: admin/wbcom/templates/wbcom-plugins-page.php:553 1463 msgid "" 1464 "Create dedicated job tabs for employers and candidates inside their " 1465 "BuddyPress profiles, enhancing your site's job board functionality." 1333 msgid "Create dedicated job tabs for employers and candidates inside their BuddyPress profiles, enhancing your site's job board functionality." 1466 1334 msgstr "" 1467 1335 … … 1471 1339 1472 1340 #: admin/wbcom/templates/wbcom-plugins-page.php:563 1473 msgid "" 1474 "Enable members to rate and review BuddyPress groups based on multiple " 1475 "criteria, improving group quality and encouraging community feedback." 1341 msgid "Enable members to rate and review BuddyPress groups based on multiple criteria, improving group quality and encouraging community feedback." 1476 1342 msgstr "" 1477 1343 … … 1481 1347 1482 1348 #: admin/wbcom/templates/wbcom-plugins-page.php:573 1483 msgid "" 1484 "Allow users to rate and review other member profiles based on customizable " 1485 "criteria, helping build trust and credibility within your community." 1349 msgid "Allow users to rate and review other member profiles based on customizable criteria, helping build trust and credibility within your community." 1486 1350 msgstr "" 1487 1351 … … 1491 1355 1492 1356 #: admin/wbcom/templates/wbcom-plugins-page.php:583 1493 msgid "" 1494 "Allow community members to post activity updates along with their current " 1495 "location, encouraging real-world interactions and meetups." 1357 msgid "Allow community members to post activity updates along with their current location, encouraging real-world interactions and meetups." 1496 1358 msgstr "" 1497 1359 … … 1501 1363 1502 1364 #: admin/wbcom/templates/wbcom-plugins-page.php:593 1503 msgid "" 1504 "Display customized activity feeds by applying filters to show specific " 1505 "content types based on your community's needs." 1365 msgid "Display customized activity feeds by applying filters to show specific content types based on your community's needs." 1506 1366 msgstr "" 1507 1367 … … 1511 1371 1512 1372 #: admin/wbcom/templates/wbcom-plugins-page.php:603 1513 msgid "" 1514 "Send real-time notifications to members when someone favorites their " 1515 "content, boosting engagement and interaction across your community." 1373 msgid "Send real-time notifications to members when someone favorites their content, boosting engagement and interaction across your community." 1516 1374 msgstr "" 1517 1375 … … 1521 1379 1522 1380 #: admin/wbcom/templates/wbcom-plugins-page.php:613 1523 msgid "" 1524 "Allow users to share their BuddyPress activity updates easily to external " 1525 "social media platforms, extending their reach. " 1381 msgid "Allow users to share their BuddyPress activity updates easily to external social media platforms, extending their reach. " 1526 1382 msgstr "" 1527 1383 1528 1384 #: admin/wbcom/templates/wbcom-support-page.php:9 1529 #: admin/wbcom/wbcom-admin-settings.php:3 111385 #: admin/wbcom/wbcom-admin-settings.php:327 1530 1386 msgid "Help & Support" 1531 1387 msgstr "" … … 1536 1392 1537 1393 #: admin/wbcom/templates/wbcom-support-page.php:15 1538 msgid "" 1539 "Our team is here to help you out at anytime. If you have any idea about how " 1540 "we could improve. You can share access to your site on our helpdesk if it " 1541 "can help getting faster." 1394 msgid "Our team is here to help you out at anytime. If you have any idea about how we could improve. You can share access to your site on our helpdesk if it can help getting faster." 1542 1395 msgstr "" 1543 1396 … … 1547 1400 1548 1401 #: admin/wbcom/templates/wbcom-support-page.php:25 1549 msgid "" 1550 "Open a ticket on our helpdesk. We aim to respond within a week, but if " 1551 "you’ve purchased one of our products, you’ll receive a reply within 24 " 1552 "hours." 1402 msgid "Open a ticket on our helpdesk. We aim to respond within a week, but if you’ve purchased one of our products, you’ll receive a reply within 24 hours." 1553 1403 msgstr "" 1554 1404 … … 1563 1413 1564 1414 #: admin/wbcom/templates/wbcom-support-page.php:42 1565 msgid "" 1566 "Create a new thread on our plugin page, participation is open to anyone " 1567 "from all around the world. We'll be there to help as well but can't " 1568 "guarantee any delay." 1569 msgstr "" 1570 1571 #: admin/wbcom/wbcom-admin-settings.php:193 1415 msgid "Create a new thread on our plugin page, participation is open to anyone from all around the world. We'll be there to help as well but can't guarantee any delay." 1416 msgstr "" 1417 1418 #: admin/wbcom/wbcom-admin-settings.php:198 1572 1419 msgid "Activate" 1573 1420 msgstr "" 1574 1421 1575 #: admin/wbcom/wbcom-admin-settings.php:19 41422 #: admin/wbcom/wbcom-admin-settings.php:199 1576 1423 msgid "Deactivate" 1577 msgstr ""1578 1579 #: admin/wbcom/wbcom-admin-settings.php:2161580 #: admin/wbcom/wbcom-admin-settings.php:2171581 msgid "Our Plugins"1582 1424 msgstr "" 1583 1425 1584 1426 #: admin/wbcom/wbcom-admin-settings.php:232 1585 1427 #: admin/wbcom/wbcom-admin-settings.php:233 1428 msgid "Our Plugins" 1429 msgstr "" 1430 1431 #: admin/wbcom/wbcom-admin-settings.php:248 1432 #: admin/wbcom/wbcom-admin-settings.php:249 1586 1433 msgid "Support" 1587 1434 msgstr "" 1588 1435 1589 #: admin/wbcom/wbcom-admin-settings.php: 2991436 #: admin/wbcom/wbcom-admin-settings.php:315 1590 1437 msgid "Settings" 1591 1438 msgstr "" 1592 1439 1593 #: admin/wbcom/wbcom-admin-settings.php:3 051440 #: admin/wbcom/wbcom-admin-settings.php:321 1594 1441 msgid "Themes & Extension" 1595 1442 msgstr "" 1596 1443 1597 #: public/class-wc-document-preview-public.php:50 01444 #: public/class-wc-document-preview-public.php:507 1598 1445 msgid "File URL is empty." 1599 1446 msgstr "" 1600 1447 1601 #: public/class-wc-document-preview-public.php:5 051448 #: public/class-wc-document-preview-public.php:512 1602 1449 msgid "Invalid file URL." 1603 1450 msgstr "" 1604 1451 1605 #: public/class-wc-document-preview-public.php:5 241606 msgid "" 1607 "Unsupported file type: %s. Supported formats: %s, or direct links from"1608 "Google Docs, Google Sheets, OneDrive, and Dropbox."1609 msgstr "" 1610 1611 # : public/class-wc-document-preview-public.php:6011452 #: public/class-wc-document-preview-public.php:531 1453 #, php-format 1454 msgid "Unsupported file type: %s. Supported formats: %s, or direct links from Google Docs, Google Sheets, OneDrive, and Dropbox." 1455 msgstr "" 1456 1457 #: public/class-wc-document-preview-public.php:608 1458 #, php-format 1612 1459 msgid "Preview %s Document" 1613 1460 msgstr "" 1614 1461 1615 #: public/class-wc-document-preview-public.php:667 1462 #: public/class-wc-document-preview-public.php:674 1463 #, php-format 1616 1464 msgid "Preview %s" 1617 1465 msgstr "" 1618 1466 1619 #: public/class-wc-document-preview-public.php:8 131467 #: public/class-wc-document-preview-public.php:820 1620 1468 msgid "Preview Documents:" 1621 1469 msgstr "" 1622 1470 1623 #: public/class-wc-document-preview-public.php:8 151624 #: public/class-wc-document-preview-public.php:85 11471 #: public/class-wc-document-preview-public.php:822 1472 #: public/class-wc-document-preview-public.php:858 1625 1473 msgid "Preview Document:" 1626 1474 msgstr "" -
woo-document-preview/trunk/public/class-wc-document-preview-public.php
r3311902 r3327790 133 133 public function enqueue_styles() { 134 134 if ( $this->is_woocommerce_product_page() ) { 135 wp_enqueue_style( 136 $this->plugin_name, 137 plugin_dir_url( __FILE__ ) . 'css/wc-document-preview-public.css', 138 array(), 139 $this->version, 140 'all' 141 ); 135 $css_file = $this->get_asset_filename('css', 'wc-document-preview-public'); 136 if ($css_file) { 137 wp_enqueue_style( 138 $this->plugin_name, 139 plugin_dir_url(__FILE__) . $css_file, 140 array(), 141 $this->version, 142 'all' 143 ); 144 } 142 145 } 143 146 } … … 150 153 public function enqueue_scripts() { 151 154 if ( $this->is_woocommerce_product_page() ) { 152 wp_enqueue_script( 155 $js_file = $this->get_asset_filename('js', 'wc-document-preview-public'); 156 157 if ($js_file) { 158 wp_enqueue_script( 153 159 $this->plugin_name, 154 plugin_dir_url( __FILE__ ) . 'js/wc-document-preview-public.js',155 array( 'jquery'),160 plugin_dir_url(__FILE__) . $js_file, 161 array('jquery'), 156 162 $this->version, 157 false 163 false 158 164 ); 165 } 159 166 } 160 167 } … … 1403 1410 ); 1404 1411 } 1412 1413 /** 1414 * Get asset filename with intelligent fallback 1415 * 1416 * @since 1.6.0 1417 * @param string $type Asset type ('css' or 'js') 1418 * @param string $filename Base filename without extension 1419 * @return string|false Full filename with path or false if not found 1420 */ 1421 private function get_asset_filename($type, $filename) { 1422 // Determine if we should use minified files 1423 $use_minified = !(defined('SCRIPT_DEBUG') && SCRIPT_DEBUG); 1424 1425 // Determine if RTL is needed (only for CSS) 1426 $is_rtl = ($type === 'css') ? is_rtl() : false; 1427 1428 // Build the base directory path 1429 $base_dir = plugin_dir_path(__FILE__) . $type . '/'; 1430 $actual_type = $type; 1431 $actual_base_dir = $base_dir; 1432 1433 // Array of file variants to try in order of preference 1434 $variants = array(); 1435 1436 if ($type === 'css') { 1437 if ($is_rtl && $use_minified) { 1438 $variants[] = $filename . '.min.css'; // 1st preference: RTL minified 1439 $variants[] = $filename . '.css'; // 2nd preference: RTL non-minified 1440 } elseif ($is_rtl && !$use_minified) { 1441 $variants[] = $filename . '.css'; // 1st preference: RTL non-minified 1442 } elseif (!$is_rtl && $use_minified) { 1443 $variants[] = $filename . '.min.css'; // 1st preference: LTR minified 1444 $variants[] = $filename . '.css'; // 2nd preference: LTR non-minified 1445 } else { 1446 $variants[] = $filename . '.css'; // 1st preference: LTR non-minified 1447 } 1448 } else { // JavaScript 1449 if ($use_minified) { 1450 $variants[] = $filename . '.min.js'; // 1st preference: minified 1451 $variants[] = $filename . '.js'; // 2nd preference: non-minified 1452 } else { 1453 $variants[] = $filename . '.js'; // 1st preference: non-minified 1454 } 1455 } 1456 1457 if ($type === 'css' && $is_rtl ) { 1458 $actual_type = 'css-rtl'; 1459 $actual_base_dir = plugin_dir_path(__FILE__) . 'css-rtl/'; 1460 } 1461 1462 // Check each variant in order 1463 foreach ($variants as $variant) { 1464 if (file_exists($actual_base_dir . $variant)) { 1465 // Log which file is being used in debug mode 1466 if (defined('WP_DEBUG') && WP_DEBUG && defined('WP_DEBUG_LOG') && WP_DEBUG_LOG) { 1467 error_log(sprintf( 1468 'WCAP Asset: Loading %s file: %s (RTL: %s, Debug: %s)', 1469 $actual_type, 1470 $variant, 1471 $is_rtl ? 'yes' : 'no', 1472 !$use_minified ? 'yes' : 'no' 1473 )); 1474 } 1475 1476 return $actual_type . '/' . $variant; 1477 } 1478 } 1479 1480 // No valid file found - log error 1481 if (defined('WP_DEBUG') && WP_DEBUG) { 1482 error_log(sprintf( 1483 'WCAP Asset Error: No %s file found for %s (tried: %s)', 1484 $actual_type, 1485 $filename, 1486 implode(', ', $variants) 1487 )); 1488 } 1489 1490 return false; 1491 } 1405 1492 } -
woo-document-preview/trunk/readme.txt
r3311902 r3327790 47 47 48 48 == Changelog == 49 = 1.6.0 = 50 * Fixed: Issue preventing product publishing when no document is added. 51 * Improved: Validation logic to allow product save without requiring document upload. 52 * Improved: Error handling for smoother product management. 53 * Note: Preparing ground for future support of minified assets and RTL styles. 54 49 55 = 1.5.0 = 50 56 * Added: Default file icon for unsupported formats. -
woo-document-preview/trunk/woo-product-document-preview.php
r3311902 r3327790 15 15 * Plugin URI: http://wbcomdesigns.com 16 16 * Description: Woo Document Preview lets you display a document preview on the single product page, helping customers better understand your offerings when selling eBooks, PDFs, or other digital documents. 17 * Version: 1. 5.017 * Version: 1.6.0 18 18 * Author: Wbcom Designs <[email protected]> 19 19 * Author URI: http://wbcomdesigns.com … … 34 34 * Rename this for your plugin and update it as you release new versions. 35 35 */ 36 define( 'WC_DOCUMENT_PREVIEW_VERSION', '1. 5.0' );36 define( 'WC_DOCUMENT_PREVIEW_VERSION', '1.6.0' ); 37 37 38 38 /**
Note: See TracChangeset
for help on using the changeset viewer.