Cyclone Slider - Version 2.10.0

Version Description

  • New. Added ability to enable/disable slide.
  • New. Added ability to import and export sliders.
  • Change. Major refactoring. Code now using service definitions.
Download this release

Release Info

Developer kosinix
Plugin Icon 128x128 Cyclone Slider
Version 2.10.0
Comparing to
See all releases

Code changes from version 2.9.7 to 2.10.0

Files changed (52) hide show
  1. README.txt +6 -1
  2. css/admin.css +13 -0
  3. cyclone-slider.php +357 -45
  4. lang/cycloneslider-ar.mo +0 -0
  5. lang/cycloneslider-ar.po +162 -147
  6. lang/cycloneslider-de_DE.mo +0 -0
  7. lang/cycloneslider-de_DE.po +147 -141
  8. lang/cycloneslider-es_ES.mo +0 -0
  9. lang/cycloneslider-es_ES.po +154 -152
  10. lang/cycloneslider-fa_IR.mo +0 -0
  11. lang/cycloneslider-fa_IR.po +162 -147
  12. lang/cycloneslider-fr_FR.mo +0 -0
  13. lang/cycloneslider-fr_FR.po +162 -147
  14. lang/cycloneslider-it_IT.mo +0 -0
  15. lang/cycloneslider-it_IT.po +162 -147
  16. lang/cycloneslider-sr_RS.mo +0 -0
  17. lang/cycloneslider-sr_RS.po +162 -147
  18. lang/cycloneslider.pot +938 -720
  19. src/CycloneSlider/Admin.php +99 -75
  20. src/CycloneSlider/AssetLoader.php +43 -35
  21. src/CycloneSlider/Base.php +0 -8
  22. src/CycloneSlider/Data.php +143 -8
  23. src/CycloneSlider/ExportPage.php +199 -91
  24. src/CycloneSlider/ExportPageNextgen.php +280 -0
  25. src/CycloneSlider/Exporter.php +76 -114
  26. src/CycloneSlider/ExporterNextgen.php +184 -0
  27. src/CycloneSlider/Frontend.php +36 -17
  28. src/CycloneSlider/ImageEditor.php +5 -1
  29. src/CycloneSlider/ImageResizer.php +17 -5
  30. src/CycloneSlider/ImportPage.php +138 -70
  31. src/CycloneSlider/Importer.php +123 -186
  32. src/CycloneSlider/NextgenIntegration.php +11 -3
  33. src/CycloneSlider/Plugin.php +6 -0
  34. src/CycloneSlider/SettingsPage.php +27 -112
  35. src/CycloneSlider/TemplatesManager.php +0 -127
  36. src/CycloneSlider/Updater.php +13 -31
  37. src/CycloneSlider/Widgets.php +2 -2
  38. src/CycloneSlider/WpAdminPage.php +49 -0
  39. src/CycloneSlider/WpAdminSubPage.php +46 -0
  40. src/CycloneSlider/WpSubPage.php +71 -0
  41. views/error-message.php +7 -0
  42. views/export-import-tabs.php +6 -0
  43. views/export-nextgen-step-1.php +47 -0
  44. views/export-nextgen-step-2.php +38 -0
  45. views/export-nextgen-step-3.php +28 -0
  46. views/export-step-1.php +47 -0
  47. views/export-step-2.php +38 -0
  48. views/export-step-3.php +28 -0
  49. views/import-step-1.php +26 -0
  50. views/import-step-3.php +16 -0
  51. views/ok-message.php +7 -0
  52. views/slide-edit.php +7 -2
README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.codefleet.net/donate/
4
  Tags: slider, slideshow, drag-and-drop, wordpress-slider, wordpress-slideshow, cycle 2, jquery, responsive, translation-ready, custom-post, cyclone-slider
5
  Requires at least: 3.5
6
  Tested up to: 4.1
7
- Stable tag: 2.9.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -103,6 +103,11 @@ Inside `wp-content` create a folder named "cycloneslider". Add your templates in
103
 
104
  == Changelog ==
105
 
 
 
 
 
 
106
  = 2.9.7 - 2015-01-30 =
107
  * Fix nextgen gallery integration
108
 
4
  Tags: slider, slideshow, drag-and-drop, wordpress-slider, wordpress-slideshow, cycle 2, jquery, responsive, translation-ready, custom-post, cyclone-slider
5
  Requires at least: 3.5
6
  Tested up to: 4.1
7
+ Stable tag: 2.10.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
103
 
104
  == Changelog ==
105
 
106
+ = 2.10.0 =
107
+ * New. Added ability to enable/disable slide.
108
+ * New. Added ability to import and export sliders.
109
+ * Change. Major refactoring. Code now using service definitions.
110
+
111
  = 2.9.7 - 2015-01-30 =
112
  * Fix nextgen gallery integration
113
 
css/admin.css CHANGED
@@ -44,6 +44,11 @@
44
  background-image: -webkit-linear-gradient(top, #f9f9f9, #ececec); /* new Webkit */
45
  background-image: linear-gradient(top, #f9f9f9, #ececec); /* proposed W3C Markup */
46
  }
 
 
 
 
 
47
  .admin-color-light .cs-header {
48
  background-color: #F9F9F9;
49
  background-image: none;
@@ -227,6 +232,11 @@
227
  background: #ECECEC;
228
  border-bottom:1px solid #D3D3D3;
229
  }
 
 
 
 
 
230
  .cs-image-preview{
231
  padding:15px 2%;
232
  float:left;
@@ -696,3 +706,6 @@ label[for="force_resize"]{
696
  z-index: 999;
697
  }
698
 
 
 
 
44
  background-image: -webkit-linear-gradient(top, #f9f9f9, #ececec); /* new Webkit */
45
  background-image: linear-gradient(top, #f9f9f9, #ececec); /* proposed W3C Markup */
46
  }
47
+
48
+ .cs-slide[data-slide-hidden="1"] .cs-header {
49
+ border-color: #e0e0e0;
50
+ color: #A2A2A2;
51
+ }
52
  .admin-color-light .cs-header {
53
  background-color: #F9F9F9;
54
  background-image: none;
232
  background: #ECECEC;
233
  border-bottom:1px solid #D3D3D3;
234
  }
235
+ .cs-slide-hidden {
236
+ float: right;
237
+ display: block;
238
+ margin-top: 6px;
239
+ }
240
  .cs-image-preview{
241
  padding:15px 2%;
242
  float:left;
706
  z-index: 999;
707
  }
708
 
709
+ .export-page-list {
710
+ list-style: inside square;
711
+ }
cyclone-slider.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Cyclone Slider 2
4
  Plugin URI: http://www.codefleet.net/cyclone-slider-2/
5
  Description: Create and manage sliders with ease. Built for both casual users and developers.
6
- Version: 2.9.7
7
  Author: Nico Amarilla
8
  Author URI: http://www.codefleet.net/
9
  License:
@@ -25,12 +25,12 @@ License:
25
 
26
  */
27
 
28
- function cycloneslider_autoloader($classname) {
29
- if(false !== strpos($classname, 'CycloneSlider')){
30
- $plugin_dir = realpath(plugin_dir_path(__FILE__)) . DIRECTORY_SEPARATOR;
31
- $classname = str_replace('_', DIRECTORY_SEPARATOR, $classname);
32
- $file = $plugin_dir .'src'.DIRECTORY_SEPARATOR. $classname . '.php';
33
- require_once $file;
34
  }
35
  }
36
  spl_autoload_register('cycloneslider_autoloader');
@@ -47,41 +47,53 @@ function cycloneslider_init() {
47
 
48
  $plugin['path'] = realpath(plugin_dir_path(__FILE__)) . DIRECTORY_SEPARATOR;
49
  $plugin['url'] = plugin_dir_url(__FILE__);
 
50
  $plugin['debug'] = false;
51
- $plugin['version'] = '2.9.7';
52
- $plugin['textdomain'] = 'cycloneslider';
53
  $plugin['slug'] = 'cyclone-slider-2/cyclone-slider.php';
54
  $plugin['nonce_name'] = 'cyclone_slider_builder_nonce';
55
  $plugin['nonce_action'] = 'cyclone-slider-save';
 
 
 
 
 
 
56
 
57
- $wp_upload_dir = wp_upload_dir();
58
-
59
- $plugin['wp_content_dir'] = realpath( dirname( $wp_upload_dir['basedir'] ) );
60
- $plugin['wp_content_url'] = content_url();
61
-
62
- require_once($plugin['path'].'src/functions.php'); // Function not autoloaded from the old days. Deprecated
63
-
64
- $plugin['view.folder'] = $plugin['path'].'views';
65
- $plugin['view'] = new CycloneSlider_View( $plugin['view.folder'] );
66
-
67
- $plugin['image_resizer'] = new CycloneSlider_ImageResizer();
68
  $plugin['image_editor'] = 'CycloneSlider_ImageEditor';
69
  $plugin['image_sizes'] = array(
70
- '40_40_crop' => array( // Used by thumbnail template
71
- 'width' => 40,
72
- 'height' => 40,
73
- 'resize_option' => 'crop'
74
- )
75
- );
76
- $plugin['image_sizes'] = apply_filters('cycloneslider_image_sizes', $plugin['image_sizes']);
77
-
78
- $plugin['data'] = new CycloneSlider_Data();
79
-
80
- $plugin['nextgen_integration'] = new CycloneSlider_NextgenIntegration();
81
-
82
- $plugin['templates_manager'] = new CycloneSlider_TemplatesManager();
83
- // Order is important. core is overridden by active-theme which in turn is overridden by wp-content.
84
- $plugin['templates_locations'] = array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  array(
86
  'path' => $plugin['path'].'templates'.DIRECTORY_SEPARATOR, // This resides in the plugin
87
  'url' => $plugin['url'].'templates/',
@@ -99,27 +111,327 @@ function cycloneslider_init() {
99
  )
100
  );
101
 
102
- $plugin['settings_page'] = new CycloneSlider_SettingsPage();
103
- $plugin['settings_page.page_title'] = __('Cyclone Slider Settings', $plugin['textdomain']);
104
- $plugin['settings_page.menu_title'] = __('Settings', $plugin['textdomain']);
105
- $plugin['settings_page.option_group'] = 'cyclone_option_group';
106
- $plugin['settings_page.option_name'] = 'cyclone_option_name';
107
- $plugin['settings_page.parent_slug'] = 'edit.php?post_type=cycloneslider';
108
- $plugin['settings_page.menu_slug'] = 'cycloneslider-settings';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
 
110
  $plugin['youtube'] = new CycloneSlider_Youtube();
111
 
112
  $plugin['vimeo'] = new CycloneSlider_Vimeo();
113
 
114
- $plugin['asset_loader'] = new CycloneSlider_AssetLoader();
115
 
116
- $plugin['admin'] = new CycloneSlider_Admin();
117
 
118
- $plugin['frontend'] = new CycloneSlider_Frontend();
119
 
120
  $plugin['widgets'] = new CycloneSlider_Widgets();
121
 
 
 
122
  $plugin->run();
123
 
124
  $cyclone_slider_plugin_instance = $plugin;
125
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  Plugin Name: Cyclone Slider 2
4
  Plugin URI: http://www.codefleet.net/cyclone-slider-2/
5
  Description: Create and manage sliders with ease. Built for both casual users and developers.
6
+ Version: 2.10.0
7
  Author: Nico Amarilla
8
  Author URI: http://www.codefleet.net/
9
  License:
25
 
26
  */
27
 
28
+ // Autoloader
29
+ function cycloneslider_autoloader( $class_name ) {
30
+ if( false !== strpos( $class_name, 'CycloneSlider' ) ){
31
+ $classes_dir = realpath( plugin_dir_path( __FILE__ ) ) . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR;
32
+ $class_file = str_replace( '_', DIRECTORY_SEPARATOR, $class_name ) . '.php';
33
+ require_once $classes_dir . $class_file;
34
  }
35
  }
36
  spl_autoload_register('cycloneslider_autoloader');
47
 
48
  $plugin['path'] = realpath(plugin_dir_path(__FILE__)) . DIRECTORY_SEPARATOR;
49
  $plugin['url'] = plugin_dir_url(__FILE__);
50
+ $plugin['version'] = 'cycloneslider_service_plugin_version';
51
  $plugin['debug'] = false;
52
+ $plugin['textdomain'] = 'cycloneslider';
 
53
  $plugin['slug'] = 'cyclone-slider-2/cyclone-slider.php';
54
  $plugin['nonce_name'] = 'cyclone_slider_builder_nonce';
55
  $plugin['nonce_action'] = 'cyclone-slider-save';
56
+ $plugin['wp_upload_location'] = 'cycloneslider_wp_upload_location';
57
+ $plugin['wp_content_dir'] = 'cycloneslider_service_wp_content_dir';
58
+ $plugin['wp_content_url'] = content_url();
59
+ $plugin['cyclone_slider_dir'] = 'cycloneslider_service_cyclone_slider_dir'; // Folder where plugin related functions are performed
60
+ $plugin['view_folder'] = $plugin['path'].'views';
61
+ $plugin['view'] = 'cycloneslider_service_view';
62
 
63
+ $plugin['image_resizer'] = 'cycloneslider_service_image_resizer';
 
 
 
 
 
 
 
 
 
 
64
  $plugin['image_editor'] = 'CycloneSlider_ImageEditor';
65
  $plugin['image_sizes'] = array(
66
+ '40_40_crop' => array( // Used by thumbnail template
67
+ 'width' => 40,
68
+ 'height' => 40,
69
+ 'resize_option' => 'crop'
70
+ ),
71
+ '60_60_crop' => array( // Used by Galleria template
72
+ 'width' => 60,
73
+ 'height' => 60,
74
+ 'resize_option' => 'crop'
75
+ )
76
+ );
77
+ $plugin['image_sizes'] = apply_filters('cycloneslider_image_sizes', $plugin['image_sizes']);
78
+
79
+ $plugin['data'] = 'cycloneslider_service_data';
80
+
81
+ $plugin['nextgen_integration'] = 'cycloneslider_service_nextgen';
82
+
83
+ $plugin['exporter'] = 'cycloneslider_service_exporter';
84
+ $plugin['exports_dir'] = $plugin['cyclone_slider_dir'].'/exports';
85
+ $plugin['export_json_file'] = 'export.json';
86
+
87
+ $plugin['importer'] = 'cycloneslider_service_importer';
88
+ $plugin['imports_dir'] = $plugin['cyclone_slider_dir'].'/imports';
89
+ $plugin['imports_extracts_dir'] = $plugin['imports_dir'].'/extracts';
90
+ $plugin['import_zip_name'] = 'import.zip';
91
+
92
+
93
+ $plugin['zip_archive'] = 'ZipArchive';
94
+
95
+ // Order is important. core is overridden by active-theme which in turn is overridden by wp-content.
96
+ $plugin['template_locations'] = array(
97
  array(
98
  'path' => $plugin['path'].'templates'.DIRECTORY_SEPARATOR, // This resides in the plugin
99
  'url' => $plugin['url'].'templates/',
111
  )
112
  );
113
 
114
+ $plugin['settings_page'] = 'cycloneslider_service_settings_page';
115
+ $plugin['settings_page_properties'] = array(
116
+ 'parent_slug' => 'edit.php?post_type=cycloneslider',
117
+ 'page_title' => __('Cyclone Slider Settings', $plugin['textdomain']),
118
+ 'menu_title' => __('Settings', $plugin['textdomain']),
119
+ 'capability' => 'manage_options',
120
+ 'menu_slug' => 'cycloneslider-settings',
121
+ 'option_group' => 'cyclone_option_group',
122
+ 'option_name' => 'cyclone_option_name'
123
+ );
124
+
125
+ $plugin['export_page'] = 'cycloneslider_service_export_page';
126
+ $plugin['export_page_properties'] = array(
127
+ 'parent_slug' => 'edit.php?post_type=cycloneslider',
128
+ 'page_title' => __('Cyclone Slider Export', $plugin['textdomain']),
129
+ 'menu_title' => __('Export/Import', $plugin['textdomain']),
130
+ 'capability' => 'manage_options',
131
+ 'menu_slug' => 'cycloneslider-export',
132
+ 'transient_name' => 'cycloneslider_export_transient',
133
+ 'nonce_name' => 'cycloneslider_export_nonce',
134
+ 'nonce_action' => 'cycloneslider_export',
135
+ 'url' => get_admin_url( get_current_blog_id(), 'edit.php?post_type=cycloneslider&page=cycloneslider-export' )
136
+ );
137
+
138
+ //$plugin['export_page_nextgen'] = 'cycloneslider_service_export_page_nextgen';
139
+ $plugin['export_page_nextgen_properties'] = array(
140
+ 'parent_slug' => '',
141
+ 'page_title' => __('Cyclone Slider Nextgen Export', $plugin['textdomain']),
142
+ 'menu_title' => __('Export Nextgen', $plugin['textdomain']),
143
+ 'capability' => 'manage_options',
144
+ 'menu_slug' => 'cycloneslider-export-nextgen',
145
+ 'transient_name' => 'cycloneslider_export_nextgen_transient',
146
+ 'nonce_name' => 'cycloneslider_export_nextgen_nonce',
147
+ 'nonce_action' => 'cycloneslider_export_nextgen',
148
+ 'url' => get_admin_url( get_current_blog_id(), 'edit.php?post_type=cycloneslider&page=cycloneslider-export-nextgen' )
149
+ );
150
+
151
+ $plugin['import_page'] = 'cycloneslider_service_import_page';
152
+ $plugin['import_page_properties'] = array(
153
+ 'parent_slug' => '',
154
+ 'page_title' => __('Cyclone Slider Import', $plugin['textdomain']),
155
+ 'menu_title' => __('Import', $plugin['textdomain']),
156
+ 'capability' => 'manage_options',
157
+ 'menu_slug' => 'cycloneslider-import',
158
+ 'nonce_name' => 'cycloneslider_import_nonce',
159
+ 'nonce_action' => 'cycloneslider_import',
160
+ 'url' => get_admin_url( get_current_blog_id(), 'edit.php?post_type=cycloneslider&page=cycloneslider-import' )
161
+ );
162
+
163
+ $plugin['zip_archive'] = 'cycloneslider_service_zip_archive';
164
 
165
  $plugin['youtube'] = new CycloneSlider_Youtube();
166
 
167
  $plugin['vimeo'] = new CycloneSlider_Vimeo();
168
 
169
+ $plugin['asset_loader'] = 'cycloneslider_service_asset_loader';
170
 
171
+ $plugin['admin'] = 'cycloneslider_service_admin';
172
 
173
+ $plugin['frontend'] = 'cycloneslider_service_frontend';
174
 
175
  $plugin['widgets'] = new CycloneSlider_Widgets();
176
 
177
+ require_once($plugin['path'].'src/functions.php'); // Function not autoloaded from the old days. Deprecated
178
+
179
  $plugin->run();
180
 
181
  $cyclone_slider_plugin_instance = $plugin;
182
  }
183
+
184
+ // Service Definitions
185
+ function cycloneslider_service_plugin_version( $plugin ) {
186
+ static $object;
187
+
188
+ if (null !== $object) {
189
+ return $object;
190
+ }
191
+
192
+ $default_headers = array(
193
+ 'name' => 'Plugin Name',
194
+ 'plugin_uri' => 'Plugin URI',
195
+ 'version' => 'Version'
196
+ );
197
+ $plugin_data = get_file_data( __FILE__, $default_headers, 'plugin' ); // WP Func
198
+
199
+ $object = $plugin_data['version'];
200
+ return $object;
201
+ }
202
+
203
+ function cycloneslider_wp_upload_location( $plugin ) {
204
+ static $object;
205
+
206
+ if (null !== $object) {
207
+ return $object;
208
+ }
209
+ $wp_locations = wp_upload_dir();
210
+ $object = $wp_locations;
211
+ return $object;
212
+ }
213
+
214
+ function cycloneslider_service_wp_content_dir( $plugin ) {
215
+ static $object;
216
+
217
+ if (null !== $object) {
218
+ return $object;
219
+ }
220
+
221
+ $wp_upload_dir = $plugin['wp_upload_location'];
222
+
223
+ $object = dirname( $wp_upload_dir['basedir'] );
224
+ return $object;
225
+ }
226
+
227
+ function cycloneslider_service_cyclone_slider_dir( $plugin ) {
228
+ static $object;
229
+
230
+ if (null !== $object) {
231
+ return $object;
232
+ }
233
+
234
+ $object = $plugin['wp_content_dir'].'/cyclone-slider';
235
+ return $object;
236
+ }
237
+
238
+ function cycloneslider_service_image_resizer( $plugin ) {
239
+ static $object;
240
+
241
+ if (null !== $object) {
242
+ return $object;
243
+ }
244
+
245
+ $object = new CycloneSlider_ImageResizer( $plugin['image_sizes'], $plugin['image_editor'] );
246
+ return $object;
247
+ }
248
+
249
+ function cycloneslider_service_data( $plugin ) {
250
+ static $object;
251
+
252
+ if (null !== $object) {
253
+ return $object;
254
+ }
255
+
256
+ $object = new CycloneSlider_Data( $plugin['nonce_name'], $plugin['nonce_action'], $plugin['image_resizer'], $plugin['template_locations'], $plugin['settings_page_properties'] );
257
+ return $object;
258
+ }
259
+
260
+ function cycloneslider_service_nextgen( $plugin ) {
261
+ static $object;
262
+
263
+ if (null !== $object) {
264
+ return $object;
265
+ }
266
+
267
+ $object = new CycloneSlider_NextgenIntegration( $plugin['data'] );
268
+ return $object;
269
+ }
270
+
271
+ function cycloneslider_service_exporter( $plugin ){
272
+ static $object;
273
+
274
+ if (null !== $object) {
275
+ return $object;
276
+ }
277
+
278
+ $wp_upload_location = $plugin['wp_upload_location'];
279
+ $object = new CycloneSlider_Exporter( $plugin['data'], $plugin['zip_archive'], $plugin['export_json_file'], $plugin['textdomain'] );
280
+ return $object;
281
+ }
282
+ function cycloneslider_service_importer( $plugin ) {
283
+ static $object;
284
+
285
+ if (null !== $object) {
286
+ return $object;
287
+ }
288
+
289
+ $wp_upload_location = $plugin['wp_upload_location'];
290
+ $object = new CycloneSlider_Importer( $plugin['data'], $plugin['imports_dir'], $wp_upload_location['path'], $plugin['zip_archive'], $plugin['import_zip_name'], $plugin['imports_extracts_dir'], $plugin['export_json_file'], $plugin['textdomain'] );
291
+ return $object;
292
+ }
293
+
294
+ function cycloneslider_service_view( $plugin ) {
295
+ static $object;
296
+
297
+ if (null !== $object) {
298
+ return $object;
299
+ }
300
+
301
+ $object = new CycloneSlider_View( $plugin['view_folder'] );
302
+ return $object;
303
+ }
304
+
305
+ function cycloneslider_service_settings_page( $plugin ) {
306
+ static $object;
307
+
308
+ if (null !== $object) {
309
+ return $object;
310
+ }
311
+
312
+ $object = new CycloneSlider_SettingsPage( $plugin['settings_page_properties'], $plugin['data'], $plugin['textdomain'], $plugin['debug'], $plugin['view'] );
313
+ return $object;
314
+ }
315
+
316
+ function cycloneslider_service_export_page( $plugin ) {
317
+ static $object;
318
+
319
+ if (null !== $object) {
320
+ return $object;
321
+ }
322
+
323
+ $object = new CycloneSlider_ExportPage(
324
+ $plugin['export_page_properties']['parent_slug'],
325
+ $plugin['export_page_properties']['page_title'],
326
+ $plugin['export_page_properties']['menu_title'],
327
+ $plugin['export_page_properties']['capability'],
328
+ $plugin['export_page_properties']['menu_slug'],
329
+ $plugin['data']->get_sliders(),
330
+ $plugin['view'],
331
+ $plugin['exporter'],
332
+ $plugin['wp_content_dir'],
333
+ $plugin['wp_content_url'],
334
+ $plugin['textdomain'],
335
+ $plugin['export_page_properties']['transient_name'],
336
+ $plugin['export_page_properties']['nonce_name'],
337
+ $plugin['export_page_properties']['nonce_action'],
338
+ $plugin['export_page_properties']['url'],
339
+ $plugin['import_page_properties']['url'],
340
+ $plugin['export_page_nextgen_properties']['url']
341
+ );
342
+ return $object;
343
+ }
344
+
345
+ function cycloneslider_service_import_page( $plugin ){
346
+ static $object;
347
+
348
+ if (null !== $object) {
349
+ return $object;
350
+ }
351
+
352
+ $object = new CycloneSlider_ImportPage(
353
+ $plugin['import_page_properties']['parent_slug'],
354
+ $plugin['import_page_properties']['page_title'],
355
+ $plugin['import_page_properties']['menu_title'],
356
+ $plugin['import_page_properties']['capability'],
357
+ $plugin['import_page_properties']['menu_slug'],
358
+ $plugin['data'],
359
+ $plugin['view'],
360
+ $plugin['import_page_properties']['nonce_name'],
361
+ $plugin['import_page_properties']['nonce_action'],
362
+ $plugin['importer'],
363
+ $plugin['cyclone_slider_dir'],
364
+ $plugin['wp_content_dir'],
365
+ $plugin['wp_content_url'],
366
+ $plugin['textdomain'],
367
+ $plugin['export_page_properties']['url'],
368
+ $plugin['import_page_properties']['url'],
369
+ $plugin['export_page_nextgen_properties']['url']
370
+ );
371
+ return $object;
372
+ }
373
+
374
+ function cycloneslider_service_export_page_nextgen( $plugin ) {
375
+ static $object;
376
+
377
+ if (null !== $object) {
378
+ return $object;
379
+ }
380
+
381
+ $object = new CycloneSlider_ExportPageNextgen(
382
+ $plugin['export_page_nextgen_properties']['parent_slug'],
383
+ $plugin['export_page_nextgen_properties']['page_title'],
384
+ $plugin['export_page_nextgen_properties']['menu_title'],
385
+ $plugin['export_page_nextgen_properties']['capability'],
386
+ $plugin['export_page_nextgen_properties']['menu_slug'],
387
+ $plugin['view'],
388
+ $plugin['exporter'],
389
+ $plugin['wp_content_dir'],
390
+ $plugin['wp_content_url'],
391
+ $plugin['textdomain'],
392
+ $plugin['export_page_nextgen_properties']['transient_name'],
393
+ $plugin['export_page_nextgen_properties']['nonce_name'],
394
+ $plugin['export_page_nextgen_properties']['nonce_action'],
395
+ $plugin['export_page_properties']['url'],
396
+ $plugin['import_page_properties']['url'],
397
+ $plugin['export_page_nextgen_properties']['url']
398
+ );
399
+ return $object;
400
+ }
401
+
402
+ function cycloneslider_service_zip_archive( $plugin ){
403
+ return new ZipArchive;
404
+ }
405
+
406
+ function cycloneslider_service_asset_loader( $plugin ) {
407
+ static $object;
408
+
409
+ if (null !== $object) {
410
+ return $object;
411
+ }
412
+
413
+ $object = new CycloneSlider_AssetLoader( $plugin['data']->get_settings_page_data(), $plugin['url'], $plugin['version'], $plugin['data'] );
414
+ return $object;
415
+ }
416
+
417
+ function cycloneslider_service_admin( $plugin ) {
418
+ static $object;
419
+
420
+ if (null !== $object) {
421
+ return $object;
422
+ }
423
+
424
+ $object = new CycloneSlider_Admin($plugin['asset_loader'], $plugin['textdomain'], $plugin['data'], $plugin['debug'], $plugin['view'], $plugin['nonce_name'], $plugin['nonce_action'], $plugin['url'] );
425
+ return $object;
426
+ }
427
+
428
+ function cycloneslider_service_frontend( $plugin ) {
429
+ static $object;
430
+
431
+ if (null !== $object) {
432
+ return $object;
433
+ }
434
+
435
+ $object = new CycloneSlider_Frontend( $plugin['data'], $plugin['image_sizes'], $plugin['youtube'], $plugin['vimeo'], $plugin['view'] );
436
+ return $object;
437
+ }
lang/cycloneslider-ar.mo CHANGED
Binary file
lang/cycloneslider-ar.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Cyclone Slider 2\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-12-19 17:56+0800\n"
6
- "PO-Revision-Date: 2014-12-19 17:56+0800\n"
7
  "Last-Translator: Nico Amarilla <kosinix@codefleet.net>\n"
8
  "Language-Team: kosinix <kosinix@codefleet.net>\n"
9
  "Language: en_US\n"
@@ -18,218 +18,216 @@ msgstr ""
18
  "X-Poedit-SearchPath-0: .\n"
19
  "X-Poedit-SearchPath-1: ..\n"
20
 
21
- #: ../cyclone-slider.php:91
22
  msgid "Cyclone Slider Settings"
23
  msgstr "إعدادات عرض الشرائح"
24
 
25
- #: ../cyclone-slider.php:92
26
  msgid "Settings"
27
  msgstr "إعدادات"
28
 
29
- #: ../src/CycloneSlider/Admin.php:80
30
  msgid "Cyclone Slider"
31
  msgstr "عرض الشرائح"
32
 
33
- #: ../src/CycloneSlider/Admin.php:81
34
  msgid "Slideshow"
35
  msgstr "عرض الشرائح"
36
 
37
- #: ../src/CycloneSlider/Admin.php:82
38
  msgid "Add Slideshow"
39
  msgstr "أضف عرض شرائح"
40
 
41
- #: ../src/CycloneSlider/Admin.php:83
42
  msgid "Add New Slideshow"
43
  msgstr "أضف عرض شرائح جديد"
44
 
45
- #: ../src/CycloneSlider/Admin.php:84
46
  msgid "Edit Slideshow"
47
  msgstr "تحرير عرض شرائح"
48
 
49
- #: ../src/CycloneSlider/Admin.php:85
50
  msgid "New Slideshow"
51
  msgstr "عرض شرائح جديد"
52
 
53
- #: ../src/CycloneSlider/Admin.php:86
54
  msgid "View Slideshow"
55
  msgstr "إظهار عرض الشرائح"
56
 
57
- #: ../src/CycloneSlider/Admin.php:87
58
  msgid "Search Slideshows"
59
  msgstr "البحث في عروض الشرائح"
60
 
61
- #: ../src/CycloneSlider/Admin.php:88
62
  msgid "No slideshows found"
63
  msgstr "لم يتم إيجاد عروض شرائح"
64
 
65
- #: ../src/CycloneSlider/Admin.php:89
66
  msgid "No slideshows found in Trash"
67
  msgstr "لم يتم إيجاد عروض شرائح في المهملات"
68
 
69
- #: ../src/CycloneSlider/Admin.php:133 ../src/CycloneSlider/Admin.php:136
70
- #: ../src/CycloneSlider/Admin.php:137 ../src/CycloneSlider/Admin.php:140
71
- #: ../src/CycloneSlider/Admin.php:141 ../src/CycloneSlider/Admin.php:142
72
  msgid "Slideshow updated."
73
  msgstr "تم تحديث عرض الشرائح"
74
 
75
- #: ../src/CycloneSlider/Admin.php:134
76
  msgid "Custom field updated."
77
  msgstr "تم تحديث الحقل المخصوص."
78
 
79
- #: ../src/CycloneSlider/Admin.php:135
80
  msgid "Custom field deleted."
81
  msgstr "تم حذف الحقل المخصوص."
82
 
83
- #: ../src/CycloneSlider/Admin.php:138
84
  msgid "Slideshow published."
85
  msgstr "تم نشر عرض الشرائح."
86
 
87
- #: ../src/CycloneSlider/Admin.php:139
88
  msgid "Slideshow saved."
89
  msgstr "تم حفظ عرض الشرائح."
90
 
91
- #: ../src/CycloneSlider/Admin.php:143
92
- #, php-format
93
- msgid ""
94
- "Templates CSS could not be saved. Make sure %stemplates.css is writable."
95
- msgstr ""
96
- "تعذر حفظ كود CSS الخاص بالقالب. الرجاء التأكد من أن %stemplates.css قابل "
97
- "للتعديل."
98
-
99
- #: ../src/CycloneSlider/Admin.php:144
100
- #, php-format
101
- msgid "Templates JS could not be saved. Make sure %stemplates.js is writable."
102
- msgstr ""
103
- "تعذر حفظ كود JS الخاص بالقالب. الرجاء التأكد من أن %stemplates.js قابل "
104
- "للتعديل."
105
-
106
- #: ../src/CycloneSlider/Admin.php:178
107
  msgid "Slides"
108
  msgstr "شرائح"
109
 
110
- #: ../src/CycloneSlider/Admin.php:187
111
  msgid "Slider Preview"
112
  msgstr "معاينة شريط التمرير"
113
 
114
- #: ../src/CycloneSlider/Admin.php:196
115
  msgid "Get Slider Codes"
116
  msgstr "احصل على أكواد عرض الشرائح"
117
 
118
- #: ../src/CycloneSlider/Admin.php:205
119
  msgid "Basic Settings"
120
  msgstr "الإعدادات الأساسية"
121
 
122
- #: ../src/CycloneSlider/Admin.php:214
123
  msgid "Advanced Settings"
124
  msgstr "إعدادات متقدمة"
125
 
126
- #: ../src/CycloneSlider/Admin.php:223
127
  msgid "Templates"
128
  msgstr "قوالب"
129
 
130
- #: ../src/CycloneSlider/Admin.php:232 ../src/CycloneSlider/Admin.php:492
131
  msgid "Slideshow ID"
132
  msgstr "رقم عرض الشرائح"
133
 
134
- #: ../src/CycloneSlider/Admin.php:258
135
  msgid "Slide"
136
  msgstr "شريحة"
137
 
138
- #: ../src/CycloneSlider/Admin.php:381
 
 
 
 
139
  msgid "Core"
140
  msgstr ""
141
 
142
- #: ../src/CycloneSlider/Admin.php:382
143
  #, php-format
144
  msgid "Located inside the plugin directory:<br> <strong>%s</strong>"
145
  msgstr ""
146
 
147
- #: ../src/CycloneSlider/Admin.php:386
148
  #, php-format
149
  msgid "Located inside your currently active theme:<br> <strong>%s</strong>"
150
  msgstr ""
151
 
152
- #: ../src/CycloneSlider/Admin.php:387
153
  #, php-format
154
  msgid ""
155
  "Your template is in danger of being overwritten when you upgrade your theme. "
156
  "Please move it inside %s."
157
  msgstr ""
158
 
159
- #: ../src/CycloneSlider/Admin.php:391
160
  #, php-format
161
  msgid "Located inside wp-content directory:<br> <strong>%s</strong>"
162
  msgstr ""
163
 
164
- #: ../src/CycloneSlider/Admin.php:428
165
  msgid "Slide *"
166
  msgstr "شريحة *"
167
 
168
- #: ../src/CycloneSlider/Admin.php:489
169
  msgid "Slideshow Name"
170
  msgstr "اسم عرض الشرائح"
171
 
172
- #: ../src/CycloneSlider/Admin.php:490
173
  msgid "Template"
174
  msgstr "قالب"
175
 
176
- #: ../src/CycloneSlider/Admin.php:491
177
  msgid "No. of Slides"
178
  msgstr "عدد الشرائح"
179
 
180
- #: ../src/CycloneSlider/Admin.php:493
181
  msgid "Shortcode"
182
  msgstr "كود قصير"
183
 
184
- #: ../src/CycloneSlider/AssetLoader.php:53
185
  msgid "Select an image"
186
  msgstr "اختر صورة"
187
 
188
- #: ../src/CycloneSlider/AssetLoader.php:54
189
  msgid "Select Images - Use Ctrl + Click or Shift + Click"
190
  msgstr ""
191
 
192
- #: ../src/CycloneSlider/AssetLoader.php:55
193
  msgid "Add to Slide"
194
  msgstr "أضف إلى شريحة"
195
 
196
- #: ../src/CycloneSlider/AssetLoader.php:56 ../views/slides.php:9
197
  #, fuzzy
198
  msgid "Add Images as Slides"
199
  msgstr "أضف عرض شرائح جديد"
200
 
201
- #: ../src/CycloneSlider/AssetLoader.php:57
202
  msgid "Error. Make sure its a valid YouTube URL."
203
  msgstr "خطأ. تأكد من والخمسين URL يوتيوب صالحة."
204
 
205
- #: ../src/CycloneSlider/Frontend.php:59
 
 
 
 
 
 
 
 
 
206
  #, php-format
207
  msgid "[Slideshow \"%s\" not found]"
208
  msgstr "[عرض الشرائح \"%s\" لم يتم العثور عليه]"
209
 
210
- #: ../src/CycloneSlider/Frontend.php:74
211
  #, php-format
212
  msgid "[Template \"%s\" not found]"
213
  msgstr "[القالب \"%s\" لم يتم العثور عليه]"
214
 
215
- #: ../src/CycloneSlider/NextgenIntegration.php:34
216
  msgid "NextGEN Integration"
217
  msgstr "الدمج مع NextGEN"
218
 
219
- #: ../src/CycloneSlider/NextgenIntegration.php:50
220
  msgid "Choose a NextGEN Gallery"
221
  msgstr "اختر معرض NextGEN "
222
 
223
- #: ../src/CycloneSlider/NextgenIntegration.php:60
224
  msgid "Import"
225
  msgstr "استيراد"
226
 
227
- #: ../src/CycloneSlider/NextgenIntegration.php:62
228
  msgid ""
229
  "Select a gallery to import images from. Images will be added as new slides."
230
  msgstr "اختر معرضا لاستيراد الصور منه. سيتم إضافة الصور كشرائح جديدة."
231
 
232
- #: ../src/CycloneSlider/SettingsPage.php:74
233
  msgid "Default options restored."
234
  msgstr "تم استعادة الخيارات الإفتراضية."
235
 
@@ -242,7 +240,7 @@ msgstr "مربع عرض الشرائح الجانبي"
242
  msgid "Widget for displaying sliders."
243
  msgstr "مربع جانبي لإظهار عروض الشرائح."
244
 
245
- #: ../src/CycloneSlider/WidgetSlider.php:65 ../views/slide-edit.php:49
246
  msgid "Title:"
247
  msgstr "العنوان:"
248
 
@@ -362,7 +360,7 @@ msgstr "يوتيوب"
362
  msgid "Vimeo"
363
  msgstr "فيميو"
364
 
365
- #: ../views/slide-edit.php:29 ../views/slide-edit.php:173
366
  msgid "Custom HTML"
367
  msgstr "كود HTML مخصوص"
368
 
@@ -370,136 +368,140 @@ msgstr "كود HTML مخصوص"
370
  msgid "Testimonial"
371
  msgstr ""
372
 
373
- #: ../views/slide-edit.php:42
 
 
 
 
374
  msgid "Get Image"
375
  msgstr "الحصول على صورة"
376
 
377
- #: ../views/slide-edit.php:46
378
  msgid "Caption"
379
  msgstr "عنوان فرعي"
380
 
381
- #: ../views/slide-edit.php:53
382
  msgid "Description:"
383
  msgstr "الوصف:"
384
 
385
- #: ../views/slide-edit.php:59 ../views/slide-edit.php:196
386
  msgid "Link"
387
  msgstr "رابط"
388
 
389
- #: ../views/slide-edit.php:62 ../views/slide-edit.php:199
390
  msgid "Link URL:"
391
  msgstr "عنوان الرابط:"
392
 
393
- #: ../views/slide-edit.php:66 ../views/slide-edit.php:203
394
  msgid "Open Link in:"
395
  msgstr "قم بفتح الرابط في:"
396
 
397
- #: ../views/slide-edit.php:68 ../views/slide-edit.php:205
398
  msgid "Same Window"
399
  msgstr "نفس النافذة"
400
 
401
- #: ../views/slide-edit.php:69 ../views/slide-edit.php:206
402
  msgid "New Tab or Window"
403
  msgstr "تبويبة أو نافذة جديدة"
404
 
405
- #: ../views/slide-edit.php:75
406
  msgid "Image Attributes"
407
  msgstr "سمات الصورة"
408
 
409
- #: ../views/slide-edit.php:78
410
  msgid "Alternate Text:"
411
  msgstr "النص البديل:"
412
 
413
- #: ../views/slide-edit.php:82
414
  msgid "Title Text:"
415
  msgstr "نص العنوان:"
416
 
417
- #: ../views/slide-edit.php:88
418
  msgid "Slide Transition Effects"
419
  msgstr "مؤثرات انتقال الشريحة"
420
 
421
- #: ../views/slide-edit.php:92
422
  msgid "Disable"
423
  msgstr "تعطيل"
424
 
425
- #: ../views/slide-edit.php:93
426
  msgid "Enable Slide Effects"
427
  msgstr "تفعيل مؤثرات الشريحة"
428
 
429
- #: ../views/slide-edit.php:99
430
  msgid "Transition Effects:"
431
  msgstr "مؤثرات الانتقال:"
432
 
433
- #: ../views/slide-edit.php:110 ../views/slider-properties.php:32
434
  msgid "Transition Effects Speed:"
435
  msgstr "سرعة مؤثرات الانتقال:"
436
 
437
- #: ../views/slide-edit.php:112 ../views/slide-edit.php:119
438
- #: ../views/slider-properties.php:34
439
  msgid "Milliseconds"
440
  msgstr "ملي ثانية"
441
 
442
- #: ../views/slide-edit.php:117 ../views/slider-properties.php:26
443
  msgid "Next Slide Delay:"
444
  msgstr "تأخير الشريحة التالية:"
445
 
446
- #: ../views/slide-edit.php:127 ../views/slider-properties.php:13
447
  msgid "Tile Count:"
448
  msgstr "عدد المربعات:"
449
 
450
- #: ../views/slide-edit.php:129 ../views/slider-properties.php:15
451
  msgid "The number of tiles to use in the transition."
452
  msgstr "عدد المربعات المستخدمة في الانتقال."
453
 
454
- #: ../views/slide-edit.php:133
455
  msgid "Tile Delay:"
456
  msgstr "تأخير المربعات:"
457
 
458
- #: ../views/slide-edit.php:135
459
  msgid "Milliseconds to delay each individual tile transition."
460
  msgstr "عدد الملي ثانية لتأخير كل مربع منفرد في الانتقال."
461
 
462
- #: ../views/slide-edit.php:139 ../views/slider-properties.php:18
463
  msgid "Tile Position:"
464
  msgstr "موضع المربعات:"
465
 
466
- #: ../views/slide-edit.php:141 ../views/slider-properties.php:20
467
  msgid "Vertical"
468
  msgstr "عمودي"
469
 
470
- #: ../views/slide-edit.php:142 ../views/slider-properties.php:21
471
  msgid "Horizontal"
472
  msgstr "أفقي"
473
 
474
- #: ../views/slide-edit.php:154
475
  msgid "YouTube URL:"
476
  msgstr "يوتيوب URL:"
477
 
478
- #: ../views/slide-edit.php:156
479
  msgid "Copy and paste a valid YouTube URL here."
480
  msgstr "نسخ ولصق URL يوتيوب صالحة هنا."
481
 
482
- #: ../views/slide-edit.php:161
483
  msgid "Do not show suggested videos when the video finishes."
484
  msgstr ""
485
 
486
- #: ../views/slide-edit.php:166
487
  msgid "Vimeo URL:"
488
  msgstr "فيميو URL:"
489
 
490
- #: ../views/slide-edit.php:168
491
  msgid "Copy and paste a valid Vimeo URL here."
492
  msgstr "نسخ ولصق URL فيميو صالحة هنا."
493
 
494
- #: ../views/slide-edit.php:181
495
  msgid "Quote"
496
  msgstr ""
497
 
498
- #: ../views/slide-edit.php:187
499
  msgid "Author"
500
  msgstr ""
501
 
502
- #: ../views/slide-edit.php:190
503
  #, fuzzy
504
  msgid "Name:"
505
  msgstr "اسم"
@@ -509,16 +511,16 @@ msgid "Allow Wrap?"
509
  msgstr "تسمح التفاف؟"
510
 
511
  #: ../views/slider-advanced-settings.php:6
512
- #: ../views/slider-advanced-settings.php:44 ../views/slider-properties.php:66
513
- #: ../views/slider-properties.php:74 ../views/slider-properties.php:82
514
- #: ../views/slider-properties.php:92 ../views/slider-properties.php:101
515
  msgid "Yes"
516
  msgstr "نعم"
517
 
518
  #: ../views/slider-advanced-settings.php:7
519
- #: ../views/slider-advanced-settings.php:45 ../views/slider-properties.php:67
520
- #: ../views/slider-properties.php:75 ../views/slider-properties.php:83
521
- #: ../views/slider-properties.php:91 ../views/slider-properties.php:100
522
  msgid "No"
523
  msgstr "لا"
524
 
@@ -573,27 +575,23 @@ msgstr "تمكين الدعم لفتة انتقاد للأجهزة التي تع
573
  msgid "Resize Options:"
574
  msgstr "تغيير حجم خيارات:"
575
 
576
- #: ../views/slider-advanced-settings.php:61
577
- msgid "Force Resize"
578
- msgstr "تغيير حجم القوة"
579
-
580
- #: ../views/slider-advanced-settings.php:63
581
  msgid "Auto - Cyclone Slider decides the resize option."
582
  msgstr "السيارات - المتزلج إعصار يقرر خيار تغيير الحجم."
583
 
584
- #: ../views/slider-advanced-settings.php:64
585
  msgid "Crop - Resize and remove excess parts."
586
  msgstr "المحاصيل - تغيير حجم وإزالة الأجزاء الزائدة."
587
 
588
- #: ../views/slider-advanced-settings.php:65
589
  msgid "Exact - Resize to exact dimensions."
590
  msgstr "بالضبط - تغيير حجم إلى الأبعاد الدقيقة."
591
 
592
- #: ../views/slider-advanced-settings.php:66
593
  msgid "Landscape - Resize to exact width."
594
  msgstr "المشهد - تغيير حجم لعرض بالضبط."
595
 
596
- #: ../views/slider-advanced-settings.php:67
597
  msgid "Portrait - Resize to exact height."
598
  msgstr "صورة - تغيير حجم لارتفاع بالضبط."
599
 
@@ -628,43 +626,43 @@ msgstr "قم بتغيير رقم عرض الشرائح هنا."
628
  msgid "Your preview will appear here."
629
  msgstr "سوف المعاينة تظهر هنا."
630
 
631
- #: ../views/slider-properties.php:4
632
  msgid "Transition Effects to Use:"
633
  msgstr "مؤثرات الانتقال التي سيتم استخدامها:"
634
 
635
- #: ../views/slider-properties.php:28
636
  msgid "Milliseconds. 0 to disable auto advance."
637
  msgstr "ملي ثانية. 0 لتعطيل التقدم التلقائي."
638
 
639
- #: ../views/slider-properties.php:38
640
  msgid "Width:"
641
  msgstr "عرض:"
642
 
643
- #: ../views/slider-properties.php:40 ../views/slider-properties.php:46
644
  msgid "pixels."
645
  msgstr "بكسل."
646
 
647
- #: ../views/slider-properties.php:44
648
  msgid "Height:"
649
  msgstr "ارتفاع:"
650
 
651
- #: ../views/slider-properties.php:50
652
  msgid "Width Management:"
653
  msgstr "إدارة العرض:"
654
 
655
- #: ../views/slider-properties.php:52
656
  msgid "Responsive"
657
  msgstr "متجاوب"
658
 
659
- #: ../views/slider-properties.php:53
660
  msgid "Full"
661
  msgstr "كامل"
662
 
663
- #: ../views/slider-properties.php:54
664
  msgid "Fixed"
665
  msgstr "ثابت"
666
 
667
- #: ../views/slider-properties.php:57
668
  msgid ""
669
  "Responsive - resizes to smaller size but maximum width will be equal to the "
670
  "provided width."
@@ -672,7 +670,7 @@ msgstr ""
672
  "استجابة - سوف ريسيزيس إلى حجم أصغر ولكن الحد الأقصى العرض مساويا لعرض "
673
  "المقدمة."
674
 
675
- #: ../views/slider-properties.php:58
676
  msgid ""
677
  "Full - the same as responsive but maximum width will be equal to its "
678
  "container ignoring the provided width."
@@ -680,43 +678,48 @@ msgstr ""
680
  "كامل - نفس العرض استجابة ولكن الحد الأقصى سوف يكون مساويا لالحاوية الخاصة به "
681
  "تجاهل عرض المقدم."
682
 
683
- #: ../views/slider-properties.php:59
684
  msgid "Fixed - width and height are not resized."
685
  msgstr "ثابت - العرض والارتفاع لا يتم تغيير حجمها."
686
 
687
- #: ../views/slider-properties.php:64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
688
  msgid "Pause on Hover?"
689
  msgstr "إيقاف مؤقت عند المرور بالمؤشر؟"
690
 
691
- #: ../views/slider-properties.php:72
692
  msgid "Show Prev/Next Buttons?"
693
  msgstr "إظهار أزرار السابق/التالي؟"
694
 
695
- #: ../views/slider-properties.php:80
696
  msgid "Show Navigation?"
697
  msgstr "إظهار التصفح"
698
 
699
- #: ../views/slider-properties.php:85
700
  msgid "The thumbnails or dots depending on template."
701
  msgstr "الصور الصغيرة أو النقاط اعتمادا على القالب."
702
 
703
- #: ../views/slider-properties.php:89
704
- msgid "Resize Images?"
705
- msgstr "تغيير حجم الصور؟"
706
-
707
- #: ../views/slider-properties.php:94
708
- msgid ""
709
- "Yes - resize images to slideshow dimension. <br>No - use the original "
710
- "uploaded image."
711
- msgstr ""
712
- "نعم - قم بتغيير حجم الصور لأبعاد عرض الشرائح. <br>لا - قم باستخدام الصورة "
713
- "الأصلية المرفوعة."
714
-
715
- #: ../views/slider-properties.php:98
716
  msgid "Random Slide Order?"
717
  msgstr "ترتيب عشوائي للشرائح"
718
 
719
- #: ../views/slider-properties.php:103
720
  msgid "Randomize order of slides on every page visit."
721
  msgstr "قم بتغيير ترتيب الشرائح في كل زيارة لصفحة."
722
 
@@ -741,6 +744,18 @@ msgstr "عنوان فرعي"
741
  msgid "Selected"
742
  msgstr "مختار"
743
 
 
 
 
 
 
 
 
 
 
 
 
 
744
  #~ msgid "Export"
745
  #~ msgstr "أصدر"
746
 
2
  msgstr ""
3
  "Project-Id-Version: Cyclone Slider 2\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-03-15 13:42+0800\n"
6
+ "PO-Revision-Date: 2015-03-15 13:43+0800\n"
7
  "Last-Translator: Nico Amarilla <kosinix@codefleet.net>\n"
8
  "Language-Team: kosinix <kosinix@codefleet.net>\n"
9
  "Language: en_US\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
  "X-Poedit-SearchPath-1: ..\n"
20
 
21
+ #: ../cyclone-slider.php:104
22
  msgid "Cyclone Slider Settings"
23
  msgstr "إعدادات عرض الشرائح"
24
 
25
+ #: ../cyclone-slider.php:105
26
  msgid "Settings"
27
  msgstr "إعدادات"
28
 
29
+ #: ../src/CycloneSlider/Admin.php:97
30
  msgid "Cyclone Slider"
31
  msgstr "عرض الشرائح"
32
 
33
+ #: ../src/CycloneSlider/Admin.php:98
34
  msgid "Slideshow"
35
  msgstr "عرض الشرائح"
36
 
37
+ #: ../src/CycloneSlider/Admin.php:99
38
  msgid "Add Slideshow"
39
  msgstr "أضف عرض شرائح"
40
 
41
+ #: ../src/CycloneSlider/Admin.php:100
42
  msgid "Add New Slideshow"
43
  msgstr "أضف عرض شرائح جديد"
44
 
45
+ #: ../src/CycloneSlider/Admin.php:101
46
  msgid "Edit Slideshow"
47
  msgstr "تحرير عرض شرائح"
48
 
49
+ #: ../src/CycloneSlider/Admin.php:102
50
  msgid "New Slideshow"
51
  msgstr "عرض شرائح جديد"
52
 
53
+ #: ../src/CycloneSlider/Admin.php:103
54
  msgid "View Slideshow"
55
  msgstr "إظهار عرض الشرائح"
56
 
57
+ #: ../src/CycloneSlider/Admin.php:104
58
  msgid "Search Slideshows"
59
  msgstr "البحث في عروض الشرائح"
60
 
61
+ #: ../src/CycloneSlider/Admin.php:105
62
  msgid "No slideshows found"
63
  msgstr "لم يتم إيجاد عروض شرائح"
64
 
65
+ #: ../src/CycloneSlider/Admin.php:106
66
  msgid "No slideshows found in Trash"
67
  msgstr "لم يتم إيجاد عروض شرائح في المهملات"
68
 
69
+ #: ../src/CycloneSlider/Admin.php:150 ../src/CycloneSlider/Admin.php:153
70
+ #: ../src/CycloneSlider/Admin.php:154 ../src/CycloneSlider/Admin.php:157
71
+ #: ../src/CycloneSlider/Admin.php:158 ../src/CycloneSlider/Admin.php:159
72
  msgid "Slideshow updated."
73
  msgstr "تم تحديث عرض الشرائح"
74
 
75
+ #: ../src/CycloneSlider/Admin.php:151
76
  msgid "Custom field updated."
77
  msgstr "تم تحديث الحقل المخصوص."
78
 
79
+ #: ../src/CycloneSlider/Admin.php:152
80
  msgid "Custom field deleted."
81
  msgstr "تم حذف الحقل المخصوص."
82
 
83
+ #: ../src/CycloneSlider/Admin.php:155
84
  msgid "Slideshow published."
85
  msgstr "تم نشر عرض الشرائح."
86
 
87
+ #: ../src/CycloneSlider/Admin.php:156
88
  msgid "Slideshow saved."
89
  msgstr "تم حفظ عرض الشرائح."
90
 
91
+ #: ../src/CycloneSlider/Admin.php:193
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  msgid "Slides"
93
  msgstr "شرائح"
94
 
95
+ #: ../src/CycloneSlider/Admin.php:202
96
  msgid "Slider Preview"
97
  msgstr "معاينة شريط التمرير"
98
 
99
+ #: ../src/CycloneSlider/Admin.php:211
100
  msgid "Get Slider Codes"
101
  msgstr "احصل على أكواد عرض الشرائح"
102
 
103
+ #: ../src/CycloneSlider/Admin.php:220
104
  msgid "Basic Settings"
105
  msgstr "الإعدادات الأساسية"
106
 
107
+ #: ../src/CycloneSlider/Admin.php:229
108
  msgid "Advanced Settings"
109
  msgstr "إعدادات متقدمة"
110
 
111
+ #: ../src/CycloneSlider/Admin.php:238
112
  msgid "Templates"
113
  msgstr "قوالب"
114
 
115
+ #: ../src/CycloneSlider/Admin.php:247 ../src/CycloneSlider/Admin.php:512
116
  msgid "Slideshow ID"
117
  msgstr "رقم عرض الشرائح"
118
 
119
+ #: ../src/CycloneSlider/Admin.php:273
120
  msgid "Slide"
121
  msgstr "شريحة"
122
 
123
+ #: ../src/CycloneSlider/Admin.php:278
124
+ msgid "[Hidden]"
125
+ msgstr ""
126
+
127
+ #: ../src/CycloneSlider/Admin.php:401
128
  msgid "Core"
129
  msgstr ""
130
 
131
+ #: ../src/CycloneSlider/Admin.php:402
132
  #, php-format
133
  msgid "Located inside the plugin directory:<br> <strong>%s</strong>"
134
  msgstr ""
135
 
136
+ #: ../src/CycloneSlider/Admin.php:406
137
  #, php-format
138
  msgid "Located inside your currently active theme:<br> <strong>%s</strong>"
139
  msgstr ""
140
 
141
+ #: ../src/CycloneSlider/Admin.php:407
142
  #, php-format
143
  msgid ""
144
  "Your template is in danger of being overwritten when you upgrade your theme. "
145
  "Please move it inside %s."
146
  msgstr ""
147
 
148
+ #: ../src/CycloneSlider/Admin.php:411
149
  #, php-format
150
  msgid "Located inside wp-content directory:<br> <strong>%s</strong>"
151
  msgstr ""
152
 
153
+ #: ../src/CycloneSlider/Admin.php:448
154
  msgid "Slide *"
155
  msgstr "شريحة *"
156
 
157
+ #: ../src/CycloneSlider/Admin.php:509
158
  msgid "Slideshow Name"
159
  msgstr "اسم عرض الشرائح"
160
 
161
+ #: ../src/CycloneSlider/Admin.php:510
162
  msgid "Template"
163
  msgstr "قالب"
164
 
165
+ #: ../src/CycloneSlider/Admin.php:511
166
  msgid "No. of Slides"
167
  msgstr "عدد الشرائح"
168
 
169
+ #: ../src/CycloneSlider/Admin.php:513
170
  msgid "Shortcode"
171
  msgstr "كود قصير"
172
 
173
+ #: ../src/CycloneSlider/AssetLoader.php:59
174
  msgid "Select an image"
175
  msgstr "اختر صورة"
176
 
177
+ #: ../src/CycloneSlider/AssetLoader.php:60
178
  msgid "Select Images - Use Ctrl + Click or Shift + Click"
179
  msgstr ""
180
 
181
+ #: ../src/CycloneSlider/AssetLoader.php:61
182
  msgid "Add to Slide"
183
  msgstr "أضف إلى شريحة"
184
 
185
+ #: ../src/CycloneSlider/AssetLoader.php:62 ../views/slides.php:9
186
  #, fuzzy
187
  msgid "Add Images as Slides"
188
  msgstr "أضف عرض شرائح جديد"
189
 
190
+ #: ../src/CycloneSlider/AssetLoader.php:63
191
  msgid "Error. Make sure its a valid YouTube URL."
192
  msgstr "خطأ. تأكد من والخمسين URL يوتيوب صالحة."
193
 
194
+ #: ../src/CycloneSlider/ExportPage.php:36
195
+ msgid "Export settings cleared."
196
+ msgstr ""
197
+
198
+ #: ../src/CycloneSlider/ExportPage.php:42
199
+ #, fuzzy
200
+ msgid "No sliders selected."
201
+ msgstr "لم يتم العثور على عروض شرائح."
202
+
203
+ #: ../src/CycloneSlider/Frontend.php:72
204
  #, php-format
205
  msgid "[Slideshow \"%s\" not found]"
206
  msgstr "[عرض الشرائح \"%s\" لم يتم العثور عليه]"
207
 
208
+ #: ../src/CycloneSlider/Frontend.php:88
209
  #, php-format
210
  msgid "[Template \"%s\" not found]"
211
  msgstr "[القالب \"%s\" لم يتم العثور عليه]"
212
 
213
+ #: ../src/CycloneSlider/NextgenIntegration.php:39
214
  msgid "NextGEN Integration"
215
  msgstr "الدمج مع NextGEN"
216
 
217
+ #: ../src/CycloneSlider/NextgenIntegration.php:55
218
  msgid "Choose a NextGEN Gallery"
219
  msgstr "اختر معرض NextGEN "
220
 
221
+ #: ../src/CycloneSlider/NextgenIntegration.php:65
222
  msgid "Import"
223
  msgstr "استيراد"
224
 
225
+ #: ../src/CycloneSlider/NextgenIntegration.php:67
226
  msgid ""
227
  "Select a gallery to import images from. Images will be added as new slides."
228
  msgstr "اختر معرضا لاستيراد الصور منه. سيتم إضافة الصور كشرائح جديدة."
229
 
230
+ #: ../src/CycloneSlider/SettingsPage.php:54
231
  msgid "Default options restored."
232
  msgstr "تم استعادة الخيارات الإفتراضية."
233
 
240
  msgid "Widget for displaying sliders."
241
  msgstr "مربع جانبي لإظهار عروض الشرائح."
242
 
243
+ #: ../src/CycloneSlider/WidgetSlider.php:65 ../views/slide-edit.php:54
244
  msgid "Title:"
245
  msgstr "العنوان:"
246
 
360
  msgid "Vimeo"
361
  msgstr "فيميو"
362
 
363
+ #: ../views/slide-edit.php:29 ../views/slide-edit.php:178
364
  msgid "Custom HTML"
365
  msgstr "كود HTML مخصوص"
366
 
368
  msgid "Testimonial"
369
  msgstr ""
370
 
371
+ #: ../views/slide-edit.php:35
372
+ msgid "Hide"
373
+ msgstr ""
374
+
375
+ #: ../views/slide-edit.php:47
376
  msgid "Get Image"
377
  msgstr "الحصول على صورة"
378
 
379
+ #: ../views/slide-edit.php:51
380
  msgid "Caption"
381
  msgstr "عنوان فرعي"
382
 
383
+ #: ../views/slide-edit.php:58
384
  msgid "Description:"
385
  msgstr "الوصف:"
386
 
387
+ #: ../views/slide-edit.php:64 ../views/slide-edit.php:201
388
  msgid "Link"
389
  msgstr "رابط"
390
 
391
+ #: ../views/slide-edit.php:67 ../views/slide-edit.php:204
392
  msgid "Link URL:"
393
  msgstr "عنوان الرابط:"
394
 
395
+ #: ../views/slide-edit.php:71 ../views/slide-edit.php:208
396
  msgid "Open Link in:"
397
  msgstr "قم بفتح الرابط في:"
398
 
399
+ #: ../views/slide-edit.php:73 ../views/slide-edit.php:210
400
  msgid "Same Window"
401
  msgstr "نفس النافذة"
402
 
403
+ #: ../views/slide-edit.php:74 ../views/slide-edit.php:211
404
  msgid "New Tab or Window"
405
  msgstr "تبويبة أو نافذة جديدة"
406
 
407
+ #: ../views/slide-edit.php:80
408
  msgid "Image Attributes"
409
  msgstr "سمات الصورة"
410
 
411
+ #: ../views/slide-edit.php:83
412
  msgid "Alternate Text:"
413
  msgstr "النص البديل:"
414
 
415
+ #: ../views/slide-edit.php:87
416
  msgid "Title Text:"
417
  msgstr "نص العنوان:"
418
 
419
+ #: ../views/slide-edit.php:93
420
  msgid "Slide Transition Effects"
421
  msgstr "مؤثرات انتقال الشريحة"
422
 
423
+ #: ../views/slide-edit.php:97
424
  msgid "Disable"
425
  msgstr "تعطيل"
426
 
427
+ #: ../views/slide-edit.php:98
428
  msgid "Enable Slide Effects"
429
  msgstr "تفعيل مؤثرات الشريحة"
430
 
431
+ #: ../views/slide-edit.php:104
432
  msgid "Transition Effects:"
433
  msgstr "مؤثرات الانتقال:"
434
 
435
+ #: ../views/slide-edit.php:115 ../views/slider-settings.php:32
436
  msgid "Transition Effects Speed:"
437
  msgstr "سرعة مؤثرات الانتقال:"
438
 
439
+ #: ../views/slide-edit.php:117 ../views/slide-edit.php:124
440
+ #: ../views/slider-settings.php:34
441
  msgid "Milliseconds"
442
  msgstr "ملي ثانية"
443
 
444
+ #: ../views/slide-edit.php:122 ../views/slider-settings.php:26
445
  msgid "Next Slide Delay:"
446
  msgstr "تأخير الشريحة التالية:"
447
 
448
+ #: ../views/slide-edit.php:132 ../views/slider-settings.php:13
449
  msgid "Tile Count:"
450
  msgstr "عدد المربعات:"
451
 
452
+ #: ../views/slide-edit.php:134 ../views/slider-settings.php:15
453
  msgid "The number of tiles to use in the transition."
454
  msgstr "عدد المربعات المستخدمة في الانتقال."
455
 
456
+ #: ../views/slide-edit.php:138
457
  msgid "Tile Delay:"
458
  msgstr "تأخير المربعات:"
459
 
460
+ #: ../views/slide-edit.php:140
461
  msgid "Milliseconds to delay each individual tile transition."
462
  msgstr "عدد الملي ثانية لتأخير كل مربع منفرد في الانتقال."
463
 
464
+ #: ../views/slide-edit.php:144 ../views/slider-settings.php:18
465
  msgid "Tile Position:"
466
  msgstr "موضع المربعات:"
467
 
468
+ #: ../views/slide-edit.php:146 ../views/slider-settings.php:20
469
  msgid "Vertical"
470
  msgstr "عمودي"
471
 
472
+ #: ../views/slide-edit.php:147 ../views/slider-settings.php:21
473
  msgid "Horizontal"
474
  msgstr "أفقي"
475
 
476
+ #: ../views/slide-edit.php:159
477
  msgid "YouTube URL:"
478
  msgstr "يوتيوب URL:"
479
 
480
+ #: ../views/slide-edit.php:161
481
  msgid "Copy and paste a valid YouTube URL here."
482
  msgstr "نسخ ولصق URL يوتيوب صالحة هنا."
483
 
484
+ #: ../views/slide-edit.php:166
485
  msgid "Do not show suggested videos when the video finishes."
486
  msgstr ""
487
 
488
+ #: ../views/slide-edit.php:171
489
  msgid "Vimeo URL:"
490
  msgstr "فيميو URL:"
491
 
492
+ #: ../views/slide-edit.php:173
493
  msgid "Copy and paste a valid Vimeo URL here."
494
  msgstr "نسخ ولصق URL فيميو صالحة هنا."
495
 
496
+ #: ../views/slide-edit.php:186
497
  msgid "Quote"
498
  msgstr ""
499
 
500
+ #: ../views/slide-edit.php:192
501
  msgid "Author"
502
  msgstr ""
503
 
504
+ #: ../views/slide-edit.php:195
505
  #, fuzzy
506
  msgid "Name:"
507
  msgstr "اسم"
511
  msgstr "تسمح التفاف؟"
512
 
513
  #: ../views/slider-advanced-settings.php:6
514
+ #: ../views/slider-advanced-settings.php:44 ../views/slider-settings.php:67
515
+ #: ../views/slider-settings.php:78 ../views/slider-settings.php:86
516
+ #: ../views/slider-settings.php:94 ../views/slider-settings.php:104
517
  msgid "Yes"
518
  msgstr "نعم"
519
 
520
  #: ../views/slider-advanced-settings.php:7
521
+ #: ../views/slider-advanced-settings.php:45 ../views/slider-settings.php:66
522
+ #: ../views/slider-settings.php:79 ../views/slider-settings.php:87
523
+ #: ../views/slider-settings.php:95 ../views/slider-settings.php:103
524
  msgid "No"
525
  msgstr "لا"
526
 
575
  msgid "Resize Options:"
576
  msgstr "تغيير حجم خيارات:"
577
 
578
+ #: ../views/slider-advanced-settings.php:60
 
 
 
 
579
  msgid "Auto - Cyclone Slider decides the resize option."
580
  msgstr "السيارات - المتزلج إعصار يقرر خيار تغيير الحجم."
581
 
582
+ #: ../views/slider-advanced-settings.php:61
583
  msgid "Crop - Resize and remove excess parts."
584
  msgstr "المحاصيل - تغيير حجم وإزالة الأجزاء الزائدة."
585
 
586
+ #: ../views/slider-advanced-settings.php:62
587
  msgid "Exact - Resize to exact dimensions."
588
  msgstr "بالضبط - تغيير حجم إلى الأبعاد الدقيقة."
589
 
590
+ #: ../views/slider-advanced-settings.php:63
591
  msgid "Landscape - Resize to exact width."
592
  msgstr "المشهد - تغيير حجم لعرض بالضبط."
593
 
594
+ #: ../views/slider-advanced-settings.php:64
595
  msgid "Portrait - Resize to exact height."
596
  msgstr "صورة - تغيير حجم لارتفاع بالضبط."
597
 
626
  msgid "Your preview will appear here."
627
  msgstr "سوف المعاينة تظهر هنا."
628
 
629
+ #: ../views/slider-settings.php:4
630
  msgid "Transition Effects to Use:"
631
  msgstr "مؤثرات الانتقال التي سيتم استخدامها:"
632
 
633
+ #: ../views/slider-settings.php:28
634
  msgid "Milliseconds. 0 to disable auto advance."
635
  msgstr "ملي ثانية. 0 لتعطيل التقدم التلقائي."
636
 
637
+ #: ../views/slider-settings.php:38
638
  msgid "Width:"
639
  msgstr "عرض:"
640
 
641
+ #: ../views/slider-settings.php:40 ../views/slider-settings.php:46
642
  msgid "pixels."
643
  msgstr "بكسل."
644
 
645
+ #: ../views/slider-settings.php:44
646
  msgid "Height:"
647
  msgstr "ارتفاع:"
648
 
649
+ #: ../views/slider-settings.php:50
650
  msgid "Width Management:"
651
  msgstr "إدارة العرض:"
652
 
653
+ #: ../views/slider-settings.php:52
654
  msgid "Responsive"
655
  msgstr "متجاوب"
656
 
657
+ #: ../views/slider-settings.php:53
658
  msgid "Full"
659
  msgstr "كامل"
660
 
661
+ #: ../views/slider-settings.php:54
662
  msgid "Fixed"
663
  msgstr "ثابت"
664
 
665
+ #: ../views/slider-settings.php:57
666
  msgid ""
667
  "Responsive - resizes to smaller size but maximum width will be equal to the "
668
  "provided width."
670
  "استجابة - سوف ريسيزيس إلى حجم أصغر ولكن الحد الأقصى العرض مساويا لعرض "
671
  "المقدمة."
672
 
673
+ #: ../views/slider-settings.php:58
674
  msgid ""
675
  "Full - the same as responsive but maximum width will be equal to its "
676
  "container ignoring the provided width."
678
  "كامل - نفس العرض استجابة ولكن الحد الأقصى سوف يكون مساويا لالحاوية الخاصة به "
679
  "تجاهل عرض المقدم."
680
 
681
+ #: ../views/slider-settings.php:59
682
  msgid "Fixed - width and height are not resized."
683
  msgstr "ثابت - العرض والارتفاع لا يتم تغيير حجمها."
684
 
685
+ #: ../views/slider-settings.php:64
686
+ msgid "Resize Images?"
687
+ msgstr "تغيير حجم الصور؟"
688
+
689
+ #: ../views/slider-settings.php:71
690
+ msgid "Force Resize"
691
+ msgstr "تغيير حجم القوة"
692
+
693
+ #: ../views/slider-settings.php:72
694
+ #, fuzzy
695
+ msgid ""
696
+ "Yes - resize images to slideshow dimension. <br>No - use the original "
697
+ "uploaded image. <br>Force Resize - Regenerate all images and thumbnails."
698
+ msgstr ""
699
+ "نعم - قم بتغيير حجم الصور لأبعاد عرض الشرائح. <br>لا - قم باستخدام الصورة "
700
+ "الأصلية المرفوعة."
701
+
702
+ #: ../views/slider-settings.php:76
703
  msgid "Pause on Hover?"
704
  msgstr "إيقاف مؤقت عند المرور بالمؤشر؟"
705
 
706
+ #: ../views/slider-settings.php:84
707
  msgid "Show Prev/Next Buttons?"
708
  msgstr "إظهار أزرار السابق/التالي؟"
709
 
710
+ #: ../views/slider-settings.php:92
711
  msgid "Show Navigation?"
712
  msgstr "إظهار التصفح"
713
 
714
+ #: ../views/slider-settings.php:97
715
  msgid "The thumbnails or dots depending on template."
716
  msgstr "الصور الصغيرة أو النقاط اعتمادا على القالب."
717
 
718
+ #: ../views/slider-settings.php:101
 
 
 
 
 
 
 
 
 
 
 
 
719
  msgid "Random Slide Order?"
720
  msgstr "ترتيب عشوائي للشرائح"
721
 
722
+ #: ../views/slider-settings.php:106
723
  msgid "Randomize order of slides on every page visit."
724
  msgstr "قم بتغيير ترتيب الشرائح في كل زيارة لصفحة."
725
 
744
  msgid "Selected"
745
  msgstr "مختار"
746
 
747
+ #~ msgid ""
748
+ #~ "Templates CSS could not be saved. Make sure %stemplates.css is writable."
749
+ #~ msgstr ""
750
+ #~ "تعذر حفظ كود CSS الخاص بالقالب. الرجاء التأكد من أن %stemplates.css قابل "
751
+ #~ "للتعديل."
752
+
753
+ #~ msgid ""
754
+ #~ "Templates JS could not be saved. Make sure %stemplates.js is writable."
755
+ #~ msgstr ""
756
+ #~ "تعذر حفظ كود JS الخاص بالقالب. الرجاء التأكد من أن %stemplates.js قابل "
757
+ #~ "للتعديل."
758
+
759
  #~ msgid "Export"
760
  #~ msgstr "أصدر"
761
 
lang/cycloneslider-de_DE.mo CHANGED
Binary file
lang/cycloneslider-de_DE.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Cyclone Slider\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-12-19 17:57+0800\n"
6
- "PO-Revision-Date: 2014-12-19 17:57+0800\n"
7
  "Last-Translator: Nico Amarilla <kosinix@codefleet.net>\n"
8
  "Language-Team: kosinix <kosinix@codefleet.net>\n"
9
  "Language: de_DE\n"
@@ -17,226 +17,228 @@ msgstr ""
17
  "X-Poedit-SearchPath-0: .\n"
18
  "X-Poedit-SearchPath-1: ..\n"
19
 
20
- #: ../cyclone-slider.php:91
21
  #, fuzzy
22
  msgid "Cyclone Slider Settings"
23
  msgstr "Slider-Einstellungen"
24
 
25
- #: ../cyclone-slider.php:92
26
  #, fuzzy
27
  msgid "Settings"
28
  msgstr "Slider-Einstellungen"
29
 
30
- #: ../src/CycloneSlider/Admin.php:80
31
  msgid "Cyclone Slider"
32
  msgstr ""
33
 
34
- #: ../src/CycloneSlider/Admin.php:81
35
  msgid "Slideshow"
36
  msgstr ""
37
 
38
- #: ../src/CycloneSlider/Admin.php:82
39
  msgid "Add Slideshow"
40
  msgstr "Slideshow hinzufügen"
41
 
42
- #: ../src/CycloneSlider/Admin.php:83
43
  msgid "Add New Slideshow"
44
  msgstr "Neuer Slideshow"
45
 
46
- #: ../src/CycloneSlider/Admin.php:84
47
  msgid "Edit Slideshow"
48
  msgstr "Bearbeiten Slideshow"
49
 
50
- #: ../src/CycloneSlider/Admin.php:85
51
  msgid "New Slideshow"
52
  msgstr "Neue Slideshow"
53
 
54
- #: ../src/CycloneSlider/Admin.php:86
55
  msgid "View Slideshow"
56
  msgstr "Sehen Slideshow"
57
 
58
- #: ../src/CycloneSlider/Admin.php:87
59
  msgid "Search Slideshows"
60
  msgstr "Suchen Slideshows"
61
 
62
- #: ../src/CycloneSlider/Admin.php:88
63
  msgid "No slideshows found"
64
  msgstr "Keine Slideshows gefunden"
65
 
66
- #: ../src/CycloneSlider/Admin.php:89
67
  msgid "No slideshows found in Trash"
68
  msgstr "Keine Diashows in Trash gefunden"
69
 
70
- #: ../src/CycloneSlider/Admin.php:133 ../src/CycloneSlider/Admin.php:136
71
- #: ../src/CycloneSlider/Admin.php:137 ../src/CycloneSlider/Admin.php:140
72
- #: ../src/CycloneSlider/Admin.php:141 ../src/CycloneSlider/Admin.php:142
73
  msgid "Slideshow updated."
74
  msgstr ""
75
 
76
- #: ../src/CycloneSlider/Admin.php:134
77
  msgid "Custom field updated."
78
  msgstr ""
79
 
80
- #: ../src/CycloneSlider/Admin.php:135
81
  msgid "Custom field deleted."
82
  msgstr ""
83
 
84
- #: ../src/CycloneSlider/Admin.php:138
85
  #, fuzzy
86
  msgid "Slideshow published."
87
  msgstr "Slideshow gespeichert."
88
 
89
- #: ../src/CycloneSlider/Admin.php:139
90
  msgid "Slideshow saved."
91
  msgstr "Slideshow gespeichert."
92
 
93
- #: ../src/CycloneSlider/Admin.php:143
94
- #, php-format
95
- msgid ""
96
- "Templates CSS could not be saved. Make sure %stemplates.css is writable."
97
- msgstr ""
98
-
99
- #: ../src/CycloneSlider/Admin.php:144
100
- #, php-format
101
- msgid "Templates JS could not be saved. Make sure %stemplates.js is writable."
102
- msgstr ""
103
-
104
- #: ../src/CycloneSlider/Admin.php:178
105
  msgid "Slides"
106
  msgstr ""
107
 
108
- #: ../src/CycloneSlider/Admin.php:187
109
  #, fuzzy
110
  msgid "Slider Preview"
111
  msgstr "Slider-Einstellungen"
112
 
113
- #: ../src/CycloneSlider/Admin.php:196
114
  #, fuzzy
115
  msgid "Get Slider Codes"
116
  msgstr "Next Slide Verzögerung:"
117
 
118
- #: ../src/CycloneSlider/Admin.php:205
119
  #, fuzzy
120
  msgid "Basic Settings"
121
  msgstr "Slider-Einstellungen"
122
 
123
- #: ../src/CycloneSlider/Admin.php:214
124
  #, fuzzy
125
  msgid "Advanced Settings"
126
  msgstr "Slider-Einstellungen"
127
 
128
- #: ../src/CycloneSlider/Admin.php:223
129
  #, fuzzy
130
  msgid "Templates"
131
  msgstr "Slider-Einstellungen"
132
 
133
- #: ../src/CycloneSlider/Admin.php:232 ../src/CycloneSlider/Admin.php:492
134
  msgid "Slideshow ID"
135
  msgstr ""
136
 
137
- #: ../src/CycloneSlider/Admin.php:258
138
  msgid "Slide"
139
  msgstr ""
140
 
141
- #: ../src/CycloneSlider/Admin.php:381
 
 
 
 
142
  msgid "Core"
143
  msgstr ""
144
 
145
- #: ../src/CycloneSlider/Admin.php:382
146
  #, php-format
147
  msgid "Located inside the plugin directory:<br> <strong>%s</strong>"
148
  msgstr ""
149
 
150
- #: ../src/CycloneSlider/Admin.php:386
151
  #, php-format
152
  msgid "Located inside your currently active theme:<br> <strong>%s</strong>"
153
  msgstr ""
154
 
155
- #: ../src/CycloneSlider/Admin.php:387
156
  #, php-format
157
  msgid ""
158
  "Your template is in danger of being overwritten when you upgrade your theme. "
159
  "Please move it inside %s."
160
  msgstr ""
161
 
162
- #: ../src/CycloneSlider/Admin.php:391
163
  #, php-format
164
  msgid "Located inside wp-content directory:<br> <strong>%s</strong>"
165
  msgstr ""
166
 
167
- #: ../src/CycloneSlider/Admin.php:428
168
  #, fuzzy
169
  msgid "Slide *"
170
  msgstr "Folie hinzufügen"
171
 
172
- #: ../src/CycloneSlider/Admin.php:489
173
  msgid "Slideshow Name"
174
  msgstr "Slideshow Namen"
175
 
176
- #: ../src/CycloneSlider/Admin.php:490
177
  msgid "Template"
178
  msgstr ""
179
 
180
- #: ../src/CycloneSlider/Admin.php:491
181
  #, fuzzy
182
  msgid "No. of Slides"
183
  msgstr "Folie hinzufügen"
184
 
185
- #: ../src/CycloneSlider/Admin.php:493
186
  msgid "Shortcode"
187
  msgstr ""
188
 
189
- #: ../src/CycloneSlider/AssetLoader.php:53
190
  #, fuzzy
191
  msgid "Select an image"
192
  msgstr "Suchen Slideshows"
193
 
194
- #: ../src/CycloneSlider/AssetLoader.php:54
195
  msgid "Select Images - Use Ctrl + Click or Shift + Click"
196
  msgstr ""
197
 
198
- #: ../src/CycloneSlider/AssetLoader.php:55
199
  #, fuzzy
200
  msgid "Add to Slide"
201
  msgstr "Folie hinzufügen"
202
 
203
- #: ../src/CycloneSlider/AssetLoader.php:56 ../views/slides.php:9
204
  #, fuzzy
205
  msgid "Add Images as Slides"
206
  msgstr "Neuer Slideshow"
207
 
208
- #: ../src/CycloneSlider/AssetLoader.php:57
209
  msgid "Error. Make sure its a valid YouTube URL."
210
  msgstr ""
211
 
212
- #: ../src/CycloneSlider/Frontend.php:59
 
 
 
 
 
 
 
 
 
213
  #, fuzzy, php-format
214
  msgid "[Slideshow \"%s\" not found]"
215
  msgstr "[Slideshow nicht gefunden]"
216
 
217
- #: ../src/CycloneSlider/Frontend.php:74
218
  #, php-format
219
  msgid "[Template \"%s\" not found]"
220
  msgstr "[Template \"%s\" nicht gefunden]"
221
 
222
- #: ../src/CycloneSlider/NextgenIntegration.php:34
223
  msgid "NextGEN Integration"
224
  msgstr ""
225
 
226
- #: ../src/CycloneSlider/NextgenIntegration.php:50
227
  msgid "Choose a NextGEN Gallery"
228
  msgstr ""
229
 
230
- #: ../src/CycloneSlider/NextgenIntegration.php:60
231
  msgid "Import"
232
  msgstr ""
233
 
234
- #: ../src/CycloneSlider/NextgenIntegration.php:62
235
  msgid ""
236
  "Select a gallery to import images from. Images will be added as new slides."
237
  msgstr ""
238
 
239
- #: ../src/CycloneSlider/SettingsPage.php:74
240
  msgid "Default options restored."
241
  msgstr ""
242
 
@@ -248,7 +250,7 @@ msgstr ""
248
  msgid "Widget for displaying sliders."
249
  msgstr ""
250
 
251
- #: ../src/CycloneSlider/WidgetSlider.php:65 ../views/slide-edit.php:49
252
  #, fuzzy
253
  msgid "Title:"
254
  msgstr "Titel"
@@ -368,7 +370,7 @@ msgstr ""
368
  msgid "Vimeo"
369
  msgstr ""
370
 
371
- #: ../views/slide-edit.php:29 ../views/slide-edit.php:173
372
  msgid "Custom HTML"
373
  msgstr ""
374
 
@@ -376,141 +378,145 @@ msgstr ""
376
  msgid "Testimonial"
377
  msgstr ""
378
 
379
- #: ../views/slide-edit.php:42
 
 
 
 
380
  msgid "Get Image"
381
  msgstr ""
382
 
383
- #: ../views/slide-edit.php:46
384
  msgid "Caption"
385
  msgstr ""
386
 
387
- #: ../views/slide-edit.php:53
388
  #, fuzzy
389
  msgid "Description:"
390
  msgstr "Beschreibung"
391
 
392
- #: ../views/slide-edit.php:59 ../views/slide-edit.php:196
393
  msgid "Link"
394
  msgstr ""
395
 
396
- #: ../views/slide-edit.php:62 ../views/slide-edit.php:199
397
  msgid "Link URL:"
398
  msgstr ""
399
 
400
- #: ../views/slide-edit.php:66 ../views/slide-edit.php:203
401
  msgid "Open Link in:"
402
  msgstr ""
403
 
404
- #: ../views/slide-edit.php:68 ../views/slide-edit.php:205
405
  msgid "Same Window"
406
  msgstr ""
407
 
408
- #: ../views/slide-edit.php:69 ../views/slide-edit.php:206
409
  msgid "New Tab or Window"
410
  msgstr ""
411
 
412
- #: ../views/slide-edit.php:75
413
  msgid "Image Attributes"
414
  msgstr ""
415
 
416
- #: ../views/slide-edit.php:78
417
  msgid "Alternate Text:"
418
  msgstr ""
419
 
420
- #: ../views/slide-edit.php:82
421
  #, fuzzy
422
  msgid "Title Text:"
423
  msgstr "Titel"
424
 
425
- #: ../views/slide-edit.php:88
426
  #, fuzzy
427
  msgid "Slide Transition Effects"
428
  msgstr "Transition Effects Speed:"
429
 
430
- #: ../views/slide-edit.php:92
431
  msgid "Disable"
432
  msgstr ""
433
 
434
- #: ../views/slide-edit.php:93
435
  msgid "Enable Slide Effects"
436
  msgstr ""
437
 
438
- #: ../views/slide-edit.php:99
439
  #, fuzzy
440
  msgid "Transition Effects:"
441
  msgstr "Transition Effects Speed:"
442
 
443
- #: ../views/slide-edit.php:110 ../views/slider-properties.php:32
444
  msgid "Transition Effects Speed:"
445
  msgstr "Transition Effects Speed:"
446
 
447
- #: ../views/slide-edit.php:112 ../views/slide-edit.php:119
448
- #: ../views/slider-properties.php:34
449
  msgid "Milliseconds"
450
  msgstr "Millisekunden"
451
 
452
- #: ../views/slide-edit.php:117 ../views/slider-properties.php:26
453
  msgid "Next Slide Delay:"
454
  msgstr "Next Slide Verzögerung:"
455
 
456
- #: ../views/slide-edit.php:127 ../views/slider-properties.php:13
457
  msgid "Tile Count:"
458
  msgstr ""
459
 
460
- #: ../views/slide-edit.php:129 ../views/slider-properties.php:15
461
  msgid "The number of tiles to use in the transition."
462
  msgstr ""
463
 
464
- #: ../views/slide-edit.php:133
465
  #, fuzzy
466
  msgid "Tile Delay:"
467
  msgstr "Next Slide Verzögerung:"
468
 
469
- #: ../views/slide-edit.php:135
470
  msgid "Milliseconds to delay each individual tile transition."
471
  msgstr ""
472
 
473
- #: ../views/slide-edit.php:139 ../views/slider-properties.php:18
474
  msgid "Tile Position:"
475
  msgstr ""
476
 
477
- #: ../views/slide-edit.php:141 ../views/slider-properties.php:20
478
  msgid "Vertical"
479
  msgstr ""
480
 
481
- #: ../views/slide-edit.php:142 ../views/slider-properties.php:21
482
  msgid "Horizontal"
483
  msgstr ""
484
 
485
- #: ../views/slide-edit.php:154
486
  msgid "YouTube URL:"
487
  msgstr ""
488
 
489
- #: ../views/slide-edit.php:156
490
  msgid "Copy and paste a valid YouTube URL here."
491
  msgstr ""
492
 
493
- #: ../views/slide-edit.php:161
494
  msgid "Do not show suggested videos when the video finishes."
495
  msgstr ""
496
 
497
- #: ../views/slide-edit.php:166
498
  msgid "Vimeo URL:"
499
  msgstr ""
500
 
501
- #: ../views/slide-edit.php:168
502
  msgid "Copy and paste a valid Vimeo URL here."
503
  msgstr ""
504
 
505
- #: ../views/slide-edit.php:181
506
  msgid "Quote"
507
  msgstr ""
508
 
509
- #: ../views/slide-edit.php:187
510
  msgid "Author"
511
  msgstr ""
512
 
513
- #: ../views/slide-edit.php:190
514
  msgid "Name:"
515
  msgstr ""
516
 
@@ -519,16 +525,16 @@ msgid "Allow Wrap?"
519
  msgstr ""
520
 
521
  #: ../views/slider-advanced-settings.php:6
522
- #: ../views/slider-advanced-settings.php:44 ../views/slider-properties.php:66
523
- #: ../views/slider-properties.php:74 ../views/slider-properties.php:82
524
- #: ../views/slider-properties.php:92 ../views/slider-properties.php:101
525
  msgid "Yes"
526
  msgstr "Ja"
527
 
528
  #: ../views/slider-advanced-settings.php:7
529
- #: ../views/slider-advanced-settings.php:45 ../views/slider-properties.php:67
530
- #: ../views/slider-properties.php:75 ../views/slider-properties.php:83
531
- #: ../views/slider-properties.php:91 ../views/slider-properties.php:100
532
  msgid "No"
533
  msgstr "Nicht"
534
 
@@ -586,27 +592,23 @@ msgstr ""
586
  msgid "Resize Options:"
587
  msgstr "Beschreibung"
588
 
589
- #: ../views/slider-advanced-settings.php:61
590
- msgid "Force Resize"
591
- msgstr ""
592
-
593
- #: ../views/slider-advanced-settings.php:63
594
  msgid "Auto - Cyclone Slider decides the resize option."
595
  msgstr ""
596
 
597
- #: ../views/slider-advanced-settings.php:64
598
  msgid "Crop - Resize and remove excess parts."
599
  msgstr ""
600
 
601
- #: ../views/slider-advanced-settings.php:65
602
  msgid "Exact - Resize to exact dimensions."
603
  msgstr ""
604
 
605
- #: ../views/slider-advanced-settings.php:66
606
  msgid "Landscape - Resize to exact width."
607
  msgstr ""
608
 
609
- #: ../views/slider-advanced-settings.php:67
610
  msgid "Portrait - Resize to exact height."
611
  msgstr ""
612
 
@@ -637,89 +639,93 @@ msgstr ""
637
  msgid "Your preview will appear here."
638
  msgstr ""
639
 
640
- #: ../views/slider-properties.php:4
641
  msgid "Transition Effects to Use:"
642
  msgstr "Transition Effects zu verwenden:"
643
 
644
- #: ../views/slider-properties.php:28
645
  msgid "Milliseconds. 0 to disable auto advance."
646
  msgstr "Millisekunden. 0 deaktiviert auto Voraus."
647
 
648
- #: ../views/slider-properties.php:38
649
  msgid "Width:"
650
  msgstr "Breite:"
651
 
652
- #: ../views/slider-properties.php:40 ../views/slider-properties.php:46
653
  msgid "pixels."
654
  msgstr ""
655
 
656
- #: ../views/slider-properties.php:44
657
  msgid "Height:"
658
  msgstr "Höhe:"
659
 
660
- #: ../views/slider-properties.php:50
661
  msgid "Width Management:"
662
  msgstr ""
663
 
664
- #: ../views/slider-properties.php:52
665
  msgid "Responsive"
666
  msgstr ""
667
 
668
- #: ../views/slider-properties.php:53
669
  msgid "Full"
670
  msgstr ""
671
 
672
- #: ../views/slider-properties.php:54
673
  msgid "Fixed"
674
  msgstr ""
675
 
676
- #: ../views/slider-properties.php:57
677
  msgid ""
678
  "Responsive - resizes to smaller size but maximum width will be equal to the "
679
  "provided width."
680
  msgstr ""
681
 
682
- #: ../views/slider-properties.php:58
683
  msgid ""
684
  "Full - the same as responsive but maximum width will be equal to its "
685
  "container ignoring the provided width."
686
  msgstr ""
687
 
688
- #: ../views/slider-properties.php:59
689
  msgid "Fixed - width and height are not resized."
690
  msgstr ""
691
 
692
- #: ../views/slider-properties.php:64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
693
  msgid "Pause on Hover?"
694
  msgstr ""
695
 
696
- #: ../views/slider-properties.php:72
697
  msgid "Show Prev/Next Buttons?"
698
  msgstr "eige Tasten PREV / NEXT?"
699
 
700
- #: ../views/slider-properties.php:80
701
  msgid "Show Navigation?"
702
  msgstr "Zeige Navigation?"
703
 
704
- #: ../views/slider-properties.php:85
705
  msgid "The thumbnails or dots depending on template."
706
  msgstr ""
707
 
708
- #: ../views/slider-properties.php:89
709
- msgid "Resize Images?"
710
- msgstr ""
711
-
712
- #: ../views/slider-properties.php:94
713
- msgid ""
714
- "Yes - resize images to slideshow dimension. <br>No - use the original "
715
- "uploaded image."
716
- msgstr ""
717
-
718
- #: ../views/slider-properties.php:98
719
  msgid "Random Slide Order?"
720
  msgstr ""
721
 
722
- #: ../views/slider-properties.php:103
723
  msgid "Randomize order of slides on every page visit."
724
  msgstr ""
725
 
2
  msgstr ""
3
  "Project-Id-Version: Cyclone Slider\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-03-15 13:42+0800\n"
6
+ "PO-Revision-Date: 2015-03-15 13:44+0800\n"
7
  "Last-Translator: Nico Amarilla <kosinix@codefleet.net>\n"
8
  "Language-Team: kosinix <kosinix@codefleet.net>\n"
9
  "Language: de_DE\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
  "X-Poedit-SearchPath-1: ..\n"
19
 
20
+ #: ../cyclone-slider.php:104
21
  #, fuzzy
22
  msgid "Cyclone Slider Settings"
23
  msgstr "Slider-Einstellungen"
24
 
25
+ #: ../cyclone-slider.php:105
26
  #, fuzzy
27
  msgid "Settings"
28
  msgstr "Slider-Einstellungen"
29
 
30
+ #: ../src/CycloneSlider/Admin.php:97
31
  msgid "Cyclone Slider"
32
  msgstr ""
33
 
34
+ #: ../src/CycloneSlider/Admin.php:98
35
  msgid "Slideshow"
36
  msgstr ""
37
 
38
+ #: ../src/CycloneSlider/Admin.php:99
39
  msgid "Add Slideshow"
40
  msgstr "Slideshow hinzufügen"
41
 
42
+ #: ../src/CycloneSlider/Admin.php:100
43
  msgid "Add New Slideshow"
44
  msgstr "Neuer Slideshow"
45
 
46
+ #: ../src/CycloneSlider/Admin.php:101
47
  msgid "Edit Slideshow"
48
  msgstr "Bearbeiten Slideshow"
49
 
50
+ #: ../src/CycloneSlider/Admin.php:102
51
  msgid "New Slideshow"
52
  msgstr "Neue Slideshow"
53
 
54
+ #: ../src/CycloneSlider/Admin.php:103
55
  msgid "View Slideshow"
56
  msgstr "Sehen Slideshow"
57
 
58
+ #: ../src/CycloneSlider/Admin.php:104
59
  msgid "Search Slideshows"
60
  msgstr "Suchen Slideshows"
61
 
62
+ #: ../src/CycloneSlider/Admin.php:105
63
  msgid "No slideshows found"
64
  msgstr "Keine Slideshows gefunden"
65
 
66
+ #: ../src/CycloneSlider/Admin.php:106
67
  msgid "No slideshows found in Trash"
68
  msgstr "Keine Diashows in Trash gefunden"
69
 
70
+ #: ../src/CycloneSlider/Admin.php:150 ../src/CycloneSlider/Admin.php:153
71
+ #: ../src/CycloneSlider/Admin.php:154 ../src/CycloneSlider/Admin.php:157
72
+ #: ../src/CycloneSlider/Admin.php:158 ../src/CycloneSlider/Admin.php:159
73
  msgid "Slideshow updated."
74
  msgstr ""
75
 
76
+ #: ../src/CycloneSlider/Admin.php:151
77
  msgid "Custom field updated."
78
  msgstr ""
79
 
80
+ #: ../src/CycloneSlider/Admin.php:152
81
  msgid "Custom field deleted."
82
  msgstr ""
83
 
84
+ #: ../src/CycloneSlider/Admin.php:155
85
  #, fuzzy
86
  msgid "Slideshow published."
87
  msgstr "Slideshow gespeichert."
88
 
89
+ #: ../src/CycloneSlider/Admin.php:156
90
  msgid "Slideshow saved."
91
  msgstr "Slideshow gespeichert."
92
 
93
+ #: ../src/CycloneSlider/Admin.php:193
 
 
 
 
 
 
 
 
 
 
 
94
  msgid "Slides"
95
  msgstr ""
96
 
97
+ #: ../src/CycloneSlider/Admin.php:202
98
  #, fuzzy
99
  msgid "Slider Preview"
100
  msgstr "Slider-Einstellungen"
101
 
102
+ #: ../src/CycloneSlider/Admin.php:211
103
  #, fuzzy
104
  msgid "Get Slider Codes"
105
  msgstr "Next Slide Verzögerung:"
106
 
107
+ #: ../src/CycloneSlider/Admin.php:220
108
  #, fuzzy
109
  msgid "Basic Settings"
110
  msgstr "Slider-Einstellungen"
111
 
112
+ #: ../src/CycloneSlider/Admin.php:229
113
  #, fuzzy
114
  msgid "Advanced Settings"
115
  msgstr "Slider-Einstellungen"
116
 
117
+ #: ../src/CycloneSlider/Admin.php:238
118
  #, fuzzy
119
  msgid "Templates"
120
  msgstr "Slider-Einstellungen"
121
 
122
+ #: ../src/CycloneSlider/Admin.php:247 ../src/CycloneSlider/Admin.php:512
123
  msgid "Slideshow ID"
124
  msgstr ""
125
 
126
+ #: ../src/CycloneSlider/Admin.php:273
127
  msgid "Slide"
128
  msgstr ""
129
 
130
+ #: ../src/CycloneSlider/Admin.php:278
131
+ msgid "[Hidden]"
132
+ msgstr ""
133
+
134
+ #: ../src/CycloneSlider/Admin.php:401
135
  msgid "Core"
136
  msgstr ""
137
 
138
+ #: ../src/CycloneSlider/Admin.php:402
139
  #, php-format
140
  msgid "Located inside the plugin directory:<br> <strong>%s</strong>"
141
  msgstr ""
142
 
143
+ #: ../src/CycloneSlider/Admin.php:406
144
  #, php-format
145
  msgid "Located inside your currently active theme:<br> <strong>%s</strong>"
146
  msgstr ""
147
 
148
+ #: ../src/CycloneSlider/Admin.php:407
149
  #, php-format
150
  msgid ""
151
  "Your template is in danger of being overwritten when you upgrade your theme. "
152
  "Please move it inside %s."
153
  msgstr ""
154
 
155
+ #: ../src/CycloneSlider/Admin.php:411
156
  #, php-format
157
  msgid "Located inside wp-content directory:<br> <strong>%s</strong>"
158
  msgstr ""
159
 
160
+ #: ../src/CycloneSlider/Admin.php:448
161
  #, fuzzy
162
  msgid "Slide *"
163
  msgstr "Folie hinzufügen"
164
 
165
+ #: ../src/CycloneSlider/Admin.php:509
166
  msgid "Slideshow Name"
167
  msgstr "Slideshow Namen"
168
 
169
+ #: ../src/CycloneSlider/Admin.php:510
170
  msgid "Template"
171
  msgstr ""
172
 
173
+ #: ../src/CycloneSlider/Admin.php:511
174
  #, fuzzy
175
  msgid "No. of Slides"
176
  msgstr "Folie hinzufügen"
177
 
178
+ #: ../src/CycloneSlider/Admin.php:513
179
  msgid "Shortcode"
180
  msgstr ""
181
 
182
+ #: ../src/CycloneSlider/AssetLoader.php:59
183
  #, fuzzy
184
  msgid "Select an image"
185
  msgstr "Suchen Slideshows"
186
 
187
+ #: ../src/CycloneSlider/AssetLoader.php:60
188
  msgid "Select Images - Use Ctrl + Click or Shift + Click"
189
  msgstr ""
190
 
191
+ #: ../src/CycloneSlider/AssetLoader.php:61
192
  #, fuzzy
193
  msgid "Add to Slide"
194
  msgstr "Folie hinzufügen"
195
 
196
+ #: ../src/CycloneSlider/AssetLoader.php:62 ../views/slides.php:9
197
  #, fuzzy
198
  msgid "Add Images as Slides"
199
  msgstr "Neuer Slideshow"
200
 
201
+ #: ../src/CycloneSlider/AssetLoader.php:63
202
  msgid "Error. Make sure its a valid YouTube URL."
203
  msgstr ""
204
 
205
+ #: ../src/CycloneSlider/ExportPage.php:36
206
+ msgid "Export settings cleared."
207
+ msgstr ""
208
+
209
+ #: ../src/CycloneSlider/ExportPage.php:42
210
+ #, fuzzy
211
+ msgid "No sliders selected."
212
+ msgstr "Keine Slideshows gefunden"
213
+
214
+ #: ../src/CycloneSlider/Frontend.php:72
215
  #, fuzzy, php-format
216
  msgid "[Slideshow \"%s\" not found]"
217
  msgstr "[Slideshow nicht gefunden]"
218
 
219
+ #: ../src/CycloneSlider/Frontend.php:88
220
  #, php-format
221
  msgid "[Template \"%s\" not found]"
222
  msgstr "[Template \"%s\" nicht gefunden]"
223
 
224
+ #: ../src/CycloneSlider/NextgenIntegration.php:39
225
  msgid "NextGEN Integration"
226
  msgstr ""
227
 
228
+ #: ../src/CycloneSlider/NextgenIntegration.php:55
229
  msgid "Choose a NextGEN Gallery"
230
  msgstr ""
231
 
232
+ #: ../src/CycloneSlider/NextgenIntegration.php:65
233
  msgid "Import"
234
  msgstr ""
235
 
236
+ #: ../src/CycloneSlider/NextgenIntegration.php:67
237
  msgid ""
238
  "Select a gallery to import images from. Images will be added as new slides."
239
  msgstr ""
240
 
241
+ #: ../src/CycloneSlider/SettingsPage.php:54
242
  msgid "Default options restored."
243
  msgstr ""
244
 
250
  msgid "Widget for displaying sliders."
251
  msgstr ""
252
 
253
+ #: ../src/CycloneSlider/WidgetSlider.php:65 ../views/slide-edit.php:54
254
  #, fuzzy
255
  msgid "Title:"
256
  msgstr "Titel"
370
  msgid "Vimeo"
371
  msgstr ""
372
 
373
+ #: ../views/slide-edit.php:29 ../views/slide-edit.php:178
374
  msgid "Custom HTML"
375
  msgstr ""
376
 
378
  msgid "Testimonial"
379
  msgstr ""
380
 
381
+ #: ../views/slide-edit.php:35
382
+ msgid "Hide"
383
+ msgstr ""
384
+
385
+ #: ../views/slide-edit.php:47
386
  msgid "Get Image"
387
  msgstr ""
388
 
389
+ #: ../views/slide-edit.php:51
390
  msgid "Caption"
391
  msgstr ""
392
 
393
+ #: ../views/slide-edit.php:58
394
  #, fuzzy
395
  msgid "Description:"
396
  msgstr "Beschreibung"
397
 
398
+ #: ../views/slide-edit.php:64 ../views/slide-edit.php:201
399
  msgid "Link"
400
  msgstr ""
401
 
402
+ #: ../views/slide-edit.php:67 ../views/slide-edit.php:204
403
  msgid "Link URL:"
404
  msgstr ""
405
 
406
+ #: ../views/slide-edit.php:71 ../views/slide-edit.php:208
407
  msgid "Open Link in:"
408
  msgstr ""
409
 
410
+ #: ../views/slide-edit.php:73 ../views/slide-edit.php:210
411
  msgid "Same Window"
412
  msgstr ""
413
 
414
+ #: ../views/slide-edit.php:74 ../views/slide-edit.php:211
415
  msgid "New Tab or Window"
416
  msgstr ""
417
 
418
+ #: ../views/slide-edit.php:80
419
  msgid "Image Attributes"
420
  msgstr ""
421
 
422
+ #: ../views/slide-edit.php:83
423
  msgid "Alternate Text:"
424
  msgstr ""
425
 
426
+ #: ../views/slide-edit.php:87
427
  #, fuzzy
428
  msgid "Title Text:"
429
  msgstr "Titel"
430
 
431
+ #: ../views/slide-edit.php:93
432
  #, fuzzy
433
  msgid "Slide Transition Effects"
434
  msgstr "Transition Effects Speed:"
435
 
436
+ #: ../views/slide-edit.php:97
437
  msgid "Disable"
438
  msgstr ""
439
 
440
+ #: ../views/slide-edit.php:98
441
  msgid "Enable Slide Effects"
442
  msgstr ""
443
 
444
+ #: ../views/slide-edit.php:104
445
  #, fuzzy
446
  msgid "Transition Effects:"
447
  msgstr "Transition Effects Speed:"
448
 
449
+ #: ../views/slide-edit.php:115 ../views/slider-settings.php:32
450
  msgid "Transition Effects Speed:"
451
  msgstr "Transition Effects Speed:"
452
 
453
+ #: ../views/slide-edit.php:117 ../views/slide-edit.php:124
454
+ #: ../views/slider-settings.php:34
455
  msgid "Milliseconds"
456
  msgstr "Millisekunden"
457
 
458
+ #: ../views/slide-edit.php:122 ../views/slider-settings.php:26
459
  msgid "Next Slide Delay:"
460
  msgstr "Next Slide Verzögerung:"
461
 
462
+ #: ../views/slide-edit.php:132 ../views/slider-settings.php:13
463
  msgid "Tile Count:"
464
  msgstr ""
465
 
466
+ #: ../views/slide-edit.php:134 ../views/slider-settings.php:15
467
  msgid "The number of tiles to use in the transition."
468
  msgstr ""
469
 
470
+ #: ../views/slide-edit.php:138
471
  #, fuzzy
472
  msgid "Tile Delay:"
473
  msgstr "Next Slide Verzögerung:"
474
 
475
+ #: ../views/slide-edit.php:140
476
  msgid "Milliseconds to delay each individual tile transition."
477
  msgstr ""
478
 
479
+ #: ../views/slide-edit.php:144 ../views/slider-settings.php:18
480
  msgid "Tile Position:"
481
  msgstr ""
482
 
483
+ #: ../views/slide-edit.php:146 ../views/slider-settings.php:20
484
  msgid "Vertical"
485
  msgstr ""
486
 
487
+ #: ../views/slide-edit.php:147 ../views/slider-settings.php:21
488
  msgid "Horizontal"
489
  msgstr ""
490
 
491
+ #: ../views/slide-edit.php:159
492
  msgid "YouTube URL:"
493
  msgstr ""
494
 
495
+ #: ../views/slide-edit.php:161
496
  msgid "Copy and paste a valid YouTube URL here."
497
  msgstr ""
498
 
499
+ #: ../views/slide-edit.php:166
500
  msgid "Do not show suggested videos when the video finishes."
501
  msgstr ""
502
 
503
+ #: ../views/slide-edit.php:171
504
  msgid "Vimeo URL:"
505
  msgstr ""
506
 
507
+ #: ../views/slide-edit.php:173
508
  msgid "Copy and paste a valid Vimeo URL here."
509
  msgstr ""
510
 
511
+ #: ../views/slide-edit.php:186
512
  msgid "Quote"
513
  msgstr ""
514
 
515
+ #: ../views/slide-edit.php:192
516
  msgid "Author"
517
  msgstr ""
518
 
519
+ #: ../views/slide-edit.php:195
520
  msgid "Name:"
521
  msgstr ""
522
 
525
  msgstr ""
526
 
527
  #: ../views/slider-advanced-settings.php:6
528
+ #: ../views/slider-advanced-settings.php:44 ../views/slider-settings.php:67
529
+ #: ../views/slider-settings.php:78 ../views/slider-settings.php:86
530
+ #: ../views/slider-settings.php:94 ../views/slider-settings.php:104
531
  msgid "Yes"
532
  msgstr "Ja"
533
 
534
  #: ../views/slider-advanced-settings.php:7
535
+ #: ../views/slider-advanced-settings.php:45 ../views/slider-settings.php:66
536
+ #: ../views/slider-settings.php:79 ../views/slider-settings.php:87
537
+ #: ../views/slider-settings.php:95 ../views/slider-settings.php:103
538
  msgid "No"
539
  msgstr "Nicht"
540
 
592
  msgid "Resize Options:"
593
  msgstr "Beschreibung"
594
 
595
+ #: ../views/slider-advanced-settings.php:60
 
 
 
 
596
  msgid "Auto - Cyclone Slider decides the resize option."
597
  msgstr ""
598
 
599
+ #: ../views/slider-advanced-settings.php:61
600
  msgid "Crop - Resize and remove excess parts."
601
  msgstr ""
602
 
603
+ #: ../views/slider-advanced-settings.php:62
604
  msgid "Exact - Resize to exact dimensions."
605
  msgstr ""
606
 
607
+ #: ../views/slider-advanced-settings.php:63
608
  msgid "Landscape - Resize to exact width."
609
  msgstr ""
610
 
611
+ #: ../views/slider-advanced-settings.php:64
612
  msgid "Portrait - Resize to exact height."
613
  msgstr ""
614
 
639
  msgid "Your preview will appear here."
640
  msgstr ""
641
 
642
+ #: ../views/slider-settings.php:4
643
  msgid "Transition Effects to Use:"
644
  msgstr "Transition Effects zu verwenden:"
645
 
646
+ #: ../views/slider-settings.php:28
647
  msgid "Milliseconds. 0 to disable auto advance."
648
  msgstr "Millisekunden. 0 deaktiviert auto Voraus."
649
 
650
+ #: ../views/slider-settings.php:38
651
  msgid "Width:"
652
  msgstr "Breite:"
653
 
654
+ #: ../views/slider-settings.php:40 ../views/slider-settings.php:46
655
  msgid "pixels."
656
  msgstr ""
657
 
658
+ #: ../views/slider-settings.php:44
659
  msgid "Height:"
660
  msgstr "Höhe:"
661
 
662
+ #: ../views/slider-settings.php:50
663
  msgid "Width Management:"
664
  msgstr ""
665
 
666
+ #: ../views/slider-settings.php:52
667
  msgid "Responsive"
668
  msgstr ""
669
 
670
+ #: ../views/slider-settings.php:53
671
  msgid "Full"
672
  msgstr ""
673
 
674
+ #: ../views/slider-settings.php:54
675
  msgid "Fixed"
676
  msgstr ""
677
 
678
+ #: ../views/slider-settings.php:57
679
  msgid ""
680
  "Responsive - resizes to smaller size but maximum width will be equal to the "
681
  "provided width."
682
  msgstr ""
683
 
684
+ #: ../views/slider-settings.php:58
685
  msgid ""
686
  "Full - the same as responsive but maximum width will be equal to its "
687
  "container ignoring the provided width."
688
  msgstr ""
689
 
690
+ #: ../views/slider-settings.php:59
691
  msgid "Fixed - width and height are not resized."
692
  msgstr ""
693
 
694
+ #: ../views/slider-settings.php:64
695
+ msgid "Resize Images?"
696
+ msgstr ""
697
+
698
+ #: ../views/slider-settings.php:71
699
+ msgid "Force Resize"
700
+ msgstr ""
701
+
702
+ #: ../views/slider-settings.php:72
703
+ msgid ""
704
+ "Yes - resize images to slideshow dimension. <br>No - use the original "
705
+ "uploaded image. <br>Force Resize - Regenerate all images and thumbnails."
706
+ msgstr ""
707
+
708
+ #: ../views/slider-settings.php:76
709
  msgid "Pause on Hover?"
710
  msgstr ""
711
 
712
+ #: ../views/slider-settings.php:84
713
  msgid "Show Prev/Next Buttons?"
714
  msgstr "eige Tasten PREV / NEXT?"
715
 
716
+ #: ../views/slider-settings.php:92
717
  msgid "Show Navigation?"
718
  msgstr "Zeige Navigation?"
719
 
720
+ #: ../views/slider-settings.php:97
721
  msgid "The thumbnails or dots depending on template."
722
  msgstr ""
723
 
724
+ #: ../views/slider-settings.php:101
 
 
 
 
 
 
 
 
 
 
725
  msgid "Random Slide Order?"
726
  msgstr ""
727
 
728
+ #: ../views/slider-settings.php:106
729
  msgid "Randomize order of slides on every page visit."
730
  msgstr ""
731
 
lang/cycloneslider-es_ES.mo CHANGED
Binary file
lang/cycloneslider-es_ES.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Cyclone Slider 2 v2.8.3\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-12-19 17:58+0800\n"
6
- "PO-Revision-Date: 2014-12-19 17:58+0800\n"
7
  "Last-Translator: Nico Amarilla <kosinix@codefleet.net>\n"
8
  "Language-Team: Digital03 <info@digital03.net>\n"
9
  "Language: es_ES\n"
@@ -21,168 +21,155 @@ msgstr ""
21
  "X-Poedit-SearchPath-1: ..\n"
22
 
23
  # @ cycloneslider
24
- #: ../cyclone-slider.php:91
25
  msgid "Cyclone Slider Settings"
26
  msgstr "Ajustes de Cyclone Slider"
27
 
28
  # @ cycloneslider
29
- #: ../cyclone-slider.php:92
30
  msgid "Settings"
31
  msgstr "Ajustes"
32
 
33
  # @ cycloneslider
34
- #: ../src/CycloneSlider/Admin.php:80
35
  msgid "Cyclone Slider"
36
  msgstr "Cyclone Slider"
37
 
38
  # @ cycloneslider
39
- #: ../src/CycloneSlider/Admin.php:81
40
  msgid "Slideshow"
41
  msgstr "Slideshow"
42
 
43
  # @ cycloneslider
44
- #: ../src/CycloneSlider/Admin.php:82
45
  msgid "Add Slideshow"
46
  msgstr "Añadir slideshow"
47
 
48
  # @ cycloneslider
49
- #: ../src/CycloneSlider/Admin.php:83
50
  msgid "Add New Slideshow"
51
  msgstr "Añadir nuevo slideshow"
52
 
53
  # @ cycloneslider
54
- #: ../src/CycloneSlider/Admin.php:84
55
  msgid "Edit Slideshow"
56
  msgstr "Editar slideshow"
57
 
58
  # @ cycloneslider
59
- #: ../src/CycloneSlider/Admin.php:85
60
  msgid "New Slideshow"
61
  msgstr "Nuevo slideshow"
62
 
63
  # @ cycloneslider
64
- #: ../src/CycloneSlider/Admin.php:86
65
  msgid "View Slideshow"
66
  msgstr "Ver slideshow"
67
 
68
  # @ cycloneslider
69
- #: ../src/CycloneSlider/Admin.php:87
70
  msgid "Search Slideshows"
71
  msgstr "Buscar slideshows"
72
 
73
  # @ cycloneslider
74
- #: ../src/CycloneSlider/Admin.php:88
75
  msgid "No slideshows found"
76
  msgstr "No se han encontrado slideshows"
77
 
78
  # @ cycloneslider
79
- #: ../src/CycloneSlider/Admin.php:89
80
  msgid "No slideshows found in Trash"
81
  msgstr "No hay slideshows en la papelera"
82
 
83
  # @ cycloneslider
84
- #: ../src/CycloneSlider/Admin.php:133 ../src/CycloneSlider/Admin.php:136
85
- #: ../src/CycloneSlider/Admin.php:137 ../src/CycloneSlider/Admin.php:140
86
- #: ../src/CycloneSlider/Admin.php:141 ../src/CycloneSlider/Admin.php:142
87
  msgid "Slideshow updated."
88
  msgstr "Slideshow actualizado."
89
 
90
  # @ cycloneslider
91
- #: ../src/CycloneSlider/Admin.php:134
92
  msgid "Custom field updated."
93
  msgstr "Campos personalizados actualizados"
94
 
95
  # @ cycloneslider
96
- #: ../src/CycloneSlider/Admin.php:135
97
  msgid "Custom field deleted."
98
  msgstr "Campo personalizado eliminado."
99
 
100
  # @ cycloneslider
101
- #: ../src/CycloneSlider/Admin.php:138
102
  msgid "Slideshow published."
103
  msgstr "Slideshow publicado."
104
 
105
  # @ cycloneslider
106
- #: ../src/CycloneSlider/Admin.php:139
107
  msgid "Slideshow saved."
108
  msgstr "Slideshow guardado."
109
 
110
  # @ cycloneslider
111
- #: ../src/CycloneSlider/Admin.php:143
112
- #, php-format
113
- msgid ""
114
- "Templates CSS could not be saved. Make sure %stemplates.css is writable."
115
- msgstr ""
116
- "La plantilla CSS no ha podido ser guardada. Asegurate que %stemplates.css "
117
- "tiene permiso de escritura."
118
-
119
- # @ cycloneslider
120
- #: ../src/CycloneSlider/Admin.php:144
121
- #, php-format
122
- msgid "Templates JS could not be saved. Make sure %stemplates.js is writable."
123
- msgstr ""
124
- "La plantilla JS no ha podido ser guardada. Asegurate que %stemplates.js "
125
- "tiene permisos de escritura."
126
-
127
- # @ cycloneslider
128
- #: ../src/CycloneSlider/Admin.php:178
129
  msgid "Slides"
130
  msgstr "Diapositivas"
131
 
132
  # @ cycloneslider
133
- #: ../src/CycloneSlider/Admin.php:187
134
  msgid "Slider Preview"
135
  msgstr "Vista previa"
136
 
137
  # @ cycloneslider
138
- #: ../src/CycloneSlider/Admin.php:196
139
  msgid "Get Slider Codes"
140
  msgstr "Ver el código del slider"
141
 
142
  # @ cycloneslider
143
- #: ../src/CycloneSlider/Admin.php:205
144
  msgid "Basic Settings"
145
  msgstr "Ajustes básicos"
146
 
147
  # @ cycloneslider
148
- #: ../src/CycloneSlider/Admin.php:214
149
  msgid "Advanced Settings"
150
  msgstr "Ajustes avanzados"
151
 
152
  # @ cycloneslider
153
- #: ../src/CycloneSlider/Admin.php:223
154
  msgid "Templates"
155
  msgstr "Plantillas"
156
 
157
  # @ cycloneslider
158
- #: ../src/CycloneSlider/Admin.php:232 ../src/CycloneSlider/Admin.php:492
159
  msgid "Slideshow ID"
160
  msgstr "ID del slideshow"
161
 
162
  # @ cycloneslider
163
- #: ../src/CycloneSlider/Admin.php:258
164
  msgid "Slide"
165
  msgstr "Diapositiva"
166
 
 
 
 
 
167
  # @ cycloneslider
168
- #: ../src/CycloneSlider/Admin.php:381
169
  msgid "Core"
170
  msgstr "Núcleo"
171
 
172
  # @ cycloneslider
173
- #: ../src/CycloneSlider/Admin.php:382
174
  #, fuzzy, php-format
175
  msgid "Located inside the plugin directory:<br> <strong>%s</strong>"
176
  msgstr "Localizado dentro de la carpeta wp-content:<br> <strong>%s</strong>"
177
 
178
  # @ cycloneslider
179
- #: ../src/CycloneSlider/Admin.php:386
180
  #, php-format
181
  msgid "Located inside your currently active theme:<br> <strong>%s</strong>"
182
  msgstr "Localizado dentro de tu tema actual:<br> <strong>%s</strong>"
183
 
184
  # @ cycloneslider
185
- #: ../src/CycloneSlider/Admin.php:387
186
  #, php-format
187
  msgid ""
188
  "Your template is in danger of being overwritten when you upgrade your theme. "
@@ -192,90 +179,100 @@ msgstr ""
192
  "Por favor, muevela dentro de %s."
193
 
194
  # @ cycloneslider
195
- #: ../src/CycloneSlider/Admin.php:391
196
  #, php-format
197
  msgid "Located inside wp-content directory:<br> <strong>%s</strong>"
198
  msgstr "Localizado dentro de la carpeta wp-content:<br> <strong>%s</strong>"
199
 
200
  # @ cycloneslider
201
- #: ../src/CycloneSlider/Admin.php:428
202
  msgid "Slide *"
203
  msgstr "Diapositiva *"
204
 
205
  # @ cycloneslider
206
- #: ../src/CycloneSlider/Admin.php:489
207
  msgid "Slideshow Name"
208
  msgstr "Nombre del slideshow"
209
 
210
  # @ cycloneslider
211
- #: ../src/CycloneSlider/Admin.php:490
212
  msgid "Template"
213
  msgstr "Plantilla"
214
 
215
  # @ cycloneslider
216
- #: ../src/CycloneSlider/Admin.php:491
217
  msgid "No. of Slides"
218
  msgstr "No. de diapositivas"
219
 
220
  # @ cycloneslider
221
- #: ../src/CycloneSlider/Admin.php:493
222
  msgid "Shortcode"
223
  msgstr "Shortcode"
224
 
225
  # @ cycloneslider
226
- #: ../src/CycloneSlider/AssetLoader.php:53
227
  msgid "Select an image"
228
  msgstr "Seleciona una imagen"
229
 
230
  # @ cycloneslider
231
- #: ../src/CycloneSlider/AssetLoader.php:54
232
  msgid "Select Images - Use Ctrl + Click or Shift + Click"
233
  msgstr "Selecionar varias imágenes - Usar Ctrl + Click o Shift + Click"
234
 
235
  # @ cycloneslider
236
- #: ../src/CycloneSlider/AssetLoader.php:55
237
  msgid "Add to Slide"
238
  msgstr "Añadir a la diapositiva"
239
 
240
  # @ cycloneslider
241
- #: ../src/CycloneSlider/AssetLoader.php:56 ../views/slides.php:9
242
  msgid "Add Images as Slides"
243
  msgstr "Añadir imágenes como diapositivas"
244
 
245
  # @ cycloneslider
246
- #: ../src/CycloneSlider/AssetLoader.php:57
247
  msgid "Error. Make sure its a valid YouTube URL."
248
  msgstr "Error. Asegúrate de que es una dirección de YouTube válida."
249
 
 
 
 
 
250
  # @ cycloneslider
251
- #: ../src/CycloneSlider/Frontend.php:59
 
 
 
 
 
 
252
  #, php-format
253
  msgid "[Slideshow \"%s\" not found]"
254
  msgstr "[Slideshow \"%s\" no encontrado]"
255
 
256
  # @ cycloneslider
257
- #: ../src/CycloneSlider/Frontend.php:74
258
  #, php-format
259
  msgid "[Template \"%s\" not found]"
260
  msgstr "[Plantilla \"%s\" no encontrada]"
261
 
262
  # @ cycloneslider
263
- #: ../src/CycloneSlider/NextgenIntegration.php:34
264
  msgid "NextGEN Integration"
265
  msgstr "Integración con NextGEN"
266
 
267
  # @ cycloneslider
268
- #: ../src/CycloneSlider/NextgenIntegration.php:50
269
  msgid "Choose a NextGEN Gallery"
270
  msgstr "Escoge una galería NextGEN"
271
 
272
  # @ cycloneslider
273
- #: ../src/CycloneSlider/NextgenIntegration.php:60
274
  msgid "Import"
275
  msgstr "Importar"
276
 
277
  # @ cycloneslider
278
- #: ../src/CycloneSlider/NextgenIntegration.php:62
279
  msgid ""
280
  "Select a gallery to import images from. Images will be added as new slides."
281
  msgstr ""
@@ -284,7 +281,7 @@ msgstr ""
284
 
285
  # @ cycloneslider
286
  # @ default
287
- #: ../src/CycloneSlider/SettingsPage.php:74
288
  msgid "Default options restored."
289
  msgstr "Ajustes por defecto restaurados."
290
 
@@ -299,7 +296,7 @@ msgid "Widget for displaying sliders."
299
  msgstr "Widget para mostrar diapositivas."
300
 
301
  # @ cycloneslider
302
- #: ../src/CycloneSlider/WidgetSlider.php:65 ../views/slide-edit.php:49
303
  msgid "Title:"
304
  msgstr "Título:"
305
 
@@ -447,7 +444,7 @@ msgid "Vimeo"
447
  msgstr "Vimeo"
448
 
449
  # @ cycloneslider
450
- #: ../views/slide-edit.php:29 ../views/slide-edit.php:173
451
  msgid "Custom HTML"
452
  msgstr "HTML personalizado"
453
 
@@ -456,170 +453,174 @@ msgstr "HTML personalizado"
456
  msgid "Testimonial"
457
  msgstr "Recomendación"
458
 
 
 
 
 
459
  # @ cycloneslider
460
- #: ../views/slide-edit.php:42
461
  msgid "Get Image"
462
  msgstr "Elegir imagen"
463
 
464
  # @ cycloneslider
465
- #: ../views/slide-edit.php:46
466
  msgid "Caption"
467
  msgstr "Leyenda"
468
 
469
  # @ cycloneslider
470
- #: ../views/slide-edit.php:53
471
  msgid "Description:"
472
  msgstr "Decripción:"
473
 
474
  # @ cycloneslider
475
- #: ../views/slide-edit.php:59 ../views/slide-edit.php:196
476
  msgid "Link"
477
  msgstr "Enlace"
478
 
479
  # @ cycloneslider
480
- #: ../views/slide-edit.php:62 ../views/slide-edit.php:199
481
  msgid "Link URL:"
482
  msgstr "URL del enlace"
483
 
484
  # @ cycloneslider
485
- #: ../views/slide-edit.php:66 ../views/slide-edit.php:203
486
  msgid "Open Link in:"
487
  msgstr "Abrir enlace en:"
488
 
489
  # @ cycloneslider
490
- #: ../views/slide-edit.php:68 ../views/slide-edit.php:205
491
  msgid "Same Window"
492
  msgstr "Misma ventana"
493
 
494
  # @ cycloneslider
495
- #: ../views/slide-edit.php:69 ../views/slide-edit.php:206
496
  msgid "New Tab or Window"
497
  msgstr "Abrir enlace en una nueva ventana/pestaña"
498
 
499
  # @ cycloneslider
500
- #: ../views/slide-edit.php:75
501
  msgid "Image Attributes"
502
  msgstr "Atributos de imagen"
503
 
504
  # @ cycloneslider
505
- #: ../views/slide-edit.php:78
506
  msgid "Alternate Text:"
507
  msgstr "Texto alternativo:"
508
 
509
  # @ cycloneslider
510
- #: ../views/slide-edit.php:82
511
  msgid "Title Text:"
512
  msgstr "Texto del título:"
513
 
514
  # @ cycloneslider
515
- #: ../views/slide-edit.php:88
516
  msgid "Slide Transition Effects"
517
  msgstr "Efectos de transición de diapositivas"
518
 
519
  # @ cycloneslider
520
- #: ../views/slide-edit.php:92
521
  msgid "Disable"
522
  msgstr "Desactivar"
523
 
524
  # @ cycloneslider
525
- #: ../views/slide-edit.php:93
526
  msgid "Enable Slide Effects"
527
  msgstr "Activar efectos de diapositiva"
528
 
529
  # @ cycloneslider
530
- #: ../views/slide-edit.php:99
531
  msgid "Transition Effects:"
532
  msgstr "Efectos de transición:"
533
 
534
  # @ cycloneslider
535
- #: ../views/slide-edit.php:110 ../views/slider-properties.php:32
536
  msgid "Transition Effects Speed:"
537
  msgstr "Velocidad del efecto de transición:"
538
 
539
  # @ cycloneslider
540
- #: ../views/slide-edit.php:112 ../views/slide-edit.php:119
541
- #: ../views/slider-properties.php:34
542
  msgid "Milliseconds"
543
  msgstr "Milisegundos"
544
 
545
  # @ cycloneslider
546
- #: ../views/slide-edit.php:117 ../views/slider-properties.php:26
547
  msgid "Next Slide Delay:"
548
  msgstr "Retraso siguiente diapositiva:"
549
 
550
  # @ cycloneslider
551
- #: ../views/slide-edit.php:127 ../views/slider-properties.php:13
552
  msgid "Tile Count:"
553
  msgstr "Número de diapositivas:"
554
 
555
  # @ cycloneslider
556
- #: ../views/slide-edit.php:129 ../views/slider-properties.php:15
557
  msgid "The number of tiles to use in the transition."
558
  msgstr "Número de diapositivas para usar esta transición."
559
 
560
  # @ cycloneslider
561
- #: ../views/slide-edit.php:133
562
  msgid "Tile Delay:"
563
  msgstr "Retraso:"
564
 
565
  # @ cycloneslider
566
- #: ../views/slide-edit.php:135
567
  msgid "Milliseconds to delay each individual tile transition."
568
  msgstr "Milisegundos para retrasar cada transición individual."
569
 
570
  # @ cycloneslider
571
- #: ../views/slide-edit.php:139 ../views/slider-properties.php:18
572
  msgid "Tile Position:"
573
  msgstr "Posición de la capa:"
574
 
575
  # @ cycloneslider
576
- #: ../views/slide-edit.php:141 ../views/slider-properties.php:20
577
  msgid "Vertical"
578
  msgstr "Vertical"
579
 
580
  # @ cycloneslider
581
- #: ../views/slide-edit.php:142 ../views/slider-properties.php:21
582
  msgid "Horizontal"
583
  msgstr "Horizontal"
584
 
585
  # @ cycloneslider
586
- #: ../views/slide-edit.php:154
587
  msgid "YouTube URL:"
588
  msgstr "URL Youtube:"
589
 
590
  # @ cycloneslider
591
- #: ../views/slide-edit.php:156
592
  msgid "Copy and paste a valid YouTube URL here."
593
  msgstr "Copia y pega un enlace válido de Youtube aquí."
594
 
595
  # @ cycloneslider
596
- #: ../views/slide-edit.php:161
597
  msgid "Do not show suggested videos when the video finishes."
598
  msgstr ""
599
  "No sugerir otros videos relacionados cuando el vídeo seleccionado termine."
600
 
601
  # @ cycloneslider
602
- #: ../views/slide-edit.php:166
603
  msgid "Vimeo URL:"
604
  msgstr "URL Vimeo:"
605
 
606
  # @ cycloneslider
607
- #: ../views/slide-edit.php:168
608
  msgid "Copy and paste a valid Vimeo URL here."
609
  msgstr "Copia y pega un enlace válido a Vimeo aquí."
610
 
611
  # @ cycloneslider
612
- #: ../views/slide-edit.php:181
613
  msgid "Quote"
614
  msgstr "Cita"
615
 
616
  # @ cycloneslider
617
- #: ../views/slide-edit.php:187
618
  msgid "Author"
619
  msgstr "Autor"
620
 
621
  # @ cycloneslider
622
- #: ../views/slide-edit.php:190
623
  #, fuzzy
624
  msgid "Name:"
625
  msgstr "Nombre:"
@@ -631,17 +632,17 @@ msgstr "Permitir volver al inicio?"
631
 
632
  # @ cycloneslider
633
  #: ../views/slider-advanced-settings.php:6
634
- #: ../views/slider-advanced-settings.php:44 ../views/slider-properties.php:66
635
- #: ../views/slider-properties.php:74 ../views/slider-properties.php:82
636
- #: ../views/slider-properties.php:92 ../views/slider-properties.php:101
637
  msgid "Yes"
638
  msgstr "Si"
639
 
640
  # @ cycloneslider
641
  #: ../views/slider-advanced-settings.php:7
642
- #: ../views/slider-advanced-settings.php:45 ../views/slider-properties.php:67
643
- #: ../views/slider-properties.php:75 ../views/slider-properties.php:83
644
- #: ../views/slider-properties.php:91 ../views/slider-properties.php:100
645
  msgid "No"
646
  msgstr "No"
647
 
@@ -711,32 +712,27 @@ msgid "Resize Options:"
711
  msgstr "Opciones de redimensión:"
712
 
713
  # @ cycloneslider
714
- #: ../views/slider-advanced-settings.php:61
715
- msgid "Force Resize"
716
- msgstr "Forzar redimensión"
717
-
718
- # @ cycloneslider
719
- #: ../views/slider-advanced-settings.php:63
720
  msgid "Auto - Cyclone Slider decides the resize option."
721
  msgstr "Auto - Cyclone Slider decide el redimensionado"
722
 
723
  # @ cycloneslider
724
- #: ../views/slider-advanced-settings.php:64
725
  msgid "Crop - Resize and remove excess parts."
726
  msgstr "Recortar. Redimensionar y eliminar los excesos."
727
 
728
  # @ cycloneslider
729
- #: ../views/slider-advanced-settings.php:65
730
  msgid "Exact - Resize to exact dimensions."
731
  msgstr "Exacto. Redimensionar al tamaño exacto."
732
 
733
  # @ cycloneslider
734
- #: ../views/slider-advanced-settings.php:66
735
  msgid "Landscape - Resize to exact width."
736
  msgstr "Panorámico. Redimensionar al ancho exacto."
737
 
738
  # @ cycloneslider
739
- #: ../views/slider-advanced-settings.php:67
740
  msgid "Portrait - Resize to exact height."
741
  msgstr "Retrato. Redimensionar al alto exacto."
742
 
@@ -781,52 +777,52 @@ msgid "Your preview will appear here."
781
  msgstr "Tu nombre de usuario aparecerá aquí."
782
 
783
  # @ cycloneslider
784
- #: ../views/slider-properties.php:4
785
  msgid "Transition Effects to Use:"
786
  msgstr "Efecto de transición a usar:"
787
 
788
  # @ cycloneslider
789
- #: ../views/slider-properties.php:28
790
  msgid "Milliseconds. 0 to disable auto advance."
791
  msgstr "Milisegundos. 0 para desactivar el avance automático."
792
 
793
  # @ cycloneslider
794
- #: ../views/slider-properties.php:38
795
  msgid "Width:"
796
  msgstr "Ancho:"
797
 
798
  # @ cycloneslider
799
- #: ../views/slider-properties.php:40 ../views/slider-properties.php:46
800
  msgid "pixels."
801
  msgstr "píxeles."
802
 
803
  # @ cycloneslider
804
- #: ../views/slider-properties.php:44
805
  msgid "Height:"
806
  msgstr "Alto:"
807
 
808
  # @ cycloneslider
809
- #: ../views/slider-properties.php:50
810
  msgid "Width Management:"
811
  msgstr "Gestión del ancho:"
812
 
813
  # @ cycloneslider
814
- #: ../views/slider-properties.php:52
815
  msgid "Responsive"
816
  msgstr "Adaptable"
817
 
818
  # @ cycloneslider
819
- #: ../views/slider-properties.php:53
820
  msgid "Full"
821
  msgstr "Completo"
822
 
823
  # @ cycloneslider
824
- #: ../views/slider-properties.php:54
825
  msgid "Fixed"
826
  msgstr "Fijo"
827
 
828
  # @ cycloneslider
829
- #: ../views/slider-properties.php:57
830
  msgid ""
831
  "Responsive - resizes to smaller size but maximum width will be equal to the "
832
  "provided width."
@@ -835,7 +831,7 @@ msgstr ""
835
  "igual que el indicado."
836
 
837
  # @ cycloneslider
838
- #: ../views/slider-properties.php:58
839
  msgid ""
840
  "Full - the same as responsive but maximum width will be equal to its "
841
  "container ignoring the provided width."
@@ -844,51 +840,57 @@ msgstr ""
844
  "contenedor ignorando la anchura máxima indicada del slider."
845
 
846
  # @ cycloneslider
847
- #: ../views/slider-properties.php:59
848
  msgid "Fixed - width and height are not resized."
849
  msgstr "Fijo. Ancho y alto no serán modificados."
850
 
851
  # @ cycloneslider
852
- #: ../views/slider-properties.php:64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
853
  msgid "Pause on Hover?"
854
  msgstr "Parar con el ratón encima?"
855
 
856
  # @ cycloneslider
857
- #: ../views/slider-properties.php:72
858
  msgid "Show Prev/Next Buttons?"
859
  msgstr "Mostrar botones Anterior/Siguiente?"
860
 
861
  # @ cycloneslider
862
- #: ../views/slider-properties.php:80
863
  msgid "Show Navigation?"
864
  msgstr "Mostrar navegación?"
865
 
866
  # @ cycloneslider
867
- #: ../views/slider-properties.php:85
868
  msgid "The thumbnails or dots depending on template."
869
  msgstr "Miniaturas o puntos dependiendo de la plantilla."
870
 
871
  # @ cycloneslider
872
- #: ../views/slider-properties.php:89
873
- msgid "Resize Images?"
874
- msgstr "Redimensionar imagenes?"
875
-
876
- # @ cycloneslider
877
- #: ../views/slider-properties.php:94
878
- msgid ""
879
- "Yes - resize images to slideshow dimension. <br>No - use the original "
880
- "uploaded image."
881
- msgstr ""
882
- "Si - redimensiona las imagenes al tamaño del slider<br>No - usa el tamaño "
883
- "original de la imagen subida"
884
-
885
- # @ cycloneslider
886
- #: ../views/slider-properties.php:98
887
  msgid "Random Slide Order?"
888
  msgstr "Orden de diapositivas aleatorio?"
889
 
890
  # @ cycloneslider
891
- #: ../views/slider-properties.php:103
892
  msgid "Randomize order of slides on every page visit."
893
  msgstr "Cambia aleatoriamente el orden de las diapositivas en cada visita"
894
 
2
  msgstr ""
3
  "Project-Id-Version: Cyclone Slider 2 v2.8.3\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-03-15 13:42+0800\n"
6
+ "PO-Revision-Date: 2015-03-15 13:44+0800\n"
7
  "Last-Translator: Nico Amarilla <kosinix@codefleet.net>\n"
8
  "Language-Team: Digital03 <info@digital03.net>\n"
9
  "Language: es_ES\n"
21
  "X-Poedit-SearchPath-1: ..\n"
22
 
23
  # @ cycloneslider
24
+ #: ../cyclone-slider.php:104
25
  msgid "Cyclone Slider Settings"
26
  msgstr "Ajustes de Cyclone Slider"
27
 
28
  # @ cycloneslider
29
+ #: ../cyclone-slider.php:105
30
  msgid "Settings"
31
  msgstr "Ajustes"
32
 
33
  # @ cycloneslider
34
+ #: ../src/CycloneSlider/Admin.php:97
35
  msgid "Cyclone Slider"
36
  msgstr "Cyclone Slider"
37
 
38
  # @ cycloneslider
39
+ #: ../src/CycloneSlider/Admin.php:98
40
  msgid "Slideshow"
41
  msgstr "Slideshow"
42
 
43
  # @ cycloneslider
44
+ #: ../src/CycloneSlider/Admin.php:99
45
  msgid "Add Slideshow"
46
  msgstr "Añadir slideshow"
47
 
48
  # @ cycloneslider
49
+ #: ../src/CycloneSlider/Admin.php:100
50
  msgid "Add New Slideshow"
51
  msgstr "Añadir nuevo slideshow"
52
 
53
  # @ cycloneslider
54
+ #: ../src/CycloneSlider/Admin.php:101
55
  msgid "Edit Slideshow"
56
  msgstr "Editar slideshow"
57
 
58
  # @ cycloneslider
59
+ #: ../src/CycloneSlider/Admin.php:102
60
  msgid "New Slideshow"
61
  msgstr "Nuevo slideshow"
62
 
63
  # @ cycloneslider
64
+ #: ../src/CycloneSlider/Admin.php:103
65
  msgid "View Slideshow"
66
  msgstr "Ver slideshow"
67
 
68
  # @ cycloneslider
69
+ #: ../src/CycloneSlider/Admin.php:104
70
  msgid "Search Slideshows"
71
  msgstr "Buscar slideshows"
72
 
73
  # @ cycloneslider
74
+ #: ../src/CycloneSlider/Admin.php:105
75
  msgid "No slideshows found"
76
  msgstr "No se han encontrado slideshows"
77
 
78
  # @ cycloneslider
79
+ #: ../src/CycloneSlider/Admin.php:106
80
  msgid "No slideshows found in Trash"
81
  msgstr "No hay slideshows en la papelera"
82
 
83
  # @ cycloneslider
84
+ #: ../src/CycloneSlider/Admin.php:150 ../src/CycloneSlider/Admin.php:153
85
+ #: ../src/CycloneSlider/Admin.php:154 ../src/CycloneSlider/Admin.php:157
86
+ #: ../src/CycloneSlider/Admin.php:158 ../src/CycloneSlider/Admin.php:159
87
  msgid "Slideshow updated."
88
  msgstr "Slideshow actualizado."
89
 
90
  # @ cycloneslider
91
+ #: ../src/CycloneSlider/Admin.php:151
92
  msgid "Custom field updated."
93
  msgstr "Campos personalizados actualizados"
94
 
95
  # @ cycloneslider
96
+ #: ../src/CycloneSlider/Admin.php:152
97
  msgid "Custom field deleted."
98
  msgstr "Campo personalizado eliminado."
99
 
100
  # @ cycloneslider
101
+ #: ../src/CycloneSlider/Admin.php:155
102
  msgid "Slideshow published."
103
  msgstr "Slideshow publicado."
104
 
105
  # @ cycloneslider
106
+ #: ../src/CycloneSlider/Admin.php:156
107
  msgid "Slideshow saved."
108
  msgstr "Slideshow guardado."
109
 
110
  # @ cycloneslider
111
+ #: ../src/CycloneSlider/Admin.php:193
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  msgid "Slides"
113
  msgstr "Diapositivas"
114
 
115
  # @ cycloneslider
116
+ #: ../src/CycloneSlider/Admin.php:202
117
  msgid "Slider Preview"
118
  msgstr "Vista previa"
119
 
120
  # @ cycloneslider
121
+ #: ../src/CycloneSlider/Admin.php:211
122
  msgid "Get Slider Codes"
123
  msgstr "Ver el código del slider"
124
 
125
  # @ cycloneslider
126
+ #: ../src/CycloneSlider/Admin.php:220
127
  msgid "Basic Settings"
128
  msgstr "Ajustes básicos"
129
 
130
  # @ cycloneslider
131
+ #: ../src/CycloneSlider/Admin.php:229
132
  msgid "Advanced Settings"
133
  msgstr "Ajustes avanzados"
134
 
135
  # @ cycloneslider
136
+ #: ../src/CycloneSlider/Admin.php:238
137
  msgid "Templates"
138
  msgstr "Plantillas"
139
 
140
  # @ cycloneslider
141
+ #: ../src/CycloneSlider/Admin.php:247 ../src/CycloneSlider/Admin.php:512
142
  msgid "Slideshow ID"
143
  msgstr "ID del slideshow"
144
 
145
  # @ cycloneslider
146
+ #: ../src/CycloneSlider/Admin.php:273
147
  msgid "Slide"
148
  msgstr "Diapositiva"
149
 
150
+ #: ../src/CycloneSlider/Admin.php:278
151
+ msgid "[Hidden]"
152
+ msgstr ""
153
+
154
  # @ cycloneslider
155
+ #: ../src/CycloneSlider/Admin.php:401
156
  msgid "Core"
157
  msgstr "Núcleo"
158
 
159
  # @ cycloneslider
160
+ #: ../src/CycloneSlider/Admin.php:402
161
  #, fuzzy, php-format
162
  msgid "Located inside the plugin directory:<br> <strong>%s</strong>"
163
  msgstr "Localizado dentro de la carpeta wp-content:<br> <strong>%s</strong>"
164
 
165
  # @ cycloneslider
166
+ #: ../src/CycloneSlider/Admin.php:406
167
  #, php-format
168
  msgid "Located inside your currently active theme:<br> <strong>%s</strong>"
169
  msgstr "Localizado dentro de tu tema actual:<br> <strong>%s</strong>"
170
 
171
  # @ cycloneslider
172
+ #: ../src/CycloneSlider/Admin.php:407
173
  #, php-format
174
  msgid ""
175
  "Your template is in danger of being overwritten when you upgrade your theme. "
179
  "Por favor, muevela dentro de %s."
180
 
181
  # @ cycloneslider
182
+ #: ../src/CycloneSlider/Admin.php:411
183
  #, php-format
184
  msgid "Located inside wp-content directory:<br> <strong>%s</strong>"
185
  msgstr "Localizado dentro de la carpeta wp-content:<br> <strong>%s</strong>"
186
 
187
  # @ cycloneslider
188
+ #: ../src/CycloneSlider/Admin.php:448
189
  msgid "Slide *"
190
  msgstr "Diapositiva *"
191
 
192
  # @ cycloneslider
193
+ #: ../src/CycloneSlider/Admin.php:509
194
  msgid "Slideshow Name"
195
  msgstr "Nombre del slideshow"
196
 
197
  # @ cycloneslider
198
+ #: ../src/CycloneSlider/Admin.php:510
199
  msgid "Template"
200
  msgstr "Plantilla"
201
 
202
  # @ cycloneslider
203
+ #: ../src/CycloneSlider/Admin.php:511
204
  msgid "No. of Slides"
205
  msgstr "No. de diapositivas"
206
 
207
  # @ cycloneslider
208
+ #: ../src/CycloneSlider/Admin.php:513
209
  msgid "Shortcode"
210
  msgstr "Shortcode"
211
 
212
  # @ cycloneslider
213
+ #: ../src/CycloneSlider/AssetLoader.php:59
214
  msgid "Select an image"
215
  msgstr "Seleciona una imagen"
216
 
217
  # @ cycloneslider
218
+ #: ../src/CycloneSlider/AssetLoader.php:60
219
  msgid "Select Images - Use Ctrl + Click or Shift + Click"
220
  msgstr "Selecionar varias imágenes - Usar Ctrl + Click o Shift + Click"
221
 
222
  # @ cycloneslider
223
+ #: ../src/CycloneSlider/AssetLoader.php:61
224
  msgid "Add to Slide"
225
  msgstr "Añadir a la diapositiva"
226
 
227
  # @ cycloneslider
228
+ #: ../src/CycloneSlider/AssetLoader.php:62 ../views/slides.php:9
229
  msgid "Add Images as Slides"
230
  msgstr "Añadir imágenes como diapositivas"
231
 
232
  # @ cycloneslider
233
+ #: ../src/CycloneSlider/AssetLoader.php:63
234
  msgid "Error. Make sure its a valid YouTube URL."
235
  msgstr "Error. Asegúrate de que es una dirección de YouTube válida."
236
 
237
+ #: ../src/CycloneSlider/ExportPage.php:36
238
+ msgid "Export settings cleared."
239
+ msgstr ""
240
+
241
  # @ cycloneslider
242
+ #: ../src/CycloneSlider/ExportPage.php:42
243
+ #, fuzzy
244
+ msgid "No sliders selected."
245
+ msgstr "No se han encontrado Sliders."
246
+
247
+ # @ cycloneslider
248
+ #: ../src/CycloneSlider/Frontend.php:72
249
  #, php-format
250
  msgid "[Slideshow \"%s\" not found]"
251
  msgstr "[Slideshow \"%s\" no encontrado]"
252
 
253
  # @ cycloneslider
254
+ #: ../src/CycloneSlider/Frontend.php:88
255
  #, php-format
256
  msgid "[Template \"%s\" not found]"
257
  msgstr "[Plantilla \"%s\" no encontrada]"
258
 
259
  # @ cycloneslider
260
+ #: ../src/CycloneSlider/NextgenIntegration.php:39
261
  msgid "NextGEN Integration"
262
  msgstr "Integración con NextGEN"
263
 
264
  # @ cycloneslider
265
+ #: ../src/CycloneSlider/NextgenIntegration.php:55
266
  msgid "Choose a NextGEN Gallery"
267
  msgstr "Escoge una galería NextGEN"
268
 
269
  # @ cycloneslider
270
+ #: ../src/CycloneSlider/NextgenIntegration.php:65
271
  msgid "Import"
272
  msgstr "Importar"
273
 
274
  # @ cycloneslider
275
+ #: ../src/CycloneSlider/NextgenIntegration.php:67
276
  msgid ""
277
  "Select a gallery to import images from. Images will be added as new slides."
278
  msgstr ""
281
 
282
  # @ cycloneslider
283
  # @ default
284
+ #: ../src/CycloneSlider/SettingsPage.php:54
285
  msgid "Default options restored."
286
  msgstr "Ajustes por defecto restaurados."
287
 
296
  msgstr "Widget para mostrar diapositivas."
297
 
298
  # @ cycloneslider
299
+ #: ../src/CycloneSlider/WidgetSlider.php:65 ../views/slide-edit.php:54
300
  msgid "Title:"
301
  msgstr "Título:"
302
 
444
  msgstr "Vimeo"
445
 
446
  # @ cycloneslider
447
+ #: ../views/slide-edit.php:29 ../views/slide-edit.php:178
448
  msgid "Custom HTML"
449
  msgstr "HTML personalizado"
450
 
453
  msgid "Testimonial"
454
  msgstr "Recomendación"
455
 
456
+ #: ../views/slide-edit.php:35
457
+ msgid "Hide"
458
+ msgstr ""
459
+
460
  # @ cycloneslider
461
+ #: ../views/slide-edit.php:47
462
  msgid "Get Image"
463
  msgstr "Elegir imagen"
464
 
465
  # @ cycloneslider
466
+ #: ../views/slide-edit.php:51
467
  msgid "Caption"
468
  msgstr "Leyenda"
469
 
470
  # @ cycloneslider
471
+ #: ../views/slide-edit.php:58
472
  msgid "Description:"
473
  msgstr "Decripción:"
474
 
475
  # @ cycloneslider
476
+ #: ../views/slide-edit.php:64 ../views/slide-edit.php:201
477
  msgid "Link"
478
  msgstr "Enlace"
479
 
480
  # @ cycloneslider
481
+ #: ../views/slide-edit.php:67 ../views/slide-edit.php:204
482
  msgid "Link URL:"
483
  msgstr "URL del enlace"
484
 
485
  # @ cycloneslider
486
+ #: ../views/slide-edit.php:71 ../views/slide-edit.php:208
487
  msgid "Open Link in:"
488
  msgstr "Abrir enlace en:"
489
 
490
  # @ cycloneslider
491
+ #: ../views/slide-edit.php:73 ../views/slide-edit.php:210
492
  msgid "Same Window"
493
  msgstr "Misma ventana"
494
 
495
  # @ cycloneslider
496
+ #: ../views/slide-edit.php:74 ../views/slide-edit.php:211
497
  msgid "New Tab or Window"
498
  msgstr "Abrir enlace en una nueva ventana/pestaña"
499
 
500
  # @ cycloneslider
501
+ #: ../views/slide-edit.php:80
502
  msgid "Image Attributes"
503
  msgstr "Atributos de imagen"
504
 
505
  # @ cycloneslider
506
+ #: ../views/slide-edit.php:83
507
  msgid "Alternate Text:"
508
  msgstr "Texto alternativo:"
509
 
510
  # @ cycloneslider
511
+ #: ../views/slide-edit.php:87
512
  msgid "Title Text:"
513
  msgstr "Texto del título:"
514
 
515
  # @ cycloneslider
516
+ #: ../views/slide-edit.php:93
517
  msgid "Slide Transition Effects"
518
  msgstr "Efectos de transición de diapositivas"
519
 
520
  # @ cycloneslider
521
+ #: ../views/slide-edit.php:97
522
  msgid "Disable"
523
  msgstr "Desactivar"
524
 
525
  # @ cycloneslider
526
+ #: ../views/slide-edit.php:98
527
  msgid "Enable Slide Effects"
528
  msgstr "Activar efectos de diapositiva"
529
 
530
  # @ cycloneslider
531
+ #: ../views/slide-edit.php:104
532
  msgid "Transition Effects:"
533
  msgstr "Efectos de transición:"
534
 
535
  # @ cycloneslider
536
+ #: ../views/slide-edit.php:115 ../views/slider-settings.php:32
537
  msgid "Transition Effects Speed:"
538
  msgstr "Velocidad del efecto de transición:"
539
 
540
  # @ cycloneslider
541
+ #: ../views/slide-edit.php:117 ../views/slide-edit.php:124
542
+ #: ../views/slider-settings.php:34
543
  msgid "Milliseconds"
544
  msgstr "Milisegundos"
545
 
546
  # @ cycloneslider
547
+ #: ../views/slide-edit.php:122 ../views/slider-settings.php:26
548
  msgid "Next Slide Delay:"
549
  msgstr "Retraso siguiente diapositiva:"
550
 
551
  # @ cycloneslider
552
+ #: ../views/slide-edit.php:132 ../views/slider-settings.php:13
553
  msgid "Tile Count:"
554
  msgstr "Número de diapositivas:"
555
 
556
  # @ cycloneslider
557
+ #: ../views/slide-edit.php:134 ../views/slider-settings.php:15
558
  msgid "The number of tiles to use in the transition."
559
  msgstr "Número de diapositivas para usar esta transición."
560
 
561
  # @ cycloneslider
562
+ #: ../views/slide-edit.php:138
563
  msgid "Tile Delay:"
564
  msgstr "Retraso:"
565
 
566
  # @ cycloneslider
567
+ #: ../views/slide-edit.php:140
568
  msgid "Milliseconds to delay each individual tile transition."
569
  msgstr "Milisegundos para retrasar cada transición individual."
570
 
571
  # @ cycloneslider
572
+ #: ../views/slide-edit.php:144 ../views/slider-settings.php:18
573
  msgid "Tile Position:"
574
  msgstr "Posición de la capa:"
575
 
576
  # @ cycloneslider
577
+ #: ../views/slide-edit.php:146 ../views/slider-settings.php:20
578
  msgid "Vertical"
579
  msgstr "Vertical"
580
 
581
  # @ cycloneslider
582
+ #: ../views/slide-edit.php:147 ../views/slider-settings.php:21
583
  msgid "Horizontal"
584
  msgstr "Horizontal"
585
 
586
  # @ cycloneslider
587
+ #: ../views/slide-edit.php:159
588
  msgid "YouTube URL:"
589
  msgstr "URL Youtube:"
590
 
591
  # @ cycloneslider
592
+ #: ../views/slide-edit.php:161
593
  msgid "Copy and paste a valid YouTube URL here."
594
  msgstr "Copia y pega un enlace válido de Youtube aquí."
595
 
596
  # @ cycloneslider
597
+ #: ../views/slide-edit.php:166
598
  msgid "Do not show suggested videos when the video finishes."
599
  msgstr ""
600
  "No sugerir otros videos relacionados cuando el vídeo seleccionado termine."
601
 
602
  # @ cycloneslider
603
+ #: ../views/slide-edit.php:171
604
  msgid "Vimeo URL:"
605
  msgstr "URL Vimeo:"
606
 
607
  # @ cycloneslider
608
+ #: ../views/slide-edit.php:173
609
  msgid "Copy and paste a valid Vimeo URL here."
610
  msgstr "Copia y pega un enlace válido a Vimeo aquí."
611
 
612
  # @ cycloneslider
613
+ #: ../views/slide-edit.php:186
614
  msgid "Quote"
615
  msgstr "Cita"
616
 
617
  # @ cycloneslider
618
+ #: ../views/slide-edit.php:192
619
  msgid "Author"
620
  msgstr "Autor"
621
 
622
  # @ cycloneslider
623
+ #: ../views/slide-edit.php:195
624
  #, fuzzy
625
  msgid "Name:"
626
  msgstr "Nombre:"
632
 
633
  # @ cycloneslider
634
  #: ../views/slider-advanced-settings.php:6
635
+ #: ../views/slider-advanced-settings.php:44 ../views/slider-settings.php:67
636
+ #: ../views/slider-settings.php:78 ../views/slider-settings.php:86
637
+ #: ../views/slider-settings.php:94 ../views/slider-settings.php:104
638
  msgid "Yes"
639
  msgstr "Si"
640
 
641
  # @ cycloneslider
642
  #: ../views/slider-advanced-settings.php:7
643
+ #: ../views/slider-advanced-settings.php:45 ../views/slider-settings.php:66
644
+ #: ../views/slider-settings.php:79 ../views/slider-settings.php:87
645
+ #: ../views/slider-settings.php:95 ../views/slider-settings.php:103
646
  msgid "No"
647
  msgstr "No"
648
 
712
  msgstr "Opciones de redimensión:"
713
 
714
  # @ cycloneslider
715
+ #: ../views/slider-advanced-settings.php:60
 
 
 
 
 
716
  msgid "Auto - Cyclone Slider decides the resize option."
717
  msgstr "Auto - Cyclone Slider decide el redimensionado"
718
 
719
  # @ cycloneslider
720
+ #: ../views/slider-advanced-settings.php:61
721
  msgid "Crop - Resize and remove excess parts."
722
  msgstr "Recortar. Redimensionar y eliminar los excesos."
723
 
724
  # @ cycloneslider
725
+ #: ../views/slider-advanced-settings.php:62
726
  msgid "Exact - Resize to exact dimensions."
727
  msgstr "Exacto. Redimensionar al tamaño exacto."
728
 
729
  # @ cycloneslider
730
+ #: ../views/slider-advanced-settings.php:63
731
  msgid "Landscape - Resize to exact width."
732
  msgstr "Panorámico. Redimensionar al ancho exacto."
733
 
734
  # @ cycloneslider
735
+ #: ../views/slider-advanced-settings.php:64
736
  msgid "Portrait - Resize to exact height."
737
  msgstr "Retrato. Redimensionar al alto exacto."
738
 
777
  msgstr "Tu nombre de usuario aparecerá aquí."
778
 
779
  # @ cycloneslider
780
+ #: ../views/slider-settings.php:4
781
  msgid "Transition Effects to Use:"
782
  msgstr "Efecto de transición a usar:"
783
 
784
  # @ cycloneslider
785
+ #: ../views/slider-settings.php:28
786
  msgid "Milliseconds. 0 to disable auto advance."
787
  msgstr "Milisegundos. 0 para desactivar el avance automático."
788
 
789
  # @ cycloneslider
790
+ #: ../views/slider-settings.php:38
791
  msgid "Width:"
792
  msgstr "Ancho:"
793
 
794
  # @ cycloneslider
795
+ #: ../views/slider-settings.php:40 ../views/slider-settings.php:46
796
  msgid "pixels."
797
  msgstr "píxeles."
798
 
799
  # @ cycloneslider
800
+ #: ../views/slider-settings.php:44
801
  msgid "Height:"
802
  msgstr "Alto:"
803
 
804
  # @ cycloneslider
805
+ #: ../views/slider-settings.php:50
806
  msgid "Width Management:"
807
  msgstr "Gestión del ancho:"
808
 
809
  # @ cycloneslider
810
+ #: ../views/slider-settings.php:52
811
  msgid "Responsive"
812
  msgstr "Adaptable"
813
 
814
  # @ cycloneslider
815
+ #: ../views/slider-settings.php:53
816
  msgid "Full"
817
  msgstr "Completo"
818
 
819
  # @ cycloneslider
820
+ #: ../views/slider-settings.php:54
821
  msgid "Fixed"
822
  msgstr "Fijo"
823
 
824
  # @ cycloneslider
825
+ #: ../views/slider-settings.php:57
826
  msgid ""
827
  "Responsive - resizes to smaller size but maximum width will be equal to the "
828
  "provided width."
831
  "igual que el indicado."
832
 
833
  # @ cycloneslider
834
+ #: ../views/slider-settings.php:58
835
  msgid ""
836
  "Full - the same as responsive but maximum width will be equal to its "
837
  "container ignoring the provided width."
840
  "contenedor ignorando la anchura máxima indicada del slider."
841
 
842
  # @ cycloneslider
843
+ #: ../views/slider-settings.php:59
844
  msgid "Fixed - width and height are not resized."
845
  msgstr "Fijo. Ancho y alto no serán modificados."
846
 
847
  # @ cycloneslider
848
+ #: ../views/slider-settings.php:64
849
+ msgid "Resize Images?"
850
+ msgstr "Redimensionar imagenes?"
851
+
852
+ # @ cycloneslider
853
+ #: ../views/slider-settings.php:71
854
+ msgid "Force Resize"
855
+ msgstr "Forzar redimensión"
856
+
857
+ # @ cycloneslider
858
+ #: ../views/slider-settings.php:72
859
+ #, fuzzy
860
+ msgid ""
861
+ "Yes - resize images to slideshow dimension. <br>No - use the original "
862
+ "uploaded image. <br>Force Resize - Regenerate all images and thumbnails."
863
+ msgstr ""
864
+ "Si - redimensiona las imagenes al tamaño del slider<br>No - usa el tamaño "
865
+ "original de la imagen subida"
866
+
867
+ # @ cycloneslider
868
+ #: ../views/slider-settings.php:76
869
  msgid "Pause on Hover?"
870
  msgstr "Parar con el ratón encima?"
871
 
872
  # @ cycloneslider
873
+ #: ../views/slider-settings.php:84
874
  msgid "Show Prev/Next Buttons?"
875
  msgstr "Mostrar botones Anterior/Siguiente?"
876
 
877
  # @ cycloneslider
878
+ #: ../views/slider-settings.php:92
879
  msgid "Show Navigation?"
880
  msgstr "Mostrar navegación?"
881
 
882
  # @ cycloneslider
883
+ #: ../views/slider-settings.php:97
884
  msgid "The thumbnails or dots depending on template."
885
  msgstr "Miniaturas o puntos dependiendo de la plantilla."
886
 
887
  # @ cycloneslider
888
+ #: ../views/slider-settings.php:101
 
 
 
 
 
 
 
 
 
 
 
 
 
 
889
  msgid "Random Slide Order?"
890
  msgstr "Orden de diapositivas aleatorio?"
891
 
892
  # @ cycloneslider
893
+ #: ../views/slider-settings.php:106
894
  msgid "Randomize order of slides on every page visit."
895
  msgstr "Cambia aleatoriamente el orden de las diapositivas en cada visita"
896
 
lang/cycloneslider-fa_IR.mo CHANGED
Binary file
lang/cycloneslider-fa_IR.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Cyclone Slider 2 for persians\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-12-19 17:58+0800\n"
6
- "PO-Revision-Date: 2014-12-19 17:58+0800\n"
7
  "Last-Translator: Nico Amarilla <kosinix@codefleet.net>\n"
8
  "Language-Team: Mixa <info@Mixa.ir>\n"
9
  "Language: fa\n"
@@ -17,226 +17,224 @@ msgstr ""
17
  "X-Poedit-SearchPath-0: .\n"
18
  "X-Poedit-SearchPath-1: ..\n"
19
 
20
- #: ../cyclone-slider.php:91
21
  #, fuzzy
22
  msgid "Cyclone Slider Settings"
23
  msgstr "ابزارک اسلایدر میکسا"
24
 
25
- #: ../cyclone-slider.php:92
26
  #, fuzzy
27
  msgid "Settings"
28
  msgstr "تنظیمات اسلایدشو"
29
 
30
- #: ../src/CycloneSlider/Admin.php:80
31
  msgid "Cyclone Slider"
32
  msgstr "اسلایدر"
33
 
34
- #: ../src/CycloneSlider/Admin.php:81
35
  msgid "Slideshow"
36
  msgstr "اسلایدشو"
37
 
38
- #: ../src/CycloneSlider/Admin.php:82
39
  msgid "Add Slideshow"
40
  msgstr "افزودن اسلایدشو"
41
 
42
- #: ../src/CycloneSlider/Admin.php:83
43
  msgid "Add New Slideshow"
44
  msgstr "افزودن اسلایدشو جدید"
45
 
46
- #: ../src/CycloneSlider/Admin.php:84
47
  msgid "Edit Slideshow"
48
  msgstr "ویرایش اسلایدشو"
49
 
50
- #: ../src/CycloneSlider/Admin.php:85
51
  msgid "New Slideshow"
52
  msgstr "اسلایدشو جدید"
53
 
54
- #: ../src/CycloneSlider/Admin.php:86
55
  msgid "View Slideshow"
56
  msgstr "نمایش اسلایدشو"
57
 
58
- #: ../src/CycloneSlider/Admin.php:87
59
  msgid "Search Slideshows"
60
  msgstr "جستجو"
61
 
62
- #: ../src/CycloneSlider/Admin.php:88
63
  msgid "No slideshows found"
64
  msgstr "چیزی یافت نشد"
65
 
66
- #: ../src/CycloneSlider/Admin.php:89
67
  msgid "No slideshows found in Trash"
68
  msgstr "چیزی در سطل زباله یافت نشد"
69
 
70
- #: ../src/CycloneSlider/Admin.php:133 ../src/CycloneSlider/Admin.php:136
71
- #: ../src/CycloneSlider/Admin.php:137 ../src/CycloneSlider/Admin.php:140
72
- #: ../src/CycloneSlider/Admin.php:141 ../src/CycloneSlider/Admin.php:142
73
  msgid "Slideshow updated."
74
  msgstr "اسلایدشو به روز شد"
75
 
76
- #: ../src/CycloneSlider/Admin.php:134
77
  msgid "Custom field updated."
78
  msgstr "فیلدهای سفارشی بروز شدند"
79
 
80
- #: ../src/CycloneSlider/Admin.php:135
81
  msgid "Custom field deleted."
82
  msgstr "فیلدهای سفارشی حذف شدند"
83
 
84
- #: ../src/CycloneSlider/Admin.php:138
85
  msgid "Slideshow published."
86
  msgstr "اسلایدشو منتشر شد"
87
 
88
- #: ../src/CycloneSlider/Admin.php:139
89
  msgid "Slideshow saved."
90
  msgstr "اسلایدشو ذخیره شد"
91
 
92
- #: ../src/CycloneSlider/Admin.php:143
93
- #, php-format
94
- msgid ""
95
- "Templates CSS could not be saved. Make sure %stemplates.css is writable."
96
- msgstr ""
97
- "css مربوط به الگو نمی تواند ذخیره شود. دسترسی نوشتن را به %stemplates.css "
98
- "بدهید."
99
-
100
- #: ../src/CycloneSlider/Admin.php:144
101
- #, php-format
102
- msgid "Templates JS could not be saved. Make sure %stemplates.js is writable."
103
- msgstr ""
104
- "JS مربوط به الگو نمی تواند ذخیره شود. دسترسی نوشتن را به %stemplates.css "
105
- "بدهید."
106
-
107
- #: ../src/CycloneSlider/Admin.php:178
108
  msgid "Slides"
109
  msgstr "اسلایدر"
110
 
111
- #: ../src/CycloneSlider/Admin.php:187
112
  #, fuzzy
113
  msgid "Slider Preview"
114
  msgstr "تنظیمات اسلاید"
115
 
116
- #: ../src/CycloneSlider/Admin.php:196
117
  msgid "Get Slider Codes"
118
  msgstr "دریافت کد اسلایدر"
119
 
120
- #: ../src/CycloneSlider/Admin.php:205
121
  #, fuzzy
122
  msgid "Basic Settings"
123
  msgstr "تنظیمات اسلایدشو"
124
 
125
- #: ../src/CycloneSlider/Admin.php:214
126
  #, fuzzy
127
  msgid "Advanced Settings"
128
  msgstr "تنظیمات اسلایدشو"
129
 
130
- #: ../src/CycloneSlider/Admin.php:223
131
  #, fuzzy
132
  msgid "Templates"
133
  msgstr "الگو"
134
 
135
- #: ../src/CycloneSlider/Admin.php:232 ../src/CycloneSlider/Admin.php:492
136
  msgid "Slideshow ID"
137
  msgstr "کد اسلایدشو"
138
 
139
- #: ../src/CycloneSlider/Admin.php:258
140
  msgid "Slide"
141
  msgstr "اسلاید"
142
 
143
- #: ../src/CycloneSlider/Admin.php:381
 
 
 
 
144
  msgid "Core"
145
  msgstr ""
146
 
147
- #: ../src/CycloneSlider/Admin.php:382
148
  #, php-format
149
  msgid "Located inside the plugin directory:<br> <strong>%s</strong>"
150
  msgstr ""
151
 
152
- #: ../src/CycloneSlider/Admin.php:386
153
  #, php-format
154
  msgid "Located inside your currently active theme:<br> <strong>%s</strong>"
155
  msgstr ""
156
 
157
- #: ../src/CycloneSlider/Admin.php:387
158
  #, php-format
159
  msgid ""
160
  "Your template is in danger of being overwritten when you upgrade your theme. "
161
  "Please move it inside %s."
162
  msgstr ""
163
 
164
- #: ../src/CycloneSlider/Admin.php:391
165
  #, php-format
166
  msgid "Located inside wp-content directory:<br> <strong>%s</strong>"
167
  msgstr ""
168
 
169
- #: ../src/CycloneSlider/Admin.php:428
170
  msgid "Slide *"
171
  msgstr "اسلاید *"
172
 
173
- #: ../src/CycloneSlider/Admin.php:489
174
  msgid "Slideshow Name"
175
  msgstr "نام اسلایدشو"
176
 
177
- #: ../src/CycloneSlider/Admin.php:490
178
  msgid "Template"
179
  msgstr "الگو"
180
 
181
- #: ../src/CycloneSlider/Admin.php:491
182
  msgid "No. of Slides"
183
  msgstr "شماره اسلاید"
184
 
185
- #: ../src/CycloneSlider/Admin.php:493
186
  msgid "Shortcode"
187
  msgstr "کد کوتاه"
188
 
189
- #: ../src/CycloneSlider/AssetLoader.php:53
190
  msgid "Select an image"
191
  msgstr "انتخاب عکس"
192
 
193
- #: ../src/CycloneSlider/AssetLoader.php:54
194
  msgid "Select Images - Use Ctrl + Click or Shift + Click"
195
  msgstr ""
196
 
197
- #: ../src/CycloneSlider/AssetLoader.php:55
198
  msgid "Add to Slide"
199
  msgstr "افزودن به اسلایدر"
200
 
201
- #: ../src/CycloneSlider/AssetLoader.php:56 ../views/slides.php:9
202
  #, fuzzy
203
  msgid "Add Images as Slides"
204
  msgstr "افزودن اسلایدشو جدید"
205
 
206
- #: ../src/CycloneSlider/AssetLoader.php:57
207
  msgid "Error. Make sure its a valid YouTube URL."
208
  msgstr ""
209
 
210
- #: ../src/CycloneSlider/Frontend.php:59
 
 
 
 
 
 
 
 
 
211
  #, php-format
212
  msgid "[Slideshow \"%s\" not found]"
213
  msgstr "[اسلایدشو \"%s\" یافت نشد]"
214
 
215
- #: ../src/CycloneSlider/Frontend.php:74
216
  #, php-format
217
  msgid "[Template \"%s\" not found]"
218
  msgstr "[الگوی \"%s\" یافت نشد]"
219
 
220
- #: ../src/CycloneSlider/NextgenIntegration.php:34
221
  msgid "NextGEN Integration"
222
  msgstr "ادغام با NextGEN"
223
 
224
- #: ../src/CycloneSlider/NextgenIntegration.php:50
225
  msgid "Choose a NextGEN Gallery"
226
  msgstr "گالری NextGEN را انتخاب کنید"
227
 
228
- #: ../src/CycloneSlider/NextgenIntegration.php:60
229
  msgid "Import"
230
  msgstr "وارد کردن"
231
 
232
- #: ../src/CycloneSlider/NextgenIntegration.php:62
233
  msgid ""
234
  "Select a gallery to import images from. Images will be added as new slides."
235
  msgstr ""
236
  "گالری را برای وارد کردن تصاویر انتخاب کنید. تصاویر در یک اسلاید جدید افزوده "
237
  "خواهند شد."
238
 
239
- #: ../src/CycloneSlider/SettingsPage.php:74
240
  msgid "Default options restored."
241
  msgstr "تنظیمات پیش فرض بازیابی شد"
242
 
@@ -249,7 +247,7 @@ msgstr "ابزارک اسلایدر میکسا"
249
  msgid "Widget for displaying sliders."
250
  msgstr "ابزارک برای نمایش اسلایدرشوها"
251
 
252
- #: ../src/CycloneSlider/WidgetSlider.php:65 ../views/slide-edit.php:49
253
  #, fuzzy
254
  msgid "Title:"
255
  msgstr "عنوان"
@@ -377,7 +375,7 @@ msgstr ""
377
  msgid "Vimeo"
378
  msgstr "فیلم"
379
 
380
- #: ../views/slide-edit.php:29 ../views/slide-edit.php:173
381
  msgid "Custom HTML"
382
  msgstr "HTML دلخواه"
383
 
@@ -385,141 +383,145 @@ msgstr "HTML دلخواه"
385
  msgid "Testimonial"
386
  msgstr ""
387
 
388
- #: ../views/slide-edit.php:42
 
 
 
 
389
  msgid "Get Image"
390
  msgstr "افزودن عکس"
391
 
392
- #: ../views/slide-edit.php:46
393
  msgid "Caption"
394
  msgstr ""
395
 
396
- #: ../views/slide-edit.php:53
397
  #, fuzzy
398
  msgid "Description:"
399
  msgstr "توضیح"
400
 
401
- #: ../views/slide-edit.php:59 ../views/slide-edit.php:196
402
  msgid "Link"
403
  msgstr "لینک"
404
 
405
- #: ../views/slide-edit.php:62 ../views/slide-edit.php:199
406
  msgid "Link URL:"
407
  msgstr "آدرس لینک"
408
 
409
- #: ../views/slide-edit.php:66 ../views/slide-edit.php:203
410
  msgid "Open Link in:"
411
  msgstr "نمایش لینک در"
412
 
413
- #: ../views/slide-edit.php:68 ../views/slide-edit.php:205
414
  msgid "Same Window"
415
  msgstr "همان پنجره"
416
 
417
- #: ../views/slide-edit.php:69 ../views/slide-edit.php:206
418
  msgid "New Tab or Window"
419
  msgstr "تب یا پنجره جدید"
420
 
421
- #: ../views/slide-edit.php:75
422
  msgid "Image Attributes"
423
  msgstr "ویژگی های عکس"
424
 
425
- #: ../views/slide-edit.php:78
426
  msgid "Alternate Text:"
427
  msgstr "متن جایگزین تصاویر"
428
 
429
- #: ../views/slide-edit.php:82
430
  msgid "Title Text:"
431
  msgstr "متن عنوان"
432
 
433
- #: ../views/slide-edit.php:88
434
  msgid "Slide Transition Effects"
435
  msgstr "افکت حرکت اسلاید"
436
 
437
- #: ../views/slide-edit.php:92
438
  msgid "Disable"
439
  msgstr "غیرفعال"
440
 
441
- #: ../views/slide-edit.php:93
442
  msgid "Enable Slide Effects"
443
  msgstr "فعال سازی افکت اسلاید"
444
 
445
- #: ../views/slide-edit.php:99
446
  msgid "Transition Effects:"
447
  msgstr "افکت حرکت"
448
 
449
- #: ../views/slide-edit.php:110 ../views/slider-properties.php:32
450
  msgid "Transition Effects Speed:"
451
  msgstr "سرعت نمایش جلوه ها"
452
 
453
- #: ../views/slide-edit.php:112 ../views/slide-edit.php:119
454
- #: ../views/slider-properties.php:34
455
  msgid "Milliseconds"
456
  msgstr "میلی ثانیه"
457
 
458
- #: ../views/slide-edit.php:117 ../views/slider-properties.php:26
459
  msgid "Next Slide Delay:"
460
  msgstr "تاخیر نمایش اسلاید"
461
 
462
- #: ../views/slide-edit.php:127 ../views/slider-properties.php:13
463
  msgid "Tile Count:"
464
  msgstr "تعداد کاشی ها"
465
 
466
- #: ../views/slide-edit.php:129 ../views/slider-properties.php:15
467
  msgid "The number of tiles to use in the transition."
468
  msgstr "تعداد کاشی ها برای استفاده در جلوه های حرکتی"
469
 
470
- #: ../views/slide-edit.php:133
471
  msgid "Tile Delay:"
472
  msgstr "تاخیر کاشی"
473
 
474
- #: ../views/slide-edit.php:135
475
  msgid "Milliseconds to delay each individual tile transition."
476
  msgstr "برحسب میلی ثانیه برای تاخیر بین حرکت کاشی ها"
477
 
478
- #: ../views/slide-edit.php:139 ../views/slider-properties.php:18
479
  msgid "Tile Position:"
480
  msgstr "موقعیت"
481
 
482
- #: ../views/slide-edit.php:141 ../views/slider-properties.php:20
483
  msgid "Vertical"
484
  msgstr "عمودی"
485
 
486
- #: ../views/slide-edit.php:142 ../views/slider-properties.php:21
487
  msgid "Horizontal"
488
  msgstr "افقی"
489
 
490
- #: ../views/slide-edit.php:154
491
  msgid "YouTube URL:"
492
  msgstr ""
493
 
494
- #: ../views/slide-edit.php:156
495
  msgid "Copy and paste a valid YouTube URL here."
496
  msgstr ""
497
 
498
- #: ../views/slide-edit.php:161
499
  msgid "Do not show suggested videos when the video finishes."
500
  msgstr ""
501
 
502
- #: ../views/slide-edit.php:166
503
  #, fuzzy
504
  msgid "Vimeo URL:"
505
  msgstr "آدرس ویدیو"
506
 
507
- #: ../views/slide-edit.php:168
508
  #, fuzzy
509
  msgid "Copy and paste a valid Vimeo URL here."
510
  msgstr ""
511
  "آدرس ویدیو یوتیوب یا Vimeo را در اینجا گذاشته و دکمه افزودن ویدیو را کلیک "
512
  "کنید"
513
 
514
- #: ../views/slide-edit.php:181
515
  msgid "Quote"
516
  msgstr ""
517
 
518
- #: ../views/slide-edit.php:187
519
  msgid "Author"
520
  msgstr ""
521
 
522
- #: ../views/slide-edit.php:190
523
  msgid "Name:"
524
  msgstr ""
525
 
@@ -528,16 +530,16 @@ msgid "Allow Wrap?"
528
  msgstr ""
529
 
530
  #: ../views/slider-advanced-settings.php:6
531
- #: ../views/slider-advanced-settings.php:44 ../views/slider-properties.php:66
532
- #: ../views/slider-properties.php:74 ../views/slider-properties.php:82
533
- #: ../views/slider-properties.php:92 ../views/slider-properties.php:101
534
  msgid "Yes"
535
  msgstr "بله"
536
 
537
  #: ../views/slider-advanced-settings.php:7
538
- #: ../views/slider-advanced-settings.php:45 ../views/slider-properties.php:67
539
- #: ../views/slider-properties.php:75 ../views/slider-properties.php:83
540
- #: ../views/slider-properties.php:91 ../views/slider-properties.php:100
541
  msgid "No"
542
  msgstr "خیر"
543
 
@@ -595,27 +597,23 @@ msgstr ""
595
  msgid "Resize Options:"
596
  msgstr "توضیح"
597
 
598
- #: ../views/slider-advanced-settings.php:61
599
- msgid "Force Resize"
600
- msgstr ""
601
-
602
- #: ../views/slider-advanced-settings.php:63
603
  msgid "Auto - Cyclone Slider decides the resize option."
604
  msgstr ""
605
 
606
- #: ../views/slider-advanced-settings.php:64
607
  msgid "Crop - Resize and remove excess parts."
608
  msgstr ""
609
 
610
- #: ../views/slider-advanced-settings.php:65
611
  msgid "Exact - Resize to exact dimensions."
612
  msgstr ""
613
 
614
- #: ../views/slider-advanced-settings.php:66
615
  msgid "Landscape - Resize to exact width."
616
  msgstr ""
617
 
618
- #: ../views/slider-advanced-settings.php:67
619
  msgid "Portrait - Resize to exact height."
620
  msgstr ""
621
 
@@ -650,91 +648,96 @@ msgstr "آی دی اسلایدشو را از اینجا تغییر دهید"
650
  msgid "Your preview will appear here."
651
  msgstr ""
652
 
653
- #: ../views/slider-properties.php:4
654
  msgid "Transition Effects to Use:"
655
  msgstr "افکت حرکت"
656
 
657
- #: ../views/slider-properties.php:28
658
  msgid "Milliseconds. 0 to disable auto advance."
659
  msgstr "میلی ثانیه. 0 برای غیرفعال سازی حالت خودکار"
660
 
661
- #: ../views/slider-properties.php:38
662
  msgid "Width:"
663
  msgstr "عرض"
664
 
665
- #: ../views/slider-properties.php:40 ../views/slider-properties.php:46
666
  msgid "pixels."
667
  msgstr "پیکسل"
668
 
669
- #: ../views/slider-properties.php:44
670
  msgid "Height:"
671
  msgstr "ارتفاع"
672
 
673
- #: ../views/slider-properties.php:50
674
  msgid "Width Management:"
675
  msgstr ""
676
 
677
- #: ../views/slider-properties.php:52
678
  msgid "Responsive"
679
  msgstr ""
680
 
681
- #: ../views/slider-properties.php:53
682
  msgid "Full"
683
  msgstr ""
684
 
685
- #: ../views/slider-properties.php:54
686
  msgid "Fixed"
687
  msgstr ""
688
 
689
- #: ../views/slider-properties.php:57
690
  msgid ""
691
  "Responsive - resizes to smaller size but maximum width will be equal to the "
692
  "provided width."
693
  msgstr ""
694
 
695
- #: ../views/slider-properties.php:58
696
  msgid ""
697
  "Full - the same as responsive but maximum width will be equal to its "
698
  "container ignoring the provided width."
699
  msgstr ""
700
 
701
- #: ../views/slider-properties.php:59
702
  msgid "Fixed - width and height are not resized."
703
  msgstr ""
704
 
705
- #: ../views/slider-properties.php:64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
706
  msgid "Pause on Hover?"
707
  msgstr "توقف در زمان عبور ماوس"
708
 
709
- #: ../views/slider-properties.php:72
710
  msgid "Show Prev/Next Buttons?"
711
  msgstr "نمایش دکمه قبلی - بعدی"
712
 
713
- #: ../views/slider-properties.php:80
714
  msgid "Show Navigation?"
715
  msgstr "نمایش ناوبری"
716
 
717
- #: ../views/slider-properties.php:85
718
  msgid "The thumbnails or dots depending on template."
719
  msgstr "تصویر بندانگشتی یا نقطه یا نمایه، بسته به تنظیمات طرح انتخابی"
720
 
721
- #: ../views/slider-properties.php:89
722
- msgid "Resize Images?"
723
- msgstr "تغییر اندازه عکس ها"
724
-
725
- #: ../views/slider-properties.php:94
726
- msgid ""
727
- "Yes - resize images to slideshow dimension. <br>No - use the original "
728
- "uploaded image."
729
- msgstr ""
730
- "بله: تغییر اندازه تصاویر به نسبت ابعاد اسلایدشو </br> خیر: استفاده از فایل "
731
- "اصلی آپلود شده"
732
-
733
- #: ../views/slider-properties.php:98
734
  msgid "Random Slide Order?"
735
  msgstr "نمایش نامرتب اسلایدها"
736
 
737
- #: ../views/slider-properties.php:103
738
  msgid "Randomize order of slides on every page visit."
739
  msgstr "نمایش تصادفی ترتیب اسلایدها در هر بار نمایش سایت"
740
 
@@ -759,6 +762,18 @@ msgstr ""
759
  msgid "Selected"
760
  msgstr "حذف"
761
 
 
 
 
 
 
 
 
 
 
 
 
 
762
  #, fuzzy
763
  #~ msgid "Export"
764
  #~ msgstr "وارد کردن"
2
  msgstr ""
3
  "Project-Id-Version: Cyclone Slider 2 for persians\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-03-15 13:42+0800\n"
6
+ "PO-Revision-Date: 2015-03-15 13:44+0800\n"
7
  "Last-Translator: Nico Amarilla <kosinix@codefleet.net>\n"
8
  "Language-Team: Mixa <info@Mixa.ir>\n"
9
  "Language: fa\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
  "X-Poedit-SearchPath-1: ..\n"
19
 
20
+ #: ../cyclone-slider.php:104
21
  #, fuzzy
22
  msgid "Cyclone Slider Settings"
23
  msgstr "ابزارک اسلایدر میکسا"
24
 
25
+ #: ../cyclone-slider.php:105
26
  #, fuzzy
27
  msgid "Settings"
28
  msgstr "تنظیمات اسلایدشو"
29
 
30
+ #: ../src/CycloneSlider/Admin.php:97
31
  msgid "Cyclone Slider"
32
  msgstr "اسلایدر"
33
 
34
+ #: ../src/CycloneSlider/Admin.php:98
35
  msgid "Slideshow"
36
  msgstr "اسلایدشو"
37
 
38
+ #: ../src/CycloneSlider/Admin.php:99
39
  msgid "Add Slideshow"
40
  msgstr "افزودن اسلایدشو"
41
 
42
+ #: ../src/CycloneSlider/Admin.php:100
43
  msgid "Add New Slideshow"
44
  msgstr "افزودن اسلایدشو جدید"
45
 
46
+ #: ../src/CycloneSlider/Admin.php:101
47
  msgid "Edit Slideshow"
48
  msgstr "ویرایش اسلایدشو"
49
 
50
+ #: ../src/CycloneSlider/Admin.php:102
51
  msgid "New Slideshow"
52
  msgstr "اسلایدشو جدید"
53
 
54
+ #: ../src/CycloneSlider/Admin.php:103
55
  msgid "View Slideshow"
56
  msgstr "نمایش اسلایدشو"
57
 
58
+ #: ../src/CycloneSlider/Admin.php:104
59
  msgid "Search Slideshows"
60
  msgstr "جستجو"
61
 
62
+ #: ../src/CycloneSlider/Admin.php:105
63
  msgid "No slideshows found"
64
  msgstr "چیزی یافت نشد"
65
 
66
+ #: ../src/CycloneSlider/Admin.php:106
67
  msgid "No slideshows found in Trash"
68
  msgstr "چیزی در سطل زباله یافت نشد"
69
 
70
+ #: ../src/CycloneSlider/Admin.php:150 ../src/CycloneSlider/Admin.php:153
71
+ #: ../src/CycloneSlider/Admin.php:154 ../src/CycloneSlider/Admin.php:157
72
+ #: ../src/CycloneSlider/Admin.php:158 ../src/CycloneSlider/Admin.php:159
73
  msgid "Slideshow updated."
74
  msgstr "اسلایدشو به روز شد"
75
 
76
+ #: ../src/CycloneSlider/Admin.php:151
77
  msgid "Custom field updated."
78
  msgstr "فیلدهای سفارشی بروز شدند"
79
 
80
+ #: ../src/CycloneSlider/Admin.php:152
81
  msgid "Custom field deleted."
82
  msgstr "فیلدهای سفارشی حذف شدند"
83
 
84
+ #: ../src/CycloneSlider/Admin.php:155
85
  msgid "Slideshow published."
86
  msgstr "اسلایدشو منتشر شد"
87
 
88
+ #: ../src/CycloneSlider/Admin.php:156
89
  msgid "Slideshow saved."
90
  msgstr "اسلایدشو ذخیره شد"
91
 
92
+ #: ../src/CycloneSlider/Admin.php:193
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  msgid "Slides"
94
  msgstr "اسلایدر"
95
 
96
+ #: ../src/CycloneSlider/Admin.php:202
97
  #, fuzzy
98
  msgid "Slider Preview"
99
  msgstr "تنظیمات اسلاید"
100
 
101
+ #: ../src/CycloneSlider/Admin.php:211
102
  msgid "Get Slider Codes"
103
  msgstr "دریافت کد اسلایدر"
104
 
105
+ #: ../src/CycloneSlider/Admin.php:220
106
  #, fuzzy
107
  msgid "Basic Settings"
108
  msgstr "تنظیمات اسلایدشو"
109
 
110
+ #: ../src/CycloneSlider/Admin.php:229
111
  #, fuzzy
112
  msgid "Advanced Settings"
113
  msgstr "تنظیمات اسلایدشو"
114
 
115
+ #: ../src/CycloneSlider/Admin.php:238
116
  #, fuzzy
117
  msgid "Templates"
118
  msgstr "الگو"
119
 
120
+ #: ../src/CycloneSlider/Admin.php:247 ../src/CycloneSlider/Admin.php:512
121
  msgid "Slideshow ID"
122
  msgstr "کد اسلایدشو"
123
 
124
+ #: ../src/CycloneSlider/Admin.php:273
125
  msgid "Slide"
126
  msgstr "اسلاید"
127
 
128
+ #: ../src/CycloneSlider/Admin.php:278
129
+ msgid "[Hidden]"
130
+ msgstr ""
131
+
132
+ #: ../src/CycloneSlider/Admin.php:401
133
  msgid "Core"
134
  msgstr ""
135
 
136
+ #: ../src/CycloneSlider/Admin.php:402
137
  #, php-format
138
  msgid "Located inside the plugin directory:<br> <strong>%s</strong>"
139
  msgstr ""
140
 
141
+ #: ../src/CycloneSlider/Admin.php:406
142
  #, php-format
143
  msgid "Located inside your currently active theme:<br> <strong>%s</strong>"
144
  msgstr ""
145
 
146
+ #: ../src/CycloneSlider/Admin.php:407
147
  #, php-format
148
  msgid ""
149
  "Your template is in danger of being overwritten when you upgrade your theme. "
150
  "Please move it inside %s."
151
  msgstr ""
152
 
153
+ #: ../src/CycloneSlider/Admin.php:411
154
  #, php-format
155
  msgid "Located inside wp-content directory:<br> <strong>%s</strong>"
156
  msgstr ""
157
 
158
+ #: ../src/CycloneSlider/Admin.php:448
159
  msgid "Slide *"
160
  msgstr "اسلاید *"
161
 
162
+ #: ../src/CycloneSlider/Admin.php:509
163
  msgid "Slideshow Name"
164
  msgstr "نام اسلایدشو"
165
 
166
+ #: ../src/CycloneSlider/Admin.php:510
167
  msgid "Template"
168
  msgstr "الگو"
169
 
170
+ #: ../src/CycloneSlider/Admin.php:511
171
  msgid "No. of Slides"
172
  msgstr "شماره اسلاید"
173
 
174
+ #: ../src/CycloneSlider/Admin.php:513
175
  msgid "Shortcode"
176
  msgstr "کد کوتاه"
177
 
178
+ #: ../src/CycloneSlider/AssetLoader.php:59
179
  msgid "Select an image"
180
  msgstr "انتخاب عکس"
181
 
182
+ #: ../src/CycloneSlider/AssetLoader.php:60
183
  msgid "Select Images - Use Ctrl + Click or Shift + Click"
184
  msgstr ""
185
 
186
+ #: ../src/CycloneSlider/AssetLoader.php:61
187
  msgid "Add to Slide"
188
  msgstr "افزودن به اسلایدر"
189
 
190
+ #: ../src/CycloneSlider/AssetLoader.php:62 ../views/slides.php:9
191
  #, fuzzy
192
  msgid "Add Images as Slides"
193
  msgstr "افزودن اسلایدشو جدید"
194
 
195
+ #: ../src/CycloneSlider/AssetLoader.php:63
196
  msgid "Error. Make sure its a valid YouTube URL."
197
  msgstr ""
198
 
199
+ #: ../src/CycloneSlider/ExportPage.php:36
200
+ msgid "Export settings cleared."
201
+ msgstr ""
202
+
203
+ #: ../src/CycloneSlider/ExportPage.php:42
204
+ #, fuzzy
205
+ msgid "No sliders selected."
206
+ msgstr "اسلایدشو یافت نشد"
207
+
208
+ #: ../src/CycloneSlider/Frontend.php:72
209
  #, php-format
210
  msgid "[Slideshow \"%s\" not found]"
211
  msgstr "[اسلایدشو \"%s\" یافت نشد]"
212
 
213
+ #: ../src/CycloneSlider/Frontend.php:88
214
  #, php-format
215
  msgid "[Template \"%s\" not found]"
216
  msgstr "[الگوی \"%s\" یافت نشد]"
217
 
218
+ #: ../src/CycloneSlider/NextgenIntegration.php:39
219
  msgid "NextGEN Integration"
220
  msgstr "ادغام با NextGEN"
221
 
222
+ #: ../src/CycloneSlider/NextgenIntegration.php:55
223
  msgid "Choose a NextGEN Gallery"
224
  msgstr "گالری NextGEN را انتخاب کنید"
225
 
226
+ #: ../src/CycloneSlider/NextgenIntegration.php:65
227
  msgid "Import"
228
  msgstr "وارد کردن"
229
 
230
+ #: ../src/CycloneSlider/NextgenIntegration.php:67
231
  msgid ""
232
  "Select a gallery to import images from. Images will be added as new slides."
233
  msgstr ""
234
  "گالری را برای وارد کردن تصاویر انتخاب کنید. تصاویر در یک اسلاید جدید افزوده "
235
  "خواهند شد."
236
 
237
+ #: ../src/CycloneSlider/SettingsPage.php:54
238
  msgid "Default options restored."
239
  msgstr "تنظیمات پیش فرض بازیابی شد"
240
 
247
  msgid "Widget for displaying sliders."
248
  msgstr "ابزارک برای نمایش اسلایدرشوها"
249
 
250
+ #: ../src/CycloneSlider/WidgetSlider.php:65 ../views/slide-edit.php:54
251
  #, fuzzy
252
  msgid "Title:"
253
  msgstr "عنوان"
375
  msgid "Vimeo"
376
  msgstr "فیلم"
377
 
378
+ #: ../views/slide-edit.php:29 ../views/slide-edit.php:178
379
  msgid "Custom HTML"
380
  msgstr "HTML دلخواه"
381
 
383
  msgid "Testimonial"
384
  msgstr ""
385
 
386
+ #: ../views/slide-edit.php:35
387
+ msgid "Hide"
388
+ msgstr ""
389
+
390
+ #: ../views/slide-edit.php:47
391
  msgid "Get Image"
392
  msgstr "افزودن عکس"
393
 
394
+ #: ../views/slide-edit.php:51
395
  msgid "Caption"
396
  msgstr ""
397
 
398
+ #: ../views/slide-edit.php:58
399
  #, fuzzy
400
  msgid "Description:"
401
  msgstr "توضیح"
402
 
403
+ #: ../views/slide-edit.php:64 ../views/slide-edit.php:201
404
  msgid "Link"
405
  msgstr "لینک"
406
 
407
+ #: ../views/slide-edit.php:67 ../views/slide-edit.php:204
408
  msgid "Link URL:"
409
  msgstr "آدرس لینک"
410
 
411
+ #: ../views/slide-edit.php:71 ../views/slide-edit.php:208
412
  msgid "Open Link in:"
413
  msgstr "نمایش لینک در"
414
 
415
+ #: ../views/slide-edit.php:73 ../views/slide-edit.php:210
416
  msgid "Same Window"
417
  msgstr "همان پنجره"
418
 
419
+ #: ../views/slide-edit.php:74 ../views/slide-edit.php:211
420
  msgid "New Tab or Window"
421
  msgstr "تب یا پنجره جدید"
422
 
423
+ #: ../views/slide-edit.php:80
424
  msgid "Image Attributes"
425
  msgstr "ویژگی های عکس"
426
 
427
+ #: ../views/slide-edit.php:83
428
  msgid "Alternate Text:"
429
  msgstr "متن جایگزین تصاویر"
430
 
431
+ #: ../views/slide-edit.php:87
432
  msgid "Title Text:"
433
  msgstr "متن عنوان"
434
 
435
+ #: ../views/slide-edit.php:93
436
  msgid "Slide Transition Effects"
437
  msgstr "افکت حرکت اسلاید"
438
 
439
+ #: ../views/slide-edit.php:97
440
  msgid "Disable"
441
  msgstr "غیرفعال"
442
 
443
+ #: ../views/slide-edit.php:98
444
  msgid "Enable Slide Effects"
445
  msgstr "فعال سازی افکت اسلاید"
446
 
447
+ #: ../views/slide-edit.php:104
448
  msgid "Transition Effects:"
449
  msgstr "افکت حرکت"
450
 
451
+ #: ../views/slide-edit.php:115 ../views/slider-settings.php:32
452
  msgid "Transition Effects Speed:"
453
  msgstr "سرعت نمایش جلوه ها"
454
 
455
+ #: ../views/slide-edit.php:117 ../views/slide-edit.php:124
456
+ #: ../views/slider-settings.php:34
457
  msgid "Milliseconds"
458
  msgstr "میلی ثانیه"
459
 
460
+ #: ../views/slide-edit.php:122 ../views/slider-settings.php:26
461
  msgid "Next Slide Delay:"
462
  msgstr "تاخیر نمایش اسلاید"
463
 
464
+ #: ../views/slide-edit.php:132 ../views/slider-settings.php:13
465
  msgid "Tile Count:"
466
  msgstr "تعداد کاشی ها"
467
 
468
+ #: ../views/slide-edit.php:134 ../views/slider-settings.php:15
469
  msgid "The number of tiles to use in the transition."
470
  msgstr "تعداد کاشی ها برای استفاده در جلوه های حرکتی"
471
 
472
+ #: ../views/slide-edit.php:138
473
  msgid "Tile Delay:"
474
  msgstr "تاخیر کاشی"
475
 
476
+ #: ../views/slide-edit.php:140
477
  msgid "Milliseconds to delay each individual tile transition."
478
  msgstr "برحسب میلی ثانیه برای تاخیر بین حرکت کاشی ها"
479
 
480
+ #: ../views/slide-edit.php:144 ../views/slider-settings.php:18
481
  msgid "Tile Position:"
482
  msgstr "موقعیت"
483
 
484
+ #: ../views/slide-edit.php:146 ../views/slider-settings.php:20
485
  msgid "Vertical"
486
  msgstr "عمودی"
487
 
488
+ #: ../views/slide-edit.php:147 ../views/slider-settings.php:21
489
  msgid "Horizontal"
490
  msgstr "افقی"
491
 
492
+ #: ../views/slide-edit.php:159
493
  msgid "YouTube URL:"
494
  msgstr ""
495
 
496
+ #: ../views/slide-edit.php:161
497
  msgid "Copy and paste a valid YouTube URL here."
498
  msgstr ""
499
 
500
+ #: ../views/slide-edit.php:166
501
  msgid "Do not show suggested videos when the video finishes."
502
  msgstr ""
503
 
504
+ #: ../views/slide-edit.php:171
505
  #, fuzzy
506
  msgid "Vimeo URL:"
507
  msgstr "آدرس ویدیو"
508
 
509
+ #: ../views/slide-edit.php:173
510
  #, fuzzy
511
  msgid "Copy and paste a valid Vimeo URL here."
512
  msgstr ""
513
  "آدرس ویدیو یوتیوب یا Vimeo را در اینجا گذاشته و دکمه افزودن ویدیو را کلیک "
514
  "کنید"
515
 
516
+ #: ../views/slide-edit.php:186
517
  msgid "Quote"
518
  msgstr ""
519
 
520
+ #: ../views/slide-edit.php:192
521
  msgid "Author"
522
  msgstr ""
523
 
524
+ #: ../views/slide-edit.php:195
525
  msgid "Name:"
526
  msgstr ""
527
 
530
  msgstr ""
531
 
532
  #: ../views/slider-advanced-settings.php:6
533
+ #: ../views/slider-advanced-settings.php:44 ../views/slider-settings.php:67
534
+ #: ../views/slider-settings.php:78 ../views/slider-settings.php:86
535
+ #: ../views/slider-settings.php:94 ../views/slider-settings.php:104
536
  msgid "Yes"
537
  msgstr "بله"
538
 
539
  #: ../views/slider-advanced-settings.php:7
540
+ #: ../views/slider-advanced-settings.php:45 ../views/slider-settings.php:66
541
+ #: ../views/slider-settings.php:79 ../views/slider-settings.php:87
542
+ #: ../views/slider-settings.php:95 ../views/slider-settings.php:103
543
  msgid "No"
544
  msgstr "خیر"
545
 
597
  msgid "Resize Options:"
598
  msgstr "توضیح"
599
 
600
+ #: ../views/slider-advanced-settings.php:60
 
 
 
 
601
  msgid "Auto - Cyclone Slider decides the resize option."
602
  msgstr ""
603
 
604
+ #: ../views/slider-advanced-settings.php:61
605
  msgid "Crop - Resize and remove excess parts."
606
  msgstr ""
607
 
608
+ #: ../views/slider-advanced-settings.php:62
609
  msgid "Exact - Resize to exact dimensions."
610
  msgstr ""
611
 
612
+ #: ../views/slider-advanced-settings.php:63
613
  msgid "Landscape - Resize to exact width."
614
  msgstr ""
615
 
616
+ #: ../views/slider-advanced-settings.php:64
617
  msgid "Portrait - Resize to exact height."
618
  msgstr ""
619
 
648
  msgid "Your preview will appear here."
649
  msgstr ""
650
 
651
+ #: ../views/slider-settings.php:4
652
  msgid "Transition Effects to Use:"
653
  msgstr "افکت حرکت"
654
 
655
+ #: ../views/slider-settings.php:28
656
  msgid "Milliseconds. 0 to disable auto advance."
657
  msgstr "میلی ثانیه. 0 برای غیرفعال سازی حالت خودکار"
658
 
659
+ #: ../views/slider-settings.php:38
660
  msgid "Width:"
661
  msgstr "عرض"
662
 
663
+ #: ../views/slider-settings.php:40 ../views/slider-settings.php:46
664
  msgid "pixels."
665
  msgstr "پیکسل"
666
 
667
+ #: ../views/slider-settings.php:44
668
  msgid "Height:"
669
  msgstr "ارتفاع"
670
 
671
+ #: ../views/slider-settings.php:50
672
  msgid "Width Management:"
673
  msgstr ""
674
 
675
+ #: ../views/slider-settings.php:52
676
  msgid "Responsive"
677
  msgstr ""
678
 
679
+ #: ../views/slider-settings.php:53
680
  msgid "Full"
681
  msgstr ""
682
 
683
+ #: ../views/slider-settings.php:54
684
  msgid "Fixed"
685
  msgstr ""
686
 
687
+ #: ../views/slider-settings.php:57
688
  msgid ""
689
  "Responsive - resizes to smaller size but maximum width will be equal to the "
690
  "provided width."
691
  msgstr ""
692
 
693
+ #: ../views/slider-settings.php:58
694
  msgid ""
695
  "Full - the same as responsive but maximum width will be equal to its "
696
  "container ignoring the provided width."
697
  msgstr ""
698
 
699
+ #: ../views/slider-settings.php:59
700
  msgid "Fixed - width and height are not resized."
701
  msgstr ""
702
 
703
+ #: ../views/slider-settings.php:64
704
+ msgid "Resize Images?"
705
+ msgstr "تغییر اندازه عکس ها"
706
+
707
+ #: ../views/slider-settings.php:71
708
+ msgid "Force Resize"
709
+ msgstr ""
710
+
711
+ #: ../views/slider-settings.php:72
712
+ #, fuzzy
713
+ msgid ""
714
+ "Yes - resize images to slideshow dimension. <br>No - use the original "
715
+ "uploaded image. <br>Force Resize - Regenerate all images and thumbnails."
716
+ msgstr ""
717
+ "بله: تغییر اندازه تصاویر به نسبت ابعاد اسلایدشو </br> خیر: استفاده از فایل "
718
+ "اصلی آپلود شده"
719
+
720
+ #: ../views/slider-settings.php:76
721
  msgid "Pause on Hover?"
722
  msgstr "توقف در زمان عبور ماوس"
723
 
724
+ #: ../views/slider-settings.php:84
725
  msgid "Show Prev/Next Buttons?"
726
  msgstr "نمایش دکمه قبلی - بعدی"
727
 
728
+ #: ../views/slider-settings.php:92
729
  msgid "Show Navigation?"
730
  msgstr "نمایش ناوبری"
731
 
732
+ #: ../views/slider-settings.php:97
733
  msgid "The thumbnails or dots depending on template."
734
  msgstr "تصویر بندانگشتی یا نقطه یا نمایه، بسته به تنظیمات طرح انتخابی"
735
 
736
+ #: ../views/slider-settings.php:101
 
 
 
 
 
 
 
 
 
 
 
 
737
  msgid "Random Slide Order?"
738
  msgstr "نمایش نامرتب اسلایدها"
739
 
740
+ #: ../views/slider-settings.php:106
741
  msgid "Randomize order of slides on every page visit."
742
  msgstr "نمایش تصادفی ترتیب اسلایدها در هر بار نمایش سایت"
743
 
762
  msgid "Selected"
763
  msgstr "حذف"
764
 
765
+ #~ msgid ""
766
+ #~ "Templates CSS could not be saved. Make sure %stemplates.css is writable."
767
+ #~ msgstr ""
768
+ #~ "css مربوط به الگو نمی تواند ذخیره شود. دسترسی نوشتن را به %stemplates.css "
769
+ #~ "بدهید."
770
+
771
+ #~ msgid ""
772
+ #~ "Templates JS could not be saved. Make sure %stemplates.js is writable."
773
+ #~ msgstr ""
774
+ #~ "JS مربوط به الگو نمی تواند ذخیره شود. دسترسی نوشتن را به %stemplates.css "
775
+ #~ "بدهید."
776
+
777
  #, fuzzy
778
  #~ msgid "Export"
779
  #~ msgstr "وارد کردن"
lang/cycloneslider-fr_FR.mo CHANGED
Binary file
lang/cycloneslider-fr_FR.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Cyclone Slider\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-12-19 17:59+0800\n"
6
- "PO-Revision-Date: 2014-12-19 17:59+0800\n"
7
  "Last-Translator: Nico Amarilla <kosinix@codefleet.net>\n"
8
  "Language-Team: kosinix <kosinix@codefleet.net>\n"
9
  "Language: de_DE\n"
@@ -17,229 +17,227 @@ msgstr ""
17
  "X-Poedit-SearchPath-0: .\n"
18
  "X-Poedit-SearchPath-1: ..\n"
19
 
20
- #: ../cyclone-slider.php:91
21
  #, fuzzy
22
  msgid "Cyclone Slider Settings"
23
  msgstr "Module de diaporama"
24
 
25
- #: ../cyclone-slider.php:92
26
  #, fuzzy
27
  msgid "Settings"
28
  msgstr "Réglages du diaporama"
29
 
30
- #: ../src/CycloneSlider/Admin.php:80
31
  msgid "Cyclone Slider"
32
  msgstr "Diaporama"
33
 
34
- #: ../src/CycloneSlider/Admin.php:81
35
  msgid "Slideshow"
36
  msgstr "Diaporama"
37
 
38
- #: ../src/CycloneSlider/Admin.php:82
39
  msgid "Add Slideshow"
40
  msgstr "Ajoutez un diaporama"
41
 
42
- #: ../src/CycloneSlider/Admin.php:83
43
  msgid "Add New Slideshow"
44
  msgstr "Ajouter un nouveau diaporama"
45
 
46
- #: ../src/CycloneSlider/Admin.php:84
47
  msgid "Edit Slideshow"
48
  msgstr "Editer le diaporama"
49
 
50
- #: ../src/CycloneSlider/Admin.php:85
51
  msgid "New Slideshow"
52
  msgstr "Nouveau diaporama"
53
 
54
- #: ../src/CycloneSlider/Admin.php:86
55
  msgid "View Slideshow"
56
  msgstr "Voir le diaporama"
57
 
58
- #: ../src/CycloneSlider/Admin.php:87
59
  msgid "Search Slideshows"
60
  msgstr "Rechercher des diaporamas"
61
 
62
- #: ../src/CycloneSlider/Admin.php:88
63
  msgid "No slideshows found"
64
  msgstr "Pas de diaporama trouvé"
65
 
66
- #: ../src/CycloneSlider/Admin.php:89
67
  msgid "No slideshows found in Trash"
68
  msgstr "Pas de diaporama trouvé"
69
 
70
- #: ../src/CycloneSlider/Admin.php:133 ../src/CycloneSlider/Admin.php:136
71
- #: ../src/CycloneSlider/Admin.php:137 ../src/CycloneSlider/Admin.php:140
72
- #: ../src/CycloneSlider/Admin.php:141 ../src/CycloneSlider/Admin.php:142
73
  msgid "Slideshow updated."
74
  msgstr "Diaporama mis à jour"
75
 
76
- #: ../src/CycloneSlider/Admin.php:134
77
  msgid "Custom field updated."
78
  msgstr "Champ mis à jours"
79
 
80
- #: ../src/CycloneSlider/Admin.php:135
81
  msgid "Custom field deleted."
82
  msgstr "Champ supprimé"
83
 
84
- #: ../src/CycloneSlider/Admin.php:138
85
  #, fuzzy
86
  msgid "Slideshow published."
87
  msgstr "Diaporama sauvegardé"
88
 
89
- #: ../src/CycloneSlider/Admin.php:139
90
  msgid "Slideshow saved."
91
  msgstr "Diaporama sauvegardé"
92
 
93
- #: ../src/CycloneSlider/Admin.php:143
94
- #, php-format
95
- msgid ""
96
- "Templates CSS could not be saved. Make sure %stemplates.css is writable."
97
- msgstr ""
98
- "Thème CSS non sauvegardé. Assurez-vous que le fichier %stemplates.css puisse "
99
- "être modifié."
100
-
101
- #: ../src/CycloneSlider/Admin.php:144
102
- #, php-format
103
- msgid "Templates JS could not be saved. Make sure %stemplates.js is writable."
104
- msgstr ""
105
- "Thème JS non sauvegardé. Assurez-vous que le fichier %stemplates.js puisse "
106
- "être modifié."
107
-
108
- #: ../src/CycloneSlider/Admin.php:178
109
  msgid "Slides"
110
  msgstr "Diapos"
111
 
112
- #: ../src/CycloneSlider/Admin.php:187
113
  #, fuzzy
114
  msgid "Slider Preview"
115
  msgstr "Propriétés de la diapo"
116
 
117
- #: ../src/CycloneSlider/Admin.php:196
118
  #, fuzzy
119
  msgid "Get Slider Codes"
120
  msgstr "Modifier vidéo"
121
 
122
- #: ../src/CycloneSlider/Admin.php:205
123
  #, fuzzy
124
  msgid "Basic Settings"
125
  msgstr "Réglages du diaporama"
126
 
127
- #: ../src/CycloneSlider/Admin.php:214
128
  #, fuzzy
129
  msgid "Advanced Settings"
130
  msgstr "Réglages du diaporama"
131
 
132
- #: ../src/CycloneSlider/Admin.php:223
133
  #, fuzzy
134
  msgid "Templates"
135
  msgstr "Thème"
136
 
137
- #: ../src/CycloneSlider/Admin.php:232 ../src/CycloneSlider/Admin.php:492
138
  msgid "Slideshow ID"
139
  msgstr "Diaporama ID"
140
 
141
- #: ../src/CycloneSlider/Admin.php:258
142
  msgid "Slide"
143
  msgstr "Diapo"
144
 
145
- #: ../src/CycloneSlider/Admin.php:381
 
 
 
 
146
  msgid "Core"
147
  msgstr ""
148
 
149
- #: ../src/CycloneSlider/Admin.php:382
150
  #, php-format
151
  msgid "Located inside the plugin directory:<br> <strong>%s</strong>"
152
  msgstr ""
153
 
154
- #: ../src/CycloneSlider/Admin.php:386
155
  #, php-format
156
  msgid "Located inside your currently active theme:<br> <strong>%s</strong>"
157
  msgstr ""
158
 
159
- #: ../src/CycloneSlider/Admin.php:387
160
  #, php-format
161
  msgid ""
162
  "Your template is in danger of being overwritten when you upgrade your theme. "
163
  "Please move it inside %s."
164
  msgstr ""
165
 
166
- #: ../src/CycloneSlider/Admin.php:391
167
  #, php-format
168
  msgid "Located inside wp-content directory:<br> <strong>%s</strong>"
169
  msgstr ""
170
 
171
- #: ../src/CycloneSlider/Admin.php:428
172
  msgid "Slide *"
173
  msgstr "Diapo *"
174
 
175
- #: ../src/CycloneSlider/Admin.php:489
176
  msgid "Slideshow Name"
177
  msgstr "Nom du diaporama"
178
 
179
- #: ../src/CycloneSlider/Admin.php:490
180
  msgid "Template"
181
  msgstr "Thème"
182
 
183
- #: ../src/CycloneSlider/Admin.php:491
184
  #, fuzzy
185
  msgid "No. of Slides"
186
  msgstr "Ajouter au diaporama"
187
 
188
- #: ../src/CycloneSlider/Admin.php:493
189
  msgid "Shortcode"
190
  msgstr "Shortcode"
191
 
192
- #: ../src/CycloneSlider/AssetLoader.php:53
193
  msgid "Select an image"
194
  msgstr "Sélectionnez une image"
195
 
196
- #: ../src/CycloneSlider/AssetLoader.php:54
197
  msgid "Select Images - Use Ctrl + Click or Shift + Click"
198
  msgstr ""
199
 
200
- #: ../src/CycloneSlider/AssetLoader.php:55
201
  msgid "Add to Slide"
202
  msgstr "Ajouter au diaporama"
203
 
204
- #: ../src/CycloneSlider/AssetLoader.php:56 ../views/slides.php:9
205
  #, fuzzy
206
  msgid "Add Images as Slides"
207
  msgstr "Ajouter un nouveau diaporama"
208
 
209
- #: ../src/CycloneSlider/AssetLoader.php:57
210
  msgid "Error. Make sure its a valid YouTube URL."
211
  msgstr ""
212
 
213
- #: ../src/CycloneSlider/Frontend.php:59
 
 
 
 
 
 
 
 
 
214
  #, fuzzy, php-format
215
  msgid "[Slideshow \"%s\" not found]"
216
  msgstr "[Diaporama non trouvé]"
217
 
218
- #: ../src/CycloneSlider/Frontend.php:74
219
  #, php-format
220
  msgid "[Template \"%s\" not found]"
221
  msgstr "[Thème \"%s\" non trouvé]"
222
 
223
- #: ../src/CycloneSlider/NextgenIntegration.php:34
224
  msgid "NextGEN Integration"
225
  msgstr "NextGEN Integration"
226
 
227
- #: ../src/CycloneSlider/NextgenIntegration.php:50
228
  msgid "Choose a NextGEN Gallery"
229
  msgstr "Choose a NextGEN Gallery"
230
 
231
- #: ../src/CycloneSlider/NextgenIntegration.php:60
232
  msgid "Import"
233
  msgstr "Importer"
234
 
235
- #: ../src/CycloneSlider/NextgenIntegration.php:62
236
  msgid ""
237
  "Select a gallery to import images from. Images will be added as new slides."
238
  msgstr ""
239
  "Selectionnez une galerie pour importer les images. Les images devront être "
240
  "ajoutées comme des nouvelles diapos "
241
 
242
- #: ../src/CycloneSlider/SettingsPage.php:74
243
  msgid "Default options restored."
244
  msgstr ""
245
 
@@ -252,7 +250,7 @@ msgstr "Module de diaporama"
252
  msgid "Widget for displaying sliders."
253
  msgstr "Module pour afficher des diaporamas"
254
 
255
- #: ../src/CycloneSlider/WidgetSlider.php:65 ../views/slide-edit.php:49
256
  #, fuzzy
257
  msgid "Title:"
258
  msgstr "Titre"
@@ -375,7 +373,7 @@ msgstr ""
375
  msgid "Vimeo"
376
  msgstr "Vidéo"
377
 
378
- #: ../views/slide-edit.php:29 ../views/slide-edit.php:173
379
  msgid "Custom HTML"
380
  msgstr "Code HTML personnalisé"
381
 
@@ -383,139 +381,143 @@ msgstr "Code HTML personnalisé"
383
  msgid "Testimonial"
384
  msgstr ""
385
 
386
- #: ../views/slide-edit.php:42
 
 
 
 
387
  msgid "Get Image"
388
  msgstr "Importer une image"
389
 
390
- #: ../views/slide-edit.php:46
391
  msgid "Caption"
392
  msgstr ""
393
 
394
- #: ../views/slide-edit.php:53
395
  #, fuzzy
396
  msgid "Description:"
397
  msgstr "Description"
398
 
399
- #: ../views/slide-edit.php:59 ../views/slide-edit.php:196
400
  msgid "Link"
401
  msgstr "Lien"
402
 
403
- #: ../views/slide-edit.php:62 ../views/slide-edit.php:199
404
  msgid "Link URL:"
405
  msgstr "Lien"
406
 
407
- #: ../views/slide-edit.php:66 ../views/slide-edit.php:203
408
  msgid "Open Link in:"
409
  msgstr "Ouvrir le lien dans :"
410
 
411
- #: ../views/slide-edit.php:68 ../views/slide-edit.php:205
412
  msgid "Same Window"
413
  msgstr "Même fenêtre"
414
 
415
- #: ../views/slide-edit.php:69 ../views/slide-edit.php:206
416
  msgid "New Tab or Window"
417
  msgstr "Nouvel onglet ou fenêtre"
418
 
419
- #: ../views/slide-edit.php:75
420
  msgid "Image Attributes"
421
  msgstr "Attributs de l'image"
422
 
423
- #: ../views/slide-edit.php:78
424
  msgid "Alternate Text:"
425
  msgstr "Texte alternatif"
426
 
427
- #: ../views/slide-edit.php:82
428
  msgid "Title Text:"
429
  msgstr "Titre"
430
 
431
- #: ../views/slide-edit.php:88
432
  msgid "Slide Transition Effects"
433
  msgstr "Effets de transition"
434
 
435
- #: ../views/slide-edit.php:92
436
  msgid "Disable"
437
  msgstr "Désactivé"
438
 
439
- #: ../views/slide-edit.php:93
440
  msgid "Enable Slide Effects"
441
  msgstr "Permettre les effets de transition"
442
 
443
- #: ../views/slide-edit.php:99
444
  msgid "Transition Effects:"
445
  msgstr "Effets de transition"
446
 
447
- #: ../views/slide-edit.php:110 ../views/slider-properties.php:32
448
  msgid "Transition Effects Speed:"
449
  msgstr "Temps de l'effet de transtion"
450
 
451
- #: ../views/slide-edit.php:112 ../views/slide-edit.php:119
452
- #: ../views/slider-properties.php:34
453
  msgid "Milliseconds"
454
  msgstr "Millisecondes"
455
 
456
- #: ../views/slide-edit.php:117 ../views/slider-properties.php:26
457
  msgid "Next Slide Delay:"
458
  msgstr "Temps avant la prochaine diapo"
459
 
460
- #: ../views/slide-edit.php:127 ../views/slider-properties.php:13
461
  msgid "Tile Count:"
462
  msgstr "Nombre de carreaux"
463
 
464
- #: ../views/slide-edit.php:129 ../views/slider-properties.php:15
465
  msgid "The number of tiles to use in the transition."
466
  msgstr "Nombre de carreaux à utiliser pour les transitions"
467
 
468
- #: ../views/slide-edit.php:133
469
  msgid "Tile Delay:"
470
  msgstr "Délais"
471
 
472
- #: ../views/slide-edit.php:135
473
  msgid "Milliseconds to delay each individual tile transition."
474
  msgstr "Delais de transition en millisecondes"
475
 
476
- #: ../views/slide-edit.php:139 ../views/slider-properties.php:18
477
  msgid "Tile Position:"
478
  msgstr "Position"
479
 
480
- #: ../views/slide-edit.php:141 ../views/slider-properties.php:20
481
  msgid "Vertical"
482
  msgstr "Vertical"
483
 
484
- #: ../views/slide-edit.php:142 ../views/slider-properties.php:21
485
  msgid "Horizontal"
486
  msgstr "Horizontal"
487
 
488
- #: ../views/slide-edit.php:154
489
  msgid "YouTube URL:"
490
  msgstr ""
491
 
492
- #: ../views/slide-edit.php:156
493
  msgid "Copy and paste a valid YouTube URL here."
494
  msgstr ""
495
 
496
- #: ../views/slide-edit.php:161
497
  msgid "Do not show suggested videos when the video finishes."
498
  msgstr ""
499
 
500
- #: ../views/slide-edit.php:166
501
  #, fuzzy
502
  msgid "Vimeo URL:"
503
  msgstr "Lien vidéo"
504
 
505
- #: ../views/slide-edit.php:168
506
  #, fuzzy
507
  msgid "Copy and paste a valid Vimeo URL here."
508
  msgstr "copier et coller un lien Youtube ou Vimeo"
509
 
510
- #: ../views/slide-edit.php:181
511
  msgid "Quote"
512
  msgstr ""
513
 
514
- #: ../views/slide-edit.php:187
515
  msgid "Author"
516
  msgstr ""
517
 
518
- #: ../views/slide-edit.php:190
519
  msgid "Name:"
520
  msgstr ""
521
 
@@ -524,16 +526,16 @@ msgid "Allow Wrap?"
524
  msgstr ""
525
 
526
  #: ../views/slider-advanced-settings.php:6
527
- #: ../views/slider-advanced-settings.php:44 ../views/slider-properties.php:66
528
- #: ../views/slider-properties.php:74 ../views/slider-properties.php:82
529
- #: ../views/slider-properties.php:92 ../views/slider-properties.php:101
530
  msgid "Yes"
531
  msgstr "Oui"
532
 
533
  #: ../views/slider-advanced-settings.php:7
534
- #: ../views/slider-advanced-settings.php:45 ../views/slider-properties.php:67
535
- #: ../views/slider-properties.php:75 ../views/slider-properties.php:83
536
- #: ../views/slider-properties.php:91 ../views/slider-properties.php:100
537
  msgid "No"
538
  msgstr "Non"
539
 
@@ -591,27 +593,23 @@ msgstr ""
591
  msgid "Resize Options:"
592
  msgstr "Description"
593
 
594
- #: ../views/slider-advanced-settings.php:61
595
- msgid "Force Resize"
596
- msgstr ""
597
-
598
- #: ../views/slider-advanced-settings.php:63
599
  msgid "Auto - Cyclone Slider decides the resize option."
600
  msgstr ""
601
 
602
- #: ../views/slider-advanced-settings.php:64
603
  msgid "Crop - Resize and remove excess parts."
604
  msgstr ""
605
 
606
- #: ../views/slider-advanced-settings.php:65
607
  msgid "Exact - Resize to exact dimensions."
608
  msgstr ""
609
 
610
- #: ../views/slider-advanced-settings.php:66
611
  msgid "Landscape - Resize to exact width."
612
  msgstr ""
613
 
614
- #: ../views/slider-advanced-settings.php:67
615
  msgid "Portrait - Resize to exact height."
616
  msgstr ""
617
 
@@ -643,91 +641,96 @@ msgstr ""
643
  msgid "Your preview will appear here."
644
  msgstr ""
645
 
646
- #: ../views/slider-properties.php:4
647
  msgid "Transition Effects to Use:"
648
  msgstr "Effet de transition à utiliser"
649
 
650
- #: ../views/slider-properties.php:28
651
  msgid "Milliseconds. 0 to disable auto advance."
652
  msgstr "Millisecondes. 0 ou désactiver le défilement automatique"
653
 
654
- #: ../views/slider-properties.php:38
655
  msgid "Width:"
656
  msgstr "Largeur :"
657
 
658
- #: ../views/slider-properties.php:40 ../views/slider-properties.php:46
659
  msgid "pixels."
660
  msgstr "pixels."
661
 
662
- #: ../views/slider-properties.php:44
663
  msgid "Height:"
664
  msgstr "Hauteur :"
665
 
666
- #: ../views/slider-properties.php:50
667
  msgid "Width Management:"
668
  msgstr ""
669
 
670
- #: ../views/slider-properties.php:52
671
  msgid "Responsive"
672
  msgstr ""
673
 
674
- #: ../views/slider-properties.php:53
675
  msgid "Full"
676
  msgstr ""
677
 
678
- #: ../views/slider-properties.php:54
679
  msgid "Fixed"
680
  msgstr ""
681
 
682
- #: ../views/slider-properties.php:57
683
  msgid ""
684
  "Responsive - resizes to smaller size but maximum width will be equal to the "
685
  "provided width."
686
  msgstr ""
687
 
688
- #: ../views/slider-properties.php:58
689
  msgid ""
690
  "Full - the same as responsive but maximum width will be equal to its "
691
  "container ignoring the provided width."
692
  msgstr ""
693
 
694
- #: ../views/slider-properties.php:59
695
  msgid "Fixed - width and height are not resized."
696
  msgstr ""
697
 
698
- #: ../views/slider-properties.php:64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
699
  msgid "Pause on Hover?"
700
  msgstr "Pause au survol"
701
 
702
- #: ../views/slider-properties.php:72
703
  msgid "Show Prev/Next Buttons?"
704
  msgstr "Afficher les boutons précédent et suivant ?"
705
 
706
- #: ../views/slider-properties.php:80
707
  msgid "Show Navigation?"
708
  msgstr "Afficher la navigation ?"
709
 
710
- #: ../views/slider-properties.php:85
711
  msgid "The thumbnails or dots depending on template."
712
  msgstr "Les miniatures dépendent du template"
713
 
714
- #: ../views/slider-properties.php:89
715
- msgid "Resize Images?"
716
- msgstr "Retailler l'image ?"
717
-
718
- #: ../views/slider-properties.php:94
719
- msgid ""
720
- "Yes - resize images to slideshow dimension. <br>No - use the original "
721
- "uploaded image."
722
- msgstr ""
723
- "Oui - Retailler les images à la dimension du diaporama. <br /> Non - "
724
- "utiliser la taille original de l'image importée"
725
-
726
- #: ../views/slider-properties.php:98
727
  msgid "Random Slide Order?"
728
  msgstr "Ordre des diapos aléatoire ?"
729
 
730
- #: ../views/slider-properties.php:103
731
  msgid "Randomize order of slides on every page visit."
732
  msgstr "Faire un ordre des diapos aléatoires sur chaque page visité"
733
 
@@ -752,6 +755,18 @@ msgstr ""
752
  msgid "Selected"
753
  msgstr "Supprimer"
754
 
 
 
 
 
 
 
 
 
 
 
 
 
755
  #, fuzzy
756
  #~ msgid "Export"
757
  #~ msgstr "Importer"
2
  msgstr ""
3
  "Project-Id-Version: Cyclone Slider\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-03-15 13:42+0800\n"
6
+ "PO-Revision-Date: 2015-03-15 13:44+0800\n"
7
  "Last-Translator: Nico Amarilla <kosinix@codefleet.net>\n"
8
  "Language-Team: kosinix <kosinix@codefleet.net>\n"
9
  "Language: de_DE\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
  "X-Poedit-SearchPath-1: ..\n"
19
 
20
+ #: ../cyclone-slider.php:104
21
  #, fuzzy
22
  msgid "Cyclone Slider Settings"
23
  msgstr "Module de diaporama"
24
 
25
+ #: ../cyclone-slider.php:105
26
  #, fuzzy
27
  msgid "Settings"
28
  msgstr "Réglages du diaporama"
29
 
30
+ #: ../src/CycloneSlider/Admin.php:97
31
  msgid "Cyclone Slider"
32
  msgstr "Diaporama"
33
 
34
+ #: ../src/CycloneSlider/Admin.php:98
35
  msgid "Slideshow"
36
  msgstr "Diaporama"
37
 
38
+ #: ../src/CycloneSlider/Admin.php:99
39
  msgid "Add Slideshow"
40
  msgstr "Ajoutez un diaporama"
41
 
42
+ #: ../src/CycloneSlider/Admin.php:100
43
  msgid "Add New Slideshow"
44
  msgstr "Ajouter un nouveau diaporama"
45
 
46
+ #: ../src/CycloneSlider/Admin.php:101
47
  msgid "Edit Slideshow"
48
  msgstr "Editer le diaporama"
49
 
50
+ #: ../src/CycloneSlider/Admin.php:102
51
  msgid "New Slideshow"
52
  msgstr "Nouveau diaporama"
53
 
54
+ #: ../src/CycloneSlider/Admin.php:103
55
  msgid "View Slideshow"
56
  msgstr "Voir le diaporama"
57
 
58
+ #: ../src/CycloneSlider/Admin.php:104
59
  msgid "Search Slideshows"
60
  msgstr "Rechercher des diaporamas"
61
 
62
+ #: ../src/CycloneSlider/Admin.php:105
63
  msgid "No slideshows found"
64
  msgstr "Pas de diaporama trouvé"
65
 
66
+ #: ../src/CycloneSlider/Admin.php:106
67
  msgid "No slideshows found in Trash"
68
  msgstr "Pas de diaporama trouvé"
69
 
70
+ #: ../src/CycloneSlider/Admin.php:150 ../src/CycloneSlider/Admin.php:153
71
+ #: ../src/CycloneSlider/Admin.php:154 ../src/CycloneSlider/Admin.php:157
72
+ #: ../src/CycloneSlider/Admin.php:158 ../src/CycloneSlider/Admin.php:159
73
  msgid "Slideshow updated."
74
  msgstr "Diaporama mis à jour"
75
 
76
+ #: ../src/CycloneSlider/Admin.php:151
77
  msgid "Custom field updated."
78
  msgstr "Champ mis à jours"
79
 
80
+ #: ../src/CycloneSlider/Admin.php:152
81
  msgid "Custom field deleted."
82
  msgstr "Champ supprimé"
83
 
84
+ #: ../src/CycloneSlider/Admin.php:155
85
  #, fuzzy
86
  msgid "Slideshow published."
87
  msgstr "Diaporama sauvegardé"
88
 
89
+ #: ../src/CycloneSlider/Admin.php:156
90
  msgid "Slideshow saved."
91
  msgstr "Diaporama sauvegardé"
92
 
93
+ #: ../src/CycloneSlider/Admin.php:193
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  msgid "Slides"
95
  msgstr "Diapos"
96
 
97
+ #: ../src/CycloneSlider/Admin.php:202
98
  #, fuzzy
99
  msgid "Slider Preview"
100
  msgstr "Propriétés de la diapo"
101
 
102
+ #: ../src/CycloneSlider/Admin.php:211
103
  #, fuzzy
104
  msgid "Get Slider Codes"
105
  msgstr "Modifier vidéo"
106
 
107
+ #: ../src/CycloneSlider/Admin.php:220
108
  #, fuzzy
109
  msgid "Basic Settings"
110
  msgstr "Réglages du diaporama"
111
 
112
+ #: ../src/CycloneSlider/Admin.php:229
113
  #, fuzzy
114
  msgid "Advanced Settings"
115
  msgstr "Réglages du diaporama"
116
 
117
+ #: ../src/CycloneSlider/Admin.php:238
118
  #, fuzzy
119
  msgid "Templates"
120
  msgstr "Thème"
121
 
122
+ #: ../src/CycloneSlider/Admin.php:247 ../src/CycloneSlider/Admin.php:512
123
  msgid "Slideshow ID"
124
  msgstr "Diaporama ID"
125
 
126
+ #: ../src/CycloneSlider/Admin.php:273
127
  msgid "Slide"
128
  msgstr "Diapo"
129
 
130
+ #: ../src/CycloneSlider/Admin.php:278
131
+ msgid "[Hidden]"
132
+ msgstr ""
133
+
134
+ #: ../src/CycloneSlider/Admin.php:401
135
  msgid "Core"
136
  msgstr ""
137
 
138
+ #: ../src/CycloneSlider/Admin.php:402
139
  #, php-format
140
  msgid "Located inside the plugin directory:<br> <strong>%s</strong>"
141
  msgstr ""
142
 
143
+ #: ../src/CycloneSlider/Admin.php:406
144
  #, php-format
145
  msgid "Located inside your currently active theme:<br> <strong>%s</strong>"
146
  msgstr ""
147
 
148
+ #: ../src/CycloneSlider/Admin.php:407
149
  #, php-format
150
  msgid ""
151
  "Your template is in danger of being overwritten when you upgrade your theme. "
152
  "Please move it inside %s."
153
  msgstr ""
154
 
155
+ #: ../src/CycloneSlider/Admin.php:411
156
  #, php-format
157
  msgid "Located inside wp-content directory:<br> <strong>%s</strong>"
158
  msgstr ""
159
 
160
+ #: ../src/CycloneSlider/Admin.php:448
161
  msgid "Slide *"
162
  msgstr "Diapo *"
163
 
164
+ #: ../src/CycloneSlider/Admin.php:509
165
  msgid "Slideshow Name"
166
  msgstr "Nom du diaporama"
167
 
168
+ #: ../src/CycloneSlider/Admin.php:510
169
  msgid "Template"
170
  msgstr "Thème"
171
 
172
+ #: ../src/CycloneSlider/Admin.php:511
173
  #, fuzzy
174
  msgid "No. of Slides"
175
  msgstr "Ajouter au diaporama"
176
 
177
+ #: ../src/CycloneSlider/Admin.php:513
178
  msgid "Shortcode"
179
  msgstr "Shortcode"
180
 
181
+ #: ../src/CycloneSlider/AssetLoader.php:59
182
  msgid "Select an image"
183
  msgstr "Sélectionnez une image"
184
 
185
+ #: ../src/CycloneSlider/AssetLoader.php:60
186
  msgid "Select Images - Use Ctrl + Click or Shift + Click"
187
  msgstr ""
188
 
189
+ #: ../src/CycloneSlider/AssetLoader.php:61
190
  msgid "Add to Slide"
191
  msgstr "Ajouter au diaporama"
192
 
193
+ #: ../src/CycloneSlider/AssetLoader.php:62 ../views/slides.php:9
194
  #, fuzzy
195
  msgid "Add Images as Slides"
196
  msgstr "Ajouter un nouveau diaporama"
197
 
198
+ #: ../src/CycloneSlider/AssetLoader.php:63
199
  msgid "Error. Make sure its a valid YouTube URL."
200
  msgstr ""
201
 
202
+ #: ../src/CycloneSlider/ExportPage.php:36
203
+ msgid "Export settings cleared."
204
+ msgstr ""
205
+
206
+ #: ../src/CycloneSlider/ExportPage.php:42
207
+ #, fuzzy
208
+ msgid "No sliders selected."
209
+ msgstr "Aucuns diaporamas"
210
+
211
+ #: ../src/CycloneSlider/Frontend.php:72
212
  #, fuzzy, php-format
213
  msgid "[Slideshow \"%s\" not found]"
214
  msgstr "[Diaporama non trouvé]"
215
 
216
+ #: ../src/CycloneSlider/Frontend.php:88
217
  #, php-format
218
  msgid "[Template \"%s\" not found]"
219
  msgstr "[Thème \"%s\" non trouvé]"
220
 
221
+ #: ../src/CycloneSlider/NextgenIntegration.php:39
222
  msgid "NextGEN Integration"
223
  msgstr "NextGEN Integration"
224
 
225
+ #: ../src/CycloneSlider/NextgenIntegration.php:55
226
  msgid "Choose a NextGEN Gallery"
227
  msgstr "Choose a NextGEN Gallery"
228
 
229
+ #: ../src/CycloneSlider/NextgenIntegration.php:65
230
  msgid "Import"
231
  msgstr "Importer"
232
 
233
+ #: ../src/CycloneSlider/NextgenIntegration.php:67
234
  msgid ""
235
  "Select a gallery to import images from. Images will be added as new slides."
236
  msgstr ""
237
  "Selectionnez une galerie pour importer les images. Les images devront être "
238
  "ajoutées comme des nouvelles diapos "
239
 
240
+ #: ../src/CycloneSlider/SettingsPage.php:54
241
  msgid "Default options restored."
242
  msgstr ""
243
 
250
  msgid "Widget for displaying sliders."
251
  msgstr "Module pour afficher des diaporamas"
252
 
253
+ #: ../src/CycloneSlider/WidgetSlider.php:65 ../views/slide-edit.php:54
254
  #, fuzzy
255
  msgid "Title:"
256
  msgstr "Titre"
373
  msgid "Vimeo"
374
  msgstr "Vidéo"
375
 
376
+ #: ../views/slide-edit.php:29 ../views/slide-edit.php:178
377
  msgid "Custom HTML"
378
  msgstr "Code HTML personnalisé"
379
 
381
  msgid "Testimonial"
382
  msgstr ""
383
 
384
+ #: ../views/slide-edit.php:35
385
+ msgid "Hide"
386
+ msgstr ""
387
+
388
+ #: ../views/slide-edit.php:47
389
  msgid "Get Image"
390
  msgstr "Importer une image"
391
 
392
+ #: ../views/slide-edit.php:51
393
  msgid "Caption"
394
  msgstr ""
395
 
396
+ #: ../views/slide-edit.php:58
397
  #, fuzzy
398
  msgid "Description:"
399
  msgstr "Description"
400
 
401
+ #: ../views/slide-edit.php:64 ../views/slide-edit.php:201
402
  msgid "Link"
403
  msgstr "Lien"
404
 
405
+ #: ../views/slide-edit.php:67 ../views/slide-edit.php:204
406
  msgid "Link URL:"
407
  msgstr "Lien"
408
 
409
+ #: ../views/slide-edit.php:71 ../views/slide-edit.php:208
410
  msgid "Open Link in:"
411
  msgstr "Ouvrir le lien dans :"
412
 
413
+ #: ../views/slide-edit.php:73 ../views/slide-edit.php:210
414
  msgid "Same Window"
415
  msgstr "Même fenêtre"
416
 
417
+ #: ../views/slide-edit.php:74 ../views/slide-edit.php:211
418
  msgid "New Tab or Window"
419
  msgstr "Nouvel onglet ou fenêtre"
420
 
421
+ #: ../views/slide-edit.php:80
422
  msgid "Image Attributes"
423
  msgstr "Attributs de l'image"
424
 
425
+ #: ../views/slide-edit.php:83
426
  msgid "Alternate Text:"
427
  msgstr "Texte alternatif"
428
 
429
+ #: ../views/slide-edit.php:87
430
  msgid "Title Text:"
431
  msgstr "Titre"
432
 
433
+ #: ../views/slide-edit.php:93
434
  msgid "Slide Transition Effects"
435
  msgstr "Effets de transition"
436
 
437
+ #: ../views/slide-edit.php:97
438
  msgid "Disable"
439
  msgstr "Désactivé"
440
 
441
+ #: ../views/slide-edit.php:98
442
  msgid "Enable Slide Effects"
443
  msgstr "Permettre les effets de transition"
444
 
445
+ #: ../views/slide-edit.php:104
446
  msgid "Transition Effects:"
447
  msgstr "Effets de transition"
448
 
449
+ #: ../views/slide-edit.php:115 ../views/slider-settings.php:32
450
  msgid "Transition Effects Speed:"
451
  msgstr "Temps de l'effet de transtion"
452
 
453
+ #: ../views/slide-edit.php:117 ../views/slide-edit.php:124
454
+ #: ../views/slider-settings.php:34
455
  msgid "Milliseconds"
456
  msgstr "Millisecondes"
457
 
458
+ #: ../views/slide-edit.php:122 ../views/slider-settings.php:26
459
  msgid "Next Slide Delay:"
460
  msgstr "Temps avant la prochaine diapo"
461
 
462
+ #: ../views/slide-edit.php:132 ../views/slider-settings.php:13
463
  msgid "Tile Count:"
464
  msgstr "Nombre de carreaux"
465
 
466
+ #: ../views/slide-edit.php:134 ../views/slider-settings.php:15
467
  msgid "The number of tiles to use in the transition."
468
  msgstr "Nombre de carreaux à utiliser pour les transitions"
469
 
470
+ #: ../views/slide-edit.php:138
471
  msgid "Tile Delay:"
472
  msgstr "Délais"
473
 
474
+ #: ../views/slide-edit.php:140
475
  msgid "Milliseconds to delay each individual tile transition."
476
  msgstr "Delais de transition en millisecondes"
477
 
478
+ #: ../views/slide-edit.php:144 ../views/slider-settings.php:18
479
  msgid "Tile Position:"
480
  msgstr "Position"
481
 
482
+ #: ../views/slide-edit.php:146 ../views/slider-settings.php:20
483
  msgid "Vertical"
484
  msgstr "Vertical"
485
 
486
+ #: ../views/slide-edit.php:147 ../views/slider-settings.php:21
487
  msgid "Horizontal"
488
  msgstr "Horizontal"
489
 
490
+ #: ../views/slide-edit.php:159
491
  msgid "YouTube URL:"
492
  msgstr ""
493
 
494
+ #: ../views/slide-edit.php:161
495
  msgid "Copy and paste a valid YouTube URL here."
496
  msgstr ""
497
 
498
+ #: ../views/slide-edit.php:166
499
  msgid "Do not show suggested videos when the video finishes."
500
  msgstr ""
501
 
502
+ #: ../views/slide-edit.php:171
503
  #, fuzzy
504
  msgid "Vimeo URL:"
505
  msgstr "Lien vidéo"
506
 
507
+ #: ../views/slide-edit.php:173
508
  #, fuzzy
509
  msgid "Copy and paste a valid Vimeo URL here."
510
  msgstr "copier et coller un lien Youtube ou Vimeo"
511
 
512
+ #: ../views/slide-edit.php:186
513
  msgid "Quote"
514
  msgstr ""
515
 
516
+ #: ../views/slide-edit.php:192
517
  msgid "Author"
518
  msgstr ""
519
 
520
+ #: ../views/slide-edit.php:195
521
  msgid "Name:"
522
  msgstr ""
523
 
526
  msgstr ""
527
 
528
  #: ../views/slider-advanced-settings.php:6
529
+ #: ../views/slider-advanced-settings.php:44 ../views/slider-settings.php:67
530
+ #: ../views/slider-settings.php:78 ../views/slider-settings.php:86
531
+ #: ../views/slider-settings.php:94 ../views/slider-settings.php:104
532
  msgid "Yes"
533
  msgstr "Oui"
534
 
535
  #: ../views/slider-advanced-settings.php:7
536
+ #: ../views/slider-advanced-settings.php:45 ../views/slider-settings.php:66
537
+ #: ../views/slider-settings.php:79 ../views/slider-settings.php:87
538
+ #: ../views/slider-settings.php:95 ../views/slider-settings.php:103
539
  msgid "No"
540
  msgstr "Non"
541
 
593
  msgid "Resize Options:"
594
  msgstr "Description"
595
 
596
+ #: ../views/slider-advanced-settings.php:60
 
 
 
 
597
  msgid "Auto - Cyclone Slider decides the resize option."
598
  msgstr ""
599
 
600
+ #: ../views/slider-advanced-settings.php:61
601
  msgid "Crop - Resize and remove excess parts."
602
  msgstr ""
603
 
604
+ #: ../views/slider-advanced-settings.php:62
605
  msgid "Exact - Resize to exact dimensions."
606
  msgstr ""
607
 
608
+ #: ../views/slider-advanced-settings.php:63
609
  msgid "Landscape - Resize to exact width."
610
  msgstr ""
611
 
612
+ #: ../views/slider-advanced-settings.php:64
613
  msgid "Portrait - Resize to exact height."
614
  msgstr ""
615
 
641
  msgid "Your preview will appear here."
642
  msgstr ""
643
 
644
+ #: ../views/slider-settings.php:4
645
  msgid "Transition Effects to Use:"
646
  msgstr "Effet de transition à utiliser"
647
 
648
+ #: ../views/slider-settings.php:28
649
  msgid "Milliseconds. 0 to disable auto advance."
650
  msgstr "Millisecondes. 0 ou désactiver le défilement automatique"
651
 
652
+ #: ../views/slider-settings.php:38
653
  msgid "Width:"
654
  msgstr "Largeur :"
655
 
656
+ #: ../views/slider-settings.php:40 ../views/slider-settings.php:46
657
  msgid "pixels."
658
  msgstr "pixels."
659
 
660
+ #: ../views/slider-settings.php:44
661
  msgid "Height:"
662
  msgstr "Hauteur :"
663
 
664
+ #: ../views/slider-settings.php:50
665
  msgid "Width Management:"
666
  msgstr ""
667
 
668
+ #: ../views/slider-settings.php:52
669
  msgid "Responsive"
670
  msgstr ""
671
 
672
+ #: ../views/slider-settings.php:53
673
  msgid "Full"
674
  msgstr ""
675
 
676
+ #: ../views/slider-settings.php:54
677
  msgid "Fixed"
678
  msgstr ""
679
 
680
+ #: ../views/slider-settings.php:57
681
  msgid ""
682
  "Responsive - resizes to smaller size but maximum width will be equal to the "
683
  "provided width."
684
  msgstr ""
685
 
686
+ #: ../views/slider-settings.php:58
687
  msgid ""
688
  "Full - the same as responsive but maximum width will be equal to its "
689
  "container ignoring the provided width."
690
  msgstr ""
691
 
692
+ #: ../views/slider-settings.php:59
693
  msgid "Fixed - width and height are not resized."
694
  msgstr ""
695
 
696
+ #: ../views/slider-settings.php:64
697
+ msgid "Resize Images?"
698
+ msgstr "Retailler l'image ?"
699
+
700
+ #: ../views/slider-settings.php:71
701
+ msgid "Force Resize"
702
+ msgstr ""
703
+
704
+ #: ../views/slider-settings.php:72
705
+ #, fuzzy
706
+ msgid ""
707
+ "Yes - resize images to slideshow dimension. <br>No - use the original "
708
+ "uploaded image. <br>Force Resize - Regenerate all images and thumbnails."
709
+ msgstr ""
710
+ "Oui - Retailler les images à la dimension du diaporama. <br /> Non - "
711
+ "utiliser la taille original de l'image importée"
712
+
713
+ #: ../views/slider-settings.php:76
714
  msgid "Pause on Hover?"
715
  msgstr "Pause au survol"
716
 
717
+ #: ../views/slider-settings.php:84
718
  msgid "Show Prev/Next Buttons?"
719
  msgstr "Afficher les boutons précédent et suivant ?"
720
 
721
+ #: ../views/slider-settings.php:92
722
  msgid "Show Navigation?"
723
  msgstr "Afficher la navigation ?"
724
 
725
+ #: ../views/slider-settings.php:97
726
  msgid "The thumbnails or dots depending on template."
727
  msgstr "Les miniatures dépendent du template"
728
 
729
+ #: ../views/slider-settings.php:101
 
 
 
 
 
 
 
 
 
 
 
 
730
  msgid "Random Slide Order?"
731
  msgstr "Ordre des diapos aléatoire ?"
732
 
733
+ #: ../views/slider-settings.php:106
734
  msgid "Randomize order of slides on every page visit."
735
  msgstr "Faire un ordre des diapos aléatoires sur chaque page visité"
736
 
755
  msgid "Selected"
756
  msgstr "Supprimer"
757
 
758
+ #~ msgid ""
759
+ #~ "Templates CSS could not be saved. Make sure %stemplates.css is writable."
760
+ #~ msgstr ""
761
+ #~ "Thème CSS non sauvegardé. Assurez-vous que le fichier %stemplates.css "
762
+ #~ "puisse être modifié."
763
+
764
+ #~ msgid ""
765
+ #~ "Templates JS could not be saved. Make sure %stemplates.js is writable."
766
+ #~ msgstr ""
767
+ #~ "Thème JS non sauvegardé. Assurez-vous que le fichier %stemplates.js "
768
+ #~ "puisse être modifié."
769
+
770
  #, fuzzy
771
  #~ msgid "Export"
772
  #~ msgstr "Importer"
lang/cycloneslider-it_IT.mo CHANGED
Binary file
lang/cycloneslider-it_IT.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Cyclone Slider\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-12-19 17:59+0800\n"
6
- "PO-Revision-Date: 2014-12-19 17:59+0800\n"
7
  "Last-Translator: Nico Amarilla <kosinix@codefleet.net>\n"
8
  "Language-Team: Max Guglielmino <info@maxguglielmino.com>\n"
9
  "Language: it_IT\n"
@@ -18,229 +18,227 @@ msgstr ""
18
  "X-Poedit-SearchPath-0: .\n"
19
  "X-Poedit-SearchPath-1: ..\n"
20
 
21
- #: ../cyclone-slider.php:91
22
  #, fuzzy
23
  msgid "Cyclone Slider Settings"
24
  msgstr "Cyclone Slider Widget"
25
 
26
- #: ../cyclone-slider.php:92
27
  #, fuzzy
28
  msgid "Settings"
29
  msgstr "Impostazioni Proiettore"
30
 
31
- #: ../src/CycloneSlider/Admin.php:80
32
  msgid "Cyclone Slider"
33
  msgstr "Cyclone Slider"
34
 
35
- #: ../src/CycloneSlider/Admin.php:81
36
  msgid "Slideshow"
37
  msgstr "Proiettore"
38
 
39
- #: ../src/CycloneSlider/Admin.php:82
40
  msgid "Add Slideshow"
41
  msgstr "Aggiungi Proiettore"
42
 
43
- #: ../src/CycloneSlider/Admin.php:83
44
  msgid "Add New Slideshow"
45
  msgstr "Aggiungi Nuovo Proiettore"
46
 
47
- #: ../src/CycloneSlider/Admin.php:84
48
  msgid "Edit Slideshow"
49
  msgstr "Modifica Proiettore"
50
 
51
- #: ../src/CycloneSlider/Admin.php:85
52
  msgid "New Slideshow"
53
  msgstr "Nuovo Proiettore"
54
 
55
- #: ../src/CycloneSlider/Admin.php:86
56
  msgid "View Slideshow"
57
  msgstr "Visualizza Proiettore"
58
 
59
- #: ../src/CycloneSlider/Admin.php:87
60
  msgid "Search Slideshows"
61
  msgstr "Cerca Proiettori"
62
 
63
- #: ../src/CycloneSlider/Admin.php:88
64
  msgid "No slideshows found"
65
  msgstr "Nessun proiettore trovato"
66
 
67
- #: ../src/CycloneSlider/Admin.php:89
68
  msgid "No slideshows found in Trash"
69
  msgstr "Nessun proiettore trovato nel cestino"
70
 
71
- #: ../src/CycloneSlider/Admin.php:133 ../src/CycloneSlider/Admin.php:136
72
- #: ../src/CycloneSlider/Admin.php:137 ../src/CycloneSlider/Admin.php:140
73
- #: ../src/CycloneSlider/Admin.php:141 ../src/CycloneSlider/Admin.php:142
74
  msgid "Slideshow updated."
75
  msgstr "Proiettore aggiornato."
76
 
77
- #: ../src/CycloneSlider/Admin.php:134
78
  msgid "Custom field updated."
79
  msgstr "Campo personalizzato aggiornato."
80
 
81
- #: ../src/CycloneSlider/Admin.php:135
82
  msgid "Custom field deleted."
83
  msgstr "Campo personalizzato cancellato."
84
 
85
- #: ../src/CycloneSlider/Admin.php:138
86
  #, fuzzy
87
  msgid "Slideshow published."
88
  msgstr "Proiettore salvato."
89
 
90
- #: ../src/CycloneSlider/Admin.php:139
91
  msgid "Slideshow saved."
92
  msgstr "Proiettore salvato."
93
 
94
- #: ../src/CycloneSlider/Admin.php:143
95
- #, php-format
96
- msgid ""
97
- "Templates CSS could not be saved. Make sure %stemplates.css is writable."
98
- msgstr ""
99
- "Non è stato possibile salvare il modello CSS. Assicurarsi che %stemplates."
100
- "css sia scrivibile."
101
-
102
- #: ../src/CycloneSlider/Admin.php:144
103
- #, php-format
104
- msgid "Templates JS could not be saved. Make sure %stemplates.js is writable."
105
- msgstr ""
106
- "Non è stato possibile salvare il modello JS. Assicurarsi che %stemplates.js "
107
- "sia scrivibile."
108
-
109
- #: ../src/CycloneSlider/Admin.php:178
110
  msgid "Slides"
111
  msgstr "Diapositive"
112
 
113
- #: ../src/CycloneSlider/Admin.php:187
114
  #, fuzzy
115
  msgid "Slider Preview"
116
  msgstr "Proprietà Diapositiva:"
117
 
118
- #: ../src/CycloneSlider/Admin.php:196
119
  #, fuzzy
120
  msgid "Get Slider Codes"
121
  msgstr "Prendi Video"
122
 
123
- #: ../src/CycloneSlider/Admin.php:205
124
  #, fuzzy
125
  msgid "Basic Settings"
126
  msgstr "Impostazioni Proiettore"
127
 
128
- #: ../src/CycloneSlider/Admin.php:214
129
  #, fuzzy
130
  msgid "Advanced Settings"
131
  msgstr "Impostazioni Proiettore"
132
 
133
- #: ../src/CycloneSlider/Admin.php:223
134
  #, fuzzy
135
  msgid "Templates"
136
  msgstr "Modello"
137
 
138
- #: ../src/CycloneSlider/Admin.php:232 ../src/CycloneSlider/Admin.php:492
139
  msgid "Slideshow ID"
140
  msgstr "ID Proiettore"
141
 
142
- #: ../src/CycloneSlider/Admin.php:258
143
  msgid "Slide"
144
  msgstr "Diapositiva"
145
 
146
- #: ../src/CycloneSlider/Admin.php:381
 
 
 
 
147
  msgid "Core"
148
  msgstr ""
149
 
150
- #: ../src/CycloneSlider/Admin.php:382
151
  #, php-format
152
  msgid "Located inside the plugin directory:<br> <strong>%s</strong>"
153
  msgstr ""
154
 
155
- #: ../src/CycloneSlider/Admin.php:386
156
  #, php-format
157
  msgid "Located inside your currently active theme:<br> <strong>%s</strong>"
158
  msgstr ""
159
 
160
- #: ../src/CycloneSlider/Admin.php:387
161
  #, php-format
162
  msgid ""
163
  "Your template is in danger of being overwritten when you upgrade your theme. "
164
  "Please move it inside %s."
165
  msgstr ""
166
 
167
- #: ../src/CycloneSlider/Admin.php:391
168
  #, php-format
169
  msgid "Located inside wp-content directory:<br> <strong>%s</strong>"
170
  msgstr ""
171
 
172
- #: ../src/CycloneSlider/Admin.php:428
173
  msgid "Slide *"
174
  msgstr "Diapositiva *"
175
 
176
- #: ../src/CycloneSlider/Admin.php:489
177
  msgid "Slideshow Name"
178
  msgstr "Nome Proiettore"
179
 
180
- #: ../src/CycloneSlider/Admin.php:490
181
  msgid "Template"
182
  msgstr "Modello"
183
 
184
- #: ../src/CycloneSlider/Admin.php:491
185
  #, fuzzy
186
  msgid "No. of Slides"
187
  msgstr "Aggiungi alla Diapositiva"
188
 
189
- #: ../src/CycloneSlider/Admin.php:493
190
  msgid "Shortcode"
191
  msgstr "Shortcode"
192
 
193
- #: ../src/CycloneSlider/AssetLoader.php:53
194
  msgid "Select an image"
195
  msgstr "Seleziona una immagine"
196
 
197
- #: ../src/CycloneSlider/AssetLoader.php:54
198
  msgid "Select Images - Use Ctrl + Click or Shift + Click"
199
  msgstr ""
200
 
201
- #: ../src/CycloneSlider/AssetLoader.php:55
202
  msgid "Add to Slide"
203
  msgstr "Aggiungi alla Diapositiva"
204
 
205
- #: ../src/CycloneSlider/AssetLoader.php:56 ../views/slides.php:9
206
  #, fuzzy
207
  msgid "Add Images as Slides"
208
  msgstr "Aggiungi Nuovo Proiettore"
209
 
210
- #: ../src/CycloneSlider/AssetLoader.php:57
211
  msgid "Error. Make sure its a valid YouTube URL."
212
  msgstr ""
213
 
214
- #: ../src/CycloneSlider/Frontend.php:59
 
 
 
 
 
 
 
 
 
215
  #, php-format
216
  msgid "[Slideshow \"%s\" not found]"
217
  msgstr "[Proiettore \"%s\" non trovato]"
218
 
219
- #: ../src/CycloneSlider/Frontend.php:74
220
  #, php-format
221
  msgid "[Template \"%s\" not found]"
222
  msgstr "[Modello \"%s\" non trovato]"
223
 
224
- #: ../src/CycloneSlider/NextgenIntegration.php:34
225
  msgid "NextGEN Integration"
226
  msgstr "Integrazione NextGEN"
227
 
228
- #: ../src/CycloneSlider/NextgenIntegration.php:50
229
  msgid "Choose a NextGEN Gallery"
230
  msgstr "Scegli una Galleria NextGEN"
231
 
232
- #: ../src/CycloneSlider/NextgenIntegration.php:60
233
  msgid "Import"
234
  msgstr "Importa"
235
 
236
- #: ../src/CycloneSlider/NextgenIntegration.php:62
237
  msgid ""
238
  "Select a gallery to import images from. Images will be added as new slides."
239
  msgstr ""
240
  "Seleziona una galleria da cui importare le immagini. Le immagini verranno "
241
  "aggiunte come nuove diapositive."
242
 
243
- #: ../src/CycloneSlider/SettingsPage.php:74
244
  msgid "Default options restored."
245
  msgstr ""
246
 
@@ -253,7 +251,7 @@ msgstr "Cyclone Slider Widget"
253
  msgid "Widget for displaying sliders."
254
  msgstr "Widget per mostrare i Proiettori realizzati con Cyclone Slider."
255
 
256
- #: ../src/CycloneSlider/WidgetSlider.php:65 ../views/slide-edit.php:49
257
  #, fuzzy
258
  msgid "Title:"
259
  msgstr "Titolo"
@@ -376,7 +374,7 @@ msgstr ""
376
  msgid "Vimeo"
377
  msgstr "Video"
378
 
379
- #: ../views/slide-edit.php:29 ../views/slide-edit.php:173
380
  msgid "Custom HTML"
381
  msgstr "HTML Personalizzato"
382
 
@@ -384,140 +382,144 @@ msgstr "HTML Personalizzato"
384
  msgid "Testimonial"
385
  msgstr ""
386
 
387
- #: ../views/slide-edit.php:42
 
 
 
 
388
  msgid "Get Image"
389
  msgstr "Prendi Immagine"
390
 
391
- #: ../views/slide-edit.php:46
392
  msgid "Caption"
393
  msgstr ""
394
 
395
- #: ../views/slide-edit.php:53
396
  #, fuzzy
397
  msgid "Description:"
398
  msgstr "Descrizione"
399
 
400
- #: ../views/slide-edit.php:59 ../views/slide-edit.php:196
401
  msgid "Link"
402
  msgstr "Link"
403
 
404
- #: ../views/slide-edit.php:62 ../views/slide-edit.php:199
405
  msgid "Link URL:"
406
  msgstr "URL Link:"
407
 
408
- #: ../views/slide-edit.php:66 ../views/slide-edit.php:203
409
  msgid "Open Link in:"
410
  msgstr "Apri il link:"
411
 
412
- #: ../views/slide-edit.php:68 ../views/slide-edit.php:205
413
  msgid "Same Window"
414
  msgstr "Stessa Finestra"
415
 
416
- #: ../views/slide-edit.php:69 ../views/slide-edit.php:206
417
  msgid "New Tab or Window"
418
  msgstr "Nuova Scheda o Finestra"
419
 
420
- #: ../views/slide-edit.php:75
421
  msgid "Image Attributes"
422
  msgstr "Attributi Immagine"
423
 
424
- #: ../views/slide-edit.php:78
425
  msgid "Alternate Text:"
426
  msgstr "Testo Alternativo:"
427
 
428
- #: ../views/slide-edit.php:82
429
  msgid "Title Text:"
430
  msgstr "Testo Titolo:"
431
 
432
- #: ../views/slide-edit.php:88
433
  msgid "Slide Transition Effects"
434
  msgstr "Effetti Transizione Diapositiva"
435
 
436
- #: ../views/slide-edit.php:92
437
  msgid "Disable"
438
  msgstr "Disabilita"
439
 
440
- #: ../views/slide-edit.php:93
441
  msgid "Enable Slide Effects"
442
  msgstr "Abilita Effetti"
443
 
444
- #: ../views/slide-edit.php:99
445
  msgid "Transition Effects:"
446
  msgstr "Effetti Transizione:"
447
 
448
- #: ../views/slide-edit.php:110 ../views/slider-properties.php:32
449
  msgid "Transition Effects Speed:"
450
  msgstr "Velocità Effetti Transizione:"
451
 
452
- #: ../views/slide-edit.php:112 ../views/slide-edit.php:119
453
- #: ../views/slider-properties.php:34
454
  msgid "Milliseconds"
455
  msgstr "Millisecondi"
456
 
457
- #: ../views/slide-edit.php:117 ../views/slider-properties.php:26
458
  msgid "Next Slide Delay:"
459
  msgstr "Ritardo Diapositiva Successiva:"
460
 
461
- #: ../views/slide-edit.php:127 ../views/slider-properties.php:13
462
  msgid "Tile Count:"
463
  msgstr "Conteggio Riquadri"
464
 
465
- #: ../views/slide-edit.php:129 ../views/slider-properties.php:15
466
  msgid "The number of tiles to use in the transition."
467
  msgstr "Numero di riquadri da usare nella transizione."
468
 
469
- #: ../views/slide-edit.php:133
470
  msgid "Tile Delay:"
471
  msgstr "Ritardo Riquadri:"
472
 
473
- #: ../views/slide-edit.php:135
474
  msgid "Milliseconds to delay each individual tile transition."
475
  msgstr "I millisecondi per ogni transizione individuale dei riquadri."
476
 
477
- #: ../views/slide-edit.php:139 ../views/slider-properties.php:18
478
  msgid "Tile Position:"
479
  msgstr "Posizione Riquadro:"
480
 
481
- #: ../views/slide-edit.php:141 ../views/slider-properties.php:20
482
  msgid "Vertical"
483
  msgstr "Verticale"
484
 
485
- #: ../views/slide-edit.php:142 ../views/slider-properties.php:21
486
  msgid "Horizontal"
487
  msgstr "Orizzontale"
488
 
489
- #: ../views/slide-edit.php:154
490
  msgid "YouTube URL:"
491
  msgstr ""
492
 
493
- #: ../views/slide-edit.php:156
494
  msgid "Copy and paste a valid YouTube URL here."
495
  msgstr ""
496
 
497
- #: ../views/slide-edit.php:161
498
  msgid "Do not show suggested videos when the video finishes."
499
  msgstr ""
500
 
501
- #: ../views/slide-edit.php:166
502
  #, fuzzy
503
  msgid "Vimeo URL:"
504
  msgstr "URL Video:"
505
 
506
- #: ../views/slide-edit.php:168
507
  #, fuzzy
508
  msgid "Copy and paste a valid Vimeo URL here."
509
  msgstr ""
510
  "Copia e incolla un URL di YouTube o Vimeo e clicca il pulsante Prendi Video."
511
 
512
- #: ../views/slide-edit.php:181
513
  msgid "Quote"
514
  msgstr ""
515
 
516
- #: ../views/slide-edit.php:187
517
  msgid "Author"
518
  msgstr ""
519
 
520
- #: ../views/slide-edit.php:190
521
  msgid "Name:"
522
  msgstr ""
523
 
@@ -526,16 +528,16 @@ msgid "Allow Wrap?"
526
  msgstr ""
527
 
528
  #: ../views/slider-advanced-settings.php:6
529
- #: ../views/slider-advanced-settings.php:44 ../views/slider-properties.php:66
530
- #: ../views/slider-properties.php:74 ../views/slider-properties.php:82
531
- #: ../views/slider-properties.php:92 ../views/slider-properties.php:101
532
  msgid "Yes"
533
  msgstr "Si"
534
 
535
  #: ../views/slider-advanced-settings.php:7
536
- #: ../views/slider-advanced-settings.php:45 ../views/slider-properties.php:67
537
- #: ../views/slider-properties.php:75 ../views/slider-properties.php:83
538
- #: ../views/slider-properties.php:91 ../views/slider-properties.php:100
539
  msgid "No"
540
  msgstr "No"
541
 
@@ -593,27 +595,23 @@ msgstr ""
593
  msgid "Resize Options:"
594
  msgstr "Descrizione"
595
 
596
- #: ../views/slider-advanced-settings.php:61
597
- msgid "Force Resize"
598
- msgstr ""
599
-
600
- #: ../views/slider-advanced-settings.php:63
601
  msgid "Auto - Cyclone Slider decides the resize option."
602
  msgstr ""
603
 
604
- #: ../views/slider-advanced-settings.php:64
605
  msgid "Crop - Resize and remove excess parts."
606
  msgstr ""
607
 
608
- #: ../views/slider-advanced-settings.php:65
609
  msgid "Exact - Resize to exact dimensions."
610
  msgstr ""
611
 
612
- #: ../views/slider-advanced-settings.php:66
613
  msgid "Landscape - Resize to exact width."
614
  msgstr ""
615
 
616
- #: ../views/slider-advanced-settings.php:67
617
  msgid "Portrait - Resize to exact height."
618
  msgstr ""
619
 
@@ -645,91 +643,96 @@ msgstr ""
645
  msgid "Your preview will appear here."
646
  msgstr ""
647
 
648
- #: ../views/slider-properties.php:4
649
  msgid "Transition Effects to Use:"
650
  msgstr "Effetti transizione da usare:"
651
 
652
- #: ../views/slider-properties.php:28
653
  msgid "Milliseconds. 0 to disable auto advance."
654
  msgstr "Millisecondi. 0 per disabilitare auto-avanzamento."
655
 
656
- #: ../views/slider-properties.php:38
657
  msgid "Width:"
658
  msgstr "Larghezza:"
659
 
660
- #: ../views/slider-properties.php:40 ../views/slider-properties.php:46
661
  msgid "pixels."
662
  msgstr "pixels."
663
 
664
- #: ../views/slider-properties.php:44
665
  msgid "Height:"
666
  msgstr "Altezza:"
667
 
668
- #: ../views/slider-properties.php:50
669
  msgid "Width Management:"
670
  msgstr ""
671
 
672
- #: ../views/slider-properties.php:52
673
  msgid "Responsive"
674
  msgstr ""
675
 
676
- #: ../views/slider-properties.php:53
677
  msgid "Full"
678
  msgstr ""
679
 
680
- #: ../views/slider-properties.php:54
681
  msgid "Fixed"
682
  msgstr ""
683
 
684
- #: ../views/slider-properties.php:57
685
  msgid ""
686
  "Responsive - resizes to smaller size but maximum width will be equal to the "
687
  "provided width."
688
  msgstr ""
689
 
690
- #: ../views/slider-properties.php:58
691
  msgid ""
692
  "Full - the same as responsive but maximum width will be equal to its "
693
  "container ignoring the provided width."
694
  msgstr ""
695
 
696
- #: ../views/slider-properties.php:59
697
  msgid "Fixed - width and height are not resized."
698
  msgstr ""
699
 
700
- #: ../views/slider-properties.php:64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
701
  msgid "Pause on Hover?"
702
  msgstr "Pausa al passaggio del mouse?"
703
 
704
- #: ../views/slider-properties.php:72
705
  msgid "Show Prev/Next Buttons?"
706
  msgstr "Mostra Pulsanti Prec./Succ.?"
707
 
708
- #: ../views/slider-properties.php:80
709
  msgid "Show Navigation?"
710
  msgstr "Mostra Navigazione?"
711
 
712
- #: ../views/slider-properties.php:85
713
  msgid "The thumbnails or dots depending on template."
714
  msgstr "Le miniature o i dischi a seconda del modello usato."
715
 
716
- #: ../views/slider-properties.php:89
717
- msgid "Resize Images?"
718
- msgstr "Scala Immagini?"
719
-
720
- #: ../views/slider-properties.php:94
721
- msgid ""
722
- "Yes - resize images to slideshow dimension. <br>No - use the original "
723
- "uploaded image."
724
- msgstr ""
725
- "Si - scala le immagini alle dimensioni del proiettore. <br>No - usa "
726
- "l'immagine originale caricata"
727
-
728
- #: ../views/slider-properties.php:98
729
  msgid "Random Slide Order?"
730
  msgstr "Ordina le Diapositive a caso?"
731
 
732
- #: ../views/slider-properties.php:103
733
  msgid "Randomize order of slides on every page visit."
734
  msgstr "Ordina a caso le diapositive ad ogni visita della pagina."
735
 
@@ -754,6 +757,18 @@ msgstr ""
754
  msgid "Selected"
755
  msgstr "Cancella"
756
 
 
 
 
 
 
 
 
 
 
 
 
 
757
  #, fuzzy
758
  #~ msgid "Export"
759
  #~ msgstr "Importa"
2
  msgstr ""
3
  "Project-Id-Version: Cyclone Slider\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-03-15 13:42+0800\n"
6
+ "PO-Revision-Date: 2015-03-15 13:44+0800\n"
7
  "Last-Translator: Nico Amarilla <kosinix@codefleet.net>\n"
8
  "Language-Team: Max Guglielmino <info@maxguglielmino.com>\n"
9
  "Language: it_IT\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
  "X-Poedit-SearchPath-1: ..\n"
20
 
21
+ #: ../cyclone-slider.php:104
22
  #, fuzzy
23
  msgid "Cyclone Slider Settings"
24
  msgstr "Cyclone Slider Widget"
25
 
26
+ #: ../cyclone-slider.php:105
27
  #, fuzzy
28
  msgid "Settings"
29
  msgstr "Impostazioni Proiettore"
30
 
31
+ #: ../src/CycloneSlider/Admin.php:97
32
  msgid "Cyclone Slider"
33
  msgstr "Cyclone Slider"
34
 
35
+ #: ../src/CycloneSlider/Admin.php:98
36
  msgid "Slideshow"
37
  msgstr "Proiettore"
38
 
39
+ #: ../src/CycloneSlider/Admin.php:99
40
  msgid "Add Slideshow"
41
  msgstr "Aggiungi Proiettore"
42
 
43
+ #: ../src/CycloneSlider/Admin.php:100
44
  msgid "Add New Slideshow"
45
  msgstr "Aggiungi Nuovo Proiettore"
46
 
47
+ #: ../src/CycloneSlider/Admin.php:101
48
  msgid "Edit Slideshow"
49
  msgstr "Modifica Proiettore"
50
 
51
+ #: ../src/CycloneSlider/Admin.php:102
52
  msgid "New Slideshow"
53
  msgstr "Nuovo Proiettore"
54
 
55
+ #: ../src/CycloneSlider/Admin.php:103
56
  msgid "View Slideshow"
57
  msgstr "Visualizza Proiettore"
58
 
59
+ #: ../src/CycloneSlider/Admin.php:104
60
  msgid "Search Slideshows"
61
  msgstr "Cerca Proiettori"
62
 
63
+ #: ../src/CycloneSlider/Admin.php:105
64
  msgid "No slideshows found"
65
  msgstr "Nessun proiettore trovato"
66
 
67
+ #: ../src/CycloneSlider/Admin.php:106
68
  msgid "No slideshows found in Trash"
69
  msgstr "Nessun proiettore trovato nel cestino"
70
 
71
+ #: ../src/CycloneSlider/Admin.php:150 ../src/CycloneSlider/Admin.php:153
72
+ #: ../src/CycloneSlider/Admin.php:154 ../src/CycloneSlider/Admin.php:157
73
+ #: ../src/CycloneSlider/Admin.php:158 ../src/CycloneSlider/Admin.php:159
74
  msgid "Slideshow updated."
75
  msgstr "Proiettore aggiornato."
76
 
77
+ #: ../src/CycloneSlider/Admin.php:151
78
  msgid "Custom field updated."
79
  msgstr "Campo personalizzato aggiornato."
80
 
81
+ #: ../src/CycloneSlider/Admin.php:152
82
  msgid "Custom field deleted."
83
  msgstr "Campo personalizzato cancellato."
84
 
85
+ #: ../src/CycloneSlider/Admin.php:155
86
  #, fuzzy
87
  msgid "Slideshow published."
88
  msgstr "Proiettore salvato."
89
 
90
+ #: ../src/CycloneSlider/Admin.php:156
91
  msgid "Slideshow saved."
92
  msgstr "Proiettore salvato."
93
 
94
+ #: ../src/CycloneSlider/Admin.php:193
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
  msgid "Slides"
96
  msgstr "Diapositive"
97
 
98
+ #: ../src/CycloneSlider/Admin.php:202
99
  #, fuzzy
100
  msgid "Slider Preview"
101
  msgstr "Proprietà Diapositiva:"
102
 
103
+ #: ../src/CycloneSlider/Admin.php:211
104
  #, fuzzy
105
  msgid "Get Slider Codes"
106
  msgstr "Prendi Video"
107
 
108
+ #: ../src/CycloneSlider/Admin.php:220
109
  #, fuzzy
110
  msgid "Basic Settings"
111
  msgstr "Impostazioni Proiettore"
112
 
113
+ #: ../src/CycloneSlider/Admin.php:229
114
  #, fuzzy
115
  msgid "Advanced Settings"
116
  msgstr "Impostazioni Proiettore"
117
 
118
+ #: ../src/CycloneSlider/Admin.php:238
119
  #, fuzzy
120
  msgid "Templates"
121
  msgstr "Modello"
122
 
123
+ #: ../src/CycloneSlider/Admin.php:247 ../src/CycloneSlider/Admin.php:512
124
  msgid "Slideshow ID"
125
  msgstr "ID Proiettore"
126
 
127
+ #: ../src/CycloneSlider/Admin.php:273
128
  msgid "Slide"
129
  msgstr "Diapositiva"
130
 
131
+ #: ../src/CycloneSlider/Admin.php:278
132
+ msgid "[Hidden]"
133
+ msgstr ""
134
+
135
+ #: ../src/CycloneSlider/Admin.php:401
136
  msgid "Core"
137
  msgstr ""
138
 
139
+ #: ../src/CycloneSlider/Admin.php:402
140
  #, php-format
141
  msgid "Located inside the plugin directory:<br> <strong>%s</strong>"
142
  msgstr ""
143
 
144
+ #: ../src/CycloneSlider/Admin.php:406
145
  #, php-format
146
  msgid "Located inside your currently active theme:<br> <strong>%s</strong>"
147
  msgstr ""
148
 
149
+ #: ../src/CycloneSlider/Admin.php:407
150
  #, php-format
151
  msgid ""
152
  "Your template is in danger of being overwritten when you upgrade your theme. "
153
  "Please move it inside %s."
154
  msgstr ""
155
 
156
+ #: ../src/CycloneSlider/Admin.php:411
157
  #, php-format
158
  msgid "Located inside wp-content directory:<br> <strong>%s</strong>"
159
  msgstr ""
160
 
161
+ #: ../src/CycloneSlider/Admin.php:448
162
  msgid "Slide *"
163
  msgstr "Diapositiva *"
164
 
165
+ #: ../src/CycloneSlider/Admin.php:509
166
  msgid "Slideshow Name"
167
  msgstr "Nome Proiettore"
168
 
169
+ #: ../src/CycloneSlider/Admin.php:510
170
  msgid "Template"
171
  msgstr "Modello"
172
 
173
+ #: ../src/CycloneSlider/Admin.php:511
174
  #, fuzzy
175
  msgid "No. of Slides"
176
  msgstr "Aggiungi alla Diapositiva"
177
 
178
+ #: ../src/CycloneSlider/Admin.php:513
179
  msgid "Shortcode"
180
  msgstr "Shortcode"
181
 
182
+ #: ../src/CycloneSlider/AssetLoader.php:59
183
  msgid "Select an image"
184
  msgstr "Seleziona una immagine"
185
 
186
+ #: ../src/CycloneSlider/AssetLoader.php:60
187
  msgid "Select Images - Use Ctrl + Click or Shift + Click"
188
  msgstr ""
189
 
190
+ #: ../src/CycloneSlider/AssetLoader.php:61
191
  msgid "Add to Slide"
192
  msgstr "Aggiungi alla Diapositiva"
193
 
194
+ #: ../src/CycloneSlider/AssetLoader.php:62 ../views/slides.php:9
195
  #, fuzzy
196
  msgid "Add Images as Slides"
197
  msgstr "Aggiungi Nuovo Proiettore"
198
 
199
+ #: ../src/CycloneSlider/AssetLoader.php:63
200
  msgid "Error. Make sure its a valid YouTube URL."
201
  msgstr ""
202
 
203
+ #: ../src/CycloneSlider/ExportPage.php:36
204
+ msgid "Export settings cleared."
205
+ msgstr ""
206
+
207
+ #: ../src/CycloneSlider/ExportPage.php:42
208
+ #, fuzzy
209
+ msgid "No sliders selected."
210
+ msgstr "Nessun proiettore trovato."
211
+
212
+ #: ../src/CycloneSlider/Frontend.php:72
213
  #, php-format
214
  msgid "[Slideshow \"%s\" not found]"
215
  msgstr "[Proiettore \"%s\" non trovato]"
216
 
217
+ #: ../src/CycloneSlider/Frontend.php:88
218
  #, php-format
219
  msgid "[Template \"%s\" not found]"
220
  msgstr "[Modello \"%s\" non trovato]"
221
 
222
+ #: ../src/CycloneSlider/NextgenIntegration.php:39
223
  msgid "NextGEN Integration"
224
  msgstr "Integrazione NextGEN"
225
 
226
+ #: ../src/CycloneSlider/NextgenIntegration.php:55
227
  msgid "Choose a NextGEN Gallery"
228
  msgstr "Scegli una Galleria NextGEN"
229
 
230
+ #: ../src/CycloneSlider/NextgenIntegration.php:65
231
  msgid "Import"
232
  msgstr "Importa"
233
 
234
+ #: ../src/CycloneSlider/NextgenIntegration.php:67
235
  msgid ""
236
  "Select a gallery to import images from. Images will be added as new slides."
237
  msgstr ""
238
  "Seleziona una galleria da cui importare le immagini. Le immagini verranno "
239
  "aggiunte come nuove diapositive."
240
 
241
+ #: ../src/CycloneSlider/SettingsPage.php:54
242
  msgid "Default options restored."
243
  msgstr ""
244
 
251
  msgid "Widget for displaying sliders."
252
  msgstr "Widget per mostrare i Proiettori realizzati con Cyclone Slider."
253
 
254
+ #: ../src/CycloneSlider/WidgetSlider.php:65 ../views/slide-edit.php:54
255
  #, fuzzy
256
  msgid "Title:"
257
  msgstr "Titolo"
374
  msgid "Vimeo"
375
  msgstr "Video"
376
 
377
+ #: ../views/slide-edit.php:29 ../views/slide-edit.php:178
378
  msgid "Custom HTML"
379
  msgstr "HTML Personalizzato"
380
 
382
  msgid "Testimonial"
383
  msgstr ""
384
 
385
+ #: ../views/slide-edit.php:35
386
+ msgid "Hide"
387
+ msgstr ""
388
+
389
+ #: ../views/slide-edit.php:47
390
  msgid "Get Image"
391
  msgstr "Prendi Immagine"
392
 
393
+ #: ../views/slide-edit.php:51
394
  msgid "Caption"
395
  msgstr ""
396
 
397
+ #: ../views/slide-edit.php:58
398
  #, fuzzy
399
  msgid "Description:"
400
  msgstr "Descrizione"
401
 
402
+ #: ../views/slide-edit.php:64 ../views/slide-edit.php:201
403
  msgid "Link"
404
  msgstr "Link"
405
 
406
+ #: ../views/slide-edit.php:67 ../views/slide-edit.php:204
407
  msgid "Link URL:"
408
  msgstr "URL Link:"
409
 
410
+ #: ../views/slide-edit.php:71 ../views/slide-edit.php:208
411
  msgid "Open Link in:"
412
  msgstr "Apri il link:"
413
 
414
+ #: ../views/slide-edit.php:73 ../views/slide-edit.php:210
415
  msgid "Same Window"
416
  msgstr "Stessa Finestra"
417
 
418
+ #: ../views/slide-edit.php:74 ../views/slide-edit.php:211
419
  msgid "New Tab or Window"
420
  msgstr "Nuova Scheda o Finestra"
421
 
422
+ #: ../views/slide-edit.php:80
423
  msgid "Image Attributes"
424
  msgstr "Attributi Immagine"
425
 
426
+ #: ../views/slide-edit.php:83
427
  msgid "Alternate Text:"
428
  msgstr "Testo Alternativo:"
429
 
430
+ #: ../views/slide-edit.php:87
431
  msgid "Title Text:"
432
  msgstr "Testo Titolo:"
433
 
434
+ #: ../views/slide-edit.php:93
435
  msgid "Slide Transition Effects"
436
  msgstr "Effetti Transizione Diapositiva"
437
 
438
+ #: ../views/slide-edit.php:97
439
  msgid "Disable"
440
  msgstr "Disabilita"
441
 
442
+ #: ../views/slide-edit.php:98
443
  msgid "Enable Slide Effects"
444
  msgstr "Abilita Effetti"
445
 
446
+ #: ../views/slide-edit.php:104
447
  msgid "Transition Effects:"
448
  msgstr "Effetti Transizione:"
449
 
450
+ #: ../views/slide-edit.php:115 ../views/slider-settings.php:32
451
  msgid "Transition Effects Speed:"
452
  msgstr "Velocità Effetti Transizione:"
453
 
454
+ #: ../views/slide-edit.php:117 ../views/slide-edit.php:124
455
+ #: ../views/slider-settings.php:34
456
  msgid "Milliseconds"
457
  msgstr "Millisecondi"
458
 
459
+ #: ../views/slide-edit.php:122 ../views/slider-settings.php:26
460
  msgid "Next Slide Delay:"
461
  msgstr "Ritardo Diapositiva Successiva:"
462
 
463
+ #: ../views/slide-edit.php:132 ../views/slider-settings.php:13
464
  msgid "Tile Count:"
465
  msgstr "Conteggio Riquadri"
466
 
467
+ #: ../views/slide-edit.php:134 ../views/slider-settings.php:15
468
  msgid "The number of tiles to use in the transition."
469
  msgstr "Numero di riquadri da usare nella transizione."
470
 
471
+ #: ../views/slide-edit.php:138
472
  msgid "Tile Delay:"
473
  msgstr "Ritardo Riquadri:"
474
 
475
+ #: ../views/slide-edit.php:140
476
  msgid "Milliseconds to delay each individual tile transition."
477
  msgstr "I millisecondi per ogni transizione individuale dei riquadri."
478
 
479
+ #: ../views/slide-edit.php:144 ../views/slider-settings.php:18
480
  msgid "Tile Position:"
481
  msgstr "Posizione Riquadro:"
482
 
483
+ #: ../views/slide-edit.php:146 ../views/slider-settings.php:20
484
  msgid "Vertical"
485
  msgstr "Verticale"
486
 
487
+ #: ../views/slide-edit.php:147 ../views/slider-settings.php:21
488
  msgid "Horizontal"
489
  msgstr "Orizzontale"
490
 
491
+ #: ../views/slide-edit.php:159
492
  msgid "YouTube URL:"
493
  msgstr ""
494
 
495
+ #: ../views/slide-edit.php:161
496
  msgid "Copy and paste a valid YouTube URL here."
497
  msgstr ""
498
 
499
+ #: ../views/slide-edit.php:166
500
  msgid "Do not show suggested videos when the video finishes."
501
  msgstr ""
502
 
503
+ #: ../views/slide-edit.php:171
504
  #, fuzzy
505
  msgid "Vimeo URL:"
506
  msgstr "URL Video:"
507
 
508
+ #: ../views/slide-edit.php:173
509
  #, fuzzy
510
  msgid "Copy and paste a valid Vimeo URL here."
511
  msgstr ""
512
  "Copia e incolla un URL di YouTube o Vimeo e clicca il pulsante Prendi Video."
513
 
514
+ #: ../views/slide-edit.php:186
515
  msgid "Quote"
516
  msgstr ""
517
 
518
+ #: ../views/slide-edit.php:192
519
  msgid "Author"
520
  msgstr ""
521
 
522
+ #: ../views/slide-edit.php:195
523
  msgid "Name:"
524
  msgstr ""
525
 
528
  msgstr ""
529
 
530
  #: ../views/slider-advanced-settings.php:6
531
+ #: ../views/slider-advanced-settings.php:44 ../views/slider-settings.php:67
532
+ #: ../views/slider-settings.php:78 ../views/slider-settings.php:86
533
+ #: ../views/slider-settings.php:94 ../views/slider-settings.php:104
534
  msgid "Yes"
535
  msgstr "Si"
536
 
537
  #: ../views/slider-advanced-settings.php:7
538
+ #: ../views/slider-advanced-settings.php:45 ../views/slider-settings.php:66
539
+ #: ../views/slider-settings.php:79 ../views/slider-settings.php:87
540
+ #: ../views/slider-settings.php:95 ../views/slider-settings.php:103
541
  msgid "No"
542
  msgstr "No"
543
 
595
  msgid "Resize Options:"
596
  msgstr "Descrizione"
597
 
598
+ #: ../views/slider-advanced-settings.php:60
 
 
 
 
599
  msgid "Auto - Cyclone Slider decides the resize option."
600
  msgstr ""
601
 
602
+ #: ../views/slider-advanced-settings.php:61
603
  msgid "Crop - Resize and remove excess parts."
604
  msgstr ""
605
 
606
+ #: ../views/slider-advanced-settings.php:62
607
  msgid "Exact - Resize to exact dimensions."
608
  msgstr ""
609
 
610
+ #: ../views/slider-advanced-settings.php:63
611
  msgid "Landscape - Resize to exact width."
612
  msgstr ""
613
 
614
+ #: ../views/slider-advanced-settings.php:64
615
  msgid "Portrait - Resize to exact height."
616
  msgstr ""
617
 
643
  msgid "Your preview will appear here."
644
  msgstr ""
645
 
646
+ #: ../views/slider-settings.php:4
647
  msgid "Transition Effects to Use:"
648
  msgstr "Effetti transizione da usare:"
649
 
650
+ #: ../views/slider-settings.php:28
651
  msgid "Milliseconds. 0 to disable auto advance."
652
  msgstr "Millisecondi. 0 per disabilitare auto-avanzamento."
653
 
654
+ #: ../views/slider-settings.php:38
655
  msgid "Width:"
656
  msgstr "Larghezza:"
657
 
658
+ #: ../views/slider-settings.php:40 ../views/slider-settings.php:46
659
  msgid "pixels."
660
  msgstr "pixels."
661
 
662
+ #: ../views/slider-settings.php:44
663
  msgid "Height:"
664
  msgstr "Altezza:"
665
 
666
+ #: ../views/slider-settings.php:50
667
  msgid "Width Management:"
668
  msgstr ""
669
 
670
+ #: ../views/slider-settings.php:52
671
  msgid "Responsive"
672
  msgstr ""
673
 
674
+ #: ../views/slider-settings.php:53
675
  msgid "Full"
676
  msgstr ""
677
 
678
+ #: ../views/slider-settings.php:54
679
  msgid "Fixed"
680
  msgstr ""
681
 
682
+ #: ../views/slider-settings.php:57
683
  msgid ""
684
  "Responsive - resizes to smaller size but maximum width will be equal to the "
685
  "provided width."
686
  msgstr ""
687
 
688
+ #: ../views/slider-settings.php:58
689
  msgid ""
690
  "Full - the same as responsive but maximum width will be equal to its "
691
  "container ignoring the provided width."
692
  msgstr ""
693
 
694
+ #: ../views/slider-settings.php:59
695
  msgid "Fixed - width and height are not resized."
696
  msgstr ""
697
 
698
+ #: ../views/slider-settings.php:64
699
+ msgid "Resize Images?"
700
+ msgstr "Scala Immagini?"
701
+
702
+ #: ../views/slider-settings.php:71
703
+ msgid "Force Resize"
704
+ msgstr ""
705
+
706
+ #: ../views/slider-settings.php:72
707
+ #, fuzzy
708
+ msgid ""
709
+ "Yes - resize images to slideshow dimension. <br>No - use the original "
710
+ "uploaded image. <br>Force Resize - Regenerate all images and thumbnails."
711
+ msgstr ""
712
+ "Si - scala le immagini alle dimensioni del proiettore. <br>No - usa "
713
+ "l'immagine originale caricata"
714
+
715
+ #: ../views/slider-settings.php:76
716
  msgid "Pause on Hover?"
717
  msgstr "Pausa al passaggio del mouse?"
718
 
719
+ #: ../views/slider-settings.php:84
720
  msgid "Show Prev/Next Buttons?"
721
  msgstr "Mostra Pulsanti Prec./Succ.?"
722
 
723
+ #: ../views/slider-settings.php:92
724
  msgid "Show Navigation?"
725
  msgstr "Mostra Navigazione?"
726
 
727
+ #: ../views/slider-settings.php:97
728
  msgid "The thumbnails or dots depending on template."
729
  msgstr "Le miniature o i dischi a seconda del modello usato."
730
 
731
+ #: ../views/slider-settings.php:101
 
 
 
 
 
 
 
 
 
 
 
 
732
  msgid "Random Slide Order?"
733
  msgstr "Ordina le Diapositive a caso?"
734
 
735
+ #: ../views/slider-settings.php:106
736
  msgid "Randomize order of slides on every page visit."
737
  msgstr "Ordina a caso le diapositive ad ogni visita della pagina."
738
 
757
  msgid "Selected"
758
  msgstr "Cancella"
759
 
760
+ #~ msgid ""
761
+ #~ "Templates CSS could not be saved. Make sure %stemplates.css is writable."
762
+ #~ msgstr ""
763
+ #~ "Non è stato possibile salvare il modello CSS. Assicurarsi che %stemplates."
764
+ #~ "css sia scrivibile."
765
+
766
+ #~ msgid ""
767
+ #~ "Templates JS could not be saved. Make sure %stemplates.js is writable."
768
+ #~ msgstr ""
769
+ #~ "Non è stato possibile salvare il modello JS. Assicurarsi che %stemplates."
770
+ #~ "js sia scrivibile."
771
+
772
  #, fuzzy
773
  #~ msgid "Export"
774
  #~ msgstr "Importa"
lang/cycloneslider-sr_RS.mo CHANGED
Binary file
lang/cycloneslider-sr_RS.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Cyclone Slider\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-12-19 17:59+0800\n"
6
- "PO-Revision-Date: 2014-12-19 17:59+0800\n"
7
  "Last-Translator: Nico Amarilla <kosinix@codefleet.net>\n"
8
  "Language-Team: kosinix <kosinix@codefleet.net>\n"
9
  "Language: en_US\n"
@@ -17,219 +17,217 @@ msgstr ""
17
  "X-Poedit-SearchPath-0: .\n"
18
  "X-Poedit-SearchPath-1: ..\n"
19
 
20
- #: ../cyclone-slider.php:91
21
  msgid "Cyclone Slider Settings"
22
  msgstr "Cyclone Slider Postavke"
23
 
24
- #: ../cyclone-slider.php:92
25
  msgid "Settings"
26
  msgstr "Postavke"
27
 
28
- #: ../src/CycloneSlider/Admin.php:80
29
  msgid "Cyclone Slider"
30
  msgstr "Cyclone Slider"
31
 
32
- #: ../src/CycloneSlider/Admin.php:81
33
  msgid "Slideshow"
34
  msgstr "Slideshow"
35
 
36
- #: ../src/CycloneSlider/Admin.php:82
37
  msgid "Add Slideshow"
38
  msgstr "Dodaj prezentaciju"
39
 
40
- #: ../src/CycloneSlider/Admin.php:83
41
  msgid "Add New Slideshow"
42
  msgstr "Dodaj novu prezentaciju"
43
 
44
- #: ../src/CycloneSlider/Admin.php:84
45
  msgid "Edit Slideshow"
46
  msgstr "Uredi prezentaciju"
47
 
48
- #: ../src/CycloneSlider/Admin.php:85
49
  msgid "New Slideshow"
50
  msgstr "Nova prezentacija"
51
 
52
- #: ../src/CycloneSlider/Admin.php:86
53
  msgid "View Slideshow"
54
  msgstr "Pregledaj prezentaciju"
55
 
56
- #: ../src/CycloneSlider/Admin.php:87
57
  msgid "Search Slideshows"
58
  msgstr "Pretraži prezentaciju"
59
 
60
- #: ../src/CycloneSlider/Admin.php:88
61
  msgid "No slideshows found"
62
  msgstr "Prezentacija nije pronađena"
63
 
64
- #: ../src/CycloneSlider/Admin.php:89
65
  msgid "No slideshows found in Trash"
66
  msgstr "U korpi nije pronađena nijedna prezentacija"
67
 
68
- #: ../src/CycloneSlider/Admin.php:133 ../src/CycloneSlider/Admin.php:136
69
- #: ../src/CycloneSlider/Admin.php:137 ../src/CycloneSlider/Admin.php:140
70
- #: ../src/CycloneSlider/Admin.php:141 ../src/CycloneSlider/Admin.php:142
71
  msgid "Slideshow updated."
72
  msgstr "Prezentacija ažurirana"
73
 
74
- #: ../src/CycloneSlider/Admin.php:134
75
  msgid "Custom field updated."
76
  msgstr "Priolagođeno polje ažurirano"
77
 
78
- #: ../src/CycloneSlider/Admin.php:135
79
  msgid "Custom field deleted."
80
  msgstr "Prilagođeno polje obrisano"
81
 
82
- #: ../src/CycloneSlider/Admin.php:138
83
  msgid "Slideshow published."
84
  msgstr "Prezentacija objavljena"
85
 
86
- #: ../src/CycloneSlider/Admin.php:139
87
  msgid "Slideshow saved."
88
  msgstr "Prezentacija sačuvana"
89
 
90
- #: ../src/CycloneSlider/Admin.php:143
91
- #, php-format
92
- msgid ""
93
- "Templates CSS could not be saved. Make sure %stemplates.css is writable."
94
- msgstr ""
95
- "CSS šabloni ne mogu se sačuvati. Proverite da li su %s obrasci raspoloživi "
96
- "za css pisanje."
97
-
98
- #: ../src/CycloneSlider/Admin.php:144
99
- #, php-format
100
- msgid "Templates JS could not be saved. Make sure %stemplates.js is writable."
101
- msgstr ""
102
- "JS šabloni ne mogu se sačuvati. Proverite da li su %s obrasci raspoloživi za "
103
- "js pisanje."
104
-
105
- #: ../src/CycloneSlider/Admin.php:178
106
  msgid "Slides"
107
  msgstr "Slajdovi"
108
 
109
- #: ../src/CycloneSlider/Admin.php:187
110
  msgid "Slider Preview"
111
  msgstr "Pregled slajdera"
112
 
113
- #: ../src/CycloneSlider/Admin.php:196
114
  msgid "Get Slider Codes"
115
  msgstr "Izlistaj kodove slajdera"
116
 
117
- #: ../src/CycloneSlider/Admin.php:205
118
  msgid "Basic Settings"
119
  msgstr "Osnovne postavke"
120
 
121
- #: ../src/CycloneSlider/Admin.php:214
122
  msgid "Advanced Settings"
123
  msgstr "Napredne postavke"
124
 
125
- #: ../src/CycloneSlider/Admin.php:223
126
  msgid "Templates"
127
  msgstr "Šabloni"
128
 
129
- #: ../src/CycloneSlider/Admin.php:232 ../src/CycloneSlider/Admin.php:492
130
  msgid "Slideshow ID"
131
  msgstr "ID prezentacije"
132
 
133
- #: ../src/CycloneSlider/Admin.php:258
134
  msgid "Slide"
135
  msgstr "Slajd "
136
 
137
- #: ../src/CycloneSlider/Admin.php:381
 
 
 
 
138
  msgid "Core"
139
  msgstr ""
140
 
141
- #: ../src/CycloneSlider/Admin.php:382
142
  #, php-format
143
  msgid "Located inside the plugin directory:<br> <strong>%s</strong>"
144
  msgstr ""
145
 
146
- #: ../src/CycloneSlider/Admin.php:386
147
  #, php-format
148
  msgid "Located inside your currently active theme:<br> <strong>%s</strong>"
149
  msgstr ""
150
 
151
- #: ../src/CycloneSlider/Admin.php:387
152
  #, php-format
153
  msgid ""
154
  "Your template is in danger of being overwritten when you upgrade your theme. "
155
  "Please move it inside %s."
156
  msgstr ""
157
 
158
- #: ../src/CycloneSlider/Admin.php:391
159
  #, php-format
160
  msgid "Located inside wp-content directory:<br> <strong>%s</strong>"
161
  msgstr ""
162
 
163
- #: ../src/CycloneSlider/Admin.php:428
164
  msgid "Slide *"
165
  msgstr "Slajd *"
166
 
167
- #: ../src/CycloneSlider/Admin.php:489
168
  msgid "Slideshow Name"
169
  msgstr "Naziv prezentacije"
170
 
171
- #: ../src/CycloneSlider/Admin.php:490
172
  msgid "Template"
173
  msgstr "Šablon"
174
 
175
- #: ../src/CycloneSlider/Admin.php:491
176
  msgid "No. of Slides"
177
  msgstr "Broj slajda"
178
 
179
- #: ../src/CycloneSlider/Admin.php:493
180
  msgid "Shortcode"
181
  msgstr "Shortcode"
182
 
183
- #: ../src/CycloneSlider/AssetLoader.php:53
184
  msgid "Select an image"
185
  msgstr "Odaberi sliku"
186
 
187
- #: ../src/CycloneSlider/AssetLoader.php:54
188
  msgid "Select Images - Use Ctrl + Click or Shift + Click"
189
  msgstr ""
190
 
191
- #: ../src/CycloneSlider/AssetLoader.php:55
192
  msgid "Add to Slide"
193
  msgstr "Dodaj slajdu"
194
 
195
- #: ../src/CycloneSlider/AssetLoader.php:56 ../views/slides.php:9
196
  #, fuzzy
197
  msgid "Add Images as Slides"
198
  msgstr "Dodaj novu prezentaciju"
199
 
200
- #: ../src/CycloneSlider/AssetLoader.php:57
201
  msgid "Error. Make sure its a valid YouTube URL."
202
  msgstr "Greška: Proverite da li je YouTube URL validan."
203
 
204
- #: ../src/CycloneSlider/Frontend.php:59
 
 
 
 
 
 
 
 
 
205
  #, php-format
206
  msgid "[Slideshow \"%s\" not found]"
207
  msgstr "[Prezentacija \"%s\" nije pronađena]"
208
 
209
- #: ../src/CycloneSlider/Frontend.php:74
210
  #, php-format
211
  msgid "[Template \"%s\" not found]"
212
  msgstr "[Šablon \"%s\" nije pronađen]"
213
 
214
- #: ../src/CycloneSlider/NextgenIntegration.php:34
215
  msgid "NextGEN Integration"
216
  msgstr "NextGEN Integracija"
217
 
218
- #: ../src/CycloneSlider/NextgenIntegration.php:50
219
  msgid "Choose a NextGEN Gallery"
220
  msgstr "Izaberi NextGEN galeriju"
221
 
222
- #: ../src/CycloneSlider/NextgenIntegration.php:60
223
  msgid "Import"
224
  msgstr "Uvoz"
225
 
226
- #: ../src/CycloneSlider/NextgenIntegration.php:62
227
  msgid ""
228
  "Select a gallery to import images from. Images will be added as new slides."
229
  msgstr ""
230
  "Odaberi galeriju za uvoz slika. Slike će biti dodate kao novi slajdovi."
231
 
232
- #: ../src/CycloneSlider/SettingsPage.php:74
233
  msgid "Default options restored."
234
  msgstr "Standardne opcije ponovo uspostavljene."
235
 
@@ -241,7 +239,7 @@ msgstr "Cyclone Slider Widget"
241
  msgid "Widget for displaying sliders."
242
  msgstr "Widget za prikazivanje slajdera"
243
 
244
- #: ../src/CycloneSlider/WidgetSlider.php:65 ../views/slide-edit.php:49
245
  msgid "Title:"
246
  msgstr "Naslov:"
247
 
@@ -361,7 +359,7 @@ msgstr "YouTube"
361
  msgid "Vimeo"
362
  msgstr "Vimeo"
363
 
364
- #: ../views/slide-edit.php:29 ../views/slide-edit.php:173
365
  msgid "Custom HTML"
366
  msgstr "prilagođeni HTML"
367
 
@@ -369,136 +367,140 @@ msgstr "prilagođeni HTML"
369
  msgid "Testimonial"
370
  msgstr ""
371
 
372
- #: ../views/slide-edit.php:42
 
 
 
 
373
  msgid "Get Image"
374
  msgstr "Uzmi sliku"
375
 
376
- #: ../views/slide-edit.php:46
377
  msgid "Caption"
378
  msgstr "Naslov"
379
 
380
- #: ../views/slide-edit.php:53
381
  msgid "Description:"
382
  msgstr "Opsi"
383
 
384
- #: ../views/slide-edit.php:59 ../views/slide-edit.php:196
385
  msgid "Link"
386
  msgstr "Link"
387
 
388
- #: ../views/slide-edit.php:62 ../views/slide-edit.php:199
389
  msgid "Link URL:"
390
  msgstr "Link URL:"
391
 
392
- #: ../views/slide-edit.php:66 ../views/slide-edit.php:203
393
  msgid "Open Link in:"
394
  msgstr "Otvori link u"
395
 
396
- #: ../views/slide-edit.php:68 ../views/slide-edit.php:205
397
  msgid "Same Window"
398
  msgstr "Istom prozoru"
399
 
400
- #: ../views/slide-edit.php:69 ../views/slide-edit.php:206
401
  msgid "New Tab or Window"
402
  msgstr "Novoj kartici ili novom prozoru"
403
 
404
- #: ../views/slide-edit.php:75
405
  msgid "Image Attributes"
406
  msgstr "Atributi slike"
407
 
408
- #: ../views/slide-edit.php:78
409
  msgid "Alternate Text:"
410
  msgstr "Alternativni tekst"
411
 
412
- #: ../views/slide-edit.php:82
413
  msgid "Title Text:"
414
  msgstr "Tekst titla"
415
 
416
- #: ../views/slide-edit.php:88
417
  msgid "Slide Transition Effects"
418
  msgstr "Efekti tranzicije slajdova"
419
 
420
- #: ../views/slide-edit.php:92
421
  msgid "Disable"
422
  msgstr "Deaktiviraj"
423
 
424
- #: ../views/slide-edit.php:93
425
  msgid "Enable Slide Effects"
426
  msgstr "Aktiviraj efekte slajda"
427
 
428
- #: ../views/slide-edit.php:99
429
  msgid "Transition Effects:"
430
  msgstr "Tranzicioni efekti"
431
 
432
- #: ../views/slide-edit.php:110 ../views/slider-properties.php:32
433
  msgid "Transition Effects Speed:"
434
  msgstr "Brzina tranzicionih efekata"
435
 
436
- #: ../views/slide-edit.php:112 ../views/slide-edit.php:119
437
- #: ../views/slider-properties.php:34
438
  msgid "Milliseconds"
439
  msgstr "Milisekunde"
440
 
441
- #: ../views/slide-edit.php:117 ../views/slider-properties.php:26
442
  msgid "Next Slide Delay:"
443
  msgstr "Odlaganje sledećeg slajda"
444
 
445
- #: ../views/slide-edit.php:127 ../views/slider-properties.php:13
446
  msgid "Tile Count:"
447
  msgstr "Broj pločica"
448
 
449
- #: ../views/slide-edit.php:129 ../views/slider-properties.php:15
450
  msgid "The number of tiles to use in the transition."
451
  msgstr "Broj pločica u tranziciji"
452
 
453
- #: ../views/slide-edit.php:133
454
  msgid "Tile Delay:"
455
  msgstr "Odlaganje"
456
 
457
- #: ../views/slide-edit.php:135
458
  msgid "Milliseconds to delay each individual tile transition."
459
  msgstr "Milisekunde za odlaganje tranzicije svake pojedine pločice."
460
 
461
- #: ../views/slide-edit.php:139 ../views/slider-properties.php:18
462
  msgid "Tile Position:"
463
  msgstr "Pozicija pločice:"
464
 
465
- #: ../views/slide-edit.php:141 ../views/slider-properties.php:20
466
  msgid "Vertical"
467
  msgstr "Vertikalna"
468
 
469
- #: ../views/slide-edit.php:142 ../views/slider-properties.php:21
470
  msgid "Horizontal"
471
  msgstr "Horizontalna"
472
 
473
- #: ../views/slide-edit.php:154
474
  msgid "YouTube URL:"
475
  msgstr "YouTube URL:"
476
 
477
- #: ../views/slide-edit.php:156
478
  msgid "Copy and paste a valid YouTube URL here."
479
  msgstr "Ovde kopirajte i nalepite validan YouTube URL: "
480
 
481
- #: ../views/slide-edit.php:161
482
  msgid "Do not show suggested videos when the video finishes."
483
  msgstr ""
484
 
485
- #: ../views/slide-edit.php:166
486
  msgid "Vimeo URL:"
487
  msgstr "Vimeo URL:"
488
 
489
- #: ../views/slide-edit.php:168
490
  msgid "Copy and paste a valid Vimeo URL here."
491
  msgstr "Ovde kopirajte i nalepite validan Vimeo URL:"
492
 
493
- #: ../views/slide-edit.php:181
494
  msgid "Quote"
495
  msgstr ""
496
 
497
- #: ../views/slide-edit.php:187
498
  msgid "Author"
499
  msgstr ""
500
 
501
- #: ../views/slide-edit.php:190
502
  #, fuzzy
503
  msgid "Name:"
504
  msgstr "Naziv"
@@ -508,16 +510,16 @@ msgid "Allow Wrap?"
508
  msgstr "Dozvoliti prelom?"
509
 
510
  #: ../views/slider-advanced-settings.php:6
511
- #: ../views/slider-advanced-settings.php:44 ../views/slider-properties.php:66
512
- #: ../views/slider-properties.php:74 ../views/slider-properties.php:82
513
- #: ../views/slider-properties.php:92 ../views/slider-properties.php:101
514
  msgid "Yes"
515
  msgstr "Da"
516
 
517
  #: ../views/slider-advanced-settings.php:7
518
- #: ../views/slider-advanced-settings.php:45 ../views/slider-properties.php:67
519
- #: ../views/slider-properties.php:75 ../views/slider-properties.php:83
520
- #: ../views/slider-properties.php:91 ../views/slider-properties.php:100
521
  msgid "No"
522
  msgstr "Ne"
523
 
@@ -574,28 +576,24 @@ msgstr "Aktiviraj podršku za prevlačenje prstom za uređajem koji imaju touch.
574
  msgid "Resize Options:"
575
  msgstr "Opcije promene veličine"
576
 
577
- #: ../views/slider-advanced-settings.php:61
578
- msgid "Force Resize"
579
- msgstr "Prinudna promena veličine"
580
-
581
- #: ../views/slider-advanced-settings.php:63
582
  msgid "Auto - Cyclone Slider decides the resize option."
583
  msgstr ""
584
  "Auto - Cyclone Slider odlučuje da li će aktivirati opciju promene veličine."
585
 
586
- #: ../views/slider-advanced-settings.php:64
587
  msgid "Crop - Resize and remove excess parts."
588
  msgstr "Crop - Menja veličinu i uklanja delove koji je prevazilaze."
589
 
590
- #: ../views/slider-advanced-settings.php:65
591
  msgid "Exact - Resize to exact dimensions."
592
  msgstr "Exact - menja veličinu na osnovu određenih dimenzija."
593
 
594
- #: ../views/slider-advanced-settings.php:66
595
  msgid "Landscape - Resize to exact width."
596
  msgstr "Landscape - Menja širinu na osnovu određene dimenzije."
597
 
598
- #: ../views/slider-advanced-settings.php:67
599
  msgid "Portrait - Resize to exact height."
600
  msgstr "Portrait - Menja visinu na osnovu određene dimenzije."
601
 
@@ -630,43 +628,43 @@ msgstr "Ovde promenite ID za Slideshow."
630
  msgid "Your preview will appear here."
631
  msgstr "Vaš pregled prikazaće se ovde."
632
 
633
- #: ../views/slider-properties.php:4
634
  msgid "Transition Effects to Use:"
635
  msgstr "Efekti prelaza."
636
 
637
- #: ../views/slider-properties.php:28
638
  msgid "Milliseconds. 0 to disable auto advance."
639
  msgstr "Milisekunde. 0 da biste deaktivirali automatsko pokretanje."
640
 
641
- #: ../views/slider-properties.php:38
642
  msgid "Width:"
643
  msgstr "Širina"
644
 
645
- #: ../views/slider-properties.php:40 ../views/slider-properties.php:46
646
  msgid "pixels."
647
  msgstr "pikseli:"
648
 
649
- #: ../views/slider-properties.php:44
650
  msgid "Height:"
651
  msgstr "Visina:"
652
 
653
- #: ../views/slider-properties.php:50
654
  msgid "Width Management:"
655
  msgstr "Upravljanje širinom:"
656
 
657
- #: ../views/slider-properties.php:52
658
  msgid "Responsive"
659
  msgstr "Povratni"
660
 
661
- #: ../views/slider-properties.php:53
662
  msgid "Full"
663
  msgstr "Pun"
664
 
665
- #: ../views/slider-properties.php:54
666
  msgid "Fixed"
667
  msgstr "Fiksni"
668
 
669
- #: ../views/slider-properties.php:57
670
  msgid ""
671
  "Responsive - resizes to smaller size but maximum width will be equal to the "
672
  "provided width."
@@ -674,7 +672,7 @@ msgstr ""
674
  "Povratni - smanjuje veličinu, ali maksimalna širina biće jednaka širini koju "
675
  "ste uneli."
676
 
677
- #: ../views/slider-properties.php:58
678
  msgid ""
679
  "Full - the same as responsive but maximum width will be equal to its "
680
  "container ignoring the provided width."
@@ -682,43 +680,48 @@ msgstr ""
682
  "Pun - isto kao i povratni, ali maksimalna širina biće jednaka kontejneru bez "
683
  "obzira na širinu koju ste uneli."
684
 
685
- #: ../views/slider-properties.php:59
686
  msgid "Fixed - width and height are not resized."
687
  msgstr "Fiksna - širina i visina neće se menjati."
688
 
689
- #: ../views/slider-properties.php:64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
690
  msgid "Pause on Hover?"
691
  msgstr "Pauzirati? "
692
 
693
- #: ../views/slider-properties.php:72
694
  msgid "Show Prev/Next Buttons?"
695
  msgstr "Prikaži prethodni/sledeći taster?"
696
 
697
- #: ../views/slider-properties.php:80
698
  msgid "Show Navigation?"
699
  msgstr "Prikazati navigaciju?"
700
 
701
- #: ../views/slider-properties.php:85
702
  msgid "The thumbnails or dots depending on template."
703
  msgstr "Sličice ili tačkice zavise od vašeg šablona."
704
 
705
- #: ../views/slider-properties.php:89
706
- msgid "Resize Images?"
707
- msgstr "Promeniti veličine slika? "
708
-
709
- #: ../views/slider-properties.php:94
710
- msgid ""
711
- "Yes - resize images to slideshow dimension. <br>No - use the original "
712
- "uploaded image."
713
- msgstr ""
714
- "Da - prilagodite veličine slika dimenzijama slideshow-a. <br>No - koristite "
715
- "originalnu učitanu sliku."
716
-
717
- #: ../views/slider-properties.php:98
718
  msgid "Random Slide Order?"
719
  msgstr "Nasumično prikazivanje slajdova?"
720
 
721
- #: ../views/slider-properties.php:103
722
  msgid "Randomize order of slides on every page visit."
723
  msgstr "Neka redosled slajdova na svakoj posećenoj strani bude nasumičan."
724
 
@@ -743,6 +746,18 @@ msgstr "Naslov"
743
  msgid "Selected"
744
  msgstr "Odabrani"
745
 
 
 
 
 
 
 
 
 
 
 
 
 
746
  #~ msgid "Export"
747
  #~ msgstr "Izvoz"
748
 
2
  msgstr ""
3
  "Project-Id-Version: Cyclone Slider\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-03-15 13:42+0800\n"
6
+ "PO-Revision-Date: 2015-03-15 13:44+0800\n"
7
  "Last-Translator: Nico Amarilla <kosinix@codefleet.net>\n"
8
  "Language-Team: kosinix <kosinix@codefleet.net>\n"
9
  "Language: en_US\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
  "X-Poedit-SearchPath-1: ..\n"
19
 
20
+ #: ../cyclone-slider.php:104
21
  msgid "Cyclone Slider Settings"
22
  msgstr "Cyclone Slider Postavke"
23
 
24
+ #: ../cyclone-slider.php:105
25
  msgid "Settings"
26
  msgstr "Postavke"
27
 
28
+ #: ../src/CycloneSlider/Admin.php:97
29
  msgid "Cyclone Slider"
30
  msgstr "Cyclone Slider"
31
 
32
+ #: ../src/CycloneSlider/Admin.php:98
33
  msgid "Slideshow"
34
  msgstr "Slideshow"
35
 
36
+ #: ../src/CycloneSlider/Admin.php:99
37
  msgid "Add Slideshow"
38
  msgstr "Dodaj prezentaciju"
39
 
40
+ #: ../src/CycloneSlider/Admin.php:100
41
  msgid "Add New Slideshow"
42
  msgstr "Dodaj novu prezentaciju"
43
 
44
+ #: ../src/CycloneSlider/Admin.php:101
45
  msgid "Edit Slideshow"
46
  msgstr "Uredi prezentaciju"
47
 
48
+ #: ../src/CycloneSlider/Admin.php:102
49
  msgid "New Slideshow"
50
  msgstr "Nova prezentacija"
51
 
52
+ #: ../src/CycloneSlider/Admin.php:103
53
  msgid "View Slideshow"
54
  msgstr "Pregledaj prezentaciju"
55
 
56
+ #: ../src/CycloneSlider/Admin.php:104
57
  msgid "Search Slideshows"
58
  msgstr "Pretraži prezentaciju"
59
 
60
+ #: ../src/CycloneSlider/Admin.php:105
61
  msgid "No slideshows found"
62
  msgstr "Prezentacija nije pronađena"
63
 
64
+ #: ../src/CycloneSlider/Admin.php:106
65
  msgid "No slideshows found in Trash"
66
  msgstr "U korpi nije pronađena nijedna prezentacija"
67
 
68
+ #: ../src/CycloneSlider/Admin.php:150 ../src/CycloneSlider/Admin.php:153
69
+ #: ../src/CycloneSlider/Admin.php:154 ../src/CycloneSlider/Admin.php:157
70
+ #: ../src/CycloneSlider/Admin.php:158 ../src/CycloneSlider/Admin.php:159
71
  msgid "Slideshow updated."
72
  msgstr "Prezentacija ažurirana"
73
 
74
+ #: ../src/CycloneSlider/Admin.php:151
75
  msgid "Custom field updated."
76
  msgstr "Priolagođeno polje ažurirano"
77
 
78
+ #: ../src/CycloneSlider/Admin.php:152
79
  msgid "Custom field deleted."
80
  msgstr "Prilagođeno polje obrisano"
81
 
82
+ #: ../src/CycloneSlider/Admin.php:155
83
  msgid "Slideshow published."
84
  msgstr "Prezentacija objavljena"
85
 
86
+ #: ../src/CycloneSlider/Admin.php:156
87
  msgid "Slideshow saved."
88
  msgstr "Prezentacija sačuvana"
89
 
90
+ #: ../src/CycloneSlider/Admin.php:193
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  msgid "Slides"
92
  msgstr "Slajdovi"
93
 
94
+ #: ../src/CycloneSlider/Admin.php:202
95
  msgid "Slider Preview"
96
  msgstr "Pregled slajdera"
97
 
98
+ #: ../src/CycloneSlider/Admin.php:211
99
  msgid "Get Slider Codes"
100
  msgstr "Izlistaj kodove slajdera"
101
 
102
+ #: ../src/CycloneSlider/Admin.php:220
103
  msgid "Basic Settings"
104
  msgstr "Osnovne postavke"
105
 
106
+ #: ../src/CycloneSlider/Admin.php:229
107
  msgid "Advanced Settings"
108
  msgstr "Napredne postavke"
109
 
110
+ #: ../src/CycloneSlider/Admin.php:238
111
  msgid "Templates"
112
  msgstr "Šabloni"
113
 
114
+ #: ../src/CycloneSlider/Admin.php:247 ../src/CycloneSlider/Admin.php:512
115
  msgid "Slideshow ID"
116
  msgstr "ID prezentacije"
117
 
118
+ #: ../src/CycloneSlider/Admin.php:273
119
  msgid "Slide"
120
  msgstr "Slajd "
121
 
122
+ #: ../src/CycloneSlider/Admin.php:278
123
+ msgid "[Hidden]"
124
+ msgstr ""
125
+
126
+ #: ../src/CycloneSlider/Admin.php:401
127
  msgid "Core"
128
  msgstr ""
129
 
130
+ #: ../src/CycloneSlider/Admin.php:402
131
  #, php-format
132
  msgid "Located inside the plugin directory:<br> <strong>%s</strong>"
133
  msgstr ""
134
 
135
+ #: ../src/CycloneSlider/Admin.php:406
136
  #, php-format
137
  msgid "Located inside your currently active theme:<br> <strong>%s</strong>"
138
  msgstr ""
139
 
140
+ #: ../src/CycloneSlider/Admin.php:407
141
  #, php-format
142
  msgid ""
143
  "Your template is in danger of being overwritten when you upgrade your theme. "
144
  "Please move it inside %s."
145
  msgstr ""
146
 
147
+ #: ../src/CycloneSlider/Admin.php:411
148
  #, php-format
149
  msgid "Located inside wp-content directory:<br> <strong>%s</strong>"
150
  msgstr ""
151
 
152
+ #: ../src/CycloneSlider/Admin.php:448
153
  msgid "Slide *"
154
  msgstr "Slajd *"
155
 
156
+ #: ../src/CycloneSlider/Admin.php:509
157
  msgid "Slideshow Name"
158
  msgstr "Naziv prezentacije"
159
 
160
+ #: ../src/CycloneSlider/Admin.php:510
161
  msgid "Template"
162
  msgstr "Šablon"
163
 
164
+ #: ../src/CycloneSlider/Admin.php:511
165
  msgid "No. of Slides"
166
  msgstr "Broj slajda"
167
 
168
+ #: ../src/CycloneSlider/Admin.php:513
169
  msgid "Shortcode"
170
  msgstr "Shortcode"
171
 
172
+ #: ../src/CycloneSlider/AssetLoader.php:59
173
  msgid "Select an image"
174
  msgstr "Odaberi sliku"
175
 
176
+ #: ../src/CycloneSlider/AssetLoader.php:60
177
  msgid "Select Images - Use Ctrl + Click or Shift + Click"
178
  msgstr ""
179
 
180
+ #: ../src/CycloneSlider/AssetLoader.php:61
181
  msgid "Add to Slide"
182
  msgstr "Dodaj slajdu"
183
 
184
+ #: ../src/CycloneSlider/AssetLoader.php:62 ../views/slides.php:9
185
  #, fuzzy
186
  msgid "Add Images as Slides"
187
  msgstr "Dodaj novu prezentaciju"
188
 
189
+ #: ../src/CycloneSlider/AssetLoader.php:63
190
  msgid "Error. Make sure its a valid YouTube URL."
191
  msgstr "Greška: Proverite da li je YouTube URL validan."
192
 
193
+ #: ../src/CycloneSlider/ExportPage.php:36
194
+ msgid "Export settings cleared."
195
+ msgstr ""
196
+
197
+ #: ../src/CycloneSlider/ExportPage.php:42
198
+ #, fuzzy
199
+ msgid "No sliders selected."
200
+ msgstr "Nije pronađen slajder"
201
+
202
+ #: ../src/CycloneSlider/Frontend.php:72
203
  #, php-format
204
  msgid "[Slideshow \"%s\" not found]"
205
  msgstr "[Prezentacija \"%s\" nije pronađena]"
206
 
207
+ #: ../src/CycloneSlider/Frontend.php:88
208
  #, php-format
209
  msgid "[Template \"%s\" not found]"
210
  msgstr "[Šablon \"%s\" nije pronađen]"
211
 
212
+ #: ../src/CycloneSlider/NextgenIntegration.php:39
213
  msgid "NextGEN Integration"
214
  msgstr "NextGEN Integracija"
215
 
216
+ #: ../src/CycloneSlider/NextgenIntegration.php:55
217
  msgid "Choose a NextGEN Gallery"
218
  msgstr "Izaberi NextGEN galeriju"
219
 
220
+ #: ../src/CycloneSlider/NextgenIntegration.php:65
221
  msgid "Import"
222
  msgstr "Uvoz"
223
 
224
+ #: ../src/CycloneSlider/NextgenIntegration.php:67
225
  msgid ""
226
  "Select a gallery to import images from. Images will be added as new slides."
227
  msgstr ""
228
  "Odaberi galeriju za uvoz slika. Slike će biti dodate kao novi slajdovi."
229
 
230
+ #: ../src/CycloneSlider/SettingsPage.php:54
231
  msgid "Default options restored."
232
  msgstr "Standardne opcije ponovo uspostavljene."
233
 
239
  msgid "Widget for displaying sliders."
240
  msgstr "Widget za prikazivanje slajdera"
241
 
242
+ #: ../src/CycloneSlider/WidgetSlider.php:65 ../views/slide-edit.php:54
243
  msgid "Title:"
244
  msgstr "Naslov:"
245
 
359
  msgid "Vimeo"
360
  msgstr "Vimeo"
361
 
362
+ #: ../views/slide-edit.php:29 ../views/slide-edit.php:178
363
  msgid "Custom HTML"
364
  msgstr "prilagođeni HTML"
365
 
367
  msgid "Testimonial"
368
  msgstr ""
369
 
370
+ #: ../views/slide-edit.php:35
371
+ msgid "Hide"
372
+ msgstr ""
373
+
374
+ #: ../views/slide-edit.php:47
375
  msgid "Get Image"
376
  msgstr "Uzmi sliku"
377
 
378
+ #: ../views/slide-edit.php:51
379
  msgid "Caption"
380
  msgstr "Naslov"
381
 
382
+ #: ../views/slide-edit.php:58
383
  msgid "Description:"
384
  msgstr "Opsi"
385
 
386
+ #: ../views/slide-edit.php:64 ../views/slide-edit.php:201
387
  msgid "Link"
388
  msgstr "Link"
389
 
390
+ #: ../views/slide-edit.php:67 ../views/slide-edit.php:204
391
  msgid "Link URL:"
392
  msgstr "Link URL:"
393
 
394
+ #: ../views/slide-edit.php:71 ../views/slide-edit.php:208
395
  msgid "Open Link in:"
396
  msgstr "Otvori link u"
397
 
398
+ #: ../views/slide-edit.php:73 ../views/slide-edit.php:210
399
  msgid "Same Window"
400
  msgstr "Istom prozoru"
401
 
402
+ #: ../views/slide-edit.php:74 ../views/slide-edit.php:211
403
  msgid "New Tab or Window"
404
  msgstr "Novoj kartici ili novom prozoru"
405
 
406
+ #: ../views/slide-edit.php:80
407
  msgid "Image Attributes"
408
  msgstr "Atributi slike"
409
 
410
+ #: ../views/slide-edit.php:83
411
  msgid "Alternate Text:"
412
  msgstr "Alternativni tekst"
413
 
414
+ #: ../views/slide-edit.php:87
415
  msgid "Title Text:"
416
  msgstr "Tekst titla"
417
 
418
+ #: ../views/slide-edit.php:93
419
  msgid "Slide Transition Effects"
420
  msgstr "Efekti tranzicije slajdova"
421
 
422
+ #: ../views/slide-edit.php:97
423
  msgid "Disable"
424
  msgstr "Deaktiviraj"
425
 
426
+ #: ../views/slide-edit.php:98
427
  msgid "Enable Slide Effects"
428
  msgstr "Aktiviraj efekte slajda"
429
 
430
+ #: ../views/slide-edit.php:104
431
  msgid "Transition Effects:"
432
  msgstr "Tranzicioni efekti"
433
 
434
+ #: ../views/slide-edit.php:115 ../views/slider-settings.php:32
435
  msgid "Transition Effects Speed:"
436
  msgstr "Brzina tranzicionih efekata"
437
 
438
+ #: ../views/slide-edit.php:117 ../views/slide-edit.php:124
439
+ #: ../views/slider-settings.php:34
440
  msgid "Milliseconds"
441
  msgstr "Milisekunde"
442
 
443
+ #: ../views/slide-edit.php:122 ../views/slider-settings.php:26
444
  msgid "Next Slide Delay:"
445
  msgstr "Odlaganje sledećeg slajda"
446
 
447
+ #: ../views/slide-edit.php:132 ../views/slider-settings.php:13
448
  msgid "Tile Count:"
449
  msgstr "Broj pločica"
450
 
451
+ #: ../views/slide-edit.php:134 ../views/slider-settings.php:15
452
  msgid "The number of tiles to use in the transition."
453
  msgstr "Broj pločica u tranziciji"
454
 
455
+ #: ../views/slide-edit.php:138
456
  msgid "Tile Delay:"
457
  msgstr "Odlaganje"
458
 
459
+ #: ../views/slide-edit.php:140
460
  msgid "Milliseconds to delay each individual tile transition."
461
  msgstr "Milisekunde za odlaganje tranzicije svake pojedine pločice."
462
 
463
+ #: ../views/slide-edit.php:144 ../views/slider-settings.php:18
464
  msgid "Tile Position:"
465
  msgstr "Pozicija pločice:"
466
 
467
+ #: ../views/slide-edit.php:146 ../views/slider-settings.php:20
468
  msgid "Vertical"
469
  msgstr "Vertikalna"
470
 
471
+ #: ../views/slide-edit.php:147 ../views/slider-settings.php:21
472
  msgid "Horizontal"
473
  msgstr "Horizontalna"
474
 
475
+ #: ../views/slide-edit.php:159
476
  msgid "YouTube URL:"
477
  msgstr "YouTube URL:"
478
 
479
+ #: ../views/slide-edit.php:161
480
  msgid "Copy and paste a valid YouTube URL here."
481
  msgstr "Ovde kopirajte i nalepite validan YouTube URL: "
482
 
483
+ #: ../views/slide-edit.php:166
484
  msgid "Do not show suggested videos when the video finishes."
485
  msgstr ""
486
 
487
+ #: ../views/slide-edit.php:171
488
  msgid "Vimeo URL:"
489
  msgstr "Vimeo URL:"
490
 
491
+ #: ../views/slide-edit.php:173
492
  msgid "Copy and paste a valid Vimeo URL here."
493
  msgstr "Ovde kopirajte i nalepite validan Vimeo URL:"
494
 
495
+ #: ../views/slide-edit.php:186
496
  msgid "Quote"
497
  msgstr ""
498
 
499
+ #: ../views/slide-edit.php:192
500
  msgid "Author"
501
  msgstr ""
502
 
503
+ #: ../views/slide-edit.php:195
504
  #, fuzzy
505
  msgid "Name:"
506
  msgstr "Naziv"
510
  msgstr "Dozvoliti prelom?"
511
 
512
  #: ../views/slider-advanced-settings.php:6
513
+ #: ../views/slider-advanced-settings.php:44 ../views/slider-settings.php:67
514
+ #: ../views/slider-settings.php:78 ../views/slider-settings.php:86
515
+ #: ../views/slider-settings.php:94 ../views/slider-settings.php:104
516
  msgid "Yes"
517
  msgstr "Da"
518
 
519
  #: ../views/slider-advanced-settings.php:7
520
+ #: ../views/slider-advanced-settings.php:45 ../views/slider-settings.php:66
521
+ #: ../views/slider-settings.php:79 ../views/slider-settings.php:87
522
+ #: ../views/slider-settings.php:95 ../views/slider-settings.php:103
523
  msgid "No"
524
  msgstr "Ne"
525
 
576
  msgid "Resize Options:"
577
  msgstr "Opcije promene veličine"
578
 
579
+ #: ../views/slider-advanced-settings.php:60
 
 
 
 
580
  msgid "Auto - Cyclone Slider decides the resize option."
581
  msgstr ""
582
  "Auto - Cyclone Slider odlučuje da li će aktivirati opciju promene veličine."
583
 
584
+ #: ../views/slider-advanced-settings.php:61
585
  msgid "Crop - Resize and remove excess parts."
586
  msgstr "Crop - Menja veličinu i uklanja delove koji je prevazilaze."
587
 
588
+ #: ../views/slider-advanced-settings.php:62
589
  msgid "Exact - Resize to exact dimensions."
590
  msgstr "Exact - menja veličinu na osnovu određenih dimenzija."
591
 
592
+ #: ../views/slider-advanced-settings.php:63
593
  msgid "Landscape - Resize to exact width."
594
  msgstr "Landscape - Menja širinu na osnovu određene dimenzije."
595
 
596
+ #: ../views/slider-advanced-settings.php:64
597
  msgid "Portrait - Resize to exact height."
598
  msgstr "Portrait - Menja visinu na osnovu određene dimenzije."
599
 
628
  msgid "Your preview will appear here."
629
  msgstr "Vaš pregled prikazaće se ovde."
630
 
631
+ #: ../views/slider-settings.php:4
632
  msgid "Transition Effects to Use:"
633
  msgstr "Efekti prelaza."
634
 
635
+ #: ../views/slider-settings.php:28
636
  msgid "Milliseconds. 0 to disable auto advance."
637
  msgstr "Milisekunde. 0 da biste deaktivirali automatsko pokretanje."
638
 
639
+ #: ../views/slider-settings.php:38
640
  msgid "Width:"
641
  msgstr "Širina"
642
 
643
+ #: ../views/slider-settings.php:40 ../views/slider-settings.php:46
644
  msgid "pixels."
645
  msgstr "pikseli:"
646
 
647
+ #: ../views/slider-settings.php:44
648
  msgid "Height:"
649
  msgstr "Visina:"
650
 
651
+ #: ../views/slider-settings.php:50
652
  msgid "Width Management:"
653
  msgstr "Upravljanje širinom:"
654
 
655
+ #: ../views/slider-settings.php:52
656
  msgid "Responsive"
657
  msgstr "Povratni"
658
 
659
+ #: ../views/slider-settings.php:53
660
  msgid "Full"
661
  msgstr "Pun"
662
 
663
+ #: ../views/slider-settings.php:54
664
  msgid "Fixed"
665
  msgstr "Fiksni"
666
 
667
+ #: ../views/slider-settings.php:57
668
  msgid ""
669
  "Responsive - resizes to smaller size but maximum width will be equal to the "
670
  "provided width."
672
  "Povratni - smanjuje veličinu, ali maksimalna širina biće jednaka širini koju "
673
  "ste uneli."
674
 
675
+ #: ../views/slider-settings.php:58
676
  msgid ""
677
  "Full - the same as responsive but maximum width will be equal to its "
678
  "container ignoring the provided width."
680
  "Pun - isto kao i povratni, ali maksimalna širina biće jednaka kontejneru bez "
681
  "obzira na širinu koju ste uneli."
682
 
683
+ #: ../views/slider-settings.php:59
684
  msgid "Fixed - width and height are not resized."
685
  msgstr "Fiksna - širina i visina neće se menjati."
686
 
687
+ #: ../views/slider-settings.php:64
688
+ msgid "Resize Images?"
689
+ msgstr "Promeniti veličine slika? "
690
+
691
+ #: ../views/slider-settings.php:71
692
+ msgid "Force Resize"
693
+ msgstr "Prinudna promena veličine"
694
+
695
+ #: ../views/slider-settings.php:72
696
+ #, fuzzy
697
+ msgid ""
698
+ "Yes - resize images to slideshow dimension. <br>No - use the original "
699
+ "uploaded image. <br>Force Resize - Regenerate all images and thumbnails."
700
+ msgstr ""
701
+ "Da - prilagodite veličine slika dimenzijama slideshow-a. <br>No - koristite "
702
+ "originalnu učitanu sliku."
703
+
704
+ #: ../views/slider-settings.php:76
705
  msgid "Pause on Hover?"
706
  msgstr "Pauzirati? "
707
 
708
+ #: ../views/slider-settings.php:84
709
  msgid "Show Prev/Next Buttons?"
710
  msgstr "Prikaži prethodni/sledeći taster?"
711
 
712
+ #: ../views/slider-settings.php:92
713
  msgid "Show Navigation?"
714
  msgstr "Prikazati navigaciju?"
715
 
716
+ #: ../views/slider-settings.php:97
717
  msgid "The thumbnails or dots depending on template."
718
  msgstr "Sličice ili tačkice zavise od vašeg šablona."
719
 
720
+ #: ../views/slider-settings.php:101
 
 
 
 
 
 
 
 
 
 
 
 
721
  msgid "Random Slide Order?"
722
  msgstr "Nasumično prikazivanje slajdova?"
723
 
724
+ #: ../views/slider-settings.php:106
725
  msgid "Randomize order of slides on every page visit."
726
  msgstr "Neka redosled slajdova na svakoj posećenoj strani bude nasumičan."
727
 
746
  msgid "Selected"
747
  msgstr "Odabrani"
748
 
749
+ #~ msgid ""
750
+ #~ "Templates CSS could not be saved. Make sure %stemplates.css is writable."
751
+ #~ msgstr ""
752
+ #~ "CSS šabloni ne mogu se sačuvati. Proverite da li su %s obrasci "
753
+ #~ "raspoloživi za css pisanje."
754
+
755
+ #~ msgid ""
756
+ #~ "Templates JS could not be saved. Make sure %stemplates.js is writable."
757
+ #~ msgstr ""
758
+ #~ "JS šabloni ne mogu se sačuvati. Proverite da li su %s obrasci raspoloživi "
759
+ #~ "za js pisanje."
760
+
761
  #~ msgid "Export"
762
  #~ msgstr "Izvoz"
763
 
lang/cycloneslider.pot CHANGED
@@ -1,720 +1,938 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Cyclone Slider\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-01-12 22:36+0800\n"
6
- "PO-Revision-Date: 2015-01-12 22:37+0800\n"
7
- "Last-Translator: Nico Amarilla <kosinix@codefleet.net>\n"
8
- "Language-Team: kosinix <kosinix@codefleet.net>\n"
9
- "Language: en_US\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-KeywordsList: __;_e;_x\n"
14
- "X-Poedit-Basepath: .\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Generator: Poedit 1.6.7\n"
17
- "X-Poedit-SearchPath-0: .\n"
18
- "X-Poedit-SearchPath-1: ..\n"
19
-
20
- #: ../cyclone-slider.php:104
21
- msgid "Cyclone Slider Settings"
22
- msgstr ""
23
-
24
- #: ../cyclone-slider.php:105
25
- msgid "Settings"
26
- msgstr ""
27
-
28
- #: ../src/CycloneSlider/Admin.php:80
29
- msgid "Cyclone Slider"
30
- msgstr ""
31
-
32
- #: ../src/CycloneSlider/Admin.php:81
33
- msgid "Slideshow"
34
- msgstr ""
35
-
36
- #: ../src/CycloneSlider/Admin.php:82
37
- msgid "Add Slideshow"
38
- msgstr ""
39
-
40
- #: ../src/CycloneSlider/Admin.php:83
41
- msgid "Add New Slideshow"
42
- msgstr ""
43
-
44
- #: ../src/CycloneSlider/Admin.php:84
45
- msgid "Edit Slideshow"
46
- msgstr ""
47
-
48
- #: ../src/CycloneSlider/Admin.php:85
49
- msgid "New Slideshow"
50
- msgstr ""
51
-
52
- #: ../src/CycloneSlider/Admin.php:86
53
- msgid "View Slideshow"
54
- msgstr ""
55
-
56
- #: ../src/CycloneSlider/Admin.php:87
57
- msgid "Search Slideshows"
58
- msgstr ""
59
-
60
- #: ../src/CycloneSlider/Admin.php:88
61
- msgid "No slideshows found"
62
- msgstr ""
63
-
64
- #: ../src/CycloneSlider/Admin.php:89
65
- msgid "No slideshows found in Trash"
66
- msgstr ""
67
-
68
- #: ../src/CycloneSlider/Admin.php:133 ../src/CycloneSlider/Admin.php:136
69
- #: ../src/CycloneSlider/Admin.php:137 ../src/CycloneSlider/Admin.php:140
70
- #: ../src/CycloneSlider/Admin.php:141 ../src/CycloneSlider/Admin.php:142
71
- msgid "Slideshow updated."
72
- msgstr ""
73
-
74
- #: ../src/CycloneSlider/Admin.php:134
75
- msgid "Custom field updated."
76
- msgstr ""
77
-
78
- #: ../src/CycloneSlider/Admin.php:135
79
- msgid "Custom field deleted."
80
- msgstr ""
81
-
82
- #: ../src/CycloneSlider/Admin.php:138
83
- msgid "Slideshow published."
84
- msgstr ""
85
-
86
- #: ../src/CycloneSlider/Admin.php:139
87
- msgid "Slideshow saved."
88
- msgstr ""
89
-
90
- #: ../src/CycloneSlider/Admin.php:143
91
- #, php-format
92
- msgid ""
93
- "Templates CSS could not be saved. Make sure %stemplates.css is writable."
94
- msgstr ""
95
-
96
- #: ../src/CycloneSlider/Admin.php:144
97
- #, php-format
98
- msgid "Templates JS could not be saved. Make sure %stemplates.js is writable."
99
- msgstr ""
100
-
101
- #: ../src/CycloneSlider/Admin.php:178
102
- msgid "Slides"
103
- msgstr ""
104
-
105
- #: ../src/CycloneSlider/Admin.php:187
106
- msgid "Slider Preview"
107
- msgstr ""
108
-
109
- #: ../src/CycloneSlider/Admin.php:196
110
- msgid "Get Slider Codes"
111
- msgstr ""
112
-
113
- #: ../src/CycloneSlider/Admin.php:205
114
- msgid "Basic Settings"
115
- msgstr ""
116
-
117
- #: ../src/CycloneSlider/Admin.php:214
118
- msgid "Advanced Settings"
119
- msgstr ""
120
-
121
- #: ../src/CycloneSlider/Admin.php:223
122
- msgid "Templates"
123
- msgstr ""
124
-
125
- #: ../src/CycloneSlider/Admin.php:232 ../src/CycloneSlider/Admin.php:492
126
- msgid "Slideshow ID"
127
- msgstr ""
128
-
129
- #: ../src/CycloneSlider/Admin.php:258
130
- msgid "Slide"
131
- msgstr ""
132
-
133
- #: ../src/CycloneSlider/Admin.php:381
134
- msgid "Core"
135
- msgstr ""
136
-
137
- #: ../src/CycloneSlider/Admin.php:382
138
- #, php-format
139
- msgid "Located inside the plugin directory:<br> <strong>%s</strong>"
140
- msgstr ""
141
-
142
- #: ../src/CycloneSlider/Admin.php:386
143
- #, php-format
144
- msgid "Located inside your currently active theme:<br> <strong>%s</strong>"
145
- msgstr ""
146
-
147
- #: ../src/CycloneSlider/Admin.php:387
148
- #, php-format
149
- msgid ""
150
- "Your template is in danger of being overwritten when you upgrade your theme. "
151
- "Please move it inside %s."
152
- msgstr ""
153
-
154
- #: ../src/CycloneSlider/Admin.php:391
155
- #, php-format
156
- msgid "Located inside wp-content directory:<br> <strong>%s</strong>"
157
- msgstr ""
158
-
159
- #: ../src/CycloneSlider/Admin.php:428
160
- msgid "Slide *"
161
- msgstr ""
162
-
163
- #: ../src/CycloneSlider/Admin.php:489
164
- msgid "Slideshow Name"
165
- msgstr ""
166
-
167
- #: ../src/CycloneSlider/Admin.php:490
168
- msgid "Template"
169
- msgstr ""
170
-
171
- #: ../src/CycloneSlider/Admin.php:491
172
- msgid "No. of Slides"
173
- msgstr ""
174
-
175
- #: ../src/CycloneSlider/Admin.php:493
176
- msgid "Shortcode"
177
- msgstr ""
178
-
179
- #: ../src/CycloneSlider/AssetLoader.php:53
180
- msgid "Select an image"
181
- msgstr ""
182
-
183
- #: ../src/CycloneSlider/AssetLoader.php:54
184
- msgid "Select Images - Use Ctrl + Click or Shift + Click"
185
- msgstr ""
186
-
187
- #: ../src/CycloneSlider/AssetLoader.php:55
188
- msgid "Add to Slide"
189
- msgstr ""
190
-
191
- #: ../src/CycloneSlider/AssetLoader.php:56 ../views/slides.php:9
192
- msgid "Add Images as Slides"
193
- msgstr ""
194
-
195
- #: ../src/CycloneSlider/AssetLoader.php:57
196
- msgid "Error. Make sure its a valid YouTube URL."
197
- msgstr ""
198
-
199
- #: ../src/CycloneSlider/Frontend.php:59
200
- #, php-format
201
- msgid "[Slideshow \"%s\" not found]"
202
- msgstr ""
203
-
204
- #: ../src/CycloneSlider/Frontend.php:75
205
- #, php-format
206
- msgid "[Template \"%s\" not found]"
207
- msgstr ""
208
-
209
- #: ../src/CycloneSlider/NextgenIntegration.php:34
210
- msgid "NextGEN Integration"
211
- msgstr ""
212
-
213
- #: ../src/CycloneSlider/NextgenIntegration.php:50
214
- msgid "Choose a NextGEN Gallery"
215
- msgstr ""
216
-
217
- #: ../src/CycloneSlider/NextgenIntegration.php:60
218
- msgid "Import"
219
- msgstr ""
220
-
221
- #: ../src/CycloneSlider/NextgenIntegration.php:62
222
- msgid ""
223
- "Select a gallery to import images from. Images will be added as new slides."
224
- msgstr ""
225
-
226
- #: ../src/CycloneSlider/SettingsPage.php:74
227
- msgid "Default options restored."
228
- msgstr ""
229
-
230
- #: ../src/CycloneSlider/WidgetSlider.php:13
231
- msgid "Cyclone Slider Widget"
232
- msgstr ""
233
-
234
- #: ../src/CycloneSlider/WidgetSlider.php:14
235
- msgid "Widget for displaying sliders."
236
- msgstr ""
237
-
238
- #: ../src/CycloneSlider/WidgetSlider.php:65 ../views/slide-edit.php:49
239
- msgid "Title:"
240
- msgstr ""
241
-
242
- #: ../src/CycloneSlider/WidgetSlider.php:79
243
- msgid "Select a Slider:"
244
- msgstr ""
245
-
246
- #: ../src/CycloneSlider/WidgetSlider.php:94
247
- msgid "No sliders found."
248
- msgstr ""
249
-
250
- #: ../templates/dark/slider.php:43
251
- msgid "View Larger Image"
252
- msgstr ""
253
-
254
- #: ../templates/dark/slider.php:46 ../templates/dark/slider.php:48
255
- msgid "Learn More"
256
- msgstr ""
257
-
258
- #: ../templates/dark/slider.php:64 ../templates/default/slider.php:62
259
- #: ../templates/default/slider.php:66 ../templates/default/slider.php:70
260
- #: ../templates/standard/slider.php:70 ../templates/thumbnails/slider.php:70
261
- msgid "Slide type not supported."
262
- msgstr ""
263
-
264
- #: ../views/settings-page.php:7
265
- msgid ""
266
- "Play with these settings if Cyclone Slider is not working or if you want to "
267
- "optimize it."
268
- msgstr ""
269
-
270
- #: ../views/settings-page.php:17
271
- msgid "Load scripts in:"
272
- msgstr ""
273
-
274
- #: ../views/settings-page.php:20
275
- msgid "Header"
276
- msgstr ""
277
-
278
- #: ../views/settings-page.php:21
279
- msgid "Footer"
280
- msgstr ""
281
-
282
- #: ../views/settings-page.php:26
283
- msgid "Load these scripts:"
284
- msgstr ""
285
-
286
- #: ../views/settings-page.php:31
287
- msgid "Cycle 2. This is the core script needed by the plugin."
288
- msgstr ""
289
-
290
- #: ../views/settings-page.php:36
291
- msgid "Cycle 2 - Carousel. Used by these templates: Galleria, Lea, Dos."
292
- msgstr ""
293
-
294
- #: ../views/settings-page.php:41
295
- msgid "Cycle 2 - Swipe. For touch swipe events."
296
- msgstr ""
297
-
298
- #: ../views/settings-page.php:46
299
- msgid "Cycle 2 - Tile. Used for tile transition effects."
300
- msgstr ""
301
-
302
- #: ../views/settings-page.php:51
303
- msgid "Cycle 2 - Video. Used by YouTube template."
304
- msgstr ""
305
-
306
- #: ../views/settings-page.php:56
307
- msgid "Magnific Popup - Enable lightbox option."
308
- msgstr ""
309
-
310
- #: ../views/settings-page.php:56 ../views/settings-page.php:61
311
- #: ../views/slider-advanced-settings.php:2
312
- msgid "Available in pro version."
313
- msgstr ""
314
-
315
- #: ../views/settings-page.php:61
316
- msgid "Easing - Enable easing options."
317
- msgstr ""
318
-
319
- #: ../views/settings-page.php:66
320
- msgid "Scripts loading priority:"
321
- msgstr ""
322
-
323
- #: ../views/settings-page.php:69
324
- msgid "Make this value bigger to load scripts last."
325
- msgstr ""
326
-
327
- #: ../views/settings-page.php:73
328
- msgid "Load these templates:"
329
- msgstr ""
330
-
331
- #: ../views/settings-page.php:86
332
- msgid "Save Options"
333
- msgstr ""
334
-
335
- #: ../views/settings-page.php:87
336
- msgid "Restore Defaults"
337
- msgstr ""
338
-
339
- #: ../views/slide-edit.php:17
340
- msgid "Delete"
341
- msgstr ""
342
-
343
- #: ../views/slide-edit.php:26
344
- msgid "Image"
345
- msgstr ""
346
-
347
- #: ../views/slide-edit.php:27
348
- msgid "YouTube"
349
- msgstr ""
350
-
351
- #: ../views/slide-edit.php:28
352
- msgid "Vimeo"
353
- msgstr ""
354
-
355
- #: ../views/slide-edit.php:29 ../views/slide-edit.php:173
356
- msgid "Custom HTML"
357
- msgstr ""
358
-
359
- #: ../views/slide-edit.php:30
360
- msgid "Testimonial"
361
- msgstr ""
362
-
363
- #: ../views/slide-edit.php:42
364
- msgid "Get Image"
365
- msgstr ""
366
-
367
- #: ../views/slide-edit.php:46
368
- msgid "Caption"
369
- msgstr ""
370
-
371
- #: ../views/slide-edit.php:53
372
- msgid "Description:"
373
- msgstr ""
374
-
375
- #: ../views/slide-edit.php:59 ../views/slide-edit.php:196
376
- msgid "Link"
377
- msgstr ""
378
-
379
- #: ../views/slide-edit.php:62 ../views/slide-edit.php:199
380
- msgid "Link URL:"
381
- msgstr ""
382
-
383
- #: ../views/slide-edit.php:66 ../views/slide-edit.php:203
384
- msgid "Open Link in:"
385
- msgstr ""
386
-
387
- #: ../views/slide-edit.php:68 ../views/slide-edit.php:205
388
- msgid "Same Window"
389
- msgstr ""
390
-
391
- #: ../views/slide-edit.php:69 ../views/slide-edit.php:206
392
- msgid "New Tab or Window"
393
- msgstr ""
394
-
395
- #: ../views/slide-edit.php:75
396
- msgid "Image Attributes"
397
- msgstr ""
398
-
399
- #: ../views/slide-edit.php:78
400
- msgid "Alternate Text:"
401
- msgstr ""
402
-
403
- #: ../views/slide-edit.php:82
404
- msgid "Title Text:"
405
- msgstr ""
406
-
407
- #: ../views/slide-edit.php:88
408
- msgid "Slide Transition Effects"
409
- msgstr ""
410
-
411
- #: ../views/slide-edit.php:92
412
- msgid "Disable"
413
- msgstr ""
414
-
415
- #: ../views/slide-edit.php:93
416
- msgid "Enable Slide Effects"
417
- msgstr ""
418
-
419
- #: ../views/slide-edit.php:99
420
- msgid "Transition Effects:"
421
- msgstr ""
422
-
423
- #: ../views/slide-edit.php:110 ../views/slider-settings.php:32
424
- msgid "Transition Effects Speed:"
425
- msgstr ""
426
-
427
- #: ../views/slide-edit.php:112 ../views/slide-edit.php:119
428
- #: ../views/slider-settings.php:34
429
- msgid "Milliseconds"
430
- msgstr ""
431
-
432
- #: ../views/slide-edit.php:117 ../views/slider-settings.php:26
433
- msgid "Next Slide Delay:"
434
- msgstr ""
435
-
436
- #: ../views/slide-edit.php:127 ../views/slider-settings.php:13
437
- msgid "Tile Count:"
438
- msgstr ""
439
-
440
- #: ../views/slide-edit.php:129 ../views/slider-settings.php:15
441
- msgid "The number of tiles to use in the transition."
442
- msgstr ""
443
-
444
- #: ../views/slide-edit.php:133
445
- msgid "Tile Delay:"
446
- msgstr ""
447
-
448
- #: ../views/slide-edit.php:135
449
- msgid "Milliseconds to delay each individual tile transition."
450
- msgstr ""
451
-
452
- #: ../views/slide-edit.php:139 ../views/slider-settings.php:18
453
- msgid "Tile Position:"
454
- msgstr ""
455
-
456
- #: ../views/slide-edit.php:141 ../views/slider-settings.php:20
457
- msgid "Vertical"
458
- msgstr ""
459
-
460
- #: ../views/slide-edit.php:142 ../views/slider-settings.php:21
461
- msgid "Horizontal"
462
- msgstr ""
463
-
464
- #: ../views/slide-edit.php:154
465
- msgid "YouTube URL:"
466
- msgstr ""
467
-
468
- #: ../views/slide-edit.php:156
469
- msgid "Copy and paste a valid YouTube URL here."
470
- msgstr ""
471
-
472
- #: ../views/slide-edit.php:161
473
- msgid "Do not show suggested videos when the video finishes."
474
- msgstr ""
475
-
476
- #: ../views/slide-edit.php:166
477
- msgid "Vimeo URL:"
478
- msgstr ""
479
-
480
- #: ../views/slide-edit.php:168
481
- msgid "Copy and paste a valid Vimeo URL here."
482
- msgstr ""
483
-
484
- #: ../views/slide-edit.php:181
485
- msgid "Quote"
486
- msgstr ""
487
-
488
- #: ../views/slide-edit.php:187
489
- msgid "Author"
490
- msgstr ""
491
-
492
- #: ../views/slide-edit.php:190
493
- msgid "Name:"
494
- msgstr ""
495
-
496
- #: ../views/slider-advanced-settings.php:4
497
- msgid "Allow Wrap?"
498
- msgstr ""
499
-
500
- #: ../views/slider-advanced-settings.php:6
501
- #: ../views/slider-advanced-settings.php:44 ../views/slider-settings.php:67
502
- #: ../views/slider-settings.php:78 ../views/slider-settings.php:86
503
- #: ../views/slider-settings.php:94 ../views/slider-settings.php:104
504
- msgid "Yes"
505
- msgstr ""
506
-
507
- #: ../views/slider-advanced-settings.php:7
508
- #: ../views/slider-advanced-settings.php:45 ../views/slider-settings.php:66
509
- #: ../views/slider-settings.php:79 ../views/slider-settings.php:87
510
- #: ../views/slider-settings.php:95 ../views/slider-settings.php:103
511
- msgid "No"
512
- msgstr ""
513
-
514
- #: ../views/slider-advanced-settings.php:10
515
- msgid ""
516
- "Determines if slider wraps to beginning slide if it reaches the end slide."
517
- msgstr ""
518
-
519
- #: ../views/slider-advanced-settings.php:15
520
- msgid "Dynamic Height:"
521
- msgstr ""
522
-
523
- #: ../views/slider-advanced-settings.php:17
524
- msgid "Off"
525
- msgstr ""
526
-
527
- #: ../views/slider-advanced-settings.php:18
528
- msgid "On"
529
- msgstr ""
530
-
531
- #: ../views/slider-advanced-settings.php:21
532
- msgid "Adjust slider height depending on current slide."
533
- msgstr ""
534
-
535
- #: ../views/slider-advanced-settings.php:26
536
- msgid "Delay:"
537
- msgstr ""
538
-
539
- #: ../views/slider-advanced-settings.php:28
540
- msgid ""
541
- "Milliseconds to add or substract from the time before the first transition "
542
- "occurs."
543
- msgstr ""
544
-
545
- #: ../views/slider-advanced-settings.php:32
546
- msgid "Easing:"
547
- msgstr ""
548
-
549
- #: ../views/slider-advanced-settings.php:38
550
- msgid "Easing for transition animations."
551
- msgstr ""
552
-
553
- #: ../views/slider-advanced-settings.php:42
554
- msgid "Swipe:"
555
- msgstr ""
556
-
557
- #: ../views/slider-advanced-settings.php:48
558
- msgid "Enable swipe gesture support for touch devices."
559
- msgstr ""
560
-
561
- #: ../views/slider-advanced-settings.php:53
562
- msgid "Resize Options:"
563
- msgstr ""
564
-
565
- #: ../views/slider-advanced-settings.php:60
566
- msgid "Auto - Cyclone Slider decides the resize option."
567
- msgstr ""
568
-
569
- #: ../views/slider-advanced-settings.php:61
570
- msgid "Crop - Resize and remove excess parts."
571
- msgstr ""
572
-
573
- #: ../views/slider-advanced-settings.php:62
574
- msgid "Exact - Resize to exact dimensions."
575
- msgstr ""
576
-
577
- #: ../views/slider-advanced-settings.php:63
578
- msgid "Landscape - Resize to exact width."
579
- msgstr ""
580
-
581
- #: ../views/slider-advanced-settings.php:64
582
- msgid "Portrait - Resize to exact height."
583
- msgstr ""
584
-
585
- #: ../views/slider-codes.php:4
586
- msgid "Your Shortcode:"
587
- msgstr ""
588
-
589
- #: ../views/slider-codes.php:6
590
- msgid ""
591
- "Copy and paste this shortcode into your Post, Page or Custom Post editor."
592
- msgstr ""
593
-
594
- #: ../views/slider-codes.php:10
595
- msgid "Your PHP Code:"
596
- msgstr ""
597
-
598
- #: ../views/slider-codes.php:12
599
- msgid ""
600
- "Copy and paste this code when you need to display the slider in template "
601
- "files (header.php, front-page.php, etc.)."
602
- msgstr ""
603
-
604
- #: ../views/slider-id.php:5
605
- msgid "Change the Slideshow ID here."
606
- msgstr ""
607
-
608
- #: ../views/slider-preview.php:9
609
- msgid "Your preview will appear here."
610
- msgstr ""
611
-
612
- #: ../views/slider-settings.php:4
613
- msgid "Transition Effects to Use:"
614
- msgstr ""
615
-
616
- #: ../views/slider-settings.php:28
617
- msgid "Milliseconds. 0 to disable auto advance."
618
- msgstr ""
619
-
620
- #: ../views/slider-settings.php:38
621
- msgid "Width:"
622
- msgstr ""
623
-
624
- #: ../views/slider-settings.php:40 ../views/slider-settings.php:46
625
- msgid "pixels."
626
- msgstr ""
627
-
628
- #: ../views/slider-settings.php:44
629
- msgid "Height:"
630
- msgstr ""
631
-
632
- #: ../views/slider-settings.php:50
633
- msgid "Width Management:"
634
- msgstr ""
635
-
636
- #: ../views/slider-settings.php:52
637
- msgid "Responsive"
638
- msgstr ""
639
-
640
- #: ../views/slider-settings.php:53
641
- msgid "Full"
642
- msgstr ""
643
-
644
- #: ../views/slider-settings.php:54
645
- msgid "Fixed"
646
- msgstr ""
647
-
648
- #: ../views/slider-settings.php:57
649
- msgid ""
650
- "Responsive - resizes to smaller size but maximum width will be equal to the "
651
- "provided width."
652
- msgstr ""
653
-
654
- #: ../views/slider-settings.php:58
655
- msgid ""
656
- "Full - the same as responsive but maximum width will be equal to its "
657
- "container ignoring the provided width."
658
- msgstr ""
659
-
660
- #: ../views/slider-settings.php:59
661
- msgid "Fixed - width and height are not resized."
662
- msgstr ""
663
-
664
- #: ../views/slider-settings.php:64
665
- msgid "Resize Images?"
666
- msgstr ""
667
-
668
- #: ../views/slider-settings.php:71
669
- msgid "Force Resize"
670
- msgstr ""
671
-
672
- #: ../views/slider-settings.php:72
673
- msgid ""
674
- "Yes - resize images to slideshow dimension. <br>No - use the original "
675
- "uploaded image. <br>Force Resize - Regenerate all images and thumbnails."
676
- msgstr ""
677
-
678
- #: ../views/slider-settings.php:76
679
- msgid "Pause on Hover?"
680
- msgstr ""
681
-
682
- #: ../views/slider-settings.php:84
683
- msgid "Show Prev/Next Buttons?"
684
- msgstr ""
685
-
686
- #: ../views/slider-settings.php:92
687
- msgid "Show Navigation?"
688
- msgstr ""
689
-
690
- #: ../views/slider-settings.php:97
691
- msgid "The thumbnails or dots depending on template."
692
- msgstr ""
693
-
694
- #: ../views/slider-settings.php:101
695
- msgid "Random Slide Order?"
696
- msgstr ""
697
-
698
- #: ../views/slider-settings.php:106
699
- msgid "Randomize order of slides on every page visit."
700
- msgstr ""
701
-
702
- #: ../views/slides.php:8
703
- msgid "Add Slide"
704
- msgstr ""
705
-
706
- #: ../views/template-selection.php:4
707
- msgid "Name"
708
- msgstr ""
709
-
710
- #: ../views/template-selection.php:5
711
- msgid "Supported Slides"
712
- msgstr ""
713
-
714
- #: ../views/template-selection.php:6
715
- msgid "Location"
716
- msgstr ""
717
-
718
- #: ../views/template-selection.php:7
719
- msgid "Selected"
720
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Cyclone Slider\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-04-02 16:53+0800\n"
6
+ "PO-Revision-Date: 2015-04-02 16:53+0800\n"
7
+ "Last-Translator: Nico Amarilla <kosinix@codefleet.net>\n"
8
+ "Language-Team: kosinix <kosinix@codefleet.net>\n"
9
+ "Language: en_US\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: __;_e;_x\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Generator: Poedit 1.6.7\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+ "X-Poedit-SearchPath-1: ..\n"
19
+
20
+ #: ../cyclone-slider.php:117
21
+ msgid "Cyclone Slider Settings"
22
+ msgstr ""
23
+
24
+ #: ../cyclone-slider.php:118
25
+ msgid "Settings"
26
+ msgstr ""
27
+
28
+ #: ../cyclone-slider.php:128
29
+ msgid "Cyclone Slider Export"
30
+ msgstr ""
31
+
32
+ #: ../cyclone-slider.php:129
33
+ msgid "Export/Import"
34
+ msgstr ""
35
+
36
+ #: ../cyclone-slider.php:141
37
+ msgid "Cyclone Slider Nextgen Export"
38
+ msgstr ""
39
+
40
+ #: ../cyclone-slider.php:142 ../src/CycloneSlider/ExportPageNextgen.php:75
41
+ msgid "Export Nextgen"
42
+ msgstr ""
43
+
44
+ #: ../cyclone-slider.php:154
45
+ msgid "Cyclone Slider Import"
46
+ msgstr ""
47
+
48
+ #: ../cyclone-slider.php:155 ../src/CycloneSlider/ExportPage.php:72
49
+ #: ../src/CycloneSlider/ExportPageNextgen.php:70
50
+ #: ../src/CycloneSlider/ExporterNextgen.php:65
51
+ #: ../src/CycloneSlider/ImportPage.php:74
52
+ #: ../src/CycloneSlider/NextgenIntegration.php:65
53
+ msgid "Import"
54
+ msgstr ""
55
+
56
+ #: ../src/CycloneSlider/Admin.php:97
57
+ msgid "Cyclone Slider"
58
+ msgstr ""
59
+
60
+ #: ../src/CycloneSlider/Admin.php:98
61
+ msgid "Slideshow"
62
+ msgstr ""
63
+
64
+ #: ../src/CycloneSlider/Admin.php:99
65
+ msgid "Add Slideshow"
66
+ msgstr ""
67
+
68
+ #: ../src/CycloneSlider/Admin.php:100
69
+ msgid "Add New Slideshow"
70
+ msgstr ""
71
+
72
+ #: ../src/CycloneSlider/Admin.php:101
73
+ msgid "Edit Slideshow"
74
+ msgstr ""
75
+
76
+ #: ../src/CycloneSlider/Admin.php:102
77
+ msgid "New Slideshow"
78
+ msgstr ""
79
+
80
+ #: ../src/CycloneSlider/Admin.php:103
81
+ msgid "View Slideshow"
82
+ msgstr ""
83
+
84
+ #: ../src/CycloneSlider/Admin.php:104
85
+ msgid "Search Slideshows"
86
+ msgstr ""
87
+
88
+ #: ../src/CycloneSlider/Admin.php:105
89
+ msgid "No slideshows found"
90
+ msgstr ""
91
+
92
+ #: ../src/CycloneSlider/Admin.php:106
93
+ msgid "No slideshows found in Trash"
94
+ msgstr ""
95
+
96
+ #: ../src/CycloneSlider/Admin.php:150 ../src/CycloneSlider/Admin.php:153
97
+ #: ../src/CycloneSlider/Admin.php:154 ../src/CycloneSlider/Admin.php:157
98
+ #: ../src/CycloneSlider/Admin.php:158 ../src/CycloneSlider/Admin.php:159
99
+ msgid "Slideshow updated."
100
+ msgstr ""
101
+
102
+ #: ../src/CycloneSlider/Admin.php:151
103
+ msgid "Custom field updated."
104
+ msgstr ""
105
+
106
+ #: ../src/CycloneSlider/Admin.php:152
107
+ msgid "Custom field deleted."
108
+ msgstr ""
109
+
110
+ #: ../src/CycloneSlider/Admin.php:155
111
+ msgid "Slideshow published."
112
+ msgstr ""
113
+
114
+ #: ../src/CycloneSlider/Admin.php:156
115
+ msgid "Slideshow saved."
116
+ msgstr ""
117
+
118
+ #: ../src/CycloneSlider/Admin.php:193
119
+ msgid "Slides"
120
+ msgstr ""
121
+
122
+ #: ../src/CycloneSlider/Admin.php:202
123
+ msgid "Slider Preview"
124
+ msgstr ""
125
+
126
+ #: ../src/CycloneSlider/Admin.php:211
127
+ msgid "Get Slider Codes"
128
+ msgstr ""
129
+
130
+ #: ../src/CycloneSlider/Admin.php:220
131
+ msgid "Basic Settings"
132
+ msgstr ""
133
+
134
+ #: ../src/CycloneSlider/Admin.php:229
135
+ msgid "Advanced Settings"
136
+ msgstr ""
137
+
138
+ #: ../src/CycloneSlider/Admin.php:238
139
+ msgid "Templates"
140
+ msgstr ""
141
+
142
+ #: ../src/CycloneSlider/Admin.php:247 ../src/CycloneSlider/Admin.php:512
143
+ msgid "Slideshow ID"
144
+ msgstr ""
145
+
146
+ #: ../src/CycloneSlider/Admin.php:273
147
+ msgid "Slide"
148
+ msgstr ""
149
+
150
+ #: ../src/CycloneSlider/Admin.php:278
151
+ msgid "[Hidden]"
152
+ msgstr ""
153
+
154
+ #: ../src/CycloneSlider/Admin.php:401
155
+ msgid "Core"
156
+ msgstr ""
157
+
158
+ #: ../src/CycloneSlider/Admin.php:402
159
+ #, php-format
160
+ msgid "Located inside the plugin directory:<br> <strong>%s</strong>"
161
+ msgstr ""
162
+
163
+ #: ../src/CycloneSlider/Admin.php:406
164
+ #, php-format
165
+ msgid "Located inside your currently active theme:<br> <strong>%s</strong>"
166
+ msgstr ""
167
+
168
+ #: ../src/CycloneSlider/Admin.php:407
169
+ #, php-format
170
+ msgid ""
171
+ "Your template is in danger of being overwritten when you upgrade your theme. "
172
+ "Please move it inside %s."
173
+ msgstr ""
174
+
175
+ #: ../src/CycloneSlider/Admin.php:411
176
+ #, php-format
177
+ msgid "Located inside wp-content directory:<br> <strong>%s</strong>"
178
+ msgstr ""
179
+
180
+ #: ../src/CycloneSlider/Admin.php:448
181
+ msgid "Slide *"
182
+ msgstr ""
183
+
184
+ #: ../src/CycloneSlider/Admin.php:509
185
+ msgid "Slideshow Name"
186
+ msgstr ""
187
+
188
+ #: ../src/CycloneSlider/Admin.php:510
189
+ msgid "Template"
190
+ msgstr ""
191
+
192
+ #: ../src/CycloneSlider/Admin.php:511
193
+ msgid "No. of Slides"
194
+ msgstr ""
195
+
196
+ #: ../src/CycloneSlider/Admin.php:513
197
+ msgid "Shortcode"
198
+ msgstr ""
199
+
200
+ #: ../src/CycloneSlider/AssetLoader.php:59
201
+ msgid "Select an image"
202
+ msgstr ""
203
+
204
+ #: ../src/CycloneSlider/AssetLoader.php:60
205
+ msgid "Select Images - Use Ctrl + Click or Shift + Click"
206
+ msgstr ""
207
+
208
+ #: ../src/CycloneSlider/AssetLoader.php:61
209
+ msgid "Add to Slide"
210
+ msgstr ""
211
+
212
+ #: ../src/CycloneSlider/AssetLoader.php:62 ../views/slides.php:9
213
+ msgid "Add Images as Slides"
214
+ msgstr ""
215
+
216
+ #: ../src/CycloneSlider/AssetLoader.php:63
217
+ msgid "Error. Make sure its a valid YouTube URL."
218
+ msgstr ""
219
+
220
+ #: ../src/CycloneSlider/ExportPage.php:67
221
+ #: ../src/CycloneSlider/ExportPageNextgen.php:65
222
+ #: ../src/CycloneSlider/ImportPage.php:69
223
+ msgid "Export"
224
+ msgstr ""
225
+
226
+ #: ../src/CycloneSlider/ExportPage.php:114
227
+ #: ../src/CycloneSlider/ExportPageNextgen.php:121
228
+ msgid "Your export file is ready. Click Download."
229
+ msgstr ""
230
+
231
+ #: ../src/CycloneSlider/ExportPage.php:119
232
+ #: ../src/CycloneSlider/ExportPageNextgen.php:126
233
+ msgid "Error creating exports directory."
234
+ msgstr ""
235
+
236
+ #: ../src/CycloneSlider/ExportPage.php:168
237
+ #: ../src/CycloneSlider/ExportPageNextgen.php:175
238
+ msgid "No slider selected."
239
+ msgstr ""
240
+
241
+ #: ../src/CycloneSlider/ExportPage.php:173
242
+ #: ../src/CycloneSlider/ExportPageNextgen.php:180
243
+ msgid "Please choose a file name."
244
+ msgstr ""
245
+
246
+ #: ../src/CycloneSlider/Exporter.php:52
247
+ msgid "Error no sliders selected."
248
+ msgstr ""
249
+
250
+ #: ../src/CycloneSlider/Exporter.php:73
251
+ msgid "Error encoding data to JSON."
252
+ msgstr ""
253
+
254
+ #: ../src/CycloneSlider/Exporter.php:79
255
+ #, php-format
256
+ msgid "Success generating zip %s."
257
+ msgstr ""
258
+
259
+ #: ../src/CycloneSlider/Exporter.php:107
260
+ #, php-format
261
+ msgid "Exporting data for slider \"%s\"."
262
+ msgstr ""
263
+
264
+ #: ../src/CycloneSlider/Exporter.php:109
265
+ #, php-format
266
+ msgid "Slider \"%s\" not found."
267
+ msgstr ""
268
+
269
+ #: ../src/CycloneSlider/Exporter.php:134
270
+ #, php-format
271
+ msgid ""
272
+ "Image %1$d was not found on slide %2$d of slider %3$s. Path to image is %4$s."
273
+ msgstr ""
274
+
275
+ #: ../src/CycloneSlider/Exporter.php:176
276
+ msgid "ZipArchive not supported."
277
+ msgstr ""
278
+
279
+ #: ../src/CycloneSlider/Exporter.php:181
280
+ msgid "Error opening zip file."
281
+ msgstr ""
282
+
283
+ #: ../src/CycloneSlider/Exporter.php:190
284
+ #, php-format
285
+ msgid "Error adding file %s to zip."
286
+ msgstr ""
287
+
288
+ #: ../src/CycloneSlider/Exporter.php:192 ../src/CycloneSlider/Exporter.php:200
289
+ #, php-format
290
+ msgid "File %s added to zip."
291
+ msgstr ""
292
+
293
+ #: ../src/CycloneSlider/ExporterNextgen.php:39
294
+ #: ../src/CycloneSlider/NextgenIntegration.php:39
295
+ msgid "NextGEN Integration"
296
+ msgstr ""
297
+
298
+ #: ../src/CycloneSlider/ExporterNextgen.php:55
299
+ #: ../src/CycloneSlider/NextgenIntegration.php:55
300
+ msgid "Choose a NextGEN Gallery"
301
+ msgstr ""
302
+
303
+ #: ../src/CycloneSlider/ExporterNextgen.php:67
304
+ #: ../src/CycloneSlider/NextgenIntegration.php:67
305
+ msgid ""
306
+ "Select a gallery to import images from. Images will be added as new slides."
307
+ msgstr ""
308
+
309
+ #: ../src/CycloneSlider/Frontend.php:72
310
+ #, php-format
311
+ msgid "[Slideshow \"%s\" not found]"
312
+ msgstr ""
313
+
314
+ #: ../src/CycloneSlider/Frontend.php:88
315
+ #, php-format
316
+ msgid "[Template \"%s\" not found]"
317
+ msgstr ""
318
+
319
+ #: ../src/CycloneSlider/ImportPage.php:116
320
+ msgid "Import operation success!"
321
+ msgstr ""
322
+
323
+ #: ../src/CycloneSlider/Importer.php:37
324
+ msgid "Could not read zip files. ZipArchive not supported."
325
+ msgstr ""
326
+
327
+ #: ../src/CycloneSlider/Importer.php:42
328
+ msgid "No zip file found."
329
+ msgstr ""
330
+
331
+ #: ../src/CycloneSlider/Importer.php:48
332
+ msgid "Error creating imports directory."
333
+ msgstr ""
334
+
335
+ #: ../src/CycloneSlider/Importer.php:55
336
+ msgid "Error moving uploaded zip."
337
+ msgstr ""
338
+
339
+ #: ../src/CycloneSlider/Importer.php:62
340
+ #, php-format
341
+ msgid "Error opening zip: %s"
342
+ msgstr ""
343
+
344
+ #: ../src/CycloneSlider/Importer.php:68
345
+ msgid "Error extracting zip."
346
+ msgstr ""
347
+
348
+ #: ../src/CycloneSlider/Importer.php:75
349
+ msgid "Failed to read export JSON."
350
+ msgstr ""
351
+
352
+ #: ../src/CycloneSlider/Importer.php:80
353
+ msgid "Failed to decode JSON."
354
+ msgstr ""
355
+
356
+ #: ../src/CycloneSlider/Importer.php:151
357
+ #, php-format
358
+ msgid "scandir failed on %s"
359
+ msgstr ""
360
+
361
+ #: ../src/CycloneSlider/Importer.php:167
362
+ #, php-format
363
+ msgid "Source image %s not found."
364
+ msgstr ""
365
+
366
+ #: ../src/CycloneSlider/Importer.php:171
367
+ msgid "Copy error."
368
+ msgstr ""
369
+
370
+ #: ../src/CycloneSlider/SettingsPage.php:54
371
+ msgid "Default options restored."
372
+ msgstr ""
373
+
374
+ #: ../src/CycloneSlider/WidgetSlider.php:13
375
+ msgid "Cyclone Slider Widget"
376
+ msgstr ""
377
+
378
+ #: ../src/CycloneSlider/WidgetSlider.php:14
379
+ msgid "Widget for displaying sliders."
380
+ msgstr ""
381
+
382
+ #: ../src/CycloneSlider/WidgetSlider.php:65 ../views/slide-edit.php:54
383
+ msgid "Title:"
384
+ msgstr ""
385
+
386
+ #: ../src/CycloneSlider/WidgetSlider.php:79
387
+ msgid "Select a Slider:"
388
+ msgstr ""
389
+
390
+ #: ../src/CycloneSlider/WidgetSlider.php:94
391
+ msgid "No sliders found."
392
+ msgstr ""
393
+
394
+ #: ../templates/dark/slider.php:43
395
+ msgid "View Larger Image"
396
+ msgstr ""
397
+
398
+ #: ../templates/dark/slider.php:46 ../templates/dark/slider.php:48
399
+ msgid "Learn More"
400
+ msgstr ""
401
+
402
+ #: ../templates/dark/slider.php:64 ../templates/default/slider.php:62
403
+ #: ../templates/default/slider.php:66 ../templates/default/slider.php:70
404
+ #: ../templates/standard/slider.php:70 ../templates/thumbnails/slider.php:70
405
+ msgid "Slide type not supported."
406
+ msgstr ""
407
+
408
+ #: ../views/export-nextgen-step-1.php:8 ../views/export-nextgen-step-2.php:8
409
+ #: ../views/export-nextgen-step-3.php:8
410
+ msgid "Cyclone Slider Nextgen Exporter"
411
+ msgstr ""
412
+
413
+ #: ../views/export-nextgen-step-1.php:18
414
+ msgid "Choose a NextGEN Gallery:"
415
+ msgstr ""
416
+
417
+ #: ../views/export-nextgen-step-1.php:22 ../views/export-step-1.php:22
418
+ msgid "Select All"
419
+ msgstr ""
420
+
421
+ #: ../views/export-nextgen-step-1.php:34 ../views/export-nextgen-step-2.php:28
422
+ #: ../views/export-step-1.php:34 ../views/export-step-2.php:28
423
+ msgid "File Name:"
424
+ msgstr ""
425
+
426
+ #: ../views/export-nextgen-step-1.php:41 ../views/export-step-1.php:41
427
+ msgid "No slider to export."
428
+ msgstr ""
429
+
430
+ #: ../views/export-nextgen-step-1.php:44 ../views/export-step-1.php:44
431
+ msgid "Clear"
432
+ msgstr ""
433
+
434
+ #: ../views/export-nextgen-step-1.php:45 ../views/export-step-1.php:45
435
+ msgid "Next"
436
+ msgstr ""
437
+
438
+ #: ../views/export-nextgen-step-2.php:17 ../views/export-step-2.php:17
439
+ msgid "Selected slider(s):"
440
+ msgstr ""
441
+
442
+ #: ../views/export-nextgen-step-2.php:35 ../views/export-nextgen-step-3.php:21
443
+ #: ../views/export-nextgen-step-3.php:26 ../views/export-step-2.php:35
444
+ #: ../views/export-step-3.php:21 ../views/export-step-3.php:26
445
+ #: ../views/import-step-3.php:15
446
+ msgid "Back"
447
+ msgstr ""
448
+
449
+ #: ../views/export-nextgen-step-2.php:36 ../views/export-step-2.php:36
450
+ msgid "Generate Export File"
451
+ msgstr ""
452
+
453
+ #: ../views/export-nextgen-step-3.php:22 ../views/export-step-3.php:22
454
+ msgid "Download"
455
+ msgstr ""
456
+
457
+ #: ../views/export-step-1.php:8 ../views/export-step-2.php:8
458
+ #: ../views/export-step-3.php:8
459
+ msgid "Cyclone Slider Exporter"
460
+ msgstr ""
461
+
462
+ #: ../views/export-step-1.php:18
463
+ msgid "Select sliders:"
464
+ msgstr ""
465
+
466
+ #: ../views/import-step-1.php:8 ../views/import-step-3.php:8
467
+ msgid "Cyclone Slider Importer"
468
+ msgstr ""
469
+
470
+ #: ../views/import-step-1.php:17
471
+ msgid "Import Zip File:"
472
+ msgstr ""
473
+
474
+ #: ../views/import-step-1.php:24
475
+ msgid "Upload"
476
+ msgstr ""
477
+
478
+ #: ../views/settings-page.php:7
479
+ msgid ""
480
+ "Play with these settings if Cyclone Slider is not working or if you want to "
481
+ "optimize it."
482
+ msgstr ""
483
+
484
+ #: ../views/settings-page.php:17
485
+ msgid "Load scripts in:"
486
+ msgstr ""
487
+
488
+ #: ../views/settings-page.php:20
489
+ msgid "Header"
490
+ msgstr ""
491
+
492
+ #: ../views/settings-page.php:21
493
+ msgid "Footer"
494
+ msgstr ""
495
+
496
+ #: ../views/settings-page.php:26
497
+ msgid "Load these scripts:"
498
+ msgstr ""
499
+
500
+ #: ../views/settings-page.php:31
501
+ msgid "Cycle 2. This is the core script needed by the plugin."
502
+ msgstr ""
503
+
504
+ #: ../views/settings-page.php:36
505
+ msgid "Cycle 2 - Carousel. Used by these templates: Galleria, Lea, Dos."
506
+ msgstr ""
507
+
508
+ #: ../views/settings-page.php:41
509
+ msgid "Cycle 2 - Swipe. For touch swipe events."
510
+ msgstr ""
511
+
512
+ #: ../views/settings-page.php:46
513
+ msgid "Cycle 2 - Tile. Used for tile transition effects."
514
+ msgstr ""
515
+
516
+ #: ../views/settings-page.php:51
517
+ msgid "Cycle 2 - Video. Used by YouTube template."
518
+ msgstr ""
519
+
520
+ #: ../views/settings-page.php:56
521
+ msgid "Magnific Popup - Enable lightbox option."
522
+ msgstr ""
523
+
524
+ #: ../views/settings-page.php:56 ../views/settings-page.php:61
525
+ #: ../views/slider-advanced-settings.php:2
526
+ msgid "Available in pro version."
527
+ msgstr ""
528
+
529
+ #: ../views/settings-page.php:61
530
+ msgid "Easing - Enable easing options."
531
+ msgstr ""
532
+
533
+ #: ../views/settings-page.php:66
534
+ msgid "Scripts loading priority:"
535
+ msgstr ""
536
+
537
+ #: ../views/settings-page.php:69
538
+ msgid "Make this value bigger to load scripts last."
539
+ msgstr ""
540
+
541
+ #: ../views/settings-page.php:73
542
+ msgid "Load these templates:"
543
+ msgstr ""
544
+
545
+ #: ../views/settings-page.php:86
546
+ msgid "Save Options"
547
+ msgstr ""
548
+
549
+ #: ../views/settings-page.php:87
550
+ msgid "Restore Defaults"
551
+ msgstr ""
552
+
553
+ #: ../views/slide-edit.php:17
554
+ msgid "Delete"
555
+ msgstr ""
556
+
557
+ #: ../views/slide-edit.php:26
558
+ msgid "Image"
559
+ msgstr ""
560
+
561
+ #: ../views/slide-edit.php:27
562
+ msgid "YouTube"
563
+ msgstr ""
564
+
565
+ #: ../views/slide-edit.php:28
566
+ msgid "Vimeo"
567
+ msgstr ""
568
+
569
+ #: ../views/slide-edit.php:29 ../views/slide-edit.php:178
570
+ msgid "Custom HTML"
571
+ msgstr ""
572
+
573
+ #: ../views/slide-edit.php:30
574
+ msgid "Testimonial"
575
+ msgstr ""
576
+
577
+ #: ../views/slide-edit.php:35
578
+ msgid "Hide"
579
+ msgstr ""
580
+
581
+ #: ../views/slide-edit.php:47
582
+ msgid "Get Image"
583
+ msgstr ""
584
+
585
+ #: ../views/slide-edit.php:51
586
+ msgid "Caption"
587
+ msgstr ""
588
+
589
+ #: ../views/slide-edit.php:58
590
+ msgid "Description:"
591
+ msgstr ""
592
+
593
+ #: ../views/slide-edit.php:64 ../views/slide-edit.php:201
594
+ msgid "Link"
595
+ msgstr ""
596
+
597
+ #: ../views/slide-edit.php:67 ../views/slide-edit.php:204
598
+ msgid "Link URL:"
599
+ msgstr ""
600
+
601
+ #: ../views/slide-edit.php:71 ../views/slide-edit.php:208
602
+ msgid "Open Link in:"
603
+ msgstr ""
604
+
605
+ #: ../views/slide-edit.php:73 ../views/slide-edit.php:210
606
+ msgid "Same Window"
607
+ msgstr ""
608
+
609
+ #: ../views/slide-edit.php:74 ../views/slide-edit.php:211
610
+ msgid "New Tab or Window"
611
+ msgstr ""
612
+
613
+ #: ../views/slide-edit.php:80
614
+ msgid "Image Attributes"
615
+ msgstr ""
616
+
617
+ #: ../views/slide-edit.php:83
618
+ msgid "Alternate Text:"
619
+ msgstr ""
620
+
621
+ #: ../views/slide-edit.php:87
622
+ msgid "Title Text:"
623
+ msgstr ""
624
+
625
+ #: ../views/slide-edit.php:93
626
+ msgid "Slide Transition Effects"
627
+ msgstr ""
628
+
629
+ #: ../views/slide-edit.php:97
630
+ msgid "Disable"
631
+ msgstr ""
632
+
633
+ #: ../views/slide-edit.php:98
634
+ msgid "Enable Slide Effects"
635
+ msgstr ""
636
+
637
+ #: ../views/slide-edit.php:104
638
+ msgid "Transition Effects:"
639
+ msgstr ""
640
+
641
+ #: ../views/slide-edit.php:115 ../views/slider-settings.php:32
642
+ msgid "Transition Effects Speed:"
643
+ msgstr ""
644
+
645
+ #: ../views/slide-edit.php:117 ../views/slide-edit.php:124
646
+ #: ../views/slider-settings.php:34
647
+ msgid "Milliseconds"
648
+ msgstr ""
649
+
650
+ #: ../views/slide-edit.php:122 ../views/slider-settings.php:26
651
+ msgid "Next Slide Delay:"
652
+ msgstr ""
653
+
654
+ #: ../views/slide-edit.php:132 ../views/slider-settings.php:13
655
+ msgid "Tile Count:"
656
+ msgstr ""
657
+
658
+ #: ../views/slide-edit.php:134 ../views/slider-settings.php:15
659
+ msgid "The number of tiles to use in the transition."
660
+ msgstr ""
661
+
662
+ #: ../views/slide-edit.php:138
663
+ msgid "Tile Delay:"
664
+ msgstr ""
665
+
666
+ #: ../views/slide-edit.php:140
667
+ msgid "Milliseconds to delay each individual tile transition."
668
+ msgstr ""
669
+
670
+ #: ../views/slide-edit.php:144 ../views/slider-settings.php:18
671
+ msgid "Tile Position:"
672
+ msgstr ""
673
+
674
+ #: ../views/slide-edit.php:146 ../views/slider-settings.php:20
675
+ msgid "Vertical"
676
+ msgstr ""
677
+
678
+ #: ../views/slide-edit.php:147 ../views/slider-settings.php:21
679
+ msgid "Horizontal"
680
+ msgstr ""
681
+
682
+ #: ../views/slide-edit.php:159
683
+ msgid "YouTube URL:"
684
+ msgstr ""
685
+
686
+ #: ../views/slide-edit.php:161
687
+ msgid "Copy and paste a valid YouTube URL here."
688
+ msgstr ""
689
+
690
+ #: ../views/slide-edit.php:166
691
+ msgid "Do not show suggested videos when the video finishes."
692
+ msgstr ""
693
+
694
+ #: ../views/slide-edit.php:171
695
+ msgid "Vimeo URL:"
696
+ msgstr ""
697
+
698
+ #: ../views/slide-edit.php:173
699
+ msgid "Copy and paste a valid Vimeo URL here."
700
+ msgstr ""
701
+
702
+ #: ../views/slide-edit.php:186
703
+ msgid "Quote"
704
+ msgstr ""
705
+
706
+ #: ../views/slide-edit.php:192
707
+ msgid "Author"
708
+ msgstr ""
709
+
710
+ #: ../views/slide-edit.php:195
711
+ msgid "Name:"
712
+ msgstr ""
713
+
714
+ #: ../views/slider-advanced-settings.php:4
715
+ msgid "Allow Wrap?"
716
+ msgstr ""
717
+
718
+ #: ../views/slider-advanced-settings.php:6
719
+ #: ../views/slider-advanced-settings.php:44 ../views/slider-settings.php:67
720
+ #: ../views/slider-settings.php:78 ../views/slider-settings.php:86
721
+ #: ../views/slider-settings.php:94 ../views/slider-settings.php:104
722
+ msgid "Yes"
723
+ msgstr ""
724
+
725
+ #: ../views/slider-advanced-settings.php:7
726
+ #: ../views/slider-advanced-settings.php:45 ../views/slider-settings.php:66
727
+ #: ../views/slider-settings.php:79 ../views/slider-settings.php:87
728
+ #: ../views/slider-settings.php:95 ../views/slider-settings.php:103
729
+ msgid "No"
730
+ msgstr ""
731
+
732
+ #: ../views/slider-advanced-settings.php:10
733
+ msgid ""
734
+ "Determines if slider wraps to beginning slide if it reaches the end slide."
735
+ msgstr ""
736
+
737
+ #: ../views/slider-advanced-settings.php:15
738
+ msgid "Dynamic Height:"
739
+ msgstr ""
740
+
741
+ #: ../views/slider-advanced-settings.php:17
742
+ msgid "Off"
743
+ msgstr ""
744
+
745
+ #: ../views/slider-advanced-settings.php:18
746
+ msgid "On"
747
+ msgstr ""
748
+
749
+ #: ../views/slider-advanced-settings.php:21
750
+ msgid "Adjust slider height depending on current slide."
751
+ msgstr ""
752
+
753
+ #: ../views/slider-advanced-settings.php:26
754
+ msgid "Delay:"
755
+ msgstr ""
756
+
757
+ #: ../views/slider-advanced-settings.php:28
758
+ msgid ""
759
+ "Milliseconds to add or substract from the time before the first transition "
760
+ "occurs."
761
+ msgstr ""
762
+
763
+ #: ../views/slider-advanced-settings.php:32
764
+ msgid "Easing:"
765
+ msgstr ""
766
+
767
+ #: ../views/slider-advanced-settings.php:38
768
+ msgid "Easing for transition animations."
769
+ msgstr ""
770
+
771
+ #: ../views/slider-advanced-settings.php:42
772
+ msgid "Swipe:"
773
+ msgstr ""
774
+
775
+ #: ../views/slider-advanced-settings.php:48
776
+ msgid "Enable swipe gesture support for touch devices."
777
+ msgstr ""
778
+
779
+ #: ../views/slider-advanced-settings.php:53
780
+ msgid "Resize Options:"
781
+ msgstr ""
782
+
783
+ #: ../views/slider-advanced-settings.php:60
784
+ msgid "Auto - Cyclone Slider decides the resize option."
785
+ msgstr ""
786
+
787
+ #: ../views/slider-advanced-settings.php:61
788
+ msgid "Crop - Resize and remove excess parts."
789
+ msgstr ""
790
+
791
+ #: ../views/slider-advanced-settings.php:62
792
+ msgid "Exact - Resize to exact dimensions."
793
+ msgstr ""
794
+
795
+ #: ../views/slider-advanced-settings.php:63
796
+ msgid "Landscape - Resize to exact width."
797
+ msgstr ""
798
+
799
+ #: ../views/slider-advanced-settings.php:64
800
+ msgid "Portrait - Resize to exact height."
801
+ msgstr ""
802
+
803
+ #: ../views/slider-codes.php:4
804
+ msgid "Your Shortcode:"
805
+ msgstr ""
806
+
807
+ #: ../views/slider-codes.php:6
808
+ msgid ""
809
+ "Copy and paste this shortcode into your Post, Page or Custom Post editor."
810
+ msgstr ""
811
+
812
+ #: ../views/slider-codes.php:10
813
+ msgid "Your PHP Code:"
814
+ msgstr ""
815
+
816
+ #: ../views/slider-codes.php:12
817
+ msgid ""
818
+ "Copy and paste this code when you need to display the slider in template "
819
+ "files (header.php, front-page.php, etc.)."
820
+ msgstr ""
821
+
822
+ #: ../views/slider-id.php:5
823
+ msgid "Change the Slideshow ID here."
824
+ msgstr ""
825
+
826
+ #: ../views/slider-preview.php:9
827
+ msgid "Your preview will appear here."
828
+ msgstr ""
829
+
830
+ #: ../views/slider-settings.php:4
831
+ msgid "Transition Effects to Use:"
832
+ msgstr ""
833
+
834
+ #: ../views/slider-settings.php:28
835
+ msgid "Milliseconds. 0 to disable auto advance."
836
+ msgstr ""
837
+
838
+ #: ../views/slider-settings.php:38
839
+ msgid "Width:"
840
+ msgstr ""
841
+
842
+ #: ../views/slider-settings.php:40 ../views/slider-settings.php:46
843
+ msgid "pixels."
844
+ msgstr ""
845
+
846
+ #: ../views/slider-settings.php:44
847
+ msgid "Height:"
848
+ msgstr ""
849
+
850
+ #: ../views/slider-settings.php:50
851
+ msgid "Width Management:"
852
+ msgstr ""
853
+
854
+ #: ../views/slider-settings.php:52
855
+ msgid "Responsive"
856
+ msgstr ""
857
+
858
+ #: ../views/slider-settings.php:53
859
+ msgid "Full"
860
+ msgstr ""
861
+
862
+ #: ../views/slider-settings.php:54
863
+ msgid "Fixed"
864
+ msgstr ""
865
+
866
+ #: ../views/slider-settings.php:57
867
+ msgid ""
868
+ "Responsive - resizes to smaller size but maximum width will be equal to the "
869
+ "provided width."
870
+ msgstr ""
871
+
872
+ #: ../views/slider-settings.php:58
873
+ msgid ""
874
+ "Full - the same as responsive but maximum width will be equal to its "
875
+ "container ignoring the provided width."
876
+ msgstr ""
877
+
878
+ #: ../views/slider-settings.php:59
879
+ msgid "Fixed - width and height are not resized."
880
+ msgstr ""
881
+
882
+ #: ../views/slider-settings.php:64
883
+ msgid "Resize Images?"
884
+ msgstr ""
885
+
886
+ #: ../views/slider-settings.php:71
887
+ msgid "Force Resize"
888
+ msgstr ""
889
+
890
+ #: ../views/slider-settings.php:72
891
+ msgid ""
892
+ "Yes - resize images to slideshow dimension. <br>No - use the original "
893
+ "uploaded image. <br>Force Resize - Regenerate all images and thumbnails."
894
+ msgstr ""
895
+
896
+ #: ../views/slider-settings.php:76
897
+ msgid "Pause on Hover?"
898
+ msgstr ""
899
+
900
+ #: ../views/slider-settings.php:84
901
+ msgid "Show Prev/Next Buttons?"
902
+ msgstr ""
903
+
904
+ #: ../views/slider-settings.php:92
905
+ msgid "Show Navigation?"
906
+ msgstr ""
907
+
908
+ #: ../views/slider-settings.php:97
909
+ msgid "The thumbnails or dots depending on template."
910
+ msgstr ""
911
+
912
+ #: ../views/slider-settings.php:101
913
+ msgid "Random Slide Order?"
914
+ msgstr ""
915
+
916
+ #: ../views/slider-settings.php:106
917
+ msgid "Randomize order of slides on every page visit."
918
+ msgstr ""
919
+
920
+ #: ../views/slides.php:8
921
+ msgid "Add Slide"
922
+ msgstr ""
923
+
924
+ #: ../views/template-selection.php:4
925
+ msgid "Name"
926
+ msgstr ""
927
+
928
+ #: ../views/template-selection.php:5
929
+ msgid "Supported Slides"
930
+ msgstr ""
931
+
932
+ #: ../views/template-selection.php:6
933
+ msgid "Location"
934
+ msgstr ""
935
+
936
+ #: ../views/template-selection.php:7
937
+ msgid "Selected"
938
+ msgstr ""
src/CycloneSlider/Admin.php CHANGED
@@ -2,10 +2,29 @@
2
  /**
3
  * Class for displaying cyclone admin screen
4
  */
5
- class CycloneSlider_Admin extends CycloneSlider_Base {
6
 
7
  public $slider_count;
8
  protected $message_id;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
 
10
  public function run() {
11
 
@@ -13,10 +32,10 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
13
  $this->slider_count = 0;
14
 
15
  // Register admin styles and scripts
16
- add_action( 'admin_enqueue_scripts', array( $this->plugin['asset_loader'], 'register_admin_scripts' ), 10);
17
 
18
  // Register frontend styles and scripts
19
- add_action( 'admin_enqueue_scripts', array( $this->plugin['asset_loader'], 'register_frontend_scripts_in_admin' ), 100 );
20
 
21
  // Add admin menus
22
  add_action( 'init', array( $this, 'create_post_types' ) );
@@ -75,16 +94,16 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
75
  register_post_type( 'cycloneslider',
76
  array(
77
  'labels' => array(
78
- 'name' => __('Cyclone Slider', $this->plugin['textdomain']),
79
- 'singular_name' => __('Slideshow', $this->plugin['textdomain']),
80
- 'add_new' => __('Add Slideshow', $this->plugin['textdomain']),
81
- 'add_new_item' => __('Add New Slideshow', $this->plugin['textdomain']),
82
- 'edit_item' => __('Edit Slideshow', $this->plugin['textdomain']),
83
- 'new_item' => __('New Slideshow', $this->plugin['textdomain']),
84
- 'view_item' => __('View Slideshow', $this->plugin['textdomain']),
85
- 'search_items' => __('Search Slideshows', $this->plugin['textdomain']),
86
- 'not_found' => __('No slideshows found', $this->plugin['textdomain']),
87
- 'not_found_in_trash' => __('No slideshows found in Trash', $this->plugin['textdomain'])
88
  ),
89
  'supports' => array('title'),
90
  'public' => false,
@@ -128,16 +147,16 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
128
  global $post, $post_ID;
129
  $messages['cycloneslider'] = array(
130
  0 => '',
131
- 1 => __( 'Slideshow updated.', $this->plugin['textdomain'] ),
132
- 2 => __( 'Custom field updated.', $this->plugin['textdomain'] ),
133
- 3 => __( 'Custom field deleted.', $this->plugin['textdomain'] ),
134
- 4 => __( 'Slideshow updated.', $this->plugin['textdomain'] ),
135
- 5 => __( 'Slideshow updated.', $this->plugin['textdomain'] ),
136
- 6 => __( 'Slideshow published.', $this->plugin['textdomain'] ),
137
- 7 => __( 'Slideshow saved.', $this->plugin['textdomain'] ),
138
- 8 => __( 'Slideshow updated.', $this->plugin['textdomain'] ),
139
- 9 => __( 'Slideshow updated.', $this->plugin['textdomain'] ),
140
- 10 => __( 'Slideshow updated.', $this->plugin['textdomain'] )
141
  );
142
  return $messages;
143
  }
@@ -171,7 +190,7 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
171
 
172
  add_meta_box(
173
  'cyclone-slides-metabox',
174
- __('Slides', $this->plugin['textdomain']),
175
  array( $this, 'render_slides_meta_box' ),
176
  'cycloneslider' ,
177
  'normal',
@@ -180,7 +199,7 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
180
 
181
  add_meta_box(
182
  'cyclone-slider-preview-metabox',
183
- __('Slider Preview', $this->plugin['textdomain']),
184
  array( $this, 'render_slider_preview_meta_box' ),
185
  'cycloneslider' ,
186
  'side',
@@ -189,7 +208,7 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
189
 
190
  add_meta_box(
191
  'cyclone-slider-codes',
192
- __('Get Slider Codes', $this->plugin['textdomain']),
193
  array( $this, 'render_slider_codes' ),
194
  'cycloneslider' ,
195
  'side',
@@ -198,7 +217,7 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
198
 
199
  add_meta_box(
200
  'cyclone-slider-properties-metabox',
201
- __('Basic Settings', $this->plugin['textdomain']),
202
  array( $this, 'render_slider_properties_meta_box' ),
203
  'cycloneslider' ,
204
  'side',
@@ -207,7 +226,7 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
207
 
208
  add_meta_box(
209
  'cyclone-slider-advanced-settings-metabox',
210
- __('Advanced Settings', $this->plugin['textdomain']),
211
  array( $this, 'render_slider_advanced_settings_meta_box' ),
212
  'cycloneslider' ,
213
  'side',
@@ -216,7 +235,7 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
216
 
217
  add_meta_box(
218
  'cyclone-slider-templates-metabox',
219
- __('Templates', $this->plugin['textdomain']),
220
  array( $this, 'render_slider_templates_meta_box' ),
221
  'cycloneslider' ,
222
  'normal',
@@ -225,7 +244,7 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
225
 
226
  add_meta_box(
227
  'cyclone-slider-id',
228
- __('Slideshow ID', $this->plugin['textdomain']),
229
  array( $this, 'render_slider_id' ),
230
  'cycloneslider' ,
231
  'normal',
@@ -242,8 +261,8 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
242
 
243
  $slides_html = '';
244
 
245
- $slider_settings = $this->plugin['data']->get_slider_settings( $post->ID );
246
- $slides = $this->plugin['data']->get_slider_slides( $post->ID );
247
 
248
  if(is_array($slides) and count($slides)>0):
249
 
@@ -251,10 +270,13 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
251
 
252
  $image_url = $this->get_slide_img_thumb($slide['id']);
253
  $image_url = apply_filters('cycloneslider_preview_url', $image_url, $slide);
254
- $box_title = __('Slide', $this->plugin['textdomain']).' '.($i+1);
255
  if( '' != trim($slide['title']) and 'image' == $slide['type'] ){
256
  $box_title = $box_title. ' - '.$slide['title'];
257
  }
 
 
 
258
  $box_title = apply_filters('cycloneslider_box_title', $box_title);
259
 
260
  $vars = array();
@@ -263,10 +285,10 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
263
  $vars['slide'] = $slide;
264
  $vars['image_url'] = $image_url;
265
  $vars['box_title'] = $box_title;
266
- $vars['debug'] = ($this->plugin['debug']) ? cyclone_slider_debug($slide) : '';
267
- $vars['effects'] = $this->plugin['data']->get_slide_effects();
268
 
269
- $slides_html .= $this->plugin['view']->get_render('slide-edit.php', $vars);
270
 
271
  endforeach;
272
  endif;
@@ -274,10 +296,10 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
274
  $vars = array();
275
  $vars['slides'] = $slides_html;
276
  $vars['post_id'] = $post->ID;
277
- $vars['nonce_name'] = $this->plugin['nonce_name'];
278
- $vars['nonce'] = wp_create_nonce( $this->plugin['nonce_action'] );
279
 
280
- $this->plugin['view']->render('slides.php', $vars);
281
  }
282
 
283
  /**
@@ -295,7 +317,7 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
295
  $vars['template_code'] = '<?php if( function_exists(\'cyclone_slider\') ) cyclone_slider(\''.$post->post_name.'\'); ?>';
296
  }
297
 
298
- $this->plugin['view']->render('slider-codes.php', $vars);
299
 
300
  }
301
 
@@ -303,14 +325,14 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
303
  * Metabox for basic settings
304
  */
305
  public function render_slider_properties_meta_box( $post ){
306
- $slider_settings = $this->plugin['data']->get_slider_settings( $post->ID );
307
 
308
  $vars = array();
309
  $vars['slider_settings'] = $slider_settings;
310
- $vars['effects'] = $this->plugin['data']->get_slide_effects();
311
- $vars['debug'] = ($this->plugin['debug']) ? cyclone_slider_debug($slider_settings) : '';
312
 
313
- $this->plugin['view']->render('slider-settings.php', $vars);
314
 
315
  }
316
 
@@ -318,15 +340,15 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
318
  * Metabox for advanced settings
319
  */
320
  public function render_slider_advanced_settings_meta_box( $post ){
321
- $slider_settings = $this->plugin['data']->get_slider_settings( $post->ID );
322
 
323
  $vars = array();
324
  $vars['slider_settings'] = $slider_settings;
325
- $vars['easing_options'] = $this->plugin['data']->get_jquery_easing_options();
326
- $vars['resize_options'] = $this->plugin['data']->get_resize_options();
327
- $vars['debug'] = ($this->plugin['debug']) ? cyclone_slider_debug($slider_settings) : '';
328
 
329
- $this->plugin['view']->render( 'slider-advanced-settings.php', $vars );
330
 
331
  }
332
 
@@ -346,7 +368,7 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
346
  $vars['template_code'] = '<?php if( function_exists(\'cyclone_slider\') ) cyclone_slider(\''.$post->post_name.'\'); ?>';
347
  }
348
 
349
- $this->plugin['view']->render('slider-preview.php', $vars);
350
  }
351
 
352
  /**
@@ -354,9 +376,11 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
354
  */
355
  public function render_slider_templates_meta_box($post){
356
 
357
- $slider_settings = $this->plugin['data']->get_slider_settings($post->ID);
358
- $templates = $this->plugin['templates_manager']->get_all_templates();
359
- $active_templates = $this->plugin['templates_manager']->get_active_templates();
 
 
360
  ksort ( $templates ); // Sort assoc array alphabetically
361
  foreach($templates as $name=>$template){
362
  if( $name == $slider_settings['template'] ){
@@ -368,23 +392,23 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
368
  if( file_exists($template['path'].'/screenshot.jpg') ) {
369
  $templates[$name]['screenshot'] = $template['url'].'/screenshot.jpg';
370
  } else {
371
- $templates[$name]['screenshot'] = $this->plugin['url'].'images/screenshot.png';
372
  }
373
 
374
  $templates[$name]['warning'] = '';
375
 
376
  if( $template['location_name'] == 'core' ){
377
- $templates[$name]['location_name'] = __('Core', $this->plugin['textdomain']);
378
- $templates[$name]['location_details'] = sprintf( __("Located inside the plugin directory:<br> <strong>%s</strong>", $this->plugin['textdomain'] ), $template['path']);
379
  }
380
  if( $template['location_name'] == 'active-theme' ){
381
  $templates[$name]['location_name'] = 'Active Theme';
382
- $templates[$name]['location_details'] = sprintf( __("Located inside your currently active theme:<br> <strong>%s</strong>", $this->plugin['textdomain'] ), $template['path']);
383
- $templates[$name]['warning'] = sprintf( __('Your template is in danger of being overwritten when you upgrade your theme. Please move it inside %s.', $this->plugin['textdomain'] ), 'wp-content/cycloneslider' );
384
  }
385
  if( $template['location_name'] == 'wp-content' ){
386
  $templates[$name]['location_name'] = 'WP Content';
387
- $templates[$name]['location_details'] = sprintf( __("Located inside wp-content directory:<br> <strong>%s</strong>", $this->plugin['textdomain']), $template['path'] );
388
  }
389
 
390
  // Remove inactive templates
@@ -396,9 +420,9 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
396
  $vars = array();
397
  $vars['slider_settings'] = $slider_settings;
398
  $vars['templates'] = $templates;
399
- $vars['debug'] = ($this->plugin['debug']) ? cyclone_slider_debug($templates) : '';
400
 
401
- $this->plugin['view']->render('template-selection.php', $vars);
402
  }
403
 
404
  /**
@@ -409,7 +433,7 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
409
  $vars = array();
410
  $vars['post_name'] = $post->post_name;
411
 
412
- $this->plugin['view']->render('slider-id.php', $vars);
413
 
414
  }
415
 
@@ -421,24 +445,24 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
421
  if(get_post_type()=='cycloneslider'){
422
  // Empty Slide
423
  $vars = array();
424
- $vars['box_title'] = __('Slide *', $this->plugin['textdomain']);
425
  $vars['image_url'] = '';
426
  $vars['i'] = '{id}';
427
- $vars['slide'] = $this->plugin['data']->get_slide_defaults();
428
  foreach($vars['slide'] as $key=>$value){
429
  $vars['slide'][$key] = '';
430
  }
431
  $vars['slide']['type'] = 'image';
432
- $vars['effects'] = $this->plugin['data']->get_slide_effects();
433
- $vars['debug'] = ($this->plugin['debug']) ? cyclone_slider_debug($vars['slide']) : '';
434
 
435
- $empty_slide = $this->plugin['view']->get_render('slide-edit.php', $vars);
436
 
437
  // Main skeleton container
438
  $vars = array();
439
  $vars['empty_slide'] = $empty_slide;
440
 
441
- $this->plugin['view']->render('slides-skeleton.php', $vars);
442
  }
443
  }
444
 
@@ -482,22 +506,22 @@ class CycloneSlider_Admin extends CycloneSlider_Base {
482
  // Modify columns
483
  public function slideshow_columns($columns) {
484
  $columns = array();
485
- $columns['title']= __('Slideshow Name', $this->plugin['textdomain']);
486
- $columns['template']= __('Template', $this->plugin['textdomain']);
487
- $columns['images']= __('No. of Slides', $this->plugin['textdomain']);
488
- $columns['id']= __('Slideshow ID', $this->plugin['textdomain']);
489
- $columns['shortcode']= __('Shortcode', $this->plugin['textdomain']);
490
  return $columns;
491
  }
492
 
493
  // Add content to custom columns
494
  public function custom_column( $column_name, $post_id ){
495
  if ($column_name == 'template') {
496
- $settings = $this->plugin['data']->get_slider_settings($post_id);
497
  echo ucwords($settings['template']);
498
  }
499
  if ($column_name == 'images') {
500
- echo '<div style="text-align:center; max-width:40px;">' . $this->plugin['data']->get_slide_count( $post_id ) . '</div>';
501
  }
502
  if ($column_name == 'id') {
503
  $post = get_post($post_id);
2
  /**
3
  * Class for displaying cyclone admin screen
4
  */
5
+ class CycloneSlider_Admin {
6
 
7
  public $slider_count;
8
  protected $message_id;
9
+ protected $asset_loader;
10
+ protected $textdomain;
11
+ protected $data;
12
+ protected $debug;
13
+ protected $view;
14
+ protected $nonce_name;
15
+ protected $nonce_action;
16
+ protected $url;
17
+
18
+ public function __construct( $asset_loader, $textdomain, $data, $debug, $view, $nonce_name, $nonce_action, $url ){
19
+ $this->asset_loader = $asset_loader;
20
+ $this->textdomain = $textdomain;
21
+ $this->data = $data;
22
+ $this->debug = $debug;
23
+ $this->view = $view;
24
+ $this->nonce_name = $nonce_name;
25
+ $this->nonce_action = $nonce_action;
26
+ $this->url = $url;
27
+ }
28
 
29
  public function run() {
30
 
32
  $this->slider_count = 0;
33
 
34
  // Register admin styles and scripts
35
+ add_action( 'admin_enqueue_scripts', array( $this->asset_loader, 'register_admin_scripts' ), 10);
36
 
37
  // Register frontend styles and scripts
38
+ add_action( 'admin_enqueue_scripts', array( $this->asset_loader, 'register_frontend_scripts_in_admin' ), 100 );
39
 
40
  // Add admin menus
41
  add_action( 'init', array( $this, 'create_post_types' ) );
94
  register_post_type( 'cycloneslider',
95
  array(
96
  'labels' => array(
97
+ 'name' => __('Cyclone Slider', $this->textdomain),
98
+ 'singular_name' => __('Slideshow', $this->textdomain),
99
+ 'add_new' => __('Add Slideshow', $this->textdomain),
100
+ 'add_new_item' => __('Add New Slideshow', $this->textdomain),
101
+ 'edit_item' => __('Edit Slideshow', $this->textdomain),
102
+ 'new_item' => __('New Slideshow', $this->textdomain),
103
+ 'view_item' => __('View Slideshow', $this->textdomain),
104
+ 'search_items' => __('Search Slideshows', $this->textdomain),
105
+ 'not_found' => __('No slideshows found', $this->textdomain),
106
+ 'not_found_in_trash' => __('No slideshows found in Trash', $this->textdomain)
107
  ),
108
  'supports' => array('title'),
109
  'public' => false,
147
  global $post, $post_ID;
148
  $messages['cycloneslider'] = array(
149
  0 => '',
150
+ 1 => __( 'Slideshow updated.', $this->textdomain ),
151
+ 2 => __( 'Custom field updated.', $this->textdomain ),
152
+ 3 => __( 'Custom field deleted.', $this->textdomain ),
153
+ 4 => __( 'Slideshow updated.', $this->textdomain ),
154
+ 5 => __( 'Slideshow updated.', $this->textdomain ),
155
+ 6 => __( 'Slideshow published.', $this->textdomain ),
156
+ 7 => __( 'Slideshow saved.', $this->textdomain ),
157
+ 8 => __( 'Slideshow updated.', $this->textdomain ),
158
+ 9 => __( 'Slideshow updated.', $this->textdomain ),
159
+ 10 => __( 'Slideshow updated.', $this->textdomain )
160
  );
161
  return $messages;
162
  }
190
 
191
  add_meta_box(
192
  'cyclone-slides-metabox',
193
+ __('Slides', $this->textdomain),
194
  array( $this, 'render_slides_meta_box' ),
195
  'cycloneslider' ,
196
  'normal',
199
 
200
  add_meta_box(
201
  'cyclone-slider-preview-metabox',
202
+ __('Slider Preview', $this->textdomain),
203
  array( $this, 'render_slider_preview_meta_box' ),
204
  'cycloneslider' ,
205
  'side',
208
 
209
  add_meta_box(
210
  'cyclone-slider-codes',
211
+ __('Get Slider Codes', $this->textdomain),
212
  array( $this, 'render_slider_codes' ),
213
  'cycloneslider' ,
214
  'side',
217
 
218
  add_meta_box(
219
  'cyclone-slider-properties-metabox',
220
+ __('Basic Settings', $this->textdomain),
221
  array( $this, 'render_slider_properties_meta_box' ),
222
  'cycloneslider' ,
223
  'side',
226
 
227
  add_meta_box(
228
  'cyclone-slider-advanced-settings-metabox',
229
+ __('Advanced Settings', $this->textdomain),
230
  array( $this, 'render_slider_advanced_settings_meta_box' ),
231
  'cycloneslider' ,
232
  'side',
235
 
236
  add_meta_box(
237
  'cyclone-slider-templates-metabox',
238
+ __('Templates', $this->textdomain),
239
  array( $this, 'render_slider_templates_meta_box' ),
240
  'cycloneslider' ,
241
  'normal',
244
 
245
  add_meta_box(
246
  'cyclone-slider-id',
247
+ __('Slideshow ID', $this->textdomain),
248
  array( $this, 'render_slider_id' ),
249
  'cycloneslider' ,
250
  'normal',
261
 
262
  $slides_html = '';
263
 
264
+ $slider_settings = $this->data->get_slider_settings( $post->ID );
265
+ $slides = $this->data->get_slider_slides( $post->ID );
266
 
267
  if(is_array($slides) and count($slides)>0):
268
 
270
 
271
  $image_url = $this->get_slide_img_thumb($slide['id']);
272
  $image_url = apply_filters('cycloneslider_preview_url', $image_url, $slide);
273
+ $box_title = __('Slide', $this->textdomain).' '.($i+1);
274
  if( '' != trim($slide['title']) and 'image' == $slide['type'] ){
275
  $box_title = $box_title. ' - '.$slide['title'];
276
  }
277
+ if( '1' == $slide['hidden'] ){
278
+ $box_title = $box_title. ' - '.__('[Hidden]', $this->textdomain);
279
+ }
280
  $box_title = apply_filters('cycloneslider_box_title', $box_title);
281
 
282
  $vars = array();
285
  $vars['slide'] = $slide;
286
  $vars['image_url'] = $image_url;
287
  $vars['box_title'] = $box_title;
288
+ $vars['debug'] = ($this->debug) ? cyclone_slider_debug($slide) : '';
289
+ $vars['effects'] = $this->data->get_slide_effects();
290
 
291
+ $slides_html .= $this->view->get_render('slide-edit.php', $vars);
292
 
293
  endforeach;
294
  endif;
296
  $vars = array();
297
  $vars['slides'] = $slides_html;
298
  $vars['post_id'] = $post->ID;
299
+ $vars['nonce_name'] = $this->nonce_name;
300
+ $vars['nonce'] = wp_create_nonce( $this->nonce_action );
301
 
302
+ $this->view->render('slides.php', $vars);
303
  }
304
 
305
  /**
317
  $vars['template_code'] = '<?php if( function_exists(\'cyclone_slider\') ) cyclone_slider(\''.$post->post_name.'\'); ?>';
318
  }
319
 
320
+ $this->view->render('slider-codes.php', $vars);
321
 
322
  }
323
 
325
  * Metabox for basic settings
326
  */
327
  public function render_slider_properties_meta_box( $post ){
328
+ $slider_settings = $this->data->get_slider_settings( $post->ID );
329
 
330
  $vars = array();
331
  $vars['slider_settings'] = $slider_settings;
332
+ $vars['effects'] = $this->data->get_slide_effects();
333
+ $vars['debug'] = ($this->debug) ? cyclone_slider_debug($slider_settings) : '';
334
 
335
+ $this->view->render('slider-settings.php', $vars);
336
 
337
  }
338
 
340
  * Metabox for advanced settings
341
  */
342
  public function render_slider_advanced_settings_meta_box( $post ){
343
+ $slider_settings = $this->data->get_slider_settings( $post->ID );
344
 
345
  $vars = array();
346
  $vars['slider_settings'] = $slider_settings;
347
+ $vars['easing_options'] = $this->data->get_jquery_easing_options();
348
+ $vars['resize_options'] = $this->data->get_resize_options();
349
+ $vars['debug'] = ($this->debug) ? cyclone_slider_debug($slider_settings) : '';
350
 
351
+ $this->view->render( 'slider-advanced-settings.php', $vars );
352
 
353
  }
354
 
368
  $vars['template_code'] = '<?php if( function_exists(\'cyclone_slider\') ) cyclone_slider(\''.$post->post_name.'\'); ?>';
369
  }
370
 
371
+ $this->view->render('slider-preview.php', $vars);
372
  }
373
 
374
  /**
376
  */
377
  public function render_slider_templates_meta_box($post){
378
 
379
+ $slider_settings = $this->data->get_slider_settings($post->ID);
380
+ $templates = $this->data->get_all_templates();
381
+ $settings_data = $this->data->get_settings_page_data(); // Get checked templates
382
+ $active_templates = $this->data->get_enabled_templates($settings_data, $templates);
383
+
384
  ksort ( $templates ); // Sort assoc array alphabetically
385
  foreach($templates as $name=>$template){
386
  if( $name == $slider_settings['template'] ){
392
  if( file_exists($template['path'].'/screenshot.jpg') ) {
393
  $templates[$name]['screenshot'] = $template['url'].'/screenshot.jpg';
394
  } else {
395
+ $templates[$name]['screenshot'] = $this->url.'images/screenshot.png';
396
  }
397
 
398
  $templates[$name]['warning'] = '';
399
 
400
  if( $template['location_name'] == 'core' ){
401
+ $templates[$name]['location_name'] = __('Core', $this->textdomain);
402
+ $templates[$name]['location_details'] = sprintf( __("Located inside the plugin directory:<br> <strong>%s</strong>", $this->textdomain ), $template['path']);
403
  }
404
  if( $template['location_name'] == 'active-theme' ){
405
  $templates[$name]['location_name'] = 'Active Theme';
406
+ $templates[$name]['location_details'] = sprintf( __("Located inside your currently active theme:<br> <strong>%s</strong>", $this->textdomain ), $template['path']);
407
+ $templates[$name]['warning'] = sprintf( __('Your template is in danger of being overwritten when you upgrade your theme. Please move it inside %s.', $this->textdomain ), 'wp-content/cycloneslider' );
408
  }
409
  if( $template['location_name'] == 'wp-content' ){
410
  $templates[$name]['location_name'] = 'WP Content';
411
+ $templates[$name]['location_details'] = sprintf( __("Located inside wp-content directory:<br> <strong>%s</strong>", $this->textdomain), $template['path'] );
412
  }
413
 
414
  // Remove inactive templates
420
  $vars = array();
421
  $vars['slider_settings'] = $slider_settings;
422
  $vars['templates'] = $templates;
423
+ $vars['debug'] = ($this->debug) ? cyclone_slider_debug($templates) : '';
424
 
425
+ $this->view->render('template-selection.php', $vars);
426
  }
427
 
428
  /**
433
  $vars = array();
434
  $vars['post_name'] = $post->post_name;
435
 
436
+ $this->view->render('slider-id.php', $vars);
437
 
438
  }
439
 
445
  if(get_post_type()=='cycloneslider'){
446
  // Empty Slide
447
  $vars = array();
448
+ $vars['box_title'] = __('Slide *', $this->textdomain);
449
  $vars['image_url'] = '';
450
  $vars['i'] = '{id}';
451
+ $vars['slide'] = $this->data->get_slide_defaults();
452
  foreach($vars['slide'] as $key=>$value){
453
  $vars['slide'][$key] = '';
454
  }
455
  $vars['slide']['type'] = 'image';
456
+ $vars['effects'] = $this->data->get_slide_effects();
457
+ $vars['debug'] = ($this->debug) ? cyclone_slider_debug($vars['slide']) : '';
458
 
459
+ $empty_slide = $this->view->get_render('slide-edit.php', $vars);
460
 
461
  // Main skeleton container
462
  $vars = array();
463
  $vars['empty_slide'] = $empty_slide;
464
 
465
+ $this->view->render('slides-skeleton.php', $vars);
466
  }
467
  }
468
 
506
  // Modify columns
507
  public function slideshow_columns($columns) {
508
  $columns = array();
509
+ $columns['title']= __('Slideshow Name', $this->textdomain);
510
+ $columns['template']= __('Template', $this->textdomain);
511
+ $columns['images']= __('No. of Slides', $this->textdomain);
512
+ $columns['id']= __('Slideshow ID', $this->textdomain);
513
+ $columns['shortcode']= __('Shortcode', $this->textdomain);
514
  return $columns;
515
  }
516
 
517
  // Add content to custom columns
518
  public function custom_column( $column_name, $post_id ){
519
  if ($column_name == 'template') {
520
+ $settings = $this->data->get_slider_settings($post_id);
521
  echo ucwords($settings['template']);
522
  }
523
  if ($column_name == 'images') {
524
+ echo '<div style="text-align:center; max-width:40px;">' . $this->data->get_slide_count( $post_id ) . '</div>';
525
  }
526
  if ($column_name == 'id') {
527
  $post = get_post($post_id);
src/CycloneSlider/AssetLoader.php CHANGED
@@ -2,13 +2,21 @@
2
  /**
3
  * Class for handling styles and scripts
4
  */
5
- class CycloneSlider_AssetLoader extends CycloneSlider_Base {
6
 
7
- protected $cyclone_settings_data;
 
 
 
 
 
 
 
 
 
 
8
 
9
  public function run() {
10
-
11
- $this->cyclone_settings_data = $this->plugin['settings_page']->get_settings_data();
12
 
13
  // Register frontend styles and scripts
14
  add_action( 'wp_enqueue_scripts', array( $this, 'register_frontend_scripts' ), 100 );
@@ -24,16 +32,16 @@ class CycloneSlider_AssetLoader extends CycloneSlider_Base {
24
  */
25
  public function register_admin_scripts( $hook ) {
26
 
27
- if( 'cycloneslider' == get_post_type() || $hook == 'cycloneslider_page_cycloneslider-settings' || $hook == 'cycloneslider_page_cycloneslider-export' ||$hook == 'cycloneslider_page_cycloneslider-import' ){ // Limit loading to certain admin pages
28
 
29
  // Required media files for new media manager. Since WP 3.5+
30
  wp_enqueue_media();
31
 
32
  // Fontawesome style
33
- wp_enqueue_style( 'font-awesome', $this->plugin['url'].'libs/font-awesome/css/font-awesome.min.css', array(), $this->plugin['version'] );
34
 
35
  // Main style
36
- wp_enqueue_style( 'cycloneslider-admin-styles', $this->plugin['url'].'css/admin.css', array(), $this->plugin['version'] );
37
 
38
  // Disable autosave
39
  wp_dequeue_script( 'autosave' );
@@ -42,10 +50,10 @@ class CycloneSlider_AssetLoader extends CycloneSlider_Base {
42
  wp_enqueue_script('jquery-ui-sortable');
43
 
44
  // For localstorage
45
- wp_enqueue_script( 'store', $this->plugin['url'].'js/store-json2.min.js', array('jquery'), $this->plugin['version'] );
46
 
47
  // Allow translation to script texts
48
- wp_register_script( 'cycloneslider-admin-script', $this->plugin['url'].'js/admin.js', array('jquery'), $this->plugin['version'] );
49
  wp_localize_script( 'cycloneslider-admin-script', 'cycloneslider_admin_vars',
50
  array(
51
  'title' => __( 'Select an image', 'cycloneslider' ), // This will be used as the default title
@@ -81,13 +89,13 @@ class CycloneSlider_AssetLoader extends CycloneSlider_Base {
81
  public function register_frontend_scripts( $hook ) {
82
 
83
  $in_footer = true;
84
- if($this->cyclone_settings_data['load_scripts_in'] == 'header'){
85
  $in_footer = false;
86
  }
87
 
88
  /*** Magnific Popup Style ***/
89
- if($this->cyclone_settings_data['load_magnific'] == 1){
90
- wp_enqueue_style( 'jquery-magnific-popup', $this->plugin['url'].'libs/magnific-popup/magnific-popup.css', array(), $this->plugin['version'] );
91
  }
92
 
93
  /*** Templates Styles ***/
@@ -96,37 +104,37 @@ class CycloneSlider_AssetLoader extends CycloneSlider_Base {
96
  /*****************************/
97
 
98
  /*** Core Cycle2 Scripts ***/
99
- if($this->cyclone_settings_data['load_cycle2'] == 1){
100
- wp_enqueue_script( 'jquery-cycle2', $this->plugin['url'].'libs/cycle2/jquery.cycle2.min.js', array('jquery'), $this->plugin['version'], $in_footer );
101
  }
102
- if($this->cyclone_settings_data['load_cycle2_carousel'] == 1){
103
- wp_enqueue_script( 'jquery-cycle2-carousel', $this->plugin['url'].'libs/cycle2/jquery.cycle2.carousel.min.js', array('jquery', 'jquery-cycle2'), $this->plugin['version'], $in_footer );
104
  }
105
- if($this->cyclone_settings_data['load_cycle2_swipe'] == 1){
106
- wp_enqueue_script( 'jquery-cycle2-swipe', $this->plugin['url'].'libs/cycle2/jquery.cycle2.swipe.min.js', array('jquery', 'jquery-cycle2'), $this->plugin['version'], $in_footer );
107
  }
108
- if($this->cyclone_settings_data['load_cycle2_tile'] == 1){
109
- wp_enqueue_script( 'jquery-cycle2-tile', $this->plugin['url'].'libs/cycle2/jquery.cycle2.tile.min.js', array('jquery', 'jquery-cycle2'), $this->plugin['version'], $in_footer );
110
  }
111
- if($this->cyclone_settings_data['load_cycle2_video'] == 1){
112
- wp_enqueue_script( 'jquery-cycle2-video', $this->plugin['url'].'libs/cycle2/jquery.cycle2.video.min.js', array('jquery', 'jquery-cycle2'), $this->plugin['version'], $in_footer );
113
  }
114
 
115
  /*** Easing Script***/
116
- if($this->cyclone_settings_data['load_easing'] == 1){
117
- wp_enqueue_script( 'jquery-easing', $this->plugin['url'].'libs/jquery-easing/jquery.easing.1.3.1.min.js', array('jquery'), $this->plugin['version'], $in_footer );
118
  }
119
 
120
  /*** Magnific Popup Scripts ***/
121
- if($this->cyclone_settings_data['load_magnific'] == 1){
122
- wp_enqueue_script( 'jquery-magnific-popup', $this->plugin['url'].'libs/magnific-popup/jquery.magnific-popup.min.js', array('jquery'), $this->plugin['version'], $in_footer );
123
  }
124
 
125
  /*** Templates Scripts ***/
126
  $this->enqueue_templates_scripts();
127
 
128
  /*** Client Script ***/
129
- wp_enqueue_script( 'cyclone-client', $this->plugin['url'].'js/client.js', array('jquery'), $this->plugin['version'], $in_footer );
130
 
131
  }
132
 
@@ -135,9 +143,9 @@ class CycloneSlider_AssetLoader extends CycloneSlider_Base {
135
  */
136
  private function enqueue_templates_css(){
137
  $ds = DIRECTORY_SEPARATOR;
138
-
139
- $template_folders = $this->plugin['templates_manager']->get_all_templates();
140
- $active_templates = $this->plugin['templates_manager']->get_active_templates( $this->cyclone_settings_data );
141
 
142
  foreach($template_folders as $name=>$folder){
143
 
@@ -145,7 +153,7 @@ class CycloneSlider_AssetLoader extends CycloneSlider_Base {
145
  $file = $folder['path']."/style.css"; // Path to file
146
 
147
  if( file_exists( $file ) ){ // Check existence
148
- wp_enqueue_style( 'cyclone-template-style-'.sanitize_title($name), $folder['url'].'/style.css', array(), $this->plugin['version'] );
149
  }
150
  }
151
  }
@@ -158,12 +166,12 @@ class CycloneSlider_AssetLoader extends CycloneSlider_Base {
158
  $ds = DIRECTORY_SEPARATOR;
159
 
160
  $in_footer = true;
161
- if($this->cyclone_settings_data['load_scripts_in'] == 'header'){
162
  $in_footer = false;
163
  }
164
 
165
- $template_folders = $this->plugin['templates_manager']->get_all_templates();
166
- $active_templates = $this->plugin['templates_manager']->get_active_templates( $this->cyclone_settings_data );
167
 
168
  foreach($template_folders as $name=>$folder){
169
 
@@ -171,7 +179,7 @@ class CycloneSlider_AssetLoader extends CycloneSlider_Base {
171
  $file = $folder['path']."/script.js"; // Path to file
172
 
173
  if( file_exists( $file ) ){ // Check existence
174
- wp_enqueue_script( 'cyclone-template-script-'.sanitize_title($name), $folder['url'].'/script.js', array(), $this->plugin['version'], $in_footer );
175
  }
176
  }
177
  }
2
  /**
3
  * Class for handling styles and scripts
4
  */
5
+ class CycloneSlider_AssetLoader {
6
 
7
+ protected $url;
8
+ protected $version;
9
+ protected $settings_page_data;
10
+ protected $data;
11
+
12
+ public function __construct( $settings_page_data, $url, $version, $data ){
13
+ $this->settings_page_data = $settings_page_data;
14
+ $this->url = $url;
15
+ $this->version = $version;
16
+ $this->data = $data;
17
+ }
18
 
19
  public function run() {
 
 
20
 
21
  // Register frontend styles and scripts
22
  add_action( 'wp_enqueue_scripts', array( $this, 'register_frontend_scripts' ), 100 );
32
  */
33
  public function register_admin_scripts( $hook ) {
34
 
35
+ if( 'cycloneslider' == get_post_type() || $hook == 'cycloneslider_page_cycloneslider-settings' || $hook == 'cycloneslider_page_cycloneslider-export' || $hook == 'cycloneslider_page_cycloneslider-import' || $hook == 'cycloneslider_page_cycloneslider-export-nextgen' ){ // Limit loading to certain admin pages
36
 
37
  // Required media files for new media manager. Since WP 3.5+
38
  wp_enqueue_media();
39
 
40
  // Fontawesome style
41
+ wp_enqueue_style( 'font-awesome', $this->url.'libs/font-awesome/css/font-awesome.min.css', array(), $this->version );
42
 
43
  // Main style
44
+ wp_enqueue_style( 'cycloneslider-admin-styles', $this->url.'css/admin.css', array(), $this->version );
45
 
46
  // Disable autosave
47
  wp_dequeue_script( 'autosave' );
50
  wp_enqueue_script('jquery-ui-sortable');
51
 
52
  // For localstorage
53
+ wp_enqueue_script( 'store', $this->url.'js/store-json2.min.js', array('jquery'), $this->version );
54
 
55
  // Allow translation to script texts
56
+ wp_register_script( 'cycloneslider-admin-script', $this->url.'js/admin.js', array('jquery'), $this->version );
57
  wp_localize_script( 'cycloneslider-admin-script', 'cycloneslider_admin_vars',
58
  array(
59
  'title' => __( 'Select an image', 'cycloneslider' ), // This will be used as the default title
89
  public function register_frontend_scripts( $hook ) {
90
 
91
  $in_footer = true;
92
+ if($this->settings_page_data['load_scripts_in'] == 'header'){
93
  $in_footer = false;
94
  }
95
 
96
  /*** Magnific Popup Style ***/
97
+ if($this->settings_page_data['load_magnific'] == 1){
98
+ wp_enqueue_style( 'jquery-magnific-popup', $this->url.'libs/magnific-popup/magnific-popup.css', array(), $this->version );
99
  }
100
 
101
  /*** Templates Styles ***/
104
  /*****************************/
105
 
106
  /*** Core Cycle2 Scripts ***/
107
+ if($this->settings_page_data['load_cycle2'] == 1){
108
+ wp_enqueue_script( 'jquery-cycle2', $this->url.'libs/cycle2/jquery.cycle2.min.js', array('jquery'), $this->version, $in_footer );
109
  }
110
+ if($this->settings_page_data['load_cycle2_carousel'] == 1){
111
+ wp_enqueue_script( 'jquery-cycle2-carousel', $this->url.'libs/cycle2/jquery.cycle2.carousel.min.js', array('jquery', 'jquery-cycle2'), $this->version, $in_footer );
112
  }
113
+ if($this->settings_page_data['load_cycle2_swipe'] == 1){
114
+ wp_enqueue_script( 'jquery-cycle2-swipe', $this->url.'libs/cycle2/jquery.cycle2.swipe.min.js', array('jquery', 'jquery-cycle2'), $this->version, $in_footer );
115
  }
116
+ if($this->settings_page_data['load_cycle2_tile'] == 1){
117
+ wp_enqueue_script( 'jquery-cycle2-tile', $this->url.'libs/cycle2/jquery.cycle2.tile.min.js', array('jquery', 'jquery-cycle2'), $this->version, $in_footer );
118
  }
119
+ if($this->settings_page_data['load_cycle2_video'] == 1){
120
+ wp_enqueue_script( 'jquery-cycle2-video', $this->url.'libs/cycle2/jquery.cycle2.video.min.js', array('jquery', 'jquery-cycle2'), $this->version, $in_footer );
121
  }
122
 
123
  /*** Easing Script***/
124
+ if($this->settings_page_data['load_easing'] == 1){
125
+ wp_enqueue_script( 'jquery-easing', $this->url.'libs/jquery-easing/jquery.easing.1.3.1.min.js', array('jquery'), $this->version, $in_footer );
126
  }
127
 
128
  /*** Magnific Popup Scripts ***/
129
+ if($this->settings_page_data['load_magnific'] == 1){
130
+ wp_enqueue_script( 'jquery-magnific-popup', $this->url.'libs/magnific-popup/jquery.magnific-popup.min.js', array('jquery'), $this->version, $in_footer );
131
  }
132
 
133
  /*** Templates Scripts ***/
134
  $this->enqueue_templates_scripts();
135
 
136
  /*** Client Script ***/
137
+ wp_enqueue_script( 'cyclone-client', $this->url.'js/client.js', array('jquery'), $this->version, $in_footer );
138
 
139
  }
140
 
143
  */
144
  private function enqueue_templates_css(){
145
  $ds = DIRECTORY_SEPARATOR;
146
+
147
+ $template_folders = $this->data->get_all_templates();
148
+ $active_templates = $this->data->get_enabled_templates( $this->settings_page_data, $template_folders );
149
 
150
  foreach($template_folders as $name=>$folder){
151
 
153
  $file = $folder['path']."/style.css"; // Path to file
154
 
155
  if( file_exists( $file ) ){ // Check existence
156
+ wp_enqueue_style( 'cyclone-template-style-'.sanitize_title($name), $folder['url'].'/style.css', array(), $this->version );
157
  }
158
  }
159
  }
166
  $ds = DIRECTORY_SEPARATOR;
167
 
168
  $in_footer = true;
169
+ if( $this->settings_page_data['load_scripts_in'] == 'header'){
170
  $in_footer = false;
171
  }
172
 
173
+ $template_folders = $this->data->get_all_templates();
174
+ $active_templates = $this->data->get_enabled_templates( $this->settings_page_data, $template_folders );
175
 
176
  foreach($template_folders as $name=>$folder){
177
 
179
  $file = $folder['path']."/script.js"; // Path to file
180
 
181
  if( file_exists( $file ) ){ // Check existence
182
+ wp_enqueue_script( 'cyclone-template-script-'.sanitize_title($name), $folder['url'].'/script.js', array(), $this->version, $in_footer );
183
  }
184
  }
185
  }
src/CycloneSlider/Base.php DELETED
@@ -1,8 +0,0 @@
1
- <?php
2
- abstract class CycloneSlider_Base {
3
- protected $plugin;
4
-
5
- final public function inject( $plugin ) {
6
- $this->plugin = $plugin;
7
- }
8
- }
 
 
 
 
 
 
 
 
src/CycloneSlider/Data.php CHANGED
@@ -2,12 +2,33 @@
2
  /**
3
  * Class for saving and getting slider data
4
  */
5
- class CycloneSlider_Data extends CycloneSlider_Base {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
 
7
  public function run(){
 
 
 
 
 
 
 
 
 
8
 
9
- // Save slides
10
- add_action( 'save_post', array( $this, 'save_slider_post' ) );
11
  }
12
 
13
  /**
@@ -22,9 +43,9 @@ class CycloneSlider_Data extends CycloneSlider_Base {
22
  }
23
 
24
  // Verify nonce
25
- $nonce_name = $this->plugin['nonce_name'];
26
  if (!empty($_POST[$nonce_name])) {
27
- if (!wp_verify_nonce($_POST[$nonce_name], $this->plugin['nonce_action'])) {
28
  return $post_id;
29
  }
30
  } else {
@@ -41,7 +62,7 @@ class CycloneSlider_Data extends CycloneSlider_Base {
41
  $slider_settings = isset($_POST['cycloneslider_settings']) ? $_POST['cycloneslider_settings'] : array();
42
 
43
  // Resize images
44
- $this->plugin['image_resizer']->resize_images( $slider_settings, $slides );
45
 
46
  // Save slides
47
  $this->add_slider_slides( $post_id, $slides );
@@ -69,7 +90,8 @@ class CycloneSlider_Data extends CycloneSlider_Base {
69
 
70
  // Resize images if needed
71
  if( $slider_settings['resize'] == 1){
72
- $this->plugin['image_resizer']->resize_images( $slider_settings, $slides );
 
73
  }
74
 
75
  // Save slides
@@ -77,6 +99,7 @@ class CycloneSlider_Data extends CycloneSlider_Base {
77
 
78
  // Save slider settings
79
  $this->add_slider_settings( $slider_id, $slider_settings );
 
80
  }
81
  }
82
 
@@ -146,6 +169,7 @@ class CycloneSlider_Data extends CycloneSlider_Base {
146
  );
147
  $slides_to_save[$i]['id'] = (int) ($slide['id']);
148
  $slides_to_save[$i]['type'] = sanitize_text_field($slide['type']);
 
149
 
150
  $slides_to_save[$i]['link'] = esc_url_raw($slide['link']);
151
  $slides_to_save[$i]['title'] = wp_kses_post($slide['title']);
@@ -404,7 +428,7 @@ class CycloneSlider_Data extends CycloneSlider_Base {
404
  */
405
  public function get_view_file( $template_name ){
406
 
407
- $template_locations = $this->plugin['templates_manager']->get_template_locations();
408
  $template_locations = array_reverse($template_locations); // Last added template locations are checked first
409
  foreach($template_locations as $template_location){
410
  $view_file = $template_location['path']."{$template_name}/slider.php";
@@ -416,6 +440,116 @@ class CycloneSlider_Data extends CycloneSlider_Base {
416
  return false;
417
  }
418
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
419
  /**
420
  * Cyclone Slide Settings
421
  *
@@ -589,6 +723,7 @@ class CycloneSlider_Data extends CycloneSlider_Base {
589
  return array(
590
  'enable_slide_effects'=>0,
591
  'type' => 'image',
 
592
  'id' => '',
593
  'link' => '',
594
  'title' => '',
2
  /**
3
  * Class for saving and getting slider data
4
  */
5
+ class CycloneSlider_Data {
6
+
7
+ protected $nonce_name;
8
+ protected $nonce_action;
9
+ protected $image_resizer;
10
+ protected $template_locations;
11
+ protected $settings_page_properties;
12
+
13
+ public function __construct( $nonce_name, $nonce_action, $image_resizer, $template_locations, $settings_page_properties ){
14
+ $this->nonce_name = $nonce_name;
15
+ $this->nonce_action = $nonce_action;
16
+ $this->image_resizer = $image_resizer;
17
+ $this->template_locations = $template_locations;
18
+ $this->settings_page_properties = $settings_page_properties;
19
+ }
20
 
21
  public function run(){
22
+ global $wp_version;
23
+
24
+ // Save slides. Use better hook if available
25
+ if ( version_compare( $wp_version, '3.7', '>=' ) ) {
26
+ add_action( 'save_post_cycloneslider', array( $this, 'save_slider_post' ) );
27
+ } else {
28
+ add_action( 'save_post', array( $this, 'save_slider_post' ) );
29
+ }
30
+
31
 
 
 
32
  }
33
 
34
  /**
43
  }
44
 
45
  // Verify nonce
46
+ $nonce_name = $this->nonce_name;
47
  if (!empty($_POST[$nonce_name])) {
48
+ if (!wp_verify_nonce($_POST[$nonce_name], $this->nonce_action)) {
49
  return $post_id;
50
  }
51
  } else {
62
  $slider_settings = isset($_POST['cycloneslider_settings']) ? $_POST['cycloneslider_settings'] : array();
63
 
64
  // Resize images
65
+ $this->image_resizer->resize_images( $slider_settings, $slides );
66
 
67
  // Save slides
68
  $this->add_slider_slides( $post_id, $slides );
90
 
91
  // Resize images if needed
92
  if( $slider_settings['resize'] == 1){
93
+
94
+ $this->image_resizer->resize_images( $slider_settings, $slides );
95
  }
96
 
97
  // Save slides
99
 
100
  // Save slider settings
101
  $this->add_slider_settings( $slider_id, $slider_settings );
102
+
103
  }
104
  }
105
 
169
  );
170
  $slides_to_save[$i]['id'] = (int) ($slide['id']);
171
  $slides_to_save[$i]['type'] = sanitize_text_field($slide['type']);
172
+ $slides_to_save[$i]['hidden'] = (int) ($slide['hidden']);
173
 
174
  $slides_to_save[$i]['link'] = esc_url_raw($slide['link']);
175
  $slides_to_save[$i]['title'] = wp_kses_post($slide['title']);
428
  */
429
  public function get_view_file( $template_name ){
430
 
431
+ $template_locations = $this->template_locations;
432
  $template_locations = array_reverse($template_locations); // Last added template locations are checked first
433
  foreach($template_locations as $template_location){
434
  $view_file = $template_location['path']."{$template_name}/slider.php";
440
  return false;
441
  }
442
 
443
+ /**
444
+ * Get all templates in array format
445
+ */
446
+ public function get_all_templates(){
447
+ if(is_array($this->template_locations) and !empty($this->template_locations)){
448
+ $template_folders = array();
449
+ foreach($this->template_locations as $location){
450
+ if( is_dir($location['path']) ) {
451
+ if($files = scandir($location['path'])){
452
+ $c = 0;
453
+ foreach($files as $name){
454
+ if($name!='.' and $name!='..' and is_dir($location['path'].$name) and @file_exists($location['path'].$name.DIRECTORY_SEPARATOR.'slider.php') ){ // Check if its a directory
455
+ $supported_slide_types = array('image');// Default
456
+ if ( $config = $this->parse_config_json( $location['path'].$name.DIRECTORY_SEPARATOR.'config.json' ) ) {
457
+ $supported_slide_types = $config->slide_types;
458
+ } else if ( @file_exists($location['path'].$name.DIRECTORY_SEPARATOR.'config.txt') ) { // Older templates use ini format
459
+ $ini_array = parse_ini_file($location['path'].$name.DIRECTORY_SEPARATOR.'config.txt'); //Parse ini to get slide types supported
460
+ if($ini_array){
461
+ $supported_slide_types = $ini_array['slide_type'];
462
+ }
463
+ }
464
+
465
+ $name = sanitize_title($name);// Change space to dash and all lowercase
466
+ $template_folders[$name] = array( // Here we override template of the same names. If there is a template with the same name in plugin and theme directory, the one in theme will take over
467
+ 'path'=>$location['path'].$name,
468
+ 'url'=>$location['url'].$name,
469
+ 'supports' => $supported_slide_types,
470
+ 'location_name' => $location['location_name']
471
+ );
472
+ }
473
+ }
474
+ }
475
+ }
476
+ }
477
+ return $template_folders;
478
+ }
479
+ }
480
+
481
+ /**
482
+ * Get Active Templates
483
+ *
484
+ * Get templates that are enabled in settings page
485
+ *
486
+ * @param array $settings_data Settings page data
487
+ * @param array $templates List of all templates
488
+ * @return array Template locations
489
+ */
490
+ public function get_enabled_templates( $settings_data, $templates ){
491
+
492
+ foreach($templates as $name=>$template){
493
+ if( !isset($settings_data['load_templates'][$name]) ){
494
+ $settings_data['load_templates'][$name] = 1;
495
+ }
496
+ }
497
+ return $settings_data['load_templates'];
498
+ }
499
+
500
+ /**
501
+ * Get template config data from file
502
+ *
503
+ * @param string $file Full path to config file
504
+ * @return object $config_data or false on fail
505
+ */
506
+ protected function parse_config_json( $file ){
507
+ if( @file_exists($file) ){
508
+ $config = file_get_contents($file); //Get template info
509
+ if($config){
510
+ $config_data = json_decode($config);
511
+ if($config_data){
512
+ return $config_data;
513
+ }
514
+ }
515
+ }
516
+ return false;
517
+ }
518
+
519
+ /**
520
+ * Get settings data. If there is no data from database, use default values
521
+ */
522
+ public function get_settings_page_data(){
523
+ return get_option( $this->settings_page_properties['option_name'], $this->get_default_settings_page_data() );
524
+ }
525
+
526
+ /**
527
+ * Apply default values
528
+ */
529
+ public function get_default_settings_page_data() {
530
+ $defaults = array();
531
+ $defaults['load_scripts_in'] = 'footer';
532
+
533
+ $defaults['load_cycle2'] = 1;
534
+ $defaults['load_cycle2_carousel'] = 1;
535
+ $defaults['load_cycle2_swipe'] = 1;
536
+ $defaults['load_cycle2_tile'] = 1;
537
+ $defaults['load_cycle2_video'] = 1;
538
+
539
+ $defaults['load_easing'] = 0;
540
+
541
+ $defaults['load_magnific'] = 0;
542
+
543
+ $defaults['load_templates'] = array();
544
+
545
+ $defaults['script_priority'] = 100;
546
+
547
+ $defaults['license_id'] = '';
548
+ $defaults['license_key'] = '';
549
+
550
+ return $defaults;
551
+ }
552
+
553
  /**
554
  * Cyclone Slide Settings
555
  *
723
  return array(
724
  'enable_slide_effects'=>0,
725
  'type' => 'image',
726
+ 'hidden' => 0,
727
  'id' => '',
728
  'link' => '',
729
  'title' => '',
src/CycloneSlider/ExportPage.php CHANGED
@@ -2,111 +2,219 @@
2
  /**
3
  * Class for export page
4
  */
5
- class CycloneSlider_ExportPage extends CycloneSlider_Base {
6
-
7
- public function run() {
8
-
9
- // Add page
10
- add_action( 'admin_menu', array( $this, 'add_menu_and_page'));
11
-
12
- // Post
13
- add_action('init', array( $this, 'catch_posts') );
14
- }
15
-
16
- /**
17
- * Menu page action hook
18
- */
19
- public function add_menu_and_page(){
20
- // Use built-in WP function
21
- add_submenu_page(
22
- $this->plugin['export_page.parent_slug'],
23
- $this->plugin['export_page.page_title'],
24
- $this->plugin['export_page.menu_title'],
25
- $this->plugin['export_page.capability'],
26
- $this->plugin['export_page.menu_slug'],
27
- array( $this, 'render_page')
28
  );
29
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
 
31
- public function catch_posts(){
32
- // Verify nonce
33
- if( isset($_POST[ $this->plugin['nonce_name'] ]) ){
34
- $nonce = $_POST[ $this->plugin['nonce_name'] ];
35
- if ( wp_verify_nonce( $nonce, $this->plugin['nonce_action'] ) ) {
36
-
37
- if( isset($_POST['cycloneslider_export_step']) ){
38
- if( $_POST['cycloneslider_export_step'] == 1 ){
39
- $cyclone_export = array();
40
- if( isset($_POST['cycloneslider_export']) ){
41
- if(!empty($_POST['cycloneslider_export'])){
42
- $cyclone_export = $_POST['cycloneslider_export'];
43
- update_option('cycloneslider_export', $cyclone_export);
44
- wp_redirect( get_admin_url( get_current_blog_id(), 'edit.php?post_type=cycloneslider&page=cycloneslider-export&step=2') );
45
- exit;
46
- }
47
- }
48
- update_option('cycloneslider_export', $cyclone_export);
49
- }
50
- }
51
- }
52
- }
53
  }
54
-
55
- /**
56
  * Render page. This function should output the HTML of the page.
57
  */
58
  public function render_page( $post ){
59
  $current_step = isset($_GET['step']) ? (int) $_GET['step'] : 1;
60
- if($current_step == 2){
61
- $this->step_2();
62
- } else {
63
- $this->step_1();
64
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  }
66
 
67
- public function step_1(){
68
- $cycloneslider_export = get_option('cycloneslider_export');
69
- $defaults = array(
70
- 'all' => 0,
71
- 'sliders' => array()
72
- );
73
- $cycloneslider_export = wp_parse_args($cycloneslider_export, $defaults);
74
 
75
- $vars = array();
76
- $vars['sliders'] = $this->plugin['data']->get_sliders();
77
- $vars['nonce_name'] = $this->plugin['nonce_name'];
78
- $vars['nonce'] = wp_create_nonce( $this->plugin['nonce_action'] );
79
- $vars['cycloneslider_export'] = $cycloneslider_export;
80
- $vars['form_url'] = get_admin_url( get_current_blog_id(), 'edit.php?post_type=cycloneslider&page=cycloneslider-export' );
81
- $vars['export_page_url'] = get_admin_url( get_current_blog_id(), 'edit.php?post_type=cycloneslider&page=cycloneslider-export' );
82
- $vars['import_page_url'] = get_admin_url( get_current_blog_id(), 'edit.php?post_type=cycloneslider&page=cycloneslider-import' );
83
-
84
- $this->plugin['view']->render( 'export-step-1.php', $vars );
85
 
86
  }
87
-
88
- public function step_2(){
89
- $cycloneslider_export = get_option('cycloneslider_export');
90
- $defaults = array(
91
- 'all' => 0,
92
- 'sliders' => array()
93
- );
94
- $cycloneslider_export = wp_parse_args($cycloneslider_export, $defaults);
95
 
96
- $uploads = wp_upload_dir();
97
- $zip_file = $uploads['basedir'].'/cyclone-slider.zip';
 
 
98
 
99
- $this->plugin['exporter']->export( $zip_file, $cycloneslider_export['sliders'] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100
 
101
- $vars = array();
102
- $vars['nonce_name'] = $this->plugin['nonce_name'];
103
- $vars['nonce'] = wp_create_nonce( $this->plugin['nonce_action'] );
104
- $vars['form_url'] = get_admin_url( get_current_blog_id(), 'edit.php?post_type=cycloneslider&page=cycloneslider-export&step=3' );
105
- $vars['export_page_url'] = get_admin_url( get_current_blog_id(), 'edit.php?post_type=cycloneslider&page=cycloneslider-export' );
106
- $vars['import_page_url'] = get_admin_url( get_current_blog_id(), 'edit.php?post_type=cycloneslider&page=cycloneslider-import' );
107
- $vars['zip_url'] = $uploads['baseurl'].'/cyclone-slider.zip';
108
- $vars['log_results'] = $this->plugin['exporter']->get_results();
109
 
110
- $this->plugin['view']->render( 'export-step-2.php', $vars );
 
 
111
  }
112
- } // end class
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  /**
3
  * Class for export page
4
  */
5
+ class CycloneSlider_ExportPage extends CycloneSlider_WpAdminSubPage{
6
+
7
+ protected $sliders;
8
+ protected $view;
9
+ protected $exporter;
10
+ protected $wp_content_dir;
11
+ protected $wp_content_url;
12
+ protected $textdomain;
13
+ protected $transient_name;
14
+ protected $nonce_name;
15
+ protected $nonce_action;
16
+ protected $export_page_url;
17
+ protected $import_page_url;
18
+ protected $nextgen_page_url;
19
+
20
+ public function __construct( $parent_slug, $page_title, $menu_title, $capability, $menu_slug, $sliders, $view, $exporter, $wp_content_dir, $wp_content_url, $textdomain, $transient_name, $nonce_name, $nonce_action, $export_page_url, $import_page_url, $nextgen_page_url ){
21
+ parent::__construct(
22
+ $parent_slug,
23
+ $page_title,
24
+ $menu_title,
25
+ $capability,
26
+ $menu_slug
 
27
  );
28
+
29
+ $this->sliders = $sliders;
30
+ $this->view = $view;
31
+ $this->exporter = $exporter;
32
+ $this->wp_content_dir = $wp_content_dir;
33
+ $this->wp_content_url = $wp_content_url;
34
+ $this->textdomain = $textdomain;
35
+ $this->transient_name = $transient_name;
36
+ $this->nonce_name = $nonce_name;
37
+ $this->nonce_action = $nonce_action;
38
+ $this->export_page_url = $export_page_url;
39
+ $this->import_page_url = $import_page_url;
40
+ $this->nextgen_page_url = $nextgen_page_url;
41
+ }
42
+
43
+ public function run() {
44
 
45
+ parent::run();
46
+
47
+ // Catch Post
48
+ add_action('init', array( $this, 'catch_posts') );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  }
50
+
51
+ /**
52
  * Render page. This function should output the HTML of the page.
53
  */
54
  public function render_page( $post ){
55
  $current_step = isset($_GET['step']) ? (int) $_GET['step'] : 1;
56
+
57
+ $vars = array();
58
+ $vars['transient_name'] = $this->transient_name;
59
+ $vars['textdomain'] = $this->textdomain;
60
+ $vars['nonce_name'] = $this->nonce_name;
61
+ $vars['nonce'] = wp_create_nonce( $this->nonce_action );
62
+ $vars['export_page_url'] = $this->export_page_url;
63
+ $vars['import_page_url'] = $this->import_page_url;
64
+ $vars['nextgen_page_url'] = $this->nextgen_page_url;
65
+ $vars['tabs'] = array(
66
+ array(
67
+ 'title' => __('Export', $this->textdomain),
68
+ 'url' => $this->export_page_url,
69
+ 'classes' => 'nav-tab nav-tab-active'
70
+ ),
71
+ array(
72
+ 'title' => __('Import', $this->textdomain),
73
+ 'url' => $this->import_page_url,
74
+ 'classes' => 'nav-tab'
75
+ )
76
+ );
77
+ $vars['page_data'] = $this->get_page_data();
78
+
79
+ switch ( $current_step ) {
80
+ case 1:
81
+ $this->render_step_1( $vars );
82
+ break;
83
+ case 2:
84
+ $this->render_step_2( $vars );
85
+ break;
86
+ case 3:
87
+ $this->render_step_3( $vars );
88
+ break;
89
+ }
90
  }
91
 
92
+ private function render_step_1( $vars ){
 
 
 
 
 
 
93
 
94
+ $vars['sliders'] = $this->sliders;
95
+ $vars['error'] = get_transient( 'cycloneslider_error_export');
96
+ delete_transient( 'cycloneslider_error_export');
97
+ $this->view->render( 'export-step-1.php', $vars );
 
 
 
 
 
 
98
 
99
  }
100
+ private function render_step_2( $vars ){
101
+
102
+ $vars['error'] = get_transient( 'cycloneslider_error_export');
103
+ delete_transient( 'cycloneslider_error_export');
104
+ $this->view->render( 'export-step-2.php', $vars );
105
+ }
106
+
107
+ private function render_step_3( $vars ){
108
 
109
+ // Make this configurable
110
+ $vars['zip_url'] = $this->wp_content_url.'/cyclone-slider/exports/'.$vars['page_data']['file_name'];
111
+
112
+ $zip_file = $this->wp_content_dir.'/cyclone-slider/exports/'.$vars['page_data']['file_name'];
113
 
114
+ $vars['ok'] = __('Your export file is ready. Click Download.', $this->textdomain);
115
+ try {
116
+ // Create exports dir
117
+ if( is_dir( $this->wp_content_dir.'/cyclone-slider/exports' ) == false ){
118
+ if( ! mkdir( $this->wp_content_dir.'/cyclone-slider/exports', 0777, true ) ){
119
+ throw new Exception( __('Error creating exports directory.', $this->textdomain));
120
+ }
121
+ }
122
+
123
+ $this->exporter->export( $zip_file, $vars['page_data']['sliders'] );
124
+ } catch (Exception $e ){
125
+ set_transient( 'cycloneslider_error_export', $e->getMessage(), 60 );
126
+ $vars['ok'] = '';
127
+ }
128
+
129
 
130
+ $vars['log_results'] = $this->exporter->get_results();
 
 
 
 
 
 
 
131
 
132
+ $vars['error'] = get_transient( 'cycloneslider_error_export');
133
+ delete_transient( 'cycloneslider_error_export');
134
+ $this->view->render( 'export-step-3.php', $vars );
135
  }
136
+
137
+ public function catch_posts(){
138
+ // Verify nonce
139
+ if( isset($_POST[ $this->nonce_name ]) ){
140
+
141
+ if ( wp_verify_nonce( $_POST[ $this->nonce_name ], $this->nonce_action ) ) {
142
+
143
+ $current_step = isset($_POST['cycloneslider_export_step']) ? (int) $_POST['cycloneslider_export_step'] : 1;
144
+
145
+ switch ( $current_step ) {
146
+ case 1:
147
+ $this->catch_post_step_1( $_POST );
148
+ break;
149
+ case 2:
150
+ $this->catch_post_step_2( $_POST );
151
+ break;
152
+ }
153
+ }
154
+ }
155
+ }
156
+
157
+ private function catch_post_step_1( $post ){
158
+
159
+ if(isset($post['reset'])){
160
+ delete_transient( $this->transient_name );
161
+ if(is_dir($this->wp_content_dir.'/cyclone-slider/exports')){
162
+ $this->rmdir_recursive($this->wp_content_dir.'/cyclone-slider/exports');
163
+ }
164
+ return false;
165
+ }
166
+
167
+ if( empty( $post[$this->transient_name]['sliders']) ){
168
+ set_transient( 'cycloneslider_error_export', __('No slider selected.', $this->textdomain), 60 );
169
+ return false;
170
+ }
171
+
172
+ if( empty( $post[$this->transient_name]['file_name'] ) ){
173
+ set_transient( 'cycloneslider_error_export', __('Please choose a file name.', $this->textdomain), 60 );
174
+ return false;
175
+ }
176
+
177
+ $page_data = $this->get_page_data();
178
+ $page_data['all_sliders'] = $post[$this->transient_name]['all_sliders'];
179
+ $page_data['sliders'] = $post[$this->transient_name]['sliders'];
180
+ $page_data['file_name'] = $post[$this->transient_name]['file_name'];
181
+ set_transient( $this->transient_name, $page_data, 3600 );
182
+ wp_redirect( $this->export_page_url.'&step=2' );
183
+ exit;
184
+
185
+ }
186
+
187
+ private function catch_post_step_2( $post ){
188
+
189
+
190
+ wp_redirect( $this->export_page_url.'&step=3' );
191
+ exit;
192
+ }
193
+
194
+
195
+
196
+ public function get_page_data(){
197
+ return wp_parse_args(get_transient( $this->transient_name ), $this->get_default_page_data());
198
+ }
199
+
200
+ public function get_default_page_data(){
201
+ return array(
202
+ 'all_sliders' => 0,
203
+ 'sliders' => array(),
204
+ 'file_name' => 'cyclone-slider-'.date('Y-m-d').'.zip'
205
+ );
206
+ }
207
+
208
+ public function rmdir_recursive( $path ) {
209
+
210
+ foreach(scandir($path) as $item) {
211
+ if ('.' === $item || '..' === $item) continue;
212
+ if ( is_dir("$path/$item") ) {
213
+ $this->rmdir_recursive("$path/$item");
214
+ } else {
215
+ unlink("$path/$item");
216
+ }
217
+ }
218
+ return rmdir($path);
219
+ }
220
+ }
src/CycloneSlider/ExportPageNextgen.php ADDED
@@ -0,0 +1,280 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class for export page
4
+ */
5
+ class CycloneSlider_ExportPageNextgen extends CycloneSlider_WpAdminSubPage{
6
+
7
+ protected $view;
8
+ protected $exporter;
9
+ protected $wp_content_dir;
10
+ protected $wp_content_url;
11
+ protected $textdomain;
12
+ protected $transient_name;
13
+ protected $nonce_name;
14
+ protected $nonce_action;
15
+ protected $export_page_url;
16
+ protected $import_page_url;
17
+ protected $nextgen_page_url;
18
+
19
+ public function __construct( $parent_slug, $page_title, $menu_title, $capability, $menu_slug, $view, $exporter, $wp_content_dir, $wp_content_url, $textdomain, $transient_name, $nonce_name, $nonce_action, $export_page_url, $import_page_url, $nextgen_page_url ){
20
+ parent::__construct(
21
+ $parent_slug,
22
+ $page_title,
23
+ $menu_title,
24
+ $capability,
25
+ $menu_slug
26
+ );
27
+
28
+ $this->view = $view;
29
+ $this->exporter = $exporter;
30
+ $this->wp_content_dir = $wp_content_dir;
31
+ $this->wp_content_url = $wp_content_url;
32
+ $this->textdomain = $textdomain;
33
+ $this->transient_name = $transient_name;
34
+ $this->nonce_name = $nonce_name;
35
+ $this->nonce_action = $nonce_action;
36
+ $this->export_page_url = $export_page_url;
37
+ $this->import_page_url = $import_page_url;
38
+ $this->nextgen_page_url = $nextgen_page_url;
39
+ }
40
+
41
+ public function run() {
42
+
43
+ parent::run();
44
+
45
+ // Catch Post
46
+ add_action('init', array( $this, 'catch_posts') );
47
+ }
48
+
49
+ /**
50
+ * Render page. This function should output the HTML of the page.
51
+ */
52
+ public function render_page( $post ){
53
+ $current_step = isset($_GET['step']) ? (int) $_GET['step'] : 1;
54
+
55
+ $vars = array();
56
+ $vars['transient_name'] = $this->transient_name;
57
+ $vars['textdomain'] = $this->textdomain;
58
+ $vars['nonce_name'] = $this->nonce_name;
59
+ $vars['nonce'] = wp_create_nonce( $this->nonce_action );
60
+ $vars['export_page_url'] = $this->export_page_url;
61
+ $vars['import_page_url'] = $this->import_page_url;
62
+ $vars['nextgen_page_url'] = $this->nextgen_page_url;
63
+ $vars['tabs'] = array(
64
+ array(
65
+ 'title' => __('Export', $this->textdomain),
66
+ 'url' => $this->export_page_url,
67
+ 'classes' => 'nav-tab'
68
+ ),
69
+ array(
70
+ 'title' => __('Import', $this->textdomain),
71
+ 'url' => $this->import_page_url,
72
+ 'classes' => 'nav-tab'
73
+ ),
74
+ array(
75
+ 'title' => __('Export Nextgen', $this->textdomain),
76
+ 'url' => $this->nextgen_page_url,
77
+ 'classes' => 'nav-tab nav-tab-active'
78
+ )
79
+ );
80
+ $vars['page_data'] = $this->get_page_data();
81
+
82
+ switch ( $current_step ) {
83
+ case 1:
84
+ $this->render_step_1( $vars );
85
+ break;
86
+ case 2:
87
+ $this->render_step_2( $vars );
88
+ break;
89
+ case 3:
90
+ $this->render_step_3( $vars );
91
+ break;
92
+ }
93
+ }
94
+
95
+ private function render_step_1( $vars ){
96
+ global $nggdb;
97
+ if(!isset($nggdb)){//Show only if nextgen plugin is available
98
+ return false;
99
+ }
100
+
101
+ $vars['sliders'] = $nggdb->find_all_galleries();
102
+ $vars['error'] = get_transient( 'cycloneslider_error_export');
103
+ delete_transient( 'cycloneslider_error_export');
104
+ $this->view->render( 'export-nextgen-step-1.php', $vars );
105
+
106
+ }
107
+ private function render_step_2( $vars ){
108
+
109
+ $vars['error'] = get_transient( 'cycloneslider_error_export');
110
+ delete_transient( 'cycloneslider_error_export');
111
+ $this->view->render( 'export-nextgen-step-2.php', $vars );
112
+ }
113
+
114
+ private function render_step_3( $vars ){
115
+
116
+ // Make this configurable
117
+ $vars['zip_url'] = $this->wp_content_url.'/cyclone-slider/exports/'.$vars['page_data']['file_name'];
118
+
119
+ $zip_file = $this->wp_content_dir.'/cyclone-slider/exports/'.$vars['page_data']['file_name'];
120
+
121
+ $vars['ok'] = __('Your export file is ready. Click Download.', $this->textdomain);
122
+ try {
123
+ // Create exports dir
124
+ if( is_dir( $this->wp_content_dir.'/cyclone-slider/exports' ) == false ){
125
+ if( ! mkdir( $this->wp_content_dir.'/cyclone-slider/exports', 0777, true ) ){
126
+ throw new Exception( __('Error creating exports directory.', $this->textdomain));
127
+ }
128
+ }
129
+
130
+ $this->exporter->export( $zip_file, $vars['page_data']['sliders'] );
131
+ } catch (Exception $e ){
132
+ set_transient( 'cycloneslider_error_export', $e->getMessage(), 60 );
133
+ $vars['ok'] = '';
134
+ }
135
+
136
+
137
+ $vars['log_results'] = $this->exporter->get_results();
138
+
139
+ $vars['error'] = get_transient( 'cycloneslider_error_export');
140
+ delete_transient( 'cycloneslider_error_export');
141
+ $this->view->render( 'export-nextgen-step-3.php', $vars );
142
+ }
143
+
144
+ public function catch_posts(){
145
+ // Verify nonce
146
+ if( isset($_POST[ $this->nonce_name ]) ){
147
+
148
+ if ( wp_verify_nonce( $_POST[ $this->nonce_name ], $this->nonce_action ) ) {
149
+
150
+ $current_step = isset($_POST['cycloneslider_export_step']) ? (int) $_POST['cycloneslider_export_step'] : 1;
151
+
152
+ switch ( $current_step ) {
153
+ case 1:
154
+ $this->catch_post_step_1( $_POST );
155
+ break;
156
+ case 2:
157
+ $this->catch_post_step_2( $_POST );
158
+ break;
159
+ }
160
+ }
161
+ }
162
+ }
163
+
164
+ private function catch_post_step_1( $post ){
165
+
166
+ if(isset($post['reset'])){
167
+ delete_transient( $this->transient_name );
168
+ if(is_dir($this->wp_content_dir.'/cyclone-slider/exports')){
169
+ $this->rmdir_recursive($this->wp_content_dir.'/cyclone-slider/exports');
170
+ }
171
+ return false;
172
+ }
173
+
174
+ if( empty( $post[$this->transient_name]['sliders']) ){
175
+ set_transient( 'cycloneslider_error_export', __('No slider selected.', $this->textdomain), 60 );
176
+ return false;
177
+ }
178
+
179
+ if( empty( $post[$this->transient_name]['file_name'] ) ){
180
+ set_transient( 'cycloneslider_error_export', __('Please choose a file name.', $this->textdomain), 60 );
181
+ return false;
182
+ }
183
+
184
+ $page_data = $this->get_page_data();
185
+ $page_data['all_sliders'] = $post[$this->transient_name]['all_sliders'];
186
+ $page_data['sliders'] = $post[$this->transient_name]['sliders'];
187
+ $page_data['file_name'] = $post[$this->transient_name]['file_name'];
188
+ set_transient( $this->transient_name, $page_data, 3600 );
189
+ wp_redirect( $this->export_page_url.'&step=2' );
190
+ exit;
191
+
192
+ }
193
+
194
+ private function catch_post_step_2( $post ){
195
+
196
+
197
+ wp_redirect( $this->export_page_url.'&step=3' );
198
+ exit;
199
+ }
200
+
201
+
202
+
203
+ public function get_page_data(){
204
+ return wp_parse_args(get_transient( $this->transient_name ), $this->get_default_page_data());
205
+ }
206
+
207
+ public function get_default_page_data(){
208
+ return array(
209
+ 'all_sliders' => 0,
210
+ 'sliders' => array(),
211
+ 'file_name' => 'cyclone-slider-'.date('Y-m-d').'.zip'
212
+ );
213
+ }
214
+
215
+ public function rmdir_recursive( $path ) {
216
+
217
+ foreach(scandir($path) as $item) {
218
+ if ('.' === $item || '..' === $item) continue;
219
+ if ( is_dir("$path/$item") ) {
220
+ $this->rmdir_recursive("$path/$item");
221
+ } else {
222
+ unlink("$path/$item");
223
+ }
224
+ }
225
+ return rmdir($path);
226
+ }
227
+
228
+ function add_submenu_page( $parent_slug, $page_title, $menu_title, $capability, $menu_slug, $function = '' ) {
229
+ global $submenu;
230
+ global $menu;
231
+ global $_wp_real_parent_file;
232
+ global $_wp_submenu_nopriv;
233
+ global $_registered_pages;
234
+ global $_parent_pages;
235
+
236
+ $menu_slug = plugin_basename( $menu_slug );
237
+ $parent_slug = plugin_basename( $parent_slug);
238
+
239
+ if ( isset( $_wp_real_parent_file[$parent_slug] ) )
240
+ $parent_slug = $_wp_real_parent_file[$parent_slug];
241
+
242
+ if ( !current_user_can( $capability ) ) {
243
+ $_wp_submenu_nopriv[$parent_slug][$menu_slug] = true;
244
+ return false;
245
+ }
246
+
247
+ /*
248
+ * If the parent doesn't already have a submenu, add a link to the parent
249
+ * as the first item in the submenu. If the submenu file is the same as the
250
+ * parent file someone is trying to link back to the parent manually. In
251
+ * this case, don't automatically add a link back to avoid duplication.
252
+ */
253
+ if (!isset( $submenu[$parent_slug] ) && $menu_slug != $parent_slug ) {
254
+ foreach ( (array)$menu as $parent_menu ) {
255
+ if ( $parent_menu[2] == $parent_slug && current_user_can( $parent_menu[1] ) )
256
+ $submenu[$parent_slug][] = array_slice( $parent_menu, 0, 4 );
257
+ }
258
+ }
259
+
260
+ $submenu[$parent_slug][] = array ( $menu_title, $capability, $menu_slug, $page_title );
261
+
262
+ $hookname = get_plugin_page_hookname( $menu_slug, $parent_slug);
263
+ if (!empty ( $function ) && !empty ( $hookname ))
264
+ add_action( $hookname, $function );
265
+
266
+ $_registered_pages[$hookname] = true;
267
+
268
+ /*
269
+ * Backward-compatibility for plugins using add_management page.
270
+ * See wp-admin/admin.php for redirect from edit.php to tools.php
271
+ */
272
+ if ( 'tools.php' == $parent_slug )
273
+ $_registered_pages[get_plugin_page_hookname( $menu_slug, 'edit.php')] = true;
274
+
275
+ // No parent as top level.
276
+ $_parent_pages[$menu_slug] = $parent_slug;
277
+
278
+ return $hookname;
279
+ }
280
+ }
src/CycloneSlider/Exporter.php CHANGED
@@ -2,10 +2,22 @@
2
  /**
3
  * Class for exporting cyclone-slider.zip
4
  */
5
- class CycloneSlider_Exporter extends CycloneSlider_Base {
6
  protected $log_results; // Hold results of import operations
7
  protected $log_count;
8
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  public function run() {
10
 
11
  $this->log_results = array(
@@ -31,54 +43,40 @@ class CycloneSlider_Exporter extends CycloneSlider_Base {
31
  *
32
  * @param string $zip_file Full path and filename to zip file
33
  * @param array $sliders_slugs_array Array of slider slugs to export
34
- * @return void|false Do export or abort and return false on fail
35
  */
36
  public function export( $zip_file, array $sliders_slugs_array ) {
37
 
38
  // Check selected sliders
39
  if( empty($sliders_slugs_array) ){
40
- $this->add_error( 'Error no sliders selected' );
41
- return false;
42
  }
43
 
44
  // Generate sliders export data
45
- if( ($sliders_export_data = $this->generate_sliders_export_data( $sliders_slugs_array )) === false ){
46
- $this->add_error( 'Error generating sliders export data' );
47
- return false;
48
- }
49
 
50
  // Generate images lists
51
- if( ($images_list = $this->generate_images_list( $sliders_slugs_array )) === false ){
52
- $this->add_error( 'Error generating images list' );
53
- return false;
54
- }
55
 
56
  // Generate images export data
57
- if( ($images_export_data = $this->generate_images_export_data( $sliders_slugs_array )) === false ){
58
- $this->add_error( 'Error generating images export data' );
59
- return false;
60
- }
61
 
62
  // Combine
63
  $export_data = array(
64
  'sliders' => $sliders_export_data,
65
  'images' => $images_export_data
66
  );
67
- $this->add_ok( 'Success generating export data' );
68
 
69
  // Generate JSON
70
- if( ($export_json = $this->generate_json_data( $export_data )) === false ){
71
- $this->add_error( 'Error generating JSON data' );
72
- return false;
73
  }
74
- $this->add_ok( 'Success converting export data to JSON' );
75
 
76
  // Generate Zip
77
- if( $this->generate_export_zip( $zip_file, $images_list, $export_json ) === false ){
78
- $this->add_error( 'Error generating zip file' );
79
- return false;
80
- }
81
- $this->add_ok( 'Success generating zip file' );
82
 
83
  return true;
84
  }
@@ -93,110 +91,73 @@ class CycloneSlider_Exporter extends CycloneSlider_Base {
93
  */
94
  private function generate_sliders_export_data( array $sliders_slugs_array ) {
95
 
96
- if( !empty( $sliders_slugs_array ) ){
97
- $sliders_export_data = array();
98
- foreach( $sliders_slugs_array as $i=>$slider_slug){
99
 
100
- $slider = $this->plugin['data']->get_slider_by_slug( $slider_slug );
101
-
102
- if($slider){
103
- $sliders_export_data[$i] = array(
104
- 'title' => $slider['post_title'],
105
- 'name' => $slider['post_name'],
106
- 'slider_settings' => $slider['slider_settings'],
107
- 'slides' => $slider['slides']
108
- );
109
- $this->add_ok( sprintf('Exporting data for slider "%s"', $slider_slug) );
110
- } else {
111
- $this->add_error( sprintf('Slider "%s" not found', $slider_slug) );
112
- }
113
-
114
  }
115
- return $sliders_export_data;
116
  }
117
-
118
- return false;
119
  }
120
 
121
  /**
122
- * Generate Images List
123
  *
124
- * Generate image array for slider images
125
  *
126
- * @param array $sliders_slugs_array Array of slider slugs to export
127
- * @return array|false Export data array or false on fail
128
  */
129
- private function generate_images_list( array $sliders_slugs_array ) {
 
 
130
 
131
- if( !empty( $sliders_slugs_array ) ){
132
-
133
- $images_list = array();
134
 
135
- foreach( $sliders_slugs_array as $slider_slug){
136
- $slider = $this->plugin['data']->get_slider_by_slug( $slider_slug );
137
- if($slider){
138
- if(isset($slider['slides'])){
139
- foreach($slider['slides'] as $i=>$slide){
140
- $images_list[$slider['post_name']][$i] = get_attached_file( $slide['id'] ); // Filename of image
141
- }
142
  }
143
  }
144
  }
145
 
146
- return $images_list;
147
  }
148
 
149
- return false;
 
150
  }
151
 
152
  /**
153
- * Generate Images Export Data
154
- *
155
  * Generate export data array for slider images
156
  *
157
- * @param array $sliders_slugs_array Array of slider slugs to export
158
- * @return array|false Export data array or false on fail
159
- */
160
- private function generate_images_export_data( array $sliders_slugs_array ) {
161
-
162
- if( !empty( $sliders_slugs_array ) ){
163
- $images_export_data = array();
164
- foreach( $sliders_slugs_array as $slider_slug){
165
-
166
- $slider = $this->plugin['data']->get_slider_by_slug( $slider_slug );
167
-
168
- if($slider){
169
- if(isset($slider['slides'])){
170
- foreach($slider['slides'] as $i=>$slide){
171
- $images_export_data[$slider['post_name']][$i] = sanitize_file_name( wp_basename( get_attached_file( $slide['id'] ) ) ); // Filename of image
172
- }
173
- }
174
- }
175
- }
176
- return $images_export_data;
177
- }
178
-
179
- return false;
180
- }
181
-
182
- /**
183
- * Generate JSON Data
184
- *
185
- * Generate json data
186
- *
187
- * @param array $export_data Array of export data
188
- * @return string|false JSON data or false on fail
189
  */
190
- private function generate_json_data( array $export_data ) {
191
 
192
- if($export_data){
193
- // JSON encode
194
- if( $export_json = json_encode($export_data) ){
195
- return $export_json;
196
  }
197
  }
 
198
 
199
- return false;
200
  }
201
 
202
  /**
@@ -207,36 +168,37 @@ class CycloneSlider_Exporter extends CycloneSlider_Base {
207
  * @param string $zip_file Zip file to save
208
  * @param array $images_list Array of image file paths to include in the zip
209
  * @param string $export_json JSON string to save
210
- * @return string|false JSON data or false on fail
211
  */
212
  private function generate_export_zip( $zip_file, array $images_list, $export_json ) {
213
 
214
  if( !class_exists('ZipArchive') ) {
215
- $this->add_error( 'ZipArchive not supported' );
216
- return false;
217
  }
218
- $zip = new ZipArchive();
219
 
220
- if ($zip->open($zip_file, ZIPARCHIVE::OVERWRITE)!==TRUE) {
221
- $this->add_error( 'Error opening zip file' );
222
- return false;
223
  }
224
-
225
  // Add slide images
226
  foreach($images_list as $a=>$sliders) {
227
  foreach($sliders as $b=>$image_file){
228
  if(!empty($image_file)){ // Non image slides
229
  $filename = sanitize_file_name( wp_basename( $image_file ) );
230
  if( $zip->addFile( $image_file, $filename ) === false ){
231
- $this->add_error( sprintf( 'Error adding file %s to zip', $filename ) );
 
 
232
  }
233
  }
234
  }
235
  }
236
 
237
  // Add json file
238
- $zip->addFromString("export.json", $export_json );
239
-
 
240
  $zip->close();
241
  return $zip_file;
242
  }
2
  /**
3
  * Class for exporting cyclone-slider.zip
4
  */
5
+ class CycloneSlider_Exporter {
6
  protected $log_results; // Hold results of import operations
7
  protected $log_count;
8
 
9
+ protected $data;
10
+ protected $zip_archive;
11
+ protected $export_json_file;
12
+ protected $textdomain;
13
+
14
+ public function __construct( $data, $zip_archive, $export_json_file, $textdomain ){
15
+ $this->data = $data;
16
+ $this->zip_archive = $zip_archive;
17
+ $this->export_json_file = $export_json_file;
18
+ $this->textdomain = $textdomain;
19
+ }
20
+
21
  public function run() {
22
 
23
  $this->log_results = array(
43
  *
44
  * @param string $zip_file Full path and filename to zip file
45
  * @param array $sliders_slugs_array Array of slider slugs to export
46
+ * @return void|Exception Do export or throw exception on failure
47
  */
48
  public function export( $zip_file, array $sliders_slugs_array ) {
49
 
50
  // Check selected sliders
51
  if( empty($sliders_slugs_array) ){
52
+ throw new Exception( __('Error no sliders selected.', $this->textdomain), 1);
 
53
  }
54
 
55
  // Generate sliders export data
56
+ $sliders_export_data = $this->generate_sliders_export_data( $sliders_slugs_array );
 
 
 
57
 
58
  // Generate images lists
59
+ $images_list = $this->generate_images_list( $sliders_export_data );
 
 
 
60
 
61
  // Generate images export data
62
+ $images_export_data = $this->generate_images_export_data( $images_list );
 
 
 
63
 
64
  // Combine
65
  $export_data = array(
66
  'sliders' => $sliders_export_data,
67
  'images' => $images_export_data
68
  );
 
69
 
70
  // Generate JSON
71
+ $export_json = json_encode( $export_data );
72
+ if( false === $export_json ){
73
+ throw new Exception( __('Error encoding data to JSON.', $this->textdomain), 1);
74
  }
 
75
 
76
  // Generate Zip
77
+ $this->generate_export_zip( $zip_file, $images_list, $export_json );
78
+
79
+ $this->add_ok( sprintf( __('Success generating zip %s.', $this->textdomain), wp_basename($zip_file) ) );
 
 
80
 
81
  return true;
82
  }
91
  */
92
  private function generate_sliders_export_data( array $sliders_slugs_array ) {
93
 
94
+ $sliders_export_data = array();
95
+
96
+ foreach( $sliders_slugs_array as $i=>$slider_slug){
97
 
98
+ $slider = $this->data->get_slider_by_slug( $slider_slug );
99
+
100
+ if($slider){
101
+ $sliders_export_data[$i] = array(
102
+ 'title' => $slider['post_title'],
103
+ 'name' => $slider['post_name'],
104
+ 'slider_settings' => $slider['slider_settings'],
105
+ 'slides' => $slider['slides']
106
+ );
107
+ $this->add_ok( sprintf( __('Exporting data for slider "%s".', $this->textdomain), $slider_slug) );
108
+ } else {
109
+ throw new Exception( sprintf( __('Slider "%s" not found.', $this->textdomain), $slider_slug), 3);
 
 
110
  }
 
111
  }
112
+ return $sliders_export_data;
 
113
  }
114
 
115
  /**
 
116
  *
117
+ * Generate image list array containing full file path to images
118
  *
119
+ * @param array $sliders_export_data Array of slider slugs to export
120
+ * @return array|Exception Image list array or throws Exception on error
121
  */
122
+ private function generate_images_list( array $sliders_export_data ) {
123
+
124
+ $images_list = array();
125
 
126
+ foreach( $sliders_export_data as $slider){
 
 
127
 
128
+ foreach( $slider['slides'] as $i => $slide ){
129
+ if( $slide['id'] > 0 ){
130
+ $file = get_attached_file( $slide['id'] ); // Filename of image
131
+ if( is_file( $file ) ){ // Check existence
132
+ $images_list[ $slider['name'] ][ $i ] = $file;
133
+ } else {
134
+ throw new Exception( sprintf( __('Image %1$d was not found on slide %2$d of slider %3$s. Path to image is %4$s.', $this->textdomain ), $slide['id'], (int)$i+1, $slider['name'], $file ), 4 );
135
  }
136
  }
137
  }
138
 
 
139
  }
140
 
141
+ return $images_list;
142
+
143
  }
144
 
145
  /**
 
 
146
  * Generate export data array for slider images
147
  *
148
+ * @param array $images_list Array of slider images
149
+ * @return array Export data of images
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
150
  */
151
+ private function generate_images_export_data( array $images_list ) {
152
 
153
+ $images_export_data = array();
154
+ foreach( $images_list as $slider_name => $slider ){
155
+ foreach($slider as $i => $slide_image ){
156
+ $images_export_data[ $slider_name ][ $i ] = wp_basename( $slide_image ); // Remove full path and retain only the file name
157
  }
158
  }
159
+ return $images_export_data;
160
 
 
161
  }
162
 
163
  /**
168
  * @param string $zip_file Zip file to save
169
  * @param array $images_list Array of image file paths to include in the zip
170
  * @param string $export_json JSON string to save
171
+ * @return string|Exception Path to zip file or Exception on fail
172
  */
173
  private function generate_export_zip( $zip_file, array $images_list, $export_json ) {
174
 
175
  if( !class_exists('ZipArchive') ) {
176
+ throw new Exception( __( 'ZipArchive not supported.', $this->textdomain ) );
 
177
  }
178
+ $zip = new $this->zip_archive;
179
 
180
+ if ( true !== $zip->open($zip_file, ZIPARCHIVE::OVERWRITE) ) {
181
+ throw new Exception( __( 'Error opening zip file.', $this->textdomain ) );
 
182
  }
183
+
184
  // Add slide images
185
  foreach($images_list as $a=>$sliders) {
186
  foreach($sliders as $b=>$image_file){
187
  if(!empty($image_file)){ // Non image slides
188
  $filename = sanitize_file_name( wp_basename( $image_file ) );
189
  if( $zip->addFile( $image_file, $filename ) === false ){
190
+ throw new Exception( sprintf( __( 'Error adding file %s to zip.', $this->textdomain ), $image_file ) );
191
+ } else {
192
+ $this->add_ok( sprintf( __('File %s added to zip.', $this->textdomain), wp_basename($image_file) ) );
193
  }
194
  }
195
  }
196
  }
197
 
198
  // Add json file
199
+ $zip->addFromString($this->export_json_file, $export_json );
200
+ $this->add_ok( sprintf( __('File %s added to zip.', $this->textdomain ), $this->export_json_file) );
201
+
202
  $zip->close();
203
  return $zip_file;
204
  }
src/CycloneSlider/ExporterNextgen.php ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class for NextGEN export
4
+ */
5
+ class CycloneSlider_ExporterNextgen {
6
+
7
+ protected $data;
8
+
9
+ public function __construct( $data ) {
10
+
11
+ $this->data = $data;
12
+
13
+ }
14
+
15
+ /**
16
+ * Boot
17
+ */
18
+ function run2() {
19
+
20
+ // Add metaboxes
21
+ add_action( 'add_meta_boxes', array( $this, 'add_meta_boxes' ), 100 );
22
+
23
+ // Append nextgen slides
24
+ add_filter( 'cycloneslider_slides', array($this, 'nextgen_slides'));
25
+
26
+ }
27
+
28
+ /**
29
+ * Add metabox
30
+ */
31
+ function add_meta_boxes(){
32
+ global $nggdb;
33
+ if(!isset($nggdb)){//Show only if nextgen plugin is available
34
+ return false;
35
+ }
36
+
37
+ add_meta_box(
38
+ 'cyclone-nextgen-metabox',
39
+ __('NextGEN Integration', 'cycloneslider'),
40
+ array( $this, 'render_nextgen_meta_box' ),
41
+ 'cycloneslider' ,
42
+ 'normal',
43
+ 'low'
44
+ );
45
+ }
46
+
47
+ /**
48
+ * Render metabox
49
+ */
50
+ function render_nextgen_meta_box($post){
51
+ global $nggdb;
52
+
53
+ ?>
54
+ <div class="cycloneslider-field last">
55
+ <label for="cycloneslider_nextgen_gallery"><?php _e('Choose a NextGEN Gallery', 'cycloneslider'); ?></label>
56
+ <?php
57
+ $galleries = $nggdb->find_all_galleries();
58
+ ?>
59
+ <select id="cycloneslider_nextgen_gallery" name="cycloneslider_settings[nextgen_gallery]">
60
+ <option selected="selected" value="0"></option>
61
+ <?php foreach($galleries as $gallery): ?>
62
+ <option value="<?php echo $gallery->gid; ?>"><?php echo $gallery->title; ?></option>
63
+ <?php endforeach; ?>
64
+ </select>
65
+ <input type="submit" name="cycloneslider_settings[nextgen]" value="<?php _e('Import', 'cycloneslider'); ?>" class="button-secondary" />
66
+ <br />
67
+ <span class="note"><?php _e('Select a gallery to import images from. Images will be added as new slides.', 'cycloneslider'); ?></span>
68
+ <div class="clear"></div>
69
+ </div>
70
+ <?php
71
+ }
72
+
73
+ /**
74
+ * Append 1-x to name if filename already exist
75
+ */
76
+ function increment_name($filename, $extension, $folder_files){
77
+ $name = $filename.'.'.$extension;
78
+ if($this->in_array_str_i($name, $folder_files)){
79
+ $existing = true;
80
+ $counter = 0;
81
+ while($existing){
82
+ $counter++;
83
+ $name = $filename.$counter.'.'.$extension;
84
+ if(!$this->in_array_str_i($name, $folder_files)){
85
+ return $name;
86
+ }
87
+ }
88
+ }
89
+ return $name;
90
+ }
91
+
92
+ /**
93
+ * Case insensitive string lookup in an array
94
+ */
95
+ function in_array_str_i($key, $array){
96
+ foreach($array as $element){
97
+ if(strcasecmp($key, $element)==0){
98
+ return true;
99
+ }
100
+ }
101
+ return false;
102
+ }
103
+
104
+ /**
105
+ * Replace certain characters with spaces in order to be a readable post title
106
+ */
107
+ function slug_to_title($string){
108
+ $patterns = array();
109
+ $patterns[0] = '/-/';
110
+ $patterns[1] = '/_/';
111
+ $replacements = array();
112
+ $replacements[0] = ' ';
113
+ $replacements[1] = ' ';
114
+ return ucwords(preg_replace($patterns, $replacements, $string));
115
+ }
116
+
117
+ /**
118
+ * Copy image to WP upload directory, create attachment and return attachment ID.
119
+ */
120
+ function copy_image($image_file){
121
+ $dir = wp_upload_dir();
122
+ $target_folder = $dir['path'].'/';
123
+
124
+ $info = pathinfo($image_file);
125
+ $dirname = isset($info['dirname']) ? $info['dirname'] : ''; // Path to directory
126
+ $filename = isset($info['filename']) ? $info['filename'] : ''; // Filename without extension Eg. "image-1"
127
+ $ext = isset($info['extension']) ? $info['extension'] : ''; // File extension Eg. "jpg"
128
+
129
+ if($target_folder_files = scandir($target_folder)){
130
+ if(is_array($target_folder_files)){
131
+ $new_name = $this->increment_name($filename, $ext, $target_folder_files); //Append numbers if file exist
132
+ if(copy($image_file, $target_folder.$new_name)){
133
+
134
+ $size = getimagesize($target_folder.$new_name);// Get mime type
135
+ // Build attachment details
136
+ $attachment = array(
137
+ 'post_mime_type' => $size['mime'],
138
+ 'post_title' => $this->slug_to_title(basename($new_name, '.'.$ext)),
139
+ 'post_content' => '',
140
+ 'post_status' => 'inherit'
141
+ );
142
+
143
+ $attach_id = wp_insert_attachment( $attachment, $target_folder.$new_name );
144
+
145
+ if(!function_exists('wp_generate_attachment_metadata')) include( ABSPATH . 'wp-admin/includes/image.php' );// Required for wp_generate_attachment_metadata
146
+
147
+ $attach_data = wp_generate_attachment_metadata( $attach_id, $target_folder.$new_name ); // Generate different thumbnails
148
+ wp_update_attachment_metadata( $attach_id, $attach_data );
149
+ return $attach_id;
150
+ }
151
+ }
152
+ }
153
+ return false;
154
+ }
155
+
156
+
157
+
158
+ /**
159
+ * Add images from nextgen as new slides. Images are copied from nextgen folders into WP uploads dir and added as attachments.
160
+ */
161
+ function nextgen_slides($slides){
162
+ global $nggdb;
163
+ if(!isset($nggdb)){
164
+ return $slides;
165
+ }
166
+
167
+ if(isset($_POST['cycloneslider_settings']['nextgen']) and isset($_POST['cycloneslider_settings']['nextgen_gallery']) ){
168
+
169
+ $nextgen_gallery = $nggdb->get_gallery((int) $_POST['cycloneslider_settings']['nextgen_gallery']);
170
+
171
+ if(!empty($nextgen_gallery) and is_array($nextgen_gallery)){
172
+
173
+ foreach($nextgen_gallery as $image){
174
+ if($attach_id = $this->copy_image($image->imagePath)){ //Copy success!
175
+ $slides[] = wp_parse_args(array('id' => $attach_id), $this->data->get_slide_defaults() ); //Add the slide ID and fill in default values
176
+ }
177
+ }
178
+ }
179
+ }
180
+
181
+ return $slides;
182
+ }
183
+
184
+ } // end class
src/CycloneSlider/Frontend.php CHANGED
@@ -1,7 +1,20 @@
1
  <?php
2
- class CycloneSlider_Frontend extends CycloneSlider_Base {
 
 
 
 
 
3
  public $slider_count;
4
 
 
 
 
 
 
 
 
 
5
  public function run() {
6
 
7
  // Set defaults
@@ -52,7 +65,7 @@ class CycloneSlider_Frontend extends CycloneSlider_Base {
52
  );
53
 
54
  $slider_slug = $shortcode_settings['id']; // Slideshow slug passed from shortcode
55
- $slider = $this->plugin['data']->get_slider_by_slug( $slider_slug ); // Get slider by slug
56
 
57
  // Abort if slider not found!
58
  if( $slider === false ){
@@ -68,14 +81,14 @@ class CycloneSlider_Frontend extends CycloneSlider_Base {
68
  $slides = isset($slider['slides']) ? $slider['slides'] : array(); // Assign slides
69
 
70
  $template_name = $admin_settings['template'];
71
- $view_file = $this->plugin['data']->get_view_file( $template_name );
72
 
73
 
74
  if( $view_file === false ){ // Abort if template not found!
75
  return sprintf(__('[Template "%s" not found]', 'cycloneslider'), $template_name);
76
  }
77
 
78
- $slider_settings = $this->plugin['data']->combine_slider_settings( $admin_settings, $shortcode_settings );
79
 
80
  $image_count = 0; // Number of image slides
81
  $video_count = 0; // Number of video slides
@@ -83,23 +96,29 @@ class CycloneSlider_Frontend extends CycloneSlider_Base {
83
  $youtube_count = 0; // Number of youtube slides
84
  $vimeo_count = 0; // Number of Vimeo slides
85
 
 
 
 
 
 
86
  // Do some last minute logic
87
  // Translations and counters
88
  foreach($slides as $i=>$slide){
 
89
  $slides[$i]['title'] = __($slide['title']); // Needed by some translation plugins to work
90
  $slides[$i]['description'] = __($slide['description']); // Needed by some translation plugins to work
91
- $slides[$i]['slide_data_attributes'] = $this->plugin['data']->slide_data_attributes( $slide, $slider_settings );
92
 
93
  if($slides[$i]['type']=='image'){
94
 
95
  list($full_image_url, $orig_width, $orig_height) = wp_get_attachment_image_src($slide['id'], 'full');
96
 
97
  $slides[$i]['full_image_url'] = $full_image_url;
98
- $slides[$i]['image_url'] = $this->plugin['data']->get_slide_image_url( $slide['id'], $slider_settings );
99
 
100
  $slides[$i]['image_thumbnails'] = array();
101
- foreach($this->plugin['image_sizes'] as $key=>$size){
102
- $slides[$i]['image_thumbnails'][$key] = $this->plugin['data']->get_slide_thumbnail_url( $slide['id'], $size['width'], $size['height'], $slider_settings['resize'] );
103
  }
104
 
105
  $image_count++;
@@ -109,7 +128,7 @@ class CycloneSlider_Frontend extends CycloneSlider_Base {
109
  $custom_count++;
110
  } else if($slides[$i]['type']=='youtube'){
111
  $youtube_count++;
112
- $youtube_id = $this->plugin['youtube']->get_youtube_id($slides[$i]['youtube_url']);
113
 
114
  $youtube_related = '';
115
  if( 'true' == $slides[$i]['youtube_related'] ) {
@@ -118,15 +137,15 @@ class CycloneSlider_Frontend extends CycloneSlider_Base {
118
 
119
  $slides[$i]['youtube_embed_code'] = '<iframe id="'.$slider_html_id.'-iframe-'.$i.'" width="'.$slider_settings['width'].'" height="'.$slider_settings['height'].'" src="//www.youtube.com/embed/'.$youtube_id.'?wmode=transparent'.$youtube_related.'" frameborder="0" allowfullscreen></iframe>';
120
  $slides[$i]['youtube_id'] = $youtube_id;
121
- $slides[$i]['thumbnail_small'] = $this->plugin['youtube']->get_youtube_thumb($youtube_id);
122
 
123
  } else if($slides[$i]['type']=='vimeo'){
124
  $vimeo_count++;
125
- $vimeo_id = $this->plugin['vimeo']->get_vimeo_id($slides[$i]['vimeo_url']);
126
 
127
  $slides[$i]['vimeo_embed_code'] = '<iframe id="'.$slider_html_id.'-iframe-'.$i.'" width="'.$slider_settings['width'].'" height="'.$slider_settings['height'].'" src="http://player.vimeo.com/video/'.$vimeo_id.'?api=1&wmode=transparent" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';
128
  $slides[$i]['vimeo_id'] = $vimeo_id;
129
- $slides[$i]['thumbnail_small'] = $this->plugin['vimeo']->get_vimeo_thumb($vimeo_id);
130
  }
131
  }
132
 
@@ -161,15 +180,15 @@ class CycloneSlider_Frontend extends CycloneSlider_Base {
161
  $vars['slider_settings'] = $slider_settings;
162
 
163
 
164
- $current_view_folder = $this->plugin['view']->get_view_folder(); // Back it up
165
 
166
- $this->plugin['view']->set_view_folder( dirname( $view_file ) ); // Set to template folder
167
- $slider_html = $this->plugin['view']->get_render( basename($view_file), $vars );
168
 
169
- $this->plugin['view']->set_view_folder( $current_view_folder ); // Restore
170
 
171
  // Remove whitespace to prevent WP from adding rogue paragraphs
172
- $slider_html = $this->plugin['data']->trim_white_spaces( $slider_html );
173
 
174
  // Return HTML
175
  return $slider_html;
1
  <?php
2
+ class CycloneSlider_Frontend {
3
+ protected $data;
4
+ protected $image_sizes;
5
+ protected $youtube;
6
+ protected $vimeo;
7
+ protected $view;
8
  public $slider_count;
9
 
10
+ public function __construct( $data, $image_sizes, $youtube, $vimeo, $view ){
11
+ $this->data = $data;
12
+ $this->image_sizes = $image_sizes;
13
+ $this->youtube = $youtube;
14
+ $this->vimeo = $vimeo;
15
+ $this->view = $view;
16
+ }
17
+
18
  public function run() {
19
 
20
  // Set defaults
65
  );
66
 
67
  $slider_slug = $shortcode_settings['id']; // Slideshow slug passed from shortcode
68
+ $slider = $this->data->get_slider_by_slug( $slider_slug ); // Get slider by slug
69
 
70
  // Abort if slider not found!
71
  if( $slider === false ){
81
  $slides = isset($slider['slides']) ? $slider['slides'] : array(); // Assign slides
82
 
83
  $template_name = $admin_settings['template'];
84
+ $view_file = $this->data->get_view_file( $template_name );
85
 
86
 
87
  if( $view_file === false ){ // Abort if template not found!
88
  return sprintf(__('[Template "%s" not found]', 'cycloneslider'), $template_name);
89
  }
90
 
91
+ $slider_settings = $this->data->combine_slider_settings( $admin_settings, $shortcode_settings );
92
 
93
  $image_count = 0; // Number of image slides
94
  $video_count = 0; // Number of video slides
96
  $youtube_count = 0; // Number of youtube slides
97
  $vimeo_count = 0; // Number of Vimeo slides
98
 
99
+ foreach($slides as $i=>$slide){
100
+ if($slides[$i]['hidden']){
101
+ unset($slides[$i]);
102
+ }
103
+ }
104
  // Do some last minute logic
105
  // Translations and counters
106
  foreach($slides as $i=>$slide){
107
+
108
  $slides[$i]['title'] = __($slide['title']); // Needed by some translation plugins to work
109
  $slides[$i]['description'] = __($slide['description']); // Needed by some translation plugins to work
110
+ $slides[$i]['slide_data_attributes'] = $this->data->slide_data_attributes( $slide, $slider_settings );
111
 
112
  if($slides[$i]['type']=='image'){
113
 
114
  list($full_image_url, $orig_width, $orig_height) = wp_get_attachment_image_src($slide['id'], 'full');
115
 
116
  $slides[$i]['full_image_url'] = $full_image_url;
117
+ $slides[$i]['image_url'] = $this->data->get_slide_image_url( $slide['id'], $slider_settings );
118
 
119
  $slides[$i]['image_thumbnails'] = array();
120
+ foreach($this->image_sizes as $key=>$size){
121
+ $slides[$i]['image_thumbnails'][$key] = $this->data->get_slide_thumbnail_url( $slide['id'], $size['width'], $size['height'], $slider_settings['resize'] );
122
  }
123
 
124
  $image_count++;
128
  $custom_count++;
129
  } else if($slides[$i]['type']=='youtube'){
130
  $youtube_count++;
131
+ $youtube_id = $this->youtube->get_youtube_id($slides[$i]['youtube_url']);
132
 
133
  $youtube_related = '';
134
  if( 'true' == $slides[$i]['youtube_related'] ) {
137
 
138
  $slides[$i]['youtube_embed_code'] = '<iframe id="'.$slider_html_id.'-iframe-'.$i.'" width="'.$slider_settings['width'].'" height="'.$slider_settings['height'].'" src="//www.youtube.com/embed/'.$youtube_id.'?wmode=transparent'.$youtube_related.'" frameborder="0" allowfullscreen></iframe>';
139
  $slides[$i]['youtube_id'] = $youtube_id;
140
+ $slides[$i]['thumbnail_small'] = $this->youtube->get_youtube_thumb($youtube_id);
141
 
142
  } else if($slides[$i]['type']=='vimeo'){
143
  $vimeo_count++;
144
+ $vimeo_id = $this->vimeo->get_vimeo_id($slides[$i]['vimeo_url']);
145
 
146
  $slides[$i]['vimeo_embed_code'] = '<iframe id="'.$slider_html_id.'-iframe-'.$i.'" width="'.$slider_settings['width'].'" height="'.$slider_settings['height'].'" src="http://player.vimeo.com/video/'.$vimeo_id.'?api=1&wmode=transparent" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';
147
  $slides[$i]['vimeo_id'] = $vimeo_id;
148
+ $slides[$i]['thumbnail_small'] = $this->vimeo->get_vimeo_thumb($vimeo_id);
149
  }
150
  }
151
 
180
  $vars['slider_settings'] = $slider_settings;
181
 
182
 
183
+ $current_view_folder = $this->view->get_view_folder(); // Back it up
184
 
185
+ $this->view->set_view_folder( dirname( $view_file ) ); // Set to template folder
186
+ $slider_html = $this->view->get_render( basename($view_file), $vars );
187
 
188
+ $this->view->set_view_folder( $current_view_folder ); // Restore
189
 
190
  // Remove whitespace to prevent WP from adding rogue paragraphs
191
+ $slider_html = $this->data->trim_white_spaces( $slider_html );
192
 
193
  // Return HTML
194
  return $slider_html;
src/CycloneSlider/ImageEditor.php CHANGED
@@ -19,12 +19,16 @@ class CycloneSlider_ImageEditor {
19
  /**
20
  * Assign file
21
  */
22
- public function __construct( $file ) {
23
 
24
  $this->file = $file;
25
 
26
  }
27
 
 
 
 
 
28
  public function __destruct() {
29
  if ( $this->image ) {
30
  // Free memory
19
  /**
20
  * Assign file
21
  */
22
+ public function __construct( $file = '' ) {
23
 
24
  $this->file = $file;
25
 
26
  }
27
 
28
+ public function set_file( $file ){
29
+ $this->file = $file;
30
+ }
31
+
32
  public function __destruct() {
33
  if ( $this->image ) {
34
  // Free memory
src/CycloneSlider/ImageResizer.php CHANGED
@@ -2,7 +2,15 @@
2
  /**
3
  * Class for copying WP images for import/export purposes and resizing slide images
4
  */
5
- class CycloneSlider_ImageResizer extends CycloneSlider_Base {
 
 
 
 
 
 
 
 
6
 
7
  /**
8
  * Resize Images
@@ -30,7 +38,11 @@ class CycloneSlider_ImageResizer extends CycloneSlider_Base {
30
 
31
  // Get full path to the slide image
32
  $image_file = get_attached_file( $slide['id'] );
33
-
 
 
 
 
34
  // Extract image path info
35
  $info = pathinfo($image_file);
36
  $dirname = isset($info['dirname']) ? $info['dirname'] : ''; // Path to directory
@@ -55,7 +67,7 @@ class CycloneSlider_ImageResizer extends CycloneSlider_Base {
55
  }
56
 
57
  // Additional slide images. Used mainly by templates. Eg. Thumbnail template's thumbnails
58
- foreach($this->plugin['image_sizes'] as $size){
59
 
60
  // Create thumb filename-{width}x{height}.jpg
61
  $thumb_name = $this->generate_thumb_name( $image_file, $size['width'], $size['height'] );
@@ -86,8 +98,8 @@ class CycloneSlider_ImageResizer extends CycloneSlider_Base {
86
  */
87
  private function resize_slide_image( $image_file, $image_file_dest, $width, $height, $resize_option, $resize_quality){
88
  // Create
89
- $image = new $this->plugin['image_editor']( $image_file );
90
-
91
  // Load
92
  if( $image->load() ){
93
 
2
  /**
3
  * Class for copying WP images for import/export purposes and resizing slide images
4
  */
5
+ class CycloneSlider_ImageResizer {
6
+
7
+ protected $image_sizes;
8
+ protected $image_editor;
9
+
10
+ public function __construct( $image_sizes, $image_editor ){
11
+ $this->image_sizes = $image_sizes;
12
+ $this->image_editor = $image_editor;
13
+ }
14
 
15
  /**
16
  * Resize Images
38
 
39
  // Get full path to the slide image
40
  $image_file = get_attached_file( $slide['id'] );
41
+
42
+ if( true !== is_file( $image_file ) and $slide['id'] > 0 ) {
43
+ throw new Exception( sprintf('Attachment ID %1$d not found.', $slide['id'] ) );
44
+ }
45
+
46
  // Extract image path info
47
  $info = pathinfo($image_file);
48
  $dirname = isset($info['dirname']) ? $info['dirname'] : ''; // Path to directory
67
  }
68
 
69
  // Additional slide images. Used mainly by templates. Eg. Thumbnail template's thumbnails
70
+ foreach($this->image_sizes as $size){
71
 
72
  // Create thumb filename-{width}x{height}.jpg
73
  $thumb_name = $this->generate_thumb_name( $image_file, $size['width'], $size['height'] );
98
  */
99
  private function resize_slide_image( $image_file, $image_file_dest, $width, $height, $resize_option, $resize_quality){
100
  // Create
101
+ $image = new $this->image_editor;
102
+ $image->set_file( $image_file );
103
  // Load
104
  if( $image->load() ){
105
 
src/CycloneSlider/ImportPage.php CHANGED
@@ -2,98 +2,166 @@
2
  /**
3
  * Class for import page
4
  */
5
- class CycloneSlider_ImportPage extends CycloneSlider_Base {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
 
7
  public function run() {
8
 
9
- // Add page
10
- add_action( 'admin_menu', array( $this, 'add_menu_and_page'));
11
 
12
  // Post
13
  add_action('init', array( $this, 'catch_posts') );
14
  }
15
-
16
- /**
17
- * Menu page action hook
18
- */
19
- public function add_menu_and_page(){
20
- // Use built-in WP function
21
- add_submenu_page(
22
- $this->plugin['import_page.parent_slug'],
23
- $this->plugin['import_page.page_title'],
24
- $this->plugin['import_page.menu_title'],
25
- $this->plugin['import_page.capability'],
26
- $this->plugin['import_page.menu_slug'],
27
- array( $this, 'render_page')
28
- );
29
- }
30
-
31
- public function catch_posts(){
32
- // Verify nonce
33
- if( isset($_POST[ $this->plugin['nonce_name'] ]) ){
34
- $nonce = $_POST[ $this->plugin['nonce_name'] ];
35
- if ( wp_verify_nonce( $nonce, $this->plugin['nonce_action']) ) {
36
- $uploads = wp_upload_dir(); // Get dir
37
- if( isset($_POST['cycloneslider_import_step']) ){
38
- if( $_POST['cycloneslider_import_step'] == 1 ){
39
- $cyclone_import = array();
40
-
41
- // Success
42
- if( $this->plugin['importer']->import( $_FILES['cycloneslider_import']['tmp_name'], $uploads['basedir'].'/cyclone-slider' ) ){
43
- $cyclone_import = $this->plugin['importer']->get_results();
44
- update_option('cycloneslider_import', $cyclone_import);
45
- wp_redirect( get_admin_url( get_current_blog_id(), 'edit.php?post_type=cycloneslider&page=cycloneslider-import&step=2') );
46
- exit;
47
- } else { // Fail
48
-
49
- }
50
- }
51
- }
52
- }
53
- }
54
- }
55
 
56
  /**
57
  * Render page. This function should output the HTML of the page.
58
  */
59
  public function render_page( $post ){
60
  $current_step = isset($_GET['step']) ? (int) $_GET['step'] : 1;
61
- if($current_step == 2){
62
- $this->step_2();
63
- } else {
64
- $this->step_1();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  }
66
 
67
  }
68
 
69
- public function step_1(){
70
-
71
- $vars = array();
72
- $vars['nonce_name'] = $this->plugin['nonce_name'];
73
- $vars['nonce'] = wp_create_nonce( $this->plugin['nonce_action'] );
74
- $vars['form_url'] = get_admin_url( get_current_blog_id(), 'edit.php?post_type=cycloneslider&page=cycloneslider-import' );
75
- $vars['export_page_url'] = get_admin_url( get_current_blog_id(), 'edit.php?post_type=cycloneslider&page=cycloneslider-export' );
76
- $vars['import_page_url'] = get_admin_url( get_current_blog_id(), 'edit.php?post_type=cycloneslider&page=cycloneslider-import' );
77
 
78
- $this->plugin['view']->render('import-step-1.php', $vars);
79
 
80
  }
81
- public function step_2(){
82
- $log_results = get_option('cycloneslider_import');
83
- $defaults = array(
84
- 'oks'=>array(),
85
- 'errors'=>array()
86
- );
87
- $log_results = wp_parse_args($log_results, $defaults);
88
- delete_option('cycloneslider_import');
89
 
90
- $vars = array();
91
- $vars['log_results'] = $log_results;
92
- $vars['export_page_url'] = get_admin_url( get_current_blog_id(), 'edit.php?post_type=cycloneslider&page=cycloneslider-export' );
93
- $vars['import_page_url'] = get_admin_url( get_current_blog_id(), 'edit.php?post_type=cycloneslider&page=cycloneslider-import' );
94
 
95
- $this->plugin['view']->render('import-step-2.php', $vars);
96
 
97
  }
 
 
 
 
 
 
 
 
 
98
 
99
- } // end class
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  /**
3
  * Class for import page
4
  */
5
+ class CycloneSlider_ImportPage extends CycloneSlider_WpAdminSubPage {
6
+
7
+ protected $data;
8
+ protected $view;
9
+ protected $nonce_name;
10
+ protected $nonce_action;
11
+ protected $importer;
12
+ protected $cyclone_slider_dir;
13
+ protected $wp_content_dir;
14
+ protected $wp_content_url;
15
+ protected $textdomain;
16
+ protected $export_page_url;
17
+ protected $import_page_url;
18
+ protected $nextgen_page_url;
19
+
20
+ public function __construct( $parent_slug, $page_title, $menu_title, $capability, $menu_slug, $data, $view, $nonce_name, $nonce_action, $importer, $cyclone_slider_dir, $wp_content_dir, $wp_content_url, $textdomain, $export_page_url, $import_page_url, $nextgen_page_url ){
21
+ parent::__construct(
22
+ $parent_slug,
23
+ $page_title,
24
+ $menu_title,
25
+ $capability,
26
+ $menu_slug
27
+ );
28
+
29
+ $this->data = $data;
30
+ $this->view = $view;
31
+ $this->nonce_name = $nonce_name;
32
+ $this->nonce_action = $nonce_action;
33
+ $this->importer = $importer;
34
+ $this->cyclone_slider_dir = $cyclone_slider_dir;
35
+ $this->wp_content_dir = $wp_content_dir;
36
+ $this->wp_content_url = $wp_content_url;
37
+ $this->textdomain = $textdomain;
38
+ $this->export_page_url = $export_page_url;
39
+ $this->import_page_url = $import_page_url;
40
+ $this->nextgen_page_url = $nextgen_page_url;
41
+ }
42
 
43
  public function run() {
44
 
45
+ parent::run();
 
46
 
47
  // Post
48
  add_action('init', array( $this, 'catch_posts') );
49
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
 
51
  /**
52
  * Render page. This function should output the HTML of the page.
53
  */
54
  public function render_page( $post ){
55
  $current_step = isset($_GET['step']) ? (int) $_GET['step'] : 1;
56
+
57
+ $vars = array();
58
+ $vars['textdomain'] = $this->textdomain;
59
+ $vars['nonce_name'] = $this->nonce_name;
60
+ $vars['nonce'] = wp_create_nonce( $this->nonce_action );
61
+ $vars['export_page_url'] = $this->export_page_url;
62
+ $vars['import_page_url'] = $this->import_page_url;
63
+ $vars['nextgen_page_url'] = $this->nextgen_page_url;
64
+ $vars['error'] = get_transient( 'cycloneslider_error_import');
65
+ delete_transient( 'cycloneslider_error_import');
66
+
67
+ $vars['tabs'] = array(
68
+ array(
69
+ 'title' => __('Export', $this->textdomain),
70
+ 'url' => $this->export_page_url,
71
+ 'classes' => 'nav-tab'
72
+ ),
73
+ array(
74
+ 'title' => __('Import', $this->textdomain),
75
+ 'url' => $this->import_page_url,
76
+ 'classes' => 'nav-tab nav-tab-active'
77
+ )
78
+ );
79
+
80
+ switch ( $current_step ) {
81
+ case 1:
82
+ $this->step_1( $vars );
83
+ break;
84
+ case 2:
85
+ $this->step_2( $vars );
86
+ break;
87
+ case 3:
88
+ $this->step_3( $vars );
89
+ break;
90
  }
91
 
92
  }
93
 
94
+ private function step_1( $vars ){
95
+ if( is_dir( $this->cyclone_slider_dir.'/imports' ) ){
96
+ $this->rmdir_recursive( $this->cyclone_slider_dir.'/imports' );
97
+ }
 
 
 
 
98
 
99
+ $this->view->render('import-step-1.php', $vars);
100
 
101
  }
102
+
103
+ private function step_2( $vars ){
104
+
 
 
 
 
 
105
 
 
 
 
 
106
 
107
+ $this->view->render('import-step-2.php', $vars);
108
 
109
  }
110
+
111
+ private function step_3( $vars ){
112
+ if( is_dir( $this->cyclone_slider_dir.'/imports' ) ){
113
+ $this->rmdir_recursive( $this->cyclone_slider_dir.'/imports' );
114
+ }
115
+
116
+ $vars['ok'] = __('Import operation success!', $this->textdomain );
117
+
118
+ $this->view->render('import-step-3.php', $vars);
119
 
120
+ }
121
+
122
+ public function catch_posts(){
123
+ // Verify nonce
124
+ if( isset($_POST[ $this->nonce_name ]) ){
125
+ $nonce = $_POST[ $this->nonce_name ];
126
+ if ( wp_verify_nonce( $nonce, $this->nonce_action) ) {
127
+ $uploads = wp_upload_dir(); // Get dir
128
+ if( isset( $_POST['cycloneslider_import_step'] ) ){
129
+ switch ( $_POST['cycloneslider_import_step'] ) {
130
+ case 1:
131
+ $this->catch_post_step_1( $_POST, $_FILES );
132
+ break;
133
+ case 2:
134
+
135
+ break;
136
+ }
137
+ }
138
+ }
139
+ }
140
+ }
141
+
142
+ private function catch_post_step_1( $post, $files ){
143
+
144
+ try {
145
+ $this->importer->import( $files['cycloneslider_import']['tmp_name'] );
146
+ } catch (Exception $e ){
147
+ set_transient( 'cycloneslider_error_import', $e->getMessage(), 60 );
148
+ return false;
149
+ }
150
+
151
+ wp_redirect( get_admin_url( get_current_blog_id(), 'edit.php?post_type=cycloneslider&page=cycloneslider-import&step=3') );
152
+ exit;
153
+ }
154
+
155
+ public function rmdir_recursive( $path ) {
156
+
157
+ foreach(scandir($path) as $item) {
158
+ if ('.' === $item || '..' === $item) continue;
159
+ if ( is_dir("$path/$item") ) {
160
+ $this->rmdir_recursive("$path/$item");
161
+ } else {
162
+ unlink("$path/$item");
163
+ }
164
+ }
165
+ return rmdir($path);
166
+ }
167
+ }
src/CycloneSlider/Importer.php CHANGED
@@ -1,201 +1,175 @@
1
  <?php
2
 
3
  /**
4
- * Class for importing cyclone-slider.zip
5
  */
6
- class CycloneSlider_Importer extends CycloneSlider_Base {
7
- protected $log_results; // Hold results of import operations
8
- protected $log_count;
9
 
10
- public function run() {
11
-
12
- $this->log_results = array(
13
- 'oks'=>array(),
14
- 'errors'=>array()
15
- );
16
- $this->log_count = 0;
17
-
18
- }
19
 
20
- /**
21
- * Get log results
22
- *
23
- */
24
- public function get_results(){
25
- return $this->log_results;
 
 
 
26
  }
27
 
28
- /**
29
- * Import zip file
30
- *
31
- * @param filename $zip_file. Full path and filename to zip file
32
- * @param string $dir. Path to folder to extract the zip
33
- */
34
- public function import( $zip_file, $target_dir ) {
35
- // Check zip existence
36
- if( !file_exists($zip_file) ){
37
- $this->add_error('Zip file not found.');
38
- return false;
39
- }
40
-
41
  // Check zip support
42
  if( !class_exists('ZipArchive') ){
43
- $this->add_error('ZipArchive not supported.');
44
- return false;
45
  }
46
 
47
  // Check zip
48
- if( !$this->check_integrity( $zip_file ) ){
49
- return false;
50
  }
51
 
52
- // Remove old tmp folder if present
53
- if ( file_exists($target_dir) and is_dir($target_dir)) {
54
- if( $this->rmdir_recursive($target_dir)=== false ){
55
- $this->add_error('Failed to remove the temporary extract folder.');
56
- return false;
57
- } else {
58
- $this->add_ok('Removed the temporary extract folder.');
59
  }
60
  }
61
 
62
- // Create tmp folder to hold extracted files
63
- if(mkdir($target_dir)===false){
64
- $this->add_error('Failed to create the temporary extract folder.');
65
- return false;
66
- } else {
67
- $this->add_ok('Created the temporary extract folder.');
 
 
 
 
 
68
  }
69
 
70
- // Extract zip
71
- $zip = new ZipArchive;
72
- $zip->open($zip_file);
73
- if( $zip->extractTo($target_dir) === false ){
74
- $this->add_error('Failed to extract zip contents.');
75
- return false;
76
- } else {
77
- $this->add_ok('Extracted zip contents.');
78
  }
79
  $zip->close();
80
 
81
- // Read export JSON
82
- if( ($export_string = file_get_contents($target_dir.'/export.json')) === false ){
83
- $this->add_error('Failed to read export JSON.');
84
- return false;
85
- } else {
86
- $this->add_ok('Success reading export file.');
87
  }
88
 
89
  // Decode JSON
90
  if( ($export_data = json_decode($export_string, true)) == false ) {
91
- $this->add_error('Failed to decode JSON');
92
- return false;
93
  }
94
- $this->add_ok('Success decoding JSON');
95
 
96
- // Add images
97
- if( ($images_list = $this->add_images( $export_data['images'] )) === false){
98
- $this->add_error('Failed to add images');
99
- return false;
100
- }
101
- $this->add_ok('Success importing images');
102
 
103
  // Add sliders
104
- if( ($sliders_list = $this->add_sliders( $export_data['sliders'], $images_list ) ) === false){
105
- $this->add_error('Failed to add sliders');
106
- return false;
107
- }
108
- $this->add_ok('Success importing sliders');
 
 
 
 
 
 
 
 
109
 
110
- return true;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
111
  }
112
 
 
 
 
 
 
 
 
 
113
  private function add_sliders( array $sliders, array $images_list ){
114
 
115
  foreach($sliders as $slider_index=>$slider){
116
  $slider = (array) $slider;
117
  foreach($slider['slides'] as $slide_index=>$slide){
118
- $sliders[$slider_index]['slides'][$slide_index]['id'] = $images_list[$slider['name']][$slide_index];// Update image ID
119
  }
120
- $this->plugin['data']->add_slider($slider['title'], $slider['slider_settings'], $sliders[$slider_index]['slides'] );
121
  }
122
  return $sliders;
123
  }
124
 
125
- /**
126
- * Check zip file for consistency
127
- *
128
- * @param ZipArchive $zip. Instance
129
- */
130
- public function check_integrity( $zip_file ){
131
- $zip = new ZipArchive();
132
-
133
- // ZipArchive::CHECKCONS will enforce additional consistency checks
134
- $res = $zip->open($zip_file, ZipArchive::CHECKCONS);
135
-
136
- if ( $res === true){ // OK
137
- return true;
138
  }
139
 
140
- $this->add_error($this->get_zip_error($res));
141
- return false;
142
-
143
- }
144
-
145
- /**
146
- * @param
147
- */
148
- private function add_images( array $sliders ){
149
- $dir = wp_upload_dir();
150
- $target_folder = $dir['path'].'/';
151
- $src_folder = $dir['basedir'].'/cyclone-slider/';
152
 
153
- $images_list = array();
154
- foreach($sliders as $slider_name=>$slider){
155
-
156
- foreach($slider as $i=>$image){
157
- $image_id = 0;
158
- if(!empty($image)){ // Check for slides without images ie. custom or youtube slide
159
- $image_id = $this->copy_image( $src_folder.$image, $target_folder);
160
- }
161
- $images_list[$slider_name][] = $image_id;
162
- }
163
- //$this->plugin['data']->add_slider($slider->title, $slider_settings, $slides );
164
- }
165
- return $images_list;
166
  }
167
 
168
  /**
169
- * Copy image to WP upload directory, create attachment and return attachment ID.
170
  *
171
  * @param string $image_file
172
  * @param string $target_folder
173
- * @return int|false Attachment ID on success false on fail
174
  */
175
- public function copy_image( $image_file, $target_folder ){
176
- if( !file_exists($image_file) ){
177
- return false;
178
- }
179
- $info = pathinfo($image_file);
180
-
181
- if( !isset($info['dirname']) and !isset($info['filename']) and !isset($info['extension']) ){
182
- return false;
183
  }
184
- $dirname = $info['dirname']; // Path to directory
185
- $filename = $info['filename']; // Filename without extension Eg. "image-1"
186
- $ext = $info['extension']; // File extension Eg. "jpg"
187
 
188
- $target_folder_files = scandir($target_folder);
189
- if($target_folder_files===false){
190
- return false;
191
- }
192
-
193
- $new_name = $this->increment_name( wp_basename( $image_file ), $target_folder_files); // Append numbers if file exist
194
- if(copy($image_file, $target_folder.$new_name)===false){
195
- return false;
196
  }
197
-
198
- return $this->add_media_image( $target_folder.$new_name ); // Add image as media attachment
199
  }
200
 
201
  /**
@@ -203,10 +177,9 @@ class CycloneSlider_Importer extends CycloneSlider_Base {
203
  *
204
  * @param array $properties Media properties see $defaults for example
205
  * @param string $file Full path to file to add
206
- * @return int|false Attachment ID on success false on fail
207
  */
208
  private function add_media_image( $file, array $properties = array() ){
209
- $wp_upload_dir = wp_upload_dir();
210
 
211
  $filename = wp_basename( $file ); // Filename with extension. Example: image.jpg
212
  $wp_filetype = wp_check_filetype( $filename ); // Get mime type and extension
@@ -246,40 +219,24 @@ class CycloneSlider_Importer extends CycloneSlider_Base {
246
  return ucwords(preg_replace($patterns, $replacements, $string));
247
  }
248
 
249
- /**
250
- * Remove directory and its contents
251
- *
252
- * @param string $dir Directory to delete
253
- * @return true|false True on success false on fail
254
- */
255
- public function rmdir_recursive( $dir ) {
256
- foreach(scandir($dir) as $file) {
257
- if ('.' === $file || '..' === $file) continue;
258
- if (is_dir("$dir/$file")) rmdir_recursive("$dir/$file");
259
- else unlink("$dir/$file");
260
- }
261
- return rmdir($dir);
262
- }
263
-
264
  /**
265
  * Append "-{n}" to name if filename already exist. Eg.: image.jpg becomes image-1.jpg
266
  *
267
- * @param string $file File to rename
268
  * @param array $other_filenames Filenames (not full path, only names) to look for. Similar to array returned by scandir.
269
  */
270
  private function increment_name( $file, array $other_filenames ){
271
  $pathinfo = pathinfo( $file );
272
-
273
- $dirname = $pathinfo['dirname'];
274
- $basename = $pathinfo['basename'];
275
  $extension = isset($pathinfo['extension']) ? ".".$pathinfo['extension'] : '';
276
- $filename = $pathinfo['filename'];
277
-
278
  $counter = 0;
279
- $new_name = $basename;
280
 
281
  while( $this->in_array_str_i( $new_name, $other_filenames ) ){
282
- $new_name = $filename.'-'.++$counter.$extension;
283
  }
284
 
285
  return $new_name;
@@ -297,26 +254,6 @@ class CycloneSlider_Importer extends CycloneSlider_Base {
297
  return false;
298
  }
299
 
300
- /**
301
- * Add Ok
302
- *
303
- * @param string $message Message to add
304
- * @return void
305
- */
306
- private function add_ok( $message ){
307
- $this->log_results['oks'][$this->log_count++] = $message;
308
- }
309
-
310
- /**
311
- * Add Error
312
- *
313
- * @param string $message Message to add
314
- * @return void
315
- */
316
- private function add_error( $message ){
317
- $this->log_results['errors'][$this->log_count++] = $message;
318
- }
319
-
320
  /**
321
  * Get zip error description from code
322
  *
1
  <?php
2
 
3
  /**
4
+ * Class for importing cyclone-slider export zip
5
  */
6
+ class CycloneSlider_Importer {
 
 
7
 
8
+ protected $data;
9
+ protected $imports_dir;
10
+ protected $wp_upload_dir;
11
+ protected $zip_archive;
12
+ protected $zip_name;
13
+ protected $imports_extracts_dir;
14
+ protected $export_json_file;
15
+ protected $textdomain;
 
16
 
17
+ public function __construct( $data, $imports_dir, $wp_upload_dir, $zip_archive, $zip_name, $imports_extracts_dir, $export_json_file, $textdomain ){
18
+ $this->data = $data;
19
+ $this->imports_dir = $imports_dir;
20
+ $this->wp_upload_dir = $wp_upload_dir;
21
+ $this->zip_archive = $zip_archive;
22
+ $this->zip_name = $zip_name;
23
+ $this->imports_extracts_dir = $imports_extracts_dir;
24
+ $this->export_json_file = $export_json_file;
25
+ $this->textdomain = $textdomain;
26
  }
27
 
28
+ /*
29
+ * Wrapper function for various import operations. Uses other functions in correct order.
30
+ *
31
+ * @param string $uploaded_zip The zip file uploaded via HTTP POST. Must be the tmp_name of $_FILES, eg: $_FILES['cycloneslider_import']['tmp_name'].
32
+ * @return bool|Exception True on success. On error, throw an Exception.
33
+ */
34
+ public function import( $uploaded_zip ){
 
 
 
 
 
 
35
  // Check zip support
36
  if( !class_exists('ZipArchive') ){
37
+ throw new Exception( __('Could not read zip files. ZipArchive not supported.', $this->textdomain), 1);
 
38
  }
39
 
40
  // Check zip
41
+ if( !is_file( $uploaded_zip ) ){
42
+ throw new Exception( __('No zip file found.', $this->textdomain), 1);
43
  }
44
 
45
+ // Create imports dir
46
+ if( is_dir( $this->imports_dir ) == false ){
47
+ if( ! mkdir( $this->imports_dir, 0777, true ) ){
48
+ throw new Exception( __('Error creating imports directory.', $this->textdomain), 2);
 
 
 
49
  }
50
  }
51
 
52
+ // Move uploaded zip and rename it
53
+ $zip_file = $this->imports_dir.'/'.$this->zip_name;
54
+ if ( ! move_uploaded_file( $uploaded_zip, $zip_file ) ){
55
+ throw new Exception( __('Error moving uploaded zip.', $this->textdomain), 3);
56
+ }
57
+
58
+ // Open zip and perform checks
59
+ $zip = new $this->zip_archive;
60
+ $zip_result = $zip->open( $zip_file, ZipArchive::CHECKCONS);
61
+ if( true !== $zip_result ){
62
+ throw new Exception( sprintf( __('Error opening zip: %s', $this->textdomain), $this->get_zip_error( $zip_result ) ), 4);
63
  }
64
 
65
+ // Extract zip to extraction dir
66
+ $extraction_dir = $this->imports_extracts_dir;
67
+ if( $zip->extractTo( $extraction_dir ) === false ){
68
+ throw new Exception( __('Error extracting zip.', $this->textdomain), 5);
 
 
 
 
69
  }
70
  $zip->close();
71
 
72
+ // Read export file from extraction dir
73
+ $json_file = $extraction_dir.'/'.$this->export_json_file;
74
+ if( ($export_string = file_get_contents( $json_file )) === false ){
75
+ throw new Exception( __('Failed to read export JSON.', $this->textdomain), 6);
 
 
76
  }
77
 
78
  // Decode JSON
79
  if( ($export_data = json_decode($export_string, true)) == false ) {
80
+ throw new Exception( __('Failed to decode JSON.', $this->textdomain), 7);
 
81
  }
 
82
 
83
+ // Add images to wp uploads dir and add as attachment
84
+ $images_list = $this->add_images_to_wp( $export_data['images'], $extraction_dir, $this->wp_upload_dir );
 
 
 
 
85
 
86
  // Add sliders
87
+ $this->add_sliders( $export_data['sliders'], $images_list );
88
+ }
89
+
90
+
91
+ /**
92
+ * Add images to WP media library
93
+ *
94
+ * @param array $images_array Array of image from export data
95
+ * @param string $src_folder Folder to get images from
96
+ * @param string $target_folder WP upload dir: uploads/2015/03
97
+ * @return array Array of WP attachment IDs
98
+ */
99
+ private function add_images_to_wp( array $images_array, $src_folder, $target_folder ){
100
 
101
+ $images_list = array();
102
+ foreach($images_array as $slider_name=>$slider){
103
+
104
+ foreach($slider as $i=>$image_name){
105
+ $image_id = 0;
106
+ if(!empty($image_name)){ // Check for slides without images ie. custom or youtube slide
107
+
108
+ $new_name = $this->unique_name($image_name, $target_folder); // Generates name that avoids conflict
109
+ $src_image_file = $src_folder.'/'.$image_name; // Full path to source image. Note the use of forward slash
110
+ $dest_image_file = $target_folder.'/'.$new_name; // Full path to destination image
111
+ $this->copy_image( $src_image_file, $dest_image_file ); // Move image to wp uploads dir
112
+ $image_id = $this->add_media_image( $dest_image_file ); // Add image as media attachment
113
+
114
+ }
115
+ $images_list[$slider_name][] = $image_id;
116
+ }
117
+ }
118
+ return $images_list;
119
  }
120
 
121
+ /**
122
+ * Add sliders to cyclone slider using the add_slider API. Replaces the attachment ID from the export file with the true ID
123
+ *
124
+ * @param array $sliders
125
+ * @param array $images_list
126
+ *
127
+ * @return array Sliders
128
+ */
129
  private function add_sliders( array $sliders, array $images_list ){
130
 
131
  foreach($sliders as $slider_index=>$slider){
132
  $slider = (array) $slider;
133
  foreach($slider['slides'] as $slide_index=>$slide){
134
+ $sliders[$slider_index]['slides'][$slide_index]['id'] = $images_list[$slider['name']][$slide_index];// Update image ID. The image ID is different on the machine being imported to
135
  }
136
+ $this->data->add_slider($slider['title'], $slider['slider_settings'], $sliders[$slider_index]['slides'] );
137
  }
138
  return $sliders;
139
  }
140
 
141
+ /*
142
+ * Create a name that avoids name collision with existing images in the target folder.
143
+ *
144
+ * @param string $image_name
145
+ * @param string $target_folder
146
+ * @return string Image name. Will throw exception on error.
147
+ */
148
+ private function unique_name( $image_name, $target_folder){
149
+ $target_folder_files = scandir($target_folder);
150
+ if( false === $target_folder_files ){
151
+ throw new Exception( sprintf( __('scandir failed on %s', $this->textdomain), $target_folder), 8 );
 
 
152
  }
153
 
154
+ return $this->increment_name( $image_name, $target_folder_files); // Append numbers if file exist
 
 
 
 
 
 
 
 
 
 
 
155
 
 
 
 
 
 
 
 
 
 
 
 
 
 
156
  }
157
 
158
  /**
159
+ * Copy image to WP upload directory
160
  *
161
  * @param string $image_file
162
  * @param string $target_folder
163
+ * @return void Will throw exception on error
164
  */
165
+ private function copy_image( $src_image_file, $dest_image_file ){
166
+ if( ! file_exists($src_image_file) ){
167
+ throw new Exception( sprintf( __('Source image %s not found.', $this->textdomain), $src_image_file ), 9);
 
 
 
 
 
168
  }
 
 
 
169
 
170
+ if( ! copy($src_image_file, $dest_image_file) ){
171
+ throw new Exception( __('Copy error.', $this->textdomain), 10);
 
 
 
 
 
 
172
  }
 
 
173
  }
174
 
175
  /**
177
  *
178
  * @param array $properties Media properties see $defaults for example
179
  * @param string $file Full path to file to add
180
+ * @return int Attachment ID on success false on fail
181
  */
182
  private function add_media_image( $file, array $properties = array() ){
 
183
 
184
  $filename = wp_basename( $file ); // Filename with extension. Example: image.jpg
185
  $wp_filetype = wp_check_filetype( $filename ); // Get mime type and extension
219
  return ucwords(preg_replace($patterns, $replacements, $string));
220
  }
221
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
222
  /**
223
  * Append "-{n}" to name if filename already exist. Eg.: image.jpg becomes image-1.jpg
224
  *
225
+ * @param string $file File to rename. Does not need to be a full path.
226
  * @param array $other_filenames Filenames (not full path, only names) to look for. Similar to array returned by scandir.
227
  */
228
  private function increment_name( $file, array $other_filenames ){
229
  $pathinfo = pathinfo( $file );
230
+
231
+ $name_with_ext = $pathinfo['basename'];
232
+ $name_without_ext = $pathinfo['filename'];
233
  $extension = isset($pathinfo['extension']) ? ".".$pathinfo['extension'] : '';
234
+
 
235
  $counter = 0;
236
+ $new_name = $name_with_ext;
237
 
238
  while( $this->in_array_str_i( $new_name, $other_filenames ) ){
239
+ $new_name = $name_without_ext.'-'.++$counter.$extension;
240
  }
241
 
242
  return $new_name;
254
  return false;
255
  }
256
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
257
  /**
258
  * Get zip error description from code
259
  *
src/CycloneSlider/NextgenIntegration.php CHANGED
@@ -2,7 +2,15 @@
2
  /**
3
  * Class for NextGEN integration. Allows import of images from a gallery as new slides.
4
  */
5
- class CycloneSlider_NextgenIntegration extends CycloneSlider_Base {
 
 
 
 
 
 
 
 
6
 
7
  /**
8
  * Boot
@@ -13,7 +21,7 @@ class CycloneSlider_NextgenIntegration extends CycloneSlider_Base {
13
  add_action( 'add_meta_boxes', array( $this, 'add_meta_boxes' ), 100 );
14
 
15
  // Append nextgen slides
16
- add_filter('cycloneslider_slides', array($this, 'nextgen_slides'));
17
 
18
  }
19
 
@@ -164,7 +172,7 @@ class CycloneSlider_NextgenIntegration extends CycloneSlider_Base {
164
 
165
  foreach($nextgen_gallery as $image){
166
  if($attach_id = $this->copy_image($image->imagePath)){ //Copy success!
167
- $slides[] = wp_parse_args(array('id' => $attach_id), $this->plugin['data']->get_slide_defaults() ); //Add the slide ID and fill in default values
168
  }
169
  }
170
  }
2
  /**
3
  * Class for NextGEN integration. Allows import of images from a gallery as new slides.
4
  */
5
+ class CycloneSlider_NextgenIntegration {
6
+
7
+ protected $data;
8
+
9
+ public function __construct( $data ) {
10
+
11
+ $this->data = $data;
12
+
13
+ }
14
 
15
  /**
16
  * Boot
21
  add_action( 'add_meta_boxes', array( $this, 'add_meta_boxes' ), 100 );
22
 
23
  // Append nextgen slides
24
+ add_filter( 'cycloneslider_slides', array($this, 'nextgen_slides'));
25
 
26
  }
27
 
172
 
173
  foreach($nextgen_gallery as $image){
174
  if($attach_id = $this->copy_image($image->imagePath)){ //Copy success!
175
+ $slides[] = wp_parse_args(array('id' => $attach_id), $this->data->get_slide_defaults() ); //Add the slide ID and fill in default values
176
  }
177
  }
178
  }
src/CycloneSlider/Plugin.php CHANGED
@@ -20,12 +20,18 @@ class CycloneSlider_Plugin implements ArrayAccess {
20
  }
21
 
22
  public function offsetGet($offset) {
 
 
 
23
  return isset($this->contents[$offset]) ? $this->contents[$offset] : null;
24
  }
25
 
26
  public function run(){
27
  // Loop on contents
28
  foreach($this->contents as $key=>$content){
 
 
 
29
  if( is_object($content) ){
30
  $reflection = new ReflectionClass($content);
31
  if($reflection->hasMethod('inject')){
20
  }
21
 
22
  public function offsetGet($offset) {
23
+ if( is_callable($this->contents[$offset]) ){
24
+ return $this->contents[$offset]( $this );
25
+ }
26
  return isset($this->contents[$offset]) ? $this->contents[$offset] : null;
27
  }
28
 
29
  public function run(){
30
  // Loop on contents
31
  foreach($this->contents as $key=>$content){
32
+ if( is_callable($content) ){
33
+ $content = $this[$key];
34
+ }
35
  if( is_object($content) ){
36
  $reflection = new ReflectionClass($content);
37
  if($reflection->hasMethod('inject')){
src/CycloneSlider/SettingsPage.php CHANGED
@@ -2,144 +2,59 @@
2
  /**
3
  * Class for settings page
4
  */
5
- class CycloneSlider_SettingsPage extends CycloneSlider_Base {
6
 
 
 
 
 
7
 
8
- public function run() {
9
-
10
- // Add settings
11
- add_action( 'admin_init', array( $this, 'register_settings') );
12
-
13
- // Add settings page
14
- add_action( 'admin_menu', array( $this, 'add_menu_and_page'));
15
- }
16
-
17
- public function add_menu_and_page(){
18
- // Use built-in WP function
19
- add_submenu_page(
20
- $this->plugin['settings_page.parent_slug'],
21
- $this->plugin['settings_page.page_title'],
22
- $this->plugin['settings_page.menu_title'],
23
- 'manage_options',
24
- $this->plugin['settings_page.menu_slug'],
25
- array( $this, 'render_settings_page')
26
- );
27
  }
28
 
29
  /**
30
  * Render settings page. This function should echo the HTML form of the settings page.
31
  */
32
- public function render_settings_page($post){
33
-
34
 
35
- $settings_data = $this->get_settings_data();
36
- $templates = $this->plugin['templates_manager']->get_all_templates();
37
 
38
- $settings_data['load_templates'] = $this->plugin['templates_manager']->get_active_templates( $settings_data );// Filter load templates
39
 
40
  $vars = array();
41
- $vars['page_title'] = $this->plugin['settings_page.page_title'];
42
  $vars['screen_icon'] = $this->get_screen_icon('options-general'); ;
43
- $vars['textdomain'] = $this->plugin['textdomain'];
44
- $vars['settings_fields'] = $this->settings_fields( $this->plugin['settings_page.option_group'] );
45
- $vars['option_name'] = $this->plugin['settings_page.option_name'];
46
  $vars['templates'] = $templates;
47
  $vars['settings_data'] = $settings_data;
48
- $vars['debug'] = ($this->plugin['debug']) ? cyclone_slider_debug( $vars['settings_data'] ) : '';
49
 
50
- $this->plugin['view']->render( 'settings-page.php', $vars);
51
  }
52
-
53
- /**
54
- * Prepare option data
55
- */
56
- public function register_settings() {
57
- register_setting(
58
- $this->plugin['settings_page.option_group'],
59
- $this->plugin['settings_page.option_name'],
60
- array( $this, 'validate_options')
61
- );
62
- }
63
-
64
  /**
65
  * Validate data from HTML form
66
  */
67
  public function validate_options( $input ) {
68
- $input = wp_parse_args($input, $this->get_settings_data());
69
 
70
  delete_site_transient('update_plugins'); // Force check. Regenerate package url for updater
71
 
72
  if( isset($_POST['reset']) ){
73
- $input = $this->get_default_settings_data();
74
- add_settings_error( $this->menu_slug, 'restore_defaults', __( 'Default options restored.', 'cycloneslider'), 'updated fade' );
75
  }
76
  return $input;
77
  }
78
 
79
- /**
80
- * Get settings data. If there is no data from database, use default values
81
- */
82
- public function get_settings_data(){
83
- return get_option( $this->plugin['settings_page.option_name'], $this->get_default_settings_data() );
84
- }
85
-
86
- /**
87
- * Apply default values
88
- */
89
- public function get_default_settings_data() {
90
- $defaults = array();
91
- $defaults['load_scripts_in'] = 'footer';
92
-
93
- $defaults['load_cycle2'] = 1;
94
- $defaults['load_cycle2_carousel'] = 1;
95
- $defaults['load_cycle2_swipe'] = 1;
96
- $defaults['load_cycle2_tile'] = 1;
97
- $defaults['load_cycle2_video'] = 1;
98
-
99
- $defaults['load_easing'] = 1;
100
-
101
- $defaults['load_magnific'] = 1;
102
-
103
- $defaults['load_templates'] = array();
104
-
105
- $defaults['script_priority'] = 100;
106
-
107
- $defaults['license_id'] = '';
108
- $defaults['license_key'] = '';
109
-
110
- return $defaults;
111
- }
112
-
113
- /**
114
- * Output needed fields for security
115
- */
116
- function settings_fields( $option_group ) {
117
- $fields = "<input type='hidden' name='option_page' value='" . esc_attr($option_group) . "' />";
118
- $fields .= '<input type="hidden" name="action" value="update" />';
119
- $fields .= wp_nonce_field("$option_group-options", '_wpnonce', true, false);
120
- return $fields;
121
- }
122
-
123
-
124
-
125
- /**
126
- * Get settings data by uid
127
- */
128
- public function get_data($uid){
129
- $settings_data = $this->get_settings_data();
130
- if(isset($settings_data[$uid])){
131
- return $settings_data[$uid];
132
- }
133
- return false;
134
- }
135
-
136
- protected function get_screen_icon( $icon ){
137
- global $wp_version;
138
-
139
- if ( version_compare( $wp_version, '3.7', '<=' ) ) { // WP 3.7 and below
140
- return get_screen_icon( $icon );
141
- }
142
- return ''; // Screen icons are no longer used as of WordPress 3.8
143
- }
144
 
145
- } // end class
2
  /**
3
  * Class for settings page
4
  */
5
+ class CycloneSlider_SettingsPage extends CycloneSlider_WpSubPage {
6
 
7
+ protected $data;
8
+ protected $textdomain;
9
+ protected $debug;
10
+ protected $view;
11
 
12
+ public function __construct( $settings_page_properties, $data, $textdomain, $debug, $view ){
13
+ parent::__construct( $settings_page_properties );
14
+
15
+ $this->data = $data;
16
+ $this->textdomain = $textdomain;
17
+ $this->debug = $debug;
18
+ $this->view = $view;
 
 
 
 
 
 
 
 
 
 
 
 
19
  }
20
 
21
  /**
22
  * Render settings page. This function should echo the HTML form of the settings page.
23
  */
24
+ public function render_page(){
 
25
 
26
+ $settings_data = $this->data->get_settings_page_data();
27
+ $templates = $this->data->get_all_templates();
28
 
29
+ $settings_data['load_templates'] = $this->data->get_enabled_templates($settings_data, $templates);// Filter load templates
30
 
31
  $vars = array();
32
+ $vars['page_title'] = $this->settings_page_properties['page_title'];
33
  $vars['screen_icon'] = $this->get_screen_icon('options-general'); ;
34
+ $vars['textdomain'] = $this->textdomain;
35
+ $vars['settings_fields'] = $this->settings_fields( $this->settings_page_properties['option_group'] );
36
+ $vars['option_name'] = $this->settings_page_properties['option_name'];
37
  $vars['templates'] = $templates;
38
  $vars['settings_data'] = $settings_data;
39
+ $vars['debug'] = ($this->debug) ? cyclone_slider_debug( $vars['settings_data'] ) : '';
40
 
41
+ $this->view->render( 'settings-page.php', $vars);
42
  }
43
+
 
 
 
 
 
 
 
 
 
 
 
44
  /**
45
  * Validate data from HTML form
46
  */
47
  public function validate_options( $input ) {
48
+ $input = wp_parse_args($input, $this->data->get_settings_page_data());
49
 
50
  delete_site_transient('update_plugins'); // Force check. Regenerate package url for updater
51
 
52
  if( isset($_POST['reset']) ){
53
+ $input = $this->data->get_default_settings_page_data();
54
+ add_settings_error( $this->settings_page_properties['menu_slug'], 'restore_defaults', __( 'Default options restored.', $this->textdomain ), 'updated fade' );
55
  }
56
  return $input;
57
  }
58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
 
60
+ }
src/CycloneSlider/TemplatesManager.php DELETED
@@ -1,127 +0,0 @@
1
- <?php
2
- /**
3
- * In charge in getting templates from various template locations.
4
- */
5
- class CycloneSlider_TemplatesManager extends CycloneSlider_Base {
6
-
7
- protected $template_locations;
8
-
9
- /**
10
- * Initializes class
11
- */
12
- public function __construct() {
13
- $this->template_locations = array();
14
- }
15
-
16
- public function run(){
17
- $this->set_template_locations( $this->plugin['templates_locations'] );
18
- }
19
-
20
- /**
21
- * Add a directory to read templates from
22
- *
23
- * @param string $location - The full path to a directory
24
- */
25
- public function add_template_location( $location ){
26
- $this->template_locations[] = $location;
27
- }
28
-
29
- /**
30
- * Get all templates in array format
31
- */
32
- public function get_all_templates(){
33
- if(is_array($this->template_locations) and !empty($this->template_locations)){
34
- $template_folders = array();
35
- foreach($this->template_locations as $location){
36
- if( is_dir($location['path']) ) {
37
- if($files = scandir($location['path'])){
38
- $c = 0;
39
- foreach($files as $name){
40
- if($name!='.' and $name!='..' and is_dir($location['path'].$name) and @file_exists($location['path'].$name.DIRECTORY_SEPARATOR.'slider.php') ){ // Check if its a directory
41
- $supported_slide_types = array('image');// Default
42
- if ( $config = $this->parse_config_json( $location['path'].$name.DIRECTORY_SEPARATOR.'config.json' ) ) {
43
- $supported_slide_types = $config->slide_types;
44
- } else if ( @file_exists($location['path'].$name.DIRECTORY_SEPARATOR.'config.txt') ) { // Older templates use ini format
45
- $ini_array = parse_ini_file($location['path'].$name.DIRECTORY_SEPARATOR.'config.txt'); //Parse ini to get slide types supported
46
- if($ini_array){
47
- $supported_slide_types = $ini_array['slide_type'];
48
- }
49
- }
50
-
51
- $name = sanitize_title($name);// Change space to dash and all lowercase
52
- $template_folders[$name] = array( // Here we override template of the same names. If there is a template with the same name in plugin and theme directory, the one in theme will take over
53
- 'path'=>$location['path'].$name,
54
- 'url'=>$location['url'].$name,
55
- 'supports' => $supported_slide_types,
56
- 'location_name' => $location['location_name']
57
- );
58
- }
59
- }
60
- }
61
- }
62
- }
63
- return $template_folders;
64
- }
65
-
66
- }
67
-
68
-
69
-
70
- /**
71
- * Get Active Templates
72
- *
73
- * Get templates that are enabled in settings page
74
- *
75
- * @return array Template locations
76
- */
77
- public function get_active_templates(){
78
-
79
- $settings_data = $this->plugin['settings_page']->get_settings_data();
80
- $templates = $this->get_all_templates();
81
-
82
- foreach($templates as $name=>$template){
83
- if( !isset($settings_data['load_templates'][$name]) ){
84
- $settings_data['load_templates'][$name] = 1;
85
- }
86
- }
87
- return $settings_data['load_templates'];
88
- }
89
-
90
- /**
91
- * Set Template Locations
92
- *
93
- * @param array $template_locations Template locations
94
- * @return void
95
- */
96
- public function set_template_locations( $template_locations ){
97
- $this->template_locations = $template_locations;
98
- }
99
-
100
- /**
101
- * Get Template Locations
102
- *
103
- * @return array Template locations
104
- */
105
- public function get_template_locations(){
106
- return $this->template_locations;
107
- }
108
-
109
- /**
110
- * Get template config data from file
111
- *
112
- * @param string $file Full path to config file
113
- * @return object $config_data or false on fail
114
- */
115
- protected function parse_config_json( $file ){
116
- if( @file_exists($file) ){
117
- $config = file_get_contents($file); //Get template info
118
- if($config){
119
- $config_data = json_decode($config);
120
- if($config_data){
121
- return $config_data;
122
- }
123
- }
124
- }
125
- return false;
126
- }
127
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/CycloneSlider/Updater.php CHANGED
@@ -2,44 +2,26 @@
2
  /**
3
  * Class for updating plugin
4
  */
5
- class CycloneSlider_Updater extends CycloneSlider_Base {
6
 
7
  private $settings_data; // To access the license id and key
8
  private $plugin_slug; // Slug of the plugin
9
  private $current_version; // Current plugin version to check against
10
  private $info_url; // URL to API endpoint that returns latest plugin version + plugin info
 
 
 
 
 
 
 
 
 
11
 
12
  public function run(){
13
- $this->settings_data = $this->plugin['settings_page']->get_settings_data();
14
-
15
- $this->plugin_slug = $this->plugin['slug'];
16
- $this->current_version = $this->plugin['version'];
17
- $this->info_url = $this->plugin['updater.info_url'];
18
-
19
  $this->check_updates();
20
- //print_r( get_site_transient( 'update_plugins') );
21
-
22
  }
23
 
24
- /*
25
- public function update_package_url(){
26
- $api_url = $this->plugin['updater.download_url'];
27
- $client_time = time();
28
- $license_id = $this->settings_data['license_id'];
29
- $license_key = $this->settings_data['license_key'];
30
-
31
-
32
- $new_option = get_site_transient( 'update_plugins' );
33
- if(isset($new_option['response']['cyclone-slider-pro/cyclone-slider.php']['package'])){
34
- $new_option['response']['cyclone-slider-pro/cyclone-slider.php']['package'] = $this->generate_package_url($api_url, $client_time, $license_id, $license_key);
35
- set_site_transient( 'update_plugins', $new_option );
36
- }
37
-
38
- }
39
- //*/
40
-
41
-
42
-
43
  /**
44
  * Check updates
45
  */
@@ -84,7 +66,7 @@ class CycloneSlider_Updater extends CycloneSlider_Base {
84
  $obj->url = $latest_plugin->url;
85
 
86
 
87
- $api_url = $this->plugin['updater.download_url'];
88
  $client_time = time();
89
  $license_id = $this->settings_data['license_id'];
90
  $license_key = $this->settings_data['license_key'];
@@ -122,7 +104,7 @@ class CycloneSlider_Updater extends CycloneSlider_Base {
122
  $information->last_updated = $latest_plugin->last_updated;
123
  $information->sections = $this->format_sections((array) $latest_plugin->sections);
124
 
125
- $api_url = $this->plugin['updater.download_url'];
126
  $client_time = time();
127
  $license_id = $this->settings_data['license_id'];
128
  $license_key = $this->settings_data['license_key'];
@@ -194,7 +176,7 @@ class CycloneSlider_Updater extends CycloneSlider_Base {
194
  'signature' => $signature
195
  );
196
  $query_string = http_build_query($query_array);
197
- return $this->plugin['updater.download_url'].'?'.$query_string;
198
 
199
  }
200
  } // end class
2
  /**
3
  * Class for updating plugin
4
  */
5
+ class CycloneSlider_Updater {
6
 
7
  private $settings_data; // To access the license id and key
8
  private $plugin_slug; // Slug of the plugin
9
  private $current_version; // Current plugin version to check against
10
  private $info_url; // URL to API endpoint that returns latest plugin version + plugin info
11
+ private $download_url; // Endpoint to download plugin zip
12
+
13
+ public function __construct( $settings_page_data, $slug, $version, $info_url, $download_url ){
14
+ $this->settings_data = $settings_page_data;
15
+ $this->plugin_slug = $slug;
16
+ $this->current_version = $version;
17
+ $this->info_url = $info_url;
18
+ $this->download_url = $download_url;
19
+ }
20
 
21
  public function run(){
 
 
 
 
 
 
22
  $this->check_updates();
 
 
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  /**
26
  * Check updates
27
  */
66
  $obj->url = $latest_plugin->url;
67
 
68
 
69
+ $api_url = $this->download_url;
70
  $client_time = time();
71
  $license_id = $this->settings_data['license_id'];
72
  $license_key = $this->settings_data['license_key'];
104
  $information->last_updated = $latest_plugin->last_updated;
105
  $information->sections = $this->format_sections((array) $latest_plugin->sections);
106
 
107
+ $api_url = $this->download_url;
108
  $client_time = time();
109
  $license_id = $this->settings_data['license_id'];
110
  $license_key = $this->settings_data['license_key'];
176
  'signature' => $signature
177
  );
178
  $query_string = http_build_query($query_array);
179
+ return $this->download_url.'?'.$query_string;
180
 
181
  }
182
  } // end class
src/CycloneSlider/Widgets.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Class for initializing widgets
4
  */
5
- class CycloneSlider_Widgets extends CycloneSlider_Base {
6
 
7
  /**
8
  * Initialize
@@ -18,4 +18,4 @@ class CycloneSlider_Widgets extends CycloneSlider_Base {
18
  register_widget('CycloneSlider_WidgetSlider');
19
  }
20
 
21
- } // end class
2
  /**
3
  * Class for initializing widgets
4
  */
5
+ class CycloneSlider_Widgets {
6
 
7
  /**
8
  * Initialize
18
  register_widget('CycloneSlider_WidgetSlider');
19
  }
20
 
21
+ }
src/CycloneSlider/WpAdminPage.php ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Abstract class for WP admin page
4
+ */
5
+ abstract class CycloneSlider_WpAdminPage {
6
+ protected $page_title;
7
+ protected $menu_title;
8
+ protected $capability;
9
+ protected $menu_slug;
10
+ protected $icon_url;
11
+ protected $position;
12
+
13
+ /**
14
+ * Constructor
15
+ */
16
+ public function __construct ( $page_title = '', $menu_title = '', $capability = '', $menu_slug = '', $icon_url = '', $position = '' ){
17
+
18
+ $this->page_title = $page_title;
19
+ $this->menu_title = $menu_title;
20
+ $this->capability = $capability;
21
+ $this->menu_slug = $menu_slug;
22
+ $this->icon_url = $icon_url;
23
+ $this->position = $position;
24
+
25
+ }
26
+
27
+ public function run() {
28
+
29
+ // Add settings page
30
+ add_action( 'admin_menu', array( $this, 'add_menu_and_page'));
31
+ }
32
+
33
+ public function add_menu_and_page(){
34
+ // Use built-in WP function
35
+ add_menu_page(
36
+ $this->page_title,
37
+ $this->menu_title,
38
+ $this->capability,
39
+ $this->menu_slug,
40
+ array( $this, 'render_page'),
41
+ $this->icon_url,
42
+ $this->position
43
+ );
44
+ }
45
+
46
+ public function render_page(){
47
+ ?><h1>Wp Admin Page</h1><?php
48
+ }
49
+ }
src/CycloneSlider/WpAdminSubPage.php ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Abstract class for WP admin sub page
4
+ */
5
+ abstract class CycloneSlider_WpAdminSubPage {
6
+ protected $parent_slug;
7
+ protected $page_title;
8
+ protected $menu_title;
9
+ protected $capability;
10
+ protected $menu_slug;
11
+
12
+ /**
13
+ * Constructor
14
+ */
15
+ public function __construct ( $parent_slug = '', $page_title = '', $menu_title = '', $capability = '', $menu_slug = '' ){
16
+
17
+ $this->parent_slug = $parent_slug;
18
+ $this->page_title = $page_title;
19
+ $this->menu_title = $menu_title;
20
+ $this->capability = $capability;
21
+ $this->menu_slug = $menu_slug;
22
+
23
+ }
24
+
25
+ public function run() {
26
+
27
+ // Add settings page
28
+ add_action( 'admin_menu', array( $this, 'add_menu_and_page'));
29
+ }
30
+
31
+ public function add_menu_and_page(){
32
+ // Use built-in WP function
33
+ add_submenu_page(
34
+ $this->parent_slug,
35
+ $this->page_title,
36
+ $this->menu_title,
37
+ $this->capability,
38
+ $this->menu_slug,
39
+ array( $this, 'render_page')
40
+ );
41
+ }
42
+
43
+ public function render_page(){
44
+ ?><h1>WP Admin Sub Page</h1><?php
45
+ }
46
+ }
src/CycloneSlider/WpSubPage.php ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class for WP sub page
4
+ */
5
+ class CycloneSlider_WpSubPage {
6
+ protected $settings_page_properties;
7
+
8
+ public function __construct( $settings_page_properties ){
9
+ $this->settings_page_properties = $settings_page_properties;
10
+ }
11
+
12
+ public function run() {
13
+
14
+ // Add settings
15
+ add_action( 'admin_init', array( $this, 'register_settings') );
16
+
17
+ // Add settings page
18
+ add_action( 'admin_menu', array( $this, 'add_menu_and_page'));
19
+ }
20
+
21
+ public function add_menu_and_page(){
22
+ // Use built-in WP function
23
+ add_submenu_page(
24
+ $this->settings_page_properties['parent_slug'],
25
+ $this->settings_page_properties['page_title'],
26
+ $this->settings_page_properties['menu_title'],
27
+ $this->settings_page_properties['capability'],
28
+ $this->settings_page_properties['menu_slug'],
29
+ array( $this, 'render_page')
30
+ );
31
+ }
32
+
33
+ /**
34
+ * Prepare option data
35
+ */
36
+ public function register_settings() {
37
+ register_setting(
38
+ $this->settings_page_properties['option_group'],
39
+ $this->settings_page_properties['option_name'],
40
+ array( $this, 'validate_options')
41
+ );
42
+ }
43
+
44
+ /**
45
+ * Output needed fields for security
46
+ */
47
+ function settings_fields( $option_group ) {
48
+ $fields = "<input type='hidden' name='option_page' value='" . esc_attr($option_group) . "' />";
49
+ $fields .= '<input type="hidden" name="action" value="update" />';
50
+ $fields .= wp_nonce_field("$option_group-options", '_wpnonce', true, false);
51
+ return $fields;
52
+ }
53
+
54
+ protected function get_screen_icon( $icon ){
55
+ global $wp_version;
56
+
57
+ if ( version_compare( $wp_version, '3.7', '<=' ) ) { // WP 3.7 and below
58
+ return get_screen_icon( $icon );
59
+ }
60
+ return ''; // Screen icons are no longer used as of WordPress 3.8
61
+ }
62
+
63
+ public function render_page(){
64
+
65
+ }
66
+
67
+ public function validate_options( $input ) {
68
+
69
+ return $input;
70
+ }
71
+ }
views/error-message.php ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?php if(!defined('ABSPATH')) die('Direct access denied.'); ?>
2
+
3
+ <?php if( !empty($error) ): ?>
4
+ <div class="error below-h2">
5
+ <p><strong>Error:</strong> <?php echo esc_attr($error); ?></p>
6
+ </div>
7
+ <?php endif; ?>
views/export-import-tabs.php ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?php if(!defined('ABSPATH')) die('Direct access denied.'); ?>
2
+ <h2 class="nav-tab-wrapper">
3
+ <?php foreach($tabs as $tab): ?>
4
+ <a class="<?php echo esc_attr( $tab['classes'] ); ?>" href="<?php echo esc_url( $tab['url'] ); ?>"><?php echo esc_attr( $tab['title'] ); ?></a>
5
+ <?php endforeach; ?>
6
+ </h2>
views/export-nextgen-step-1.php ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if(!defined('ABSPATH')) die('Direct access denied.'); ?>
2
+
3
+ <div class="wrap">
4
+ <div id="icon-tools" class="icon32"><br></div>
5
+
6
+ <?php $this->render('export-import-tabs.php', array('tabs'=>$tabs)); ?>
7
+
8
+ <h2><?php _e('Cyclone Slider Nextgen Exporter', $textdomain); ?></h2>
9
+
10
+ <?php $this->render('error-message.php', array('error'=>$error)); ?>
11
+
12
+ <form method="post" action="<?php echo esc_url( $export_page_url ); ?>">
13
+ <input type="hidden" name="<?php echo $nonce_name; ?>" value="<?php echo $nonce; ?>" />
14
+ <input type="hidden" name="cycloneslider_export_step" value="1" />
15
+ <?php if($sliders): ?>
16
+ <table class="form-table">
17
+ <tr>
18
+ <th><h4><?php _e('Choose a NextGEN Gallery:', $textdomain); ?></h4></th>
19
+ <td>
20
+ <label for="cs-select-all">
21
+ <input type="checkbox" id="cs-select-all" name="<?php echo esc_attr( $transient_name ); ?>[all_sliders]" value="1" <?php checked($page_data['all_sliders'], 1); ?> />
22
+ <span><strong><?php _e('Select All', $textdomain); ?></strong></span>
23
+ </label> <br />
24
+ <hr />
25
+ <?php foreach($sliders as $slider): ?>
26
+ <label for="cs-slider-<?php echo $slider->gid; ?>">
27
+ <input class="cs-sliders" type="checkbox" id="cs-slider-<?php echo esc_attr( $slider->gid ); ?>" name="<?php echo esc_attr( $transient_name ); ?>[sliders][]" value="<?php echo esc_attr( $slider->title ); ?>" <?php echo ( in_array($slider->gid, $page_data['sliders']) ) ? 'checked="checked"' : '' ; ?> />
28
+ <span><em><?php echo esc_attr( $slider->title ); ?></em></span>
29
+ </label> <br />
30
+ <?php endforeach; ?>
31
+ </td>
32
+ </tr>
33
+ <tr>
34
+ <th><label for="cs-file_name"><?php _e('File Name:', $textdomain); ?></label></th>
35
+ <td>
36
+ <input type="text" class="regular-text" id="cs-file_name" name="<?php echo esc_attr( $transient_name ); ?>[file_name]" value="<?php echo esc_attr( $page_data['file_name'] ); ?>" />
37
+ </td>
38
+ </tr>
39
+ </table>
40
+ <?php else: ?>
41
+ <p><?php _e('No slider to export.', $textdomain); ?></p>
42
+ <?php endif; ?>
43
+ <br /><br />
44
+ <?php submit_button( __('Clear', $textdomain), 'secondary', 'reset', false) ?>
45
+ <?php submit_button( __('Next', $textdomain), 'primary', 'submit', false) ?>
46
+ </form>
47
+ </div>
views/export-nextgen-step-2.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if(!defined('ABSPATH')) die('Direct access denied.'); ?>
2
+
3
+ <div class="wrap">
4
+ <div id="icon-tools" class="icon32"><br></div>
5
+
6
+ <?php $this->render('export-import-tabs.php', array('tabs'=>$tabs)); ?>
7
+
8
+ <h2><?php _e('Cyclone Slider Nextgen Exporter', $textdomain); ?></h2>
9
+
10
+ <?php $this->render('error-message.php', array('error'=>$error)); ?>
11
+
12
+ <form method="post" action="<?php echo esc_url( $export_page_url ); ?>">
13
+ <input type="hidden" name="<?php echo $nonce_name; ?>" value="<?php echo $nonce; ?>" />
14
+ <input type="hidden" name="cycloneslider_export_step" value="2" />
15
+ <table class="form-table">
16
+ <tr>
17
+ <th><h4><?php _e('Selected slider(s):', $textdomain); ?></h4></th>
18
+ <td><?php if($page_data['sliders']): ?>
19
+ <ul class="export-page-list ">
20
+ <?php foreach($page_data['sliders'] as $slider): ?>
21
+ <li><?php echo $slider; ?></li>
22
+ <?php endforeach; ?>
23
+ </ul>
24
+ <?php endif; ?>
25
+ </td>
26
+ </tr>
27
+ <tr>
28
+ <th><h4><?php _e('File Name:', $textdomain); ?></h4></th>
29
+ <td>
30
+ <?php echo esc_attr( $page_data['file_name'] ); ?>
31
+ </td>
32
+ </tr>
33
+ </table>
34
+ <br /><br />
35
+ <a class="button" href="<?php echo esc_url( $export_page_url ); ?>"><?php _e('Back', $textdomain); ?></a>
36
+ <?php submit_button( __('Generate Export File', $textdomain), 'primary', 'submit', false) ?>
37
+ </form>
38
+ </div>
views/export-nextgen-step-3.php ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if(!defined('ABSPATH')) die('Direct access denied.'); ?>
2
+
3
+ <div class="wrap">
4
+ <div id="icon-tools" class="icon32"><br></div>
5
+
6
+ <?php $this->render('export-import-tabs.php', array('tabs'=>$tabs)); ?>
7
+
8
+ <h2><?php _e('Cyclone Slider Nextgen Exporter', $textdomain); ?></h2>
9
+
10
+ <?php $this->render('error-message.php', array('error'=>$error)); ?>
11
+
12
+ <?php $this->render('ok-message.php', array('ok'=>$ok)); ?>
13
+
14
+ <?php if( empty($error) ): ?>
15
+ <ul>
16
+ <?php foreach($log_results['oks'] as $ok): ?>
17
+ <li><?php echo esc_attr($ok); ?></li>
18
+ <?php endforeach; ?>
19
+ </ul>
20
+ <br /><br />
21
+ <a class="button" href="<?php echo $export_page_url; ?>"><?php _e('Back', $textdomain); ?></a>
22
+ <a class="button button-primary" href="<?php echo $zip_url; ?>"><?php _e('Download', $textdomain); ?></a>
23
+ <?php else: ?>
24
+
25
+ <br /><br />
26
+ <a class="button" href="<?php echo $export_page_url; ?>"><?php _e('Back', $textdomain); ?></a>
27
+ <?php endif; ?>
28
+ </div>
views/export-step-1.php ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if(!defined('ABSPATH')) die('Direct access denied.'); ?>
2
+
3
+ <div class="wrap">
4
+ <div id="icon-tools" class="icon32"><br></div>
5
+
6
+ <?php $this->render('export-import-tabs.php', array('tabs'=>$tabs)); ?>
7
+
8
+ <h2><?php _e('Cyclone Slider Exporter', $textdomain); ?></h2>
9
+
10
+ <?php $this->render('error-message.php', array('error'=>$error)); ?>
11
+
12
+ <form method="post" action="<?php echo esc_url( $export_page_url ); ?>">
13
+ <input type="hidden" name="<?php echo $nonce_name; ?>" value="<?php echo $nonce; ?>" />
14
+ <input type="hidden" name="cycloneslider_export_step" value="1" />
15
+ <?php if($sliders): ?>
16
+ <table class="form-table">
17
+ <tr>
18
+ <th><h4><?php _e('Select sliders:', $textdomain); ?></h4></th>
19
+ <td>
20
+ <label for="cs-select-all">
21
+ <input type="checkbox" id="cs-select-all" name="<?php echo esc_attr( $transient_name ); ?>[all_sliders]" value="1" <?php checked($page_data['all_sliders'], 1); ?> />
22
+ <span><strong><?php _e('Select All', $textdomain); ?></strong></span>
23
+ </label> <br />
24
+ <hr />
25
+ <?php foreach($sliders as $slider): ?>
26
+ <label for="cs-slider-<?php echo $slider['post_name']; ?>">
27
+ <input class="cs-sliders" type="checkbox" id="cs-slider-<?php echo esc_attr( $slider['post_name'] ); ?>" name="<?php echo esc_attr( $transient_name ); ?>[sliders][]" value="<?php echo esc_attr( $slider['post_name'] ); ?>" <?php echo ( in_array($slider['post_name'], $page_data['sliders']) ) ? 'checked="checked"' : '' ; ?> />
28
+ <span><em><?php echo $slider['post_title']; ?></em></span>
29
+ </label> <br />
30
+ <?php endforeach; ?>
31
+ </td>
32
+ </tr>
33
+ <tr>
34
+ <th><label for="cs-file_name"><?php _e('File Name:', $textdomain); ?></label></th>
35
+ <td>
36
+ <input type="text" class="regular-text" id="cs-file_name" name="<?php echo esc_attr( $transient_name ); ?>[file_name]" value="<?php echo esc_attr( $page_data['file_name'] ); ?>" />
37
+ </td>
38
+ </tr>
39
+ </table>
40
+ <?php else: ?>
41
+ <p><?php _e('No slider to export.', $textdomain); ?></p>
42
+ <?php endif; ?>
43
+ <br /><br />
44
+ <?php submit_button( __('Clear', $textdomain), 'secondary', 'reset', false) ?>
45
+ <?php submit_button( __('Next', $textdomain), 'primary', 'submit', false) ?>
46
+ </form>
47
+ </div>
views/export-step-2.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if(!defined('ABSPATH')) die('Direct access denied.'); ?>
2
+
3
+ <div class="wrap">
4
+ <div id="icon-tools" class="icon32"><br></div>
5
+
6
+ <?php $this->render('export-import-tabs.php', array('tabs'=>$tabs)); ?>
7
+
8
+ <h2><?php _e('Cyclone Slider Exporter', $textdomain); ?></h2>
9
+
10
+ <?php $this->render('error-message.php', array('error'=>$error)); ?>
11
+
12
+ <form method="post" action="<?php echo esc_url( $export_page_url ); ?>">
13
+ <input type="hidden" name="<?php echo $nonce_name; ?>" value="<?php echo $nonce; ?>" />
14
+ <input type="hidden" name="cycloneslider_export_step" value="2" />
15
+ <table class="form-table">
16
+ <tr>
17
+ <th><h4><?php _e('Selected slider(s):', $textdomain); ?></h4></th>
18
+ <td><?php if($page_data['sliders']): ?>
19
+ <ul class="export-page-list ">
20
+ <?php foreach($page_data['sliders'] as $slider): ?>
21
+ <li><?php echo $slider; ?></li>
22
+ <?php endforeach; ?>
23
+ </ul>
24
+ <?php endif; ?>
25
+ </td>
26
+ </tr>
27
+ <tr>
28
+ <th><h4><?php _e('File Name:', $textdomain); ?></h4></th>
29
+ <td>
30
+ <?php echo esc_attr( $page_data['file_name'] ); ?>
31
+ </td>
32
+ </tr>
33
+ </table>
34
+ <br /><br />
35
+ <a class="button" href="<?php echo esc_url( $export_page_url ); ?>"><?php _e('Back', $textdomain); ?></a>
36
+ <?php submit_button( __('Generate Export File', $textdomain), 'primary', 'submit', false) ?>
37
+ </form>
38
+ </div>
views/export-step-3.php ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if(!defined('ABSPATH')) die('Direct access denied.'); ?>
2
+
3
+ <div class="wrap">
4
+ <div id="icon-tools" class="icon32"><br></div>
5
+
6
+ <?php $this->render('export-import-tabs.php', array('tabs'=>$tabs)); ?>
7
+
8
+ <h2><?php _e('Cyclone Slider Exporter', $textdomain); ?></h2>
9
+
10
+ <?php $this->render('error-message.php', array('error'=>$error)); ?>
11
+
12
+ <?php $this->render('ok-message.php', array('ok'=>$ok)); ?>
13
+
14
+ <?php if( empty($error) ): ?>
15
+ <ul>
16
+ <?php foreach($log_results['oks'] as $ok): ?>
17
+ <li><?php echo esc_attr($ok); ?></li>
18
+ <?php endforeach; ?>
19
+ </ul>
20
+ <br /><br />
21
+ <a class="button" href="<?php echo $export_page_url; ?>"><?php _e('Back', $textdomain); ?></a>
22
+ <a class="button button-primary" href="<?php echo $zip_url; ?>"><?php _e('Download', $textdomain); ?></a>
23
+ <?php else: ?>
24
+
25
+ <br /><br />
26
+ <a class="button" href="<?php echo $export_page_url; ?>"><?php _e('Back', $textdomain); ?></a>
27
+ <?php endif; ?>
28
+ </div>
views/import-step-1.php ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if(!defined('ABSPATH')) die('Direct access denied.'); ?>
2
+
3
+ <div class="wrap">
4
+ <div id="icon-tools" class="icon32"><br></div>
5
+
6
+ <?php $this->render('export-import-tabs.php', array('tabs'=>$tabs)); ?>
7
+
8
+ <h2><?php _e('Cyclone Slider Importer', $textdomain); ?></h2>
9
+
10
+ <?php $this->render('error-message.php', array('error'=>$error)); ?>
11
+
12
+ <form enctype="multipart/form-data" method="post" action="<?php echo $import_page_url; ?>">
13
+ <input type="hidden" name="<?php echo $nonce_name; ?>" value="<?php echo $nonce; ?>" />
14
+ <input type="hidden" name="cycloneslider_import_step" value="1" />
15
+ <table class="form-table">
16
+ <tr>
17
+ <th><label for="cycloneslider_import"><?php _e('Import Zip File:', $textdomain); ?></label></th>
18
+ <td>
19
+ <input id="cycloneslider_import" type="file" name="cycloneslider_import" />
20
+ </td>
21
+ </tr>
22
+ </table>
23
+ <br /><br />
24
+ <?php submit_button( __('Upload', $textdomain), 'primary', 'submit', false) ?>
25
+ </form>
26
+ </div>
views/import-step-3.php ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if(!defined('ABSPATH')) die('Direct access denied.'); ?>
2
+
3
+ <div class="wrap">
4
+ <div id="icon-tools" class="icon32"><br></div>
5
+
6
+ <?php $this->render('export-import-tabs.php', array('tabs'=>$tabs)); ?>
7
+
8
+ <h2><?php _e('Cyclone Slider Importer', $textdomain ); ?></h2>
9
+
10
+ <?php $this->render('error-message.php', array('error'=>$error)); ?>
11
+
12
+ <?php $this->render('ok-message.php', array('ok'=>$ok)); ?>
13
+
14
+ <br /><br />
15
+ <a class="button" href="<?php echo $import_page_url; ?>"><?php _e('Back', $textdomain ); ?></a>
16
+ </div>
views/ok-message.php ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?php if(!defined('ABSPATH')) die('Direct access denied.'); ?>
2
+
3
+ <?php if( !empty($ok) ): ?>
4
+ <div class="updated below-h2">
5
+ <p><?php echo esc_attr($ok); ?></p>
6
+ </div>
7
+ <?php endif; ?>
views/slide-edit.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php if(!defined('ABSPATH')) die('Direct access denied.'); ?>
2
 
3
- <div class="cs-slide" data-slide-type="<?php echo esc_attr( $slide['type'] ); ?>">
4
  <div class="cs-header">
5
  <span class="cs-icon">
6
  <i class="icon-picture"></i>
@@ -28,7 +28,12 @@
28
  <option value="vimeo" <?php selected($slide['type'], 'vimeo'); ?>><?php _e('Vimeo', 'cycloneslider'); ?></option>
29
  <option value="custom" <?php selected($slide['type'], 'custom'); ?>><?php _e('Custom HTML', 'cycloneslider'); ?></option>
30
  <option value="testimonial" <?php selected($slide['type'], 'testimonial'); ?>><?php _e('Testimonial', 'cycloneslider'); ?></option>
31
- </select>
 
 
 
 
 
32
  </div>
33
  <div class="clear"></div>
34
  <div class="cs-slide-image">
1
  <?php if(!defined('ABSPATH')) die('Direct access denied.'); ?>
2
 
3
+ <div class="cs-slide" data-slide-type="<?php echo esc_attr( $slide['type'] ); ?>" data-slide-hidden="<?php echo esc_attr( $slide['hidden'] ); ?>">
4
  <div class="cs-header">
5
  <span class="cs-icon">
6
  <i class="icon-picture"></i>
28
  <option value="vimeo" <?php selected($slide['type'], 'vimeo'); ?>><?php _e('Vimeo', 'cycloneslider'); ?></option>
29
  <option value="custom" <?php selected($slide['type'], 'custom'); ?>><?php _e('Custom HTML', 'cycloneslider'); ?></option>
30
  <option value="testimonial" <?php selected($slide['type'], 'testimonial'); ?>><?php _e('Testimonial', 'cycloneslider'); ?></option>
31
+ </select>
32
+
33
+ <label class="cs-slide-hidden" for="cs-slide-hidden-<?php echo $i; ?>">
34
+ <input id="cs-slide-hidden-<?php echo $i; ?>" type="checkbox" name="cycloneslider_metas[<?php echo $i; ?>][hidden]" value="1" <?php checked($slide['hidden'], '1'); ?>>
35
+ <span><?php _e('Hide', 'cycloneslider'); ?></span>
36
+ </label>
37
  </div>
38
  <div class="clear"></div>
39
  <div class="cs-slide-image">