Changeset 1676150
- Timestamp:
- 06/11/2017 11:25:42 PM (9 years ago)
- Location:
- cyclone-slider/trunk
- Files:
-
- 3 added
- 2 deleted
- 6 edited
-
README.txt (modified) (1 diff)
-
cyclone-slider.php (modified) (1 diff)
-
languages/cycloneslider-ja.mo (added)
-
languages/cycloneslider-ja.po (added)
-
languages/cycloneslider-ja_JP.mo (deleted)
-
languages/cycloneslider-ja_JP.po (deleted)
-
languages/cycloneslider.mo (added)
-
languages/cycloneslider.pot (modified) (8 diffs)
-
src/CycloneSlider/Admin.php (modified) (1 diff)
-
src/CycloneSlider/Data.php (modified) (3 diffs)
-
src/plugin.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cyclone-slider/trunk/README.txt
r1650697 r1676150 119 119 == Changelog == 120 120 121 = 3.1.3 - 2017-06-12 = 122 * Fix language files not loaded. 123 * Updated Japanese language files. 124 121 125 = 3.1.2 - 2017-05-04 = 122 126 * Fix "Slideshow not found" error when using numeric slideshow slugs. Eg. "011". -
cyclone-slider/trunk/cyclone-slider.php
r1650697 r1676150 4 4 Plugin URI: http://www.codefleet.net/cyclone-slider/ 5 5 Description: Create and manage sliders with ease. Built for both casual users and developers. 6 Version: 3.1. 26 Version: 3.1.3 7 7 Author: Nico Amarilla 8 8 Author URI: http://www.codefleet.net/ -
cyclone-slider/trunk/languages/cycloneslider.pot
r1646975 r1676150 3 3 "Project-Id-Version: Cyclone Slider\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 2017-0 4-28 08:22+0800\n"6 "PO-Revision-Date: 2017-0 4-28 08:23+0800\n"5 "POT-Creation-Date: 2017-06-12 06:29+0800\n" 6 "PO-Revision-Date: 2017-06-12 06:29+0800\n" 7 7 "Last-Translator: \n" 8 8 "Language-Team: kosinix <[email protected]>\n" … … 153 153 msgstr "" 154 154 155 #: ../src/CycloneSlider/Admin.php:471 156 msgid "Active Theme" 157 msgstr "" 158 155 159 #: ../src/CycloneSlider/Admin.php:472 ../src/CycloneSlider/Admin.php:477 156 160 #: ../src/CycloneSlider/Admin.php:481 … … 163 167 "Your template is in danger of being overwritten when you upgrade your theme. " 164 168 "Please consider creating a WordPress plugin Cyclone Slider template." 169 msgstr "" 170 171 #: ../src/CycloneSlider/Admin.php:476 172 msgid "WP Content" 173 msgstr "" 174 175 #: ../src/CycloneSlider/Admin.php:480 176 msgid "Plugin" 165 177 msgstr "" 166 178 … … 209 221 msgstr "" 210 222 211 #: ../src/CycloneSlider/Data.php:2 67223 #: ../src/CycloneSlider/Data.php:288 212 224 #, php-format 213 225 msgid "Invalid format for get_slider %s parameter." … … 225 237 #: ../src/CycloneSlider/ImportPage.php:74 226 238 #: ../src/CycloneSlider/NextgenIntegration.php:65 227 #: ../src/legacy/inc/class-nextgen-integration.php:63 ../src/plugin.php:1 15239 #: ../src/legacy/inc/class-nextgen-integration.php:63 ../src/plugin.php:121 228 240 msgid "Import" 229 241 msgstr "" … … 255 267 msgstr "" 256 268 257 #: ../src/CycloneSlider/ExportPageNextgen.php:72 ../src/plugin.php:10 2269 #: ../src/CycloneSlider/ExportPageNextgen.php:72 ../src/plugin.php:108 258 270 msgid "Export Nextgen" 259 271 msgstr "" … … 422 434 msgstr "" 423 435 424 #: ../src/legacy/cyclone-slider.php:141 ../src/plugin.php: 77436 #: ../src/legacy/cyclone-slider.php:141 ../src/plugin.php:83 425 437 msgid "Cyclone Slider Settings" 426 438 msgstr "" 427 439 428 #: ../src/legacy/cyclone-slider.php:142 ../src/plugin.php: 78440 #: ../src/legacy/cyclone-slider.php:142 ../src/plugin.php:84 429 441 msgid "Settings" 430 442 msgstr "" … … 587 599 msgstr "" 588 600 589 #: ../src/plugin.php: 88601 #: ../src/plugin.php:94 590 602 msgid "Cyclone Slider Export" 591 603 msgstr "" 592 604 593 #: ../src/plugin.php: 89605 #: ../src/plugin.php:95 594 606 msgid "Export/Import" 595 607 msgstr "" 596 608 597 #: ../src/plugin.php:10 1609 #: ../src/plugin.php:107 598 610 msgid "Cyclone Slider Nextgen Export" 599 611 msgstr "" 600 612 601 #: ../src/plugin.php:1 14613 #: ../src/plugin.php:120 602 614 msgid "Cyclone Slider Import" 603 615 msgstr "" -
cyclone-slider/trunk/src/CycloneSlider/Admin.php
r1647737 r1676150 469 469 } 470 470 if( $template['location_name'] == 'active-theme' ){ 471 $templates[$name]['location_name'] = 'Active Theme';471 $templates[$name]['location_name'] = __('Active Theme', 'cycloneslider'); 472 472 $templates[$name]['location_details'] = sprintf( __("Location: <strong>%s</strong>", 'cycloneslider' ), $template['path']); 473 473 $templates[$name]['warning'] = sprintf( __('Your template is in danger of being overwritten when you upgrade your theme. Please consider creating a WordPress plugin Cyclone Slider template.', 'cycloneslider' ) ); 474 474 } 475 475 if( $template['location_name'] == 'wp-content' ){ 476 $templates[$name]['location_name'] = 'WP Content';476 $templates[$name]['location_name'] = __('WP Content', 'cycloneslider'); 477 477 $templates[$name]['location_details'] = sprintf( __("Location: <strong>%s</strong>", 'cycloneslider'), $template['path'] ); 478 478 } 479 479 if( $template['location_name'] == 'plugin' ){ 480 $templates[$name]['location_name'] = 'Plugin';480 $templates[$name]['location_name'] = __('Plugin', 'cycloneslider'); 481 481 $templates[$name]['location_details'] = sprintf( __("Location: <strong>%s</strong>", 'cycloneslider'), $template['path'] ); 482 482 } -
cyclone-slider/trunk/src/CycloneSlider/Data.php
r1650697 r1676150 812 812 if(version_compare(PHP_VERSION, '5.3', '>=')) { // 5.3+ 813 813 return array( 814 'fit' => 'Fit',815 'fill' => 'Fill',816 'crop' => 'Crop',817 'exact' => 'Exact',818 'exactWidth' => 'Exact Width',819 'exactHeight' => 'Exact Height'814 'fit' => __('Fit', 'cycloneslider'), 815 'fill' => __('Fill', 'cycloneslider'), 816 'crop' => __('Crop', 'cycloneslider'), 817 'exact' => __('Exact', 'cycloneslider'), 818 'exactWidth' => __('Exact Width', 'cycloneslider'), 819 'exactHeight' => __('Exact Height', 'cycloneslider') 820 820 ); 821 821 } else { // 5.2 822 822 return array( 823 'auto' => 'Auto',824 'crop' => 'Crop',825 'exact' => 'Exact',826 'landscape' => 'Landscape',827 'portrait' => 'Portrait'823 'auto' => __('Auto', 'cycloneslider'), 824 'crop' => __('Crop', 'cycloneslider'), 825 'exact' => __('Exact', 'cycloneslider'), 826 'landscape' => __('Landscape', 'cycloneslider'), 827 'portrait' => __('Portrait', 'cycloneslider') 828 828 ); 829 829 } … … 837 837 public function get_slide_effects(){ 838 838 return array( 839 'fade'=> 'Fade',840 'fadeout'=> 'Fade Out',841 'none'=> 'None',842 'scrollHorz'=> 'Scroll Horizontally',843 'tileBlind'=> 'Tile Blind',844 'tileSlide'=> 'Tile Slide'839 'fade'=>__('Fade', 'cycloneslider'), 840 'fadeout'=>__('Fade Out', 'cycloneslider'), 841 'none'=>__('None', 'cycloneslider'), 842 'scrollHorz'=>__('Scroll Horizontally', 'cycloneslider'), 843 'tileBlind'=>__('Tile Blind', 'cycloneslider'), 844 'tileSlide'=>__('Tile Slide', 'cycloneslider') 845 845 ); 846 846 } … … 854 854 return array( 855 855 array( 856 'text' => 'Default',856 'text' => __('Default', 'cycloneslider'), 857 857 'value' => '' 858 858 ), 859 859 array( 860 'text' => 'Swing',860 'text' => __('Swing', 'cycloneslider'), 861 861 'value' => 'swing' 862 862 ), 863 863 array( 864 'text' => 'Ease-In Quad',864 'text' => __('Ease-In Quad', 'cycloneslider'), 865 865 'value' => 'easeInQuad' 866 866 ), 867 867 array( 868 'text' => 'Ease-Out Quad',868 'text' => __('Ease-Out Quad', 'cycloneslider'), 869 869 'value' => 'easeOutQuad' 870 870 ), 871 871 array( 872 'text' => 'Ease-In OutQuad',872 'text' => __('Ease-In OutQuad', 'cycloneslider'), 873 873 'value' => 'easeInOutQuad' 874 874 ), 875 875 array( 876 'text' => 'Ease-In Cubic',876 'text' => __('Ease-In Cubic', 'cycloneslider'), 877 877 'value' => 'easeInCubic' 878 878 ), 879 879 array( 880 'text' => 'Ease-Out Cubic',880 'text' => __('Ease-Out Cubic', 'cycloneslider'), 881 881 'value' => 'easeOutCubic' 882 882 ), 883 883 array( 884 'text' => 'Ease-In OutCubic',884 'text' => __('Ease-In OutCubic', 'cycloneslider'), 885 885 'value' => 'easeInOutCubic' 886 886 ), 887 887 array( 888 'text' => 'Ease-In Quart',888 'text' => __('Ease-In Quart', 'cycloneslider'), 889 889 'value' => 'easeInQuart' 890 890 ), 891 891 array( 892 'text' => 'Ease-Out Quart',892 'text' => __('Ease-Out Quart', 'cycloneslider'), 893 893 'value' => 'easeOutQuart' 894 894 ), 895 895 array( 896 'text' => 'Ease-In OutQuart',896 'text' => __('Ease-In OutQuart', 'cycloneslider'), 897 897 'value' => 'easeInOutQuart' 898 898 ), 899 899 array( 900 'text' => 'Ease-In Quint',900 'text' => __('Ease-In Quint', 'cycloneslider'), 901 901 'value' => 'easeInQuint' 902 902 ), 903 903 array( 904 'text' => 'Ease-Out Quint',904 'text' => __('Ease-Out Quint', 'cycloneslider'), 905 905 'value' => 'easeOutQuint' 906 906 ), 907 907 array( 908 'text' => 'Ease-In OutQuint',908 'text' => __('Ease-In OutQuint', 'cycloneslider'), 909 909 'value' => 'easeInOutQuint' 910 910 ), 911 911 array( 912 'text' => 'Ease-In Sine',912 'text' => __('Ease-In Sine', 'cycloneslider'), 913 913 'value' => 'easeInSine' 914 914 ), 915 915 array( 916 'text' => 'Ease-Out Sine',916 'text' => __('Ease-Out Sine', 'cycloneslider'), 917 917 'value' => 'easeOutSine' 918 918 ), 919 919 array( 920 'text' => 'Ease-In OutSine',920 'text' => __('Ease-In OutSine', 'cycloneslider'), 921 921 'value' => 'easeInOutSine' 922 922 ), 923 923 array( 924 'text' => 'Ease-In Expo',924 'text' => __('Ease-In Expo', 'cycloneslider'), 925 925 'value' => 'easeInExpo' 926 926 ), 927 927 array( 928 'text' => 'Ease-Out Expo',928 'text' => __('Ease-Out Expo', 'cycloneslider'), 929 929 'value' => 'easeOutExpo' 930 930 ), 931 931 array( 932 'text' => 'Ease-In OutExpo',932 'text' => __('Ease-In OutExpo', 'cycloneslider'), 933 933 'value' => 'easeInOutExpo' 934 934 ), 935 935 array( 936 'text' => 'Ease-In Circ',936 'text' => __('Ease-In Circ', 'cycloneslider'), 937 937 'value' => 'easeInCirc' 938 938 ), 939 939 array( 940 'text' => 'Ease-Out Circ',940 'text' => __('Ease-Out Circ', 'cycloneslider'), 941 941 'value' => 'easeOutCirc' 942 942 ), 943 943 array( 944 'text' => 'Ease-In OutCirc',944 'text' => __('Ease-In OutCirc', 'cycloneslider'), 945 945 'value' => 'easeInOutCirc' 946 946 ), 947 947 array( 948 'text' => 'Ease-In Elastic',948 'text' => __('Ease-In Elastic', 'cycloneslider'), 949 949 'value' => 'easeInElastic' 950 950 ), 951 951 array( 952 'text' => 'Ease-Out Elastic',952 'text' => __('Ease-Out Elastic', 'cycloneslider'), 953 953 'value' => 'easeOutElastic' 954 954 ), 955 955 array( 956 'text' => 'Ease-In OutElastic',956 'text' => __('Ease-In OutElastic', 'cycloneslider'), 957 957 'value' => 'easeInOutElastic' 958 958 ), 959 959 array( 960 'text' => 'Ease-In Back',960 'text' => __('Ease-In Back', 'cycloneslider'), 961 961 'value' => 'easeInBack' 962 962 ), 963 963 array( 964 'text' => 'Ease-Out Back',964 'text' => __('Ease-Out Back', 'cycloneslider'), 965 965 'value' => 'easeOutBack' 966 966 ), 967 967 array( 968 'text' => 'Ease-In OutBack',968 'text' => __('Ease-In OutBack', 'cycloneslider'), 969 969 'value' => 'easeInOutBack' 970 970 ), 971 971 array( 972 'text' => 'Ease-In Bounce',972 'text' => __('Ease-In Bounce', 'cycloneslider'), 973 973 'value' => 'easeInBounce' 974 974 ), 975 975 array( 976 'text' => 'Ease-Out Bounce',976 'text' => __('Ease-Out Bounce', 'cycloneslider'), 977 977 'value' => 'easeOutBounce' 978 978 ), 979 979 array( 980 'text' => 'Ease-In OutBounce',980 'text' => __('Ease-In OutBounce', 'cycloneslider'), 981 981 'value' => 'easeInOutBounce' 982 982 ) -
cyclone-slider/trunk/src/plugin.php
r1650697 r1676150 7 7 global $cyclone_slider_plugin_instance; 8 8 9 9 10 $plugin = new CycloneSlider_Plugin(); 11 10 12 11 13 $plugin['path'] = realpath(plugin_dir_path(dirname(__FILE__))) . DIRECTORY_SEPARATOR; … … 15 17 $plugin['debug'] = false; 16 18 $plugin['textdomain'] = 'cs3_service_plugin_text_domain'; 19 20 // Load as early as possible 21 load_plugin_textdomain( $plugin['textdomain'], false, basename($plugin['path']).'/languages/' ); // Load language files 22 17 23 $plugin['slug'] = 'cs3_service_plugin_slug'; 18 24 $plugin['nonce_name'] = 'cyclone_slider_builder_nonce'; … … 132 138 require_once($plugin['path'].'src/functions.php'); // Function not autoloaded from the old days. Deprecated 133 139 134 load_plugin_textdomain( $plugin['textdomain'], false, basename(dirname(__FILE__)).'/languages/' ); // Load language files 135 140 136 141 $plugin->run(); 137 142 … … 173 178 'text_domain' => 'Text Domain' 174 179 ); 175 $object = get_file_data( __FILE__, $default_headers, 'plugin' ); // WP Func180 $object = get_file_data( $plugin['path'].DIRECTORY_SEPARATOR.'cyclone-slider.php', $default_headers, 'plugin' ); // WP Func 176 181 177 182 return $object; … … 196 201 } 197 202 198 $object = $plugin['plugin_headers']['text_domain'];203 $object = trim($plugin['plugin_headers']['text_domain']); 199 204 return $object; 200 205 }
Note: See TracChangeset
for help on using the changeset viewer.