Gallery by BestWebSoft - Version 3.8.7

Version Description

  • 10.04.2013 =
  • NEW : English language file is updated in the plugin.
  • Bugfix : We fixed the bug of deleting images.
Download this release

Release Info

Developer bestwebsoft
Plugin Icon 128x128 Gallery by BestWebSoft
Version 3.8.7
Comparing to
See all releases

Code changes from version 3.8.6 to 3.8.7

css/stylesheet.css CHANGED
@@ -121,9 +121,10 @@ text-align:center;
121
  display:none;
122
  }
123
 
124
- #gllr_form_image_size label {
125
- width:115px;
126
- float:left;
 
127
  }
128
 
129
  #adminmenu #toplevel_page_bws_plugins div.wp-menu-image
121
  display:none;
122
  }
123
 
124
+ .gllr_width_labels label {
125
+ min-width: 115px;
126
+ float: left;
127
+ margin-right: 5px;
128
  }
129
 
130
  #adminmenu #toplevel_page_bws_plugins div.wp-menu-image
gallery-plugin.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Gallery Plugin
4
  Plugin URI: http://bestwebsoft.com/plugin/
5
  Description: This plugin allows you to implement gallery page into web site.
6
  Author: BestWebSoft
7
- Version: 3.8.6
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
@@ -126,13 +126,13 @@ if( ! function_exists( 'post_type_images' ) ) {
126
  'labels' => array(
127
  'name' => __( 'Galleries', 'gallery' ),
128
  'singular_name' => __( 'Gallery', 'gallery' ),
129
- 'add_new' => __( 'Add New', 'gallery' ),
130
  'add_new_item' => __( 'Add New Gallery', 'gallery' ),
131
  'edit_item' => __( 'Edit Gallery', 'gallery' ),
132
  'new_item' => __( 'New Gallery', 'gallery' ),
133
  'view_item' => __( 'View Gallery', 'gallery' ),
134
- 'search_items' => __( 'Search Galleries', 'gallery' ),
135
- 'not_found' => __( 'No Galleries found', 'gallery' ),
136
  'parent_item_colon' => '',
137
  'menu_name' => __( 'Galleries', 'gallery' )
138
  ),
@@ -206,11 +206,11 @@ if ( ! function_exists( 'gllr_post_custom_box' ) ) {
206
 
207
  $post_types = get_post_types( array( '_builtin' => false ) );
208
  if( ! is_writable ( ABSPATH ."wp-content/plugins/gallery-plugin/upload/files/" ) ) {
209
- $error = __( "The gallery temp directory (gallery-plugin/upload/files) not writeable by your webserver. Please use the standard WP functional to upload the images (media library)", 'gallery' );
210
  $uploader = false;
211
  }
212
  ?>
213
- <div style="padding-top:10px;"><label for="uploadscreen"><?php echo __( 'Choose an image to upload:', 'gallery' ); ?></label>
214
  <input name="MAX_FILE_SIZE" value="1048576" type="hidden" />
215
  <div id="file-uploader-demo1" style="padding-top:10px;">
216
  <?php echo $error; ?>
@@ -222,10 +222,10 @@ if ( ! function_exists( 'gllr_post_custom_box' ) ) {
222
  <div id="hidden"></div>
223
  <div style="clear:both;"></div></div>
224
  <div class="gllr_order_message hidden">
225
- <input type="checkbox" name="gllr_download_link" value="1" <?php if( $gllr_download_link != '' ) echo "checked='checked'"; ?> style="position:relative; top:-2px " /> <?php _e( 'Allow download link for images in this gallery', 'gallery' ); ?><br /><br />
226
- <?php _e( 'Please use drag and drop function to change the order of the output of images and do not forget to save post.', 'gallery'); ?>
227
  <br />
228
- <?php _e( 'Please do not forget to select ', 'gallery'); echo ' `'; _e( 'Attachments order by', 'gallery' ); echo '` -> `'; _e( 'attachments order', 'gallery' ); echo '` '; _e( 'in the settings of the plugin (page ', 'gallery' ); ?><a href="<?php echo admin_url( 'admin.php?page=gallery-plugin.php', 'http' ); ?>" target="_blank"><?php echo admin_url( 'admin.php?page=gallery-plugin.php', 'http' ); ?></a>)
229
  </div>
230
  <script type="text/javascript">
231
  <?php if ( $uploader === true ) { ?>
@@ -272,7 +272,7 @@ if ( ! function_exists( 'gllr_post_custom_box' ) ) {
272
  echo '<div class="gllr_border_image"><img src="'.$image_attributes[0].'" alt="'.$page->post_title.'" title="'.$page->post_title.'" height="'.get_option( 'thumbnail_size_h' ).'" width="'.get_option( 'thumbnail_size_w' ).'" /></div>';
273
  echo '<input type="text" name="gllr_image_text['.$page->ID.']" value="'.get_post_meta( $page->ID, $key, TRUE ).'" class="gllr_image_text" />';
274
  echo '<input type="text" name="gllr_order_text['.$page->ID.']" value="'.$page->menu_order.'" class="gllr_order_text '.( $page->menu_order == 0 ? "hidden" : '' ).'" />';
275
- echo '<br />'.__( "Link URL", "gallery" ).'<br /><input type="text" name="gllr_link_url['.$page->ID.']" value="'.get_post_meta( $page->ID, $link_key, TRUE ).'" class="gllr_link_text" /><br /><span class="small_text">'.__( "(clicking on image <br /> open the link in new window)", "gallery" ).'</span>';
276
  echo '<div class="delete"><a href="javascript:void(0);" onclick="img_delete('.$page->ID.');">'.__( "Delete", "gallery" ).'</a><div/>';
277
  echo '</div></li>';
278
  endforeach; ?>
@@ -287,9 +287,9 @@ if ( ! function_exists( 'gllr_post_shortcode_box' ) ) {
287
  function gllr_post_shortcode_box( $obj = '', $box = '' ) {
288
  global $post;
289
  ?>
290
- <p><?php _e( 'You can add the Single Gallery on the page or in the post by inserting this shortcode in the content', 'gallery' ); ?>:</p>
291
  <p><code>[print_gllr id=<?php echo $post->ID; ?>]</code></p>
292
- <p><?php _e( 'If you want to take a brief display of the gallery with a link to a Single Sallery Page', 'gallery' ); ?>:</p>
293
  <p><code>[print_gllr id=<?php echo $post->ID; ?> display=short]</code></p>
294
  <?php }
295
  }
@@ -345,6 +345,8 @@ if ( ! function_exists ( 'gllr_save_postdata' ) ) {
345
  foreach( $_REQUEST['delete_images'] as $delete_id ) {
346
  delete_post_meta( $delete_id, $key );
347
  wp_delete_attachment( $delete_id );
 
 
348
  }
349
  }
350
  if( isset( $_REQUEST['gllr_image_text'] ) ) {
@@ -473,8 +475,8 @@ if ( ! function_exists( 'gllr_change_columns' ) ) {
473
  'cb' => '<input type="checkbox" />',
474
  'title' => __( 'Title', 'gallery' ),
475
  'autor' => __( 'Author', 'gallery' ),
476
- 'gallery' => __( 'Photo\'s', 'gallery' ),
477
- 'status' => __( 'Public', 'gallery' ),
478
  'dates' => __( 'Date', 'gallery' )
479
  );
480
  return $cols;
@@ -643,7 +645,7 @@ if( ! function_exists( 'bws_add_menu_render' ) ) {
643
  <?php foreach( $array_recomend as $recomend_plugin ) { ?>
644
  <div style="float:left; width:200px;"><?php echo $recomend_plugin['title']; ?></div> <p><a href="<?php echo $recomend_plugin['link']; ?>" target="_blank"><?php echo __( "Read more", 'gallery'); ?></a> <a href="<?php echo $recomend_plugin['href']; ?>" target="_blank"><?php echo __( "Download", 'gallery'); ?></a> <a class="install-now" href="<?php echo get_bloginfo( "url" ) . $recomend_plugin['slug']; ?>" title="<?php esc_attr( sprintf( __( 'Install %s' ), $recomend_plugin['title'] ) ) ?>" target="_blank"><?php echo __( 'Install now from wordpress.org', 'gallery' ) ?></a></p>
645
  <?php } ?>
646
- <span style="color: rgb(136, 136, 136); font-size: 10px;"><?php _e( 'If you have any questions, please contact us via plugin@bestwebsoft.com or fill in our contact form on our site', 'gallery' ); ?> <a href="http://bestwebsoft.com/contact/">http://bestwebsoft.com/contact/</a></span>
647
  </div>
648
  <?php } ?>
649
  </div>
@@ -681,7 +683,7 @@ if( ! function_exists( 'register_gllr_settings' ) ) {
681
  'slideshow_interval' => 2000,
682
  'order_by' => 'menu_order',
683
  'order' => 'ASC',
684
- 'read_more_link_text' => __( 'See photo &raquo;', 'gallery' ),
685
  'image_text' => 1,
686
  'return_link' => 0,
687
  'return_link_text' => 'Return to all albums',
@@ -780,7 +782,7 @@ if( ! function_exists( 'gllr_settings_page' ) ) {
780
 
781
  // Check select one point in the blocks Arithmetic actions and Difficulty on settings page
782
  update_option( 'gllr_options', $gllr_options, '', 'yes' );
783
- $message = __( "Options saved.", 'gallery' );
784
  }
785
 
786
  if ( ! file_exists( get_stylesheet_directory() .'/gallery-template.php' ) || ! file_exists( get_stylesheet_directory() .'/gallery-single-template.php' ) ) {
@@ -794,30 +796,30 @@ if( ! function_exists( 'gllr_settings_page' ) ) {
794
  ?>
795
  <div class="wrap">
796
  <div class="icon32 icon32-bws" id="icon-options-general"></div>
797
- <h2><?php _e( 'Gallery Options', 'gallery' ); ?></h2>
798
  <div class="updated fade" <?php if( ! isset( $_REQUEST['gllr_form_submit'] ) || $error != "" ) echo "style=\"display:none\""; ?>><p><strong><?php echo $message; ?></strong></p></div>
799
  <div class="error" <?php if( "" == $error ) echo "style=\"display:none\""; ?>><p><strong><?php echo $error; ?></strong></p></div>
800
- <p><?php _e( "If you would like to add a Single Gallery to your page or post, just copy and put this shortcode onto your post or page content:", 'gallery' ); ?> [print_gllr id=Your_gallery_post_id]</p>
801
  <form method="post" action="admin.php?page=gallery-plugin.php" id="gllr_form_image_size">
802
  <table class="form-table">
803
- <tr valign="top">
804
- <th scope="row"><?php _e( 'The size of the cover album for gallery', 'gallery' ); ?> </th>
805
  <td>
806
- <label for="custom_image_size_name"><?php _e( 'Image size name', 'gallery' ); ?></label> <?php echo $gllr_options["gllr_custom_size_name"][0]; ?><br />
807
  <label for="custom_image_size_w"><?php _e( 'Width (in px)', 'gallery' ); ?></label> <input type="text" name="gllr_custom_image_size_w_album" value="<?php echo $gllr_options["gllr_custom_size_px"][0][0]; ?>" /><br />
808
  <label for="custom_image_size_h"><?php _e( 'Height (in px)', 'gallery' ); ?></label> <input type="text" name="gllr_custom_image_size_h_album" value="<?php echo $gllr_options["gllr_custom_size_px"][0][1]; ?>" />
809
  </td>
810
  </tr>
811
- <tr valign="top">
812
- <th scope="row"><?php _e( 'Size for gallery image', 'gallery' ); ?> </th>
813
  <td>
814
- <label for="custom_image_size_name"><?php _e( 'Image size name', 'gallery' ); ?></label> <?php echo $gllr_options["gllr_custom_size_name"][1]; ?><br />
815
  <label for="custom_image_size_w"><?php _e( 'Width (in px)', 'gallery' ); ?></label> <input type="text" name="gllr_custom_image_size_w_photo" value="<?php echo $gllr_options["gllr_custom_size_px"][1][0]; ?>" /><br />
816
  <label for="custom_image_size_h"><?php _e( 'Height (in px)', 'gallery' ); ?></label> <input type="text" name="gllr_custom_image_size_h_photo" value="<?php echo $gllr_options["gllr_custom_size_px"][1][1]; ?>" />
817
  </td>
818
  </tr>
819
  <tr valign="top">
820
- <td colspan="2"><span style="color: #888888;font-size: 10px;"><?php _e( 'WordPress will create a copy of the post thumbnail with the specified dimensions when you upload a new photo.', 'gallery' ); ?></span></td>
821
  </tr>
822
  <tr valign="top">
823
  <th scope="row"><?php _e( 'Images with border', 'gallery' ); ?> </th>
@@ -825,15 +827,15 @@ if( ! function_exists( 'gllr_settings_page' ) ) {
825
  <input type="checkbox" name="gllr_border_images" value="1" <?php if( $gllr_options["border_images"] == 1 ) echo 'checked="checked"'; ?> /> <br />
826
  <input type="text" value="<?php echo $gllr_options["border_images_width"]; ?>" name="gllr_border_images_width" /> <?php _e( 'Border width in px, just numbers', 'gallery' ); ?><br />
827
  <?php if( $wp_version >= 3.5 ) { ?>
828
- <input type="minicolors" name="gllr_border_images_color" value="<?php echo $gllr_options["border_images_color"]; ?>" id="gllr_border_images_color" /> <?php _e( 'Select color for border', 'gallery' ); ?>
829
  <?php } else { ?>
830
- <input type="text" name="gllr_border_images_color" value="<?php echo $gllr_options["border_images_color"]; ?>" id="gllr_border_images_color" /><span id="gllr_border_images_color_small" style="background-color:<?php echo $gllr_options["border_images_color"]; ?>"></span> <?php _e( 'Select color for border', 'gallery' ); ?>
831
  <div id="colorPickerDiv" style="z-index: 100; background:#eee; border:1px solid #ccc; position:absolute; display:none;"></div>
832
  <?php } ?>
833
  </td>
834
  </tr>
835
  <tr valign="top">
836
- <th scope="row"><?php _e( 'Count images in row', 'gallery' ); ?> </th>
837
  <td>
838
  <input type="text" name="gllr_custom_image_row_count" value="<?php echo $gllr_options["custom_image_row_count"]; ?>" />
839
  </td>
@@ -851,48 +853,48 @@ if( ! function_exists( 'gllr_settings_page' ) ) {
851
  </td>
852
  </tr>
853
  <tr valign="top">
854
- <th scope="row"><?php _e( 'Attachments order by', 'gallery' ); ?> </th>
855
  <td>
856
- <input type="radio" name="gllr_order_by" value="ID" <?php if( $gllr_options["order_by"] == 'ID' ) echo 'checked="checked"'; ?> /> <label class="label_radio" for="order_by"><?php _e( 'attachment id', 'gallery' ); ?></label><br />
857
- <input type="radio" name="gllr_order_by" value="title" <?php if( $gllr_options["order_by"] == 'title' ) echo 'checked="checked"'; ?> /> <label class="label_radio" for="order_by"><?php _e( 'attachment title', 'gallery' ); ?></label><br />
858
- <input type="radio" name="gllr_order_by" value="date" <?php if( $gllr_options["order_by"] == 'date' ) echo 'checked="checked"'; ?> /> <label class="label_radio" for="order_by"><?php _e( 'date', 'gallery' ); ?></label><br />
859
- <input type="radio" name="gllr_order_by" value="menu_order" <?php if( $gllr_options["order_by"] == 'menu_order' ) echo 'checked="checked"'; ?> /> <label class="label_radio" for="order_by"><?php _e( 'attachments order (the integer fields in the Insert / Upload Media Gallery dialog )', 'gallery' ); ?></label><br />
860
- <input type="radio" name="gllr_order_by" value="rand" <?php if( $gllr_options["order_by"] == 'rand' ) echo 'checked="checked"'; ?> /> <label class="label_radio" for="order_by"><?php _e( 'random', 'gallery' ); ?></label>
861
  </td>
862
  </tr>
863
  <tr valign="top">
864
- <th scope="row"><?php _e( 'Attachments order', 'gallery' ); ?> </th>
865
  <td>
866
  <input type="radio" name="gllr_order" value="ASC" <?php if( $gllr_options["order"] == 'ASC' ) echo 'checked="checked"'; ?> /> <label class="label_radio" for="order"><?php _e( 'ASC (ascending order from lowest to highest values - 1, 2, 3; a, b, c)', 'gallery' ); ?></label><br />
867
  <input type="radio" name="gllr_order" value="DESC" <?php if( $gllr_options["order"] == 'DESC' ) echo 'checked="checked"'; ?> /> <label class="label_radio" for="order"><?php _e( 'DESC (descending order from highest to lowest values - 3, 2, 1; c, b, a)', 'gallery' ); ?></label>
868
  </td>
869
  </tr>
870
  <tr valign="top">
871
- <th scope="row"><?php _e( 'Display text above image', 'gallery' ); ?> </th>
872
  <td>
873
  <input type="checkbox" name="gllr_image_text" value="1" <?php if( $gllr_options["image_text"] == 1 ) echo 'checked="checked"'; ?> /> <?php _e( 'If you want to display text just in a lightbox', 'gallery' ); ?>
874
  </td>
875
  </tr>
876
  <tr valign="top">
877
- <th scope="row"><?php _e( 'Display Return link', 'gallery' ); ?> </th>
878
  <td>
879
  <input type="checkbox" name="gllr_return_link" value="1" <?php if( $gllr_options["return_link"] == 1 ) echo 'checked="checked"'; ?> />
880
  </td>
881
  </tr>
882
  <tr valign="top">
883
- <th scope="row"><?php _e( 'Display Return link in shortcode', 'gallery' ); ?> </th>
884
  <td>
885
  <input type="checkbox" name="gllr_return_link_shortcode" value="1" <?php if( $gllr_options["return_link_shortcode"] == 1 ) echo 'checked="checked"'; ?> />
886
  </td>
887
  </tr>
888
  <tr valign="top">
889
- <th scope="row"><?php _e( 'Label for Return link', 'gallery' ); ?> </th>
890
  <td>
891
  <input type="text" name="gllr_return_link_text" value="<?php echo $gllr_options["return_link_text"]; ?>" style="width:200px;" />
892
  </td>
893
  </tr>
894
  <tr valign="top">
895
- <th scope="row"><?php _e( 'URL for Return link', 'gallery' ); ?> </th>
896
  <td>
897
  <input type="radio" value="gallery_template_url" name="gllr_return_link_page" <?php if( $gllr_options["return_link_page"] == 'gallery_template_url' ) echo 'checked="checked"'; ?> /><?php _e( 'Gallery page (Page with Gallery Template)', 'gallery'); ?><br>
898
  <input type="radio" value="custom_url" name="gllr_return_link_page" id="gllr_return_link_url" <?php if( $gllr_options["return_link_page"] == 'custom_url' ) echo 'checked="checked"'; ?> /> <input type="text" onfocus="document.getElementById('gllr_return_link_url').checked = true;" value="<?php echo $gllr_options["return_link_url"]; ?>" name="gllr_return_link_url">
@@ -900,7 +902,7 @@ if( ! function_exists( 'gllr_settings_page' ) ) {
900
  </td>
901
  </tr>
902
  <tr valign="top">
903
- <th scope="row"><?php _e( 'Label for Read More link', 'gallery' ); ?> </th>
904
  <td>
905
  <input type="text" name="gllr_read_more_link_text" value="<?php echo $gllr_options["read_more_link_text"]; ?>" style="width:200px;" />
906
  </td>
@@ -1112,7 +1114,7 @@ if ( ! function_exists ( 'gllr_shortcode' ) ) {
1112
  </a>
1113
  <?php } ?>
1114
  </p>
1115
- <div style="width:<?php echo $gllr_options['gllr_custom_size_px'][1][0]+$gllr_border_images; ?>px; <?php if( 0 == $gllr_options["image_text"] ) echo "visibility:hidden;"; ?>" display="none important!" class="gllr_single_image_text"><?php echo get_post_meta( $attachment->ID, $key, true ); ?>&nbsp;</div>
1116
  </div>
1117
  <?php if( $count_image_block%$gllr_options['custom_image_row_count'] == $gllr_options['custom_image_row_count']-1 ) { ?>
1118
  </div>
@@ -1129,13 +1131,13 @@ if ( ! function_exists ( 'gllr_shortcode' ) ) {
1129
  <?php endwhile;
1130
  else: ?>
1131
  <div class="gallery_box_single">
1132
- <p class="not_found"><?php _e( 'Sorry - nothing to found.', 'gallery' ); ?></p>
1133
  </div>
1134
  <?php endif; ?>
1135
  <?php if( 1 == $gllr_options['return_link_shortcode'] ) {
1136
  if( 'gallery_template_url' == $gllr_options["return_link_page"] ){
1137
  global $wpdb;
1138
- $parent = $wpdb->get_var( "SELECT $wpdb->posts.ID FROM $wpdb->posts, $wpdb->postmeta WHERE meta_key = '_wp_page_template' AND meta_value = 'gallery-template.php' AND (post_status = 'publish' OR post_status = 'private') AND $wpdb->posts.ID = $wpdb->postmeta.post_id" ); ?>
1139
  <div class="return_link"><a href="<?php echo ( !empty( $parent ) ? get_permalink( $parent ) : '' ); ?>"><?php echo $gllr_options['return_link_text']; ?></a></div>
1140
  <?php } else { ?>
1141
  <div class="return_link"><a href="<?php echo $gllr_options["return_link_url"]; ?>"><?php echo $gllr_options['return_link_text']; ?></a></div>
@@ -1151,7 +1153,7 @@ if ( ! function_exists ( 'gllr_shortcode' ) ) {
1151
  'speedIn' : 500,
1152
  'speedOut' : 300,
1153
  'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
1154
- return '<span id="fancybox-title-inside">' + (title.length ? title + '<br />' : '') + 'Image ' + (currentIndex + 1) + ' / ' + currentArray.length + '</span><?php if( get_post_meta( $post->ID, 'gllr_download_link', true ) != '' ){?><br /><a href="'+$(currentOpts.orig).attr('rel')+'" target="_blank"><?php echo __('Download High resolution image', 'gallery'); ?> </a><?php } ?>';
1155
  }<?php if( $gllr_options['start_slideshow'] == 1 ) { ?>,
1156
  'onComplete': function() {
1157
  clearTimeout(jQuery.fancybox.slider);
4
  Plugin URI: http://bestwebsoft.com/plugin/
5
  Description: This plugin allows you to implement gallery page into web site.
6
  Author: BestWebSoft
7
+ Version: 3.8.7
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
126
  'labels' => array(
127
  'name' => __( 'Galleries', 'gallery' ),
128
  'singular_name' => __( 'Gallery', 'gallery' ),
129
+ 'add_new' => __( 'Add a Gallery', 'gallery' ),
130
  'add_new_item' => __( 'Add New Gallery', 'gallery' ),
131
  'edit_item' => __( 'Edit Gallery', 'gallery' ),
132
  'new_item' => __( 'New Gallery', 'gallery' ),
133
  'view_item' => __( 'View Gallery', 'gallery' ),
134
+ 'search_items' => __( 'Find a Gallery', 'gallery' ),
135
+ 'not_found' => __( 'No Gallery found', 'gallery' ),
136
  'parent_item_colon' => '',
137
  'menu_name' => __( 'Galleries', 'gallery' )
138
  ),
206
 
207
  $post_types = get_post_types( array( '_builtin' => false ) );
208
  if( ! is_writable ( ABSPATH ."wp-content/plugins/gallery-plugin/upload/files/" ) ) {
209
+ $error = __( "The gallery temp directory (gallery-plugin/upload/files) is not available for record on your webserver. Please use the standard WP functionality to upload images (media library)", 'gallery' );
210
  $uploader = false;
211
  }
212
  ?>
213
+ <div style="padding-top:10px;"><label for="uploadscreen"><?php echo __( 'Choose an image for upload:', 'gallery' ); ?></label>
214
  <input name="MAX_FILE_SIZE" value="1048576" type="hidden" />
215
  <div id="file-uploader-demo1" style="padding-top:10px;">
216
  <?php echo $error; ?>
222
  <div id="hidden"></div>
223
  <div style="clear:both;"></div></div>
224
  <div class="gllr_order_message hidden">
225
+ <input type="checkbox" name="gllr_download_link" value="1" <?php if( $gllr_download_link != '' ) echo "checked='checked'"; ?> style="position:relative; top:-2px " /> <?php _e( 'Allow the download link for all images in this gallery', 'gallery' ); ?><br /><br />
226
+ <?php _e( 'Please use the drag and drop function to change an order of the images displaying and do not forget to save the post.', 'gallery'); ?>
227
  <br />
228
+ <?php _e( 'Please make a choice', 'gallery'); echo ' `'; _e( 'Sort images by', 'gallery' ); echo '` -> `'; _e( 'sort images', 'gallery' ); echo '` '; _e( 'on the plugin settings page (', 'gallery' ); ?> <a href="<?php echo admin_url( 'admin.php?page=gallery-plugin.php', 'http' ); ?>" target="_blank"><?php echo admin_url( 'admin.php?page=gallery-plugin.php', 'http' ); ?></a>)
229
  </div>
230
  <script type="text/javascript">
231
  <?php if ( $uploader === true ) { ?>
272
  echo '<div class="gllr_border_image"><img src="'.$image_attributes[0].'" alt="'.$page->post_title.'" title="'.$page->post_title.'" height="'.get_option( 'thumbnail_size_h' ).'" width="'.get_option( 'thumbnail_size_w' ).'" /></div>';
273
  echo '<input type="text" name="gllr_image_text['.$page->ID.']" value="'.get_post_meta( $page->ID, $key, TRUE ).'" class="gllr_image_text" />';
274
  echo '<input type="text" name="gllr_order_text['.$page->ID.']" value="'.$page->menu_order.'" class="gllr_order_text '.( $page->menu_order == 0 ? "hidden" : '' ).'" />';
275
+ echo '<br />'.__( "URL", "gallery" ).'<br /><input type="text" name="gllr_link_url['.$page->ID.']" value="'.get_post_meta( $page->ID, $link_key, TRUE ).'" class="gllr_link_text" /><br /><span class="small_text">'.__( "(by click on image <br /> opens a link in a new window)", "gallery" ).'</span>';
276
  echo '<div class="delete"><a href="javascript:void(0);" onclick="img_delete('.$page->ID.');">'.__( "Delete", "gallery" ).'</a><div/>';
277
  echo '</div></li>';
278
  endforeach; ?>
287
  function gllr_post_shortcode_box( $obj = '', $box = '' ) {
288
  global $post;
289
  ?>
290
+ <p><?php _e( 'You can add a Single Gallery to the page or post by inserting this shortcode into the content', 'gallery' ); ?>:</p>
291
  <p><code>[print_gllr id=<?php echo $post->ID; ?>]</code></p>
292
+ <p><?php _e( 'If you want to display a short description containing a screenshot and the link to the Single Gallery Page', 'gallery' ); ?>:</p>
293
  <p><code>[print_gllr id=<?php echo $post->ID; ?> display=short]</code></p>
294
  <?php }
295
  }
345
  foreach( $_REQUEST['delete_images'] as $delete_id ) {
346
  delete_post_meta( $delete_id, $key );
347
  wp_delete_attachment( $delete_id );
348
+ if( isset( $_REQUEST['gllr_order_text'][ $delete_id ] ) )
349
+ unset( $_REQUEST['gllr_order_text'][ $delete_id ] );
350
  }
351
  }
352
  if( isset( $_REQUEST['gllr_image_text'] ) ) {
475
  'cb' => '<input type="checkbox" />',
476
  'title' => __( 'Title', 'gallery' ),
477
  'autor' => __( 'Author', 'gallery' ),
478
+ 'gallery' => __( 'Photo', 'gallery' ),
479
+ 'status' => __( 'Publishing', 'gallery' ),
480
  'dates' => __( 'Date', 'gallery' )
481
  );
482
  return $cols;
645
  <?php foreach( $array_recomend as $recomend_plugin ) { ?>
646
  <div style="float:left; width:200px;"><?php echo $recomend_plugin['title']; ?></div> <p><a href="<?php echo $recomend_plugin['link']; ?>" target="_blank"><?php echo __( "Read more", 'gallery'); ?></a> <a href="<?php echo $recomend_plugin['href']; ?>" target="_blank"><?php echo __( "Download", 'gallery'); ?></a> <a class="install-now" href="<?php echo get_bloginfo( "url" ) . $recomend_plugin['slug']; ?>" title="<?php esc_attr( sprintf( __( 'Install %s' ), $recomend_plugin['title'] ) ) ?>" target="_blank"><?php echo __( 'Install now from wordpress.org', 'gallery' ) ?></a></p>
647
  <?php } ?>
648
+ <span style="color: rgb(136, 136, 136); font-size: 10px;"><?php _e( 'If you have any questions, please feel free to contact us via plugin@bestwebsoft.com or fill out the contact form on our website', 'gallery' ); ?> <a href="http://bestwebsoft.com/contact/">http://bestwebsoft.com/contact/</a></span>
649
  </div>
650
  <?php } ?>
651
  </div>
683
  'slideshow_interval' => 2000,
684
  'order_by' => 'menu_order',
685
  'order' => 'ASC',
686
+ 'read_more_link_text' => __( 'See images &raquo;', 'gallery' ),
687
  'image_text' => 1,
688
  'return_link' => 0,
689
  'return_link_text' => 'Return to all albums',
782
 
783
  // Check select one point in the blocks Arithmetic actions and Difficulty on settings page
784
  update_option( 'gllr_options', $gllr_options, '', 'yes' );
785
+ $message = __( "Settings are saved", 'gallery' );
786
  }
787
 
788
  if ( ! file_exists( get_stylesheet_directory() .'/gallery-template.php' ) || ! file_exists( get_stylesheet_directory() .'/gallery-single-template.php' ) ) {
796
  ?>
797
  <div class="wrap">
798
  <div class="icon32 icon32-bws" id="icon-options-general"></div>
799
+ <h2><?php _e( 'Gallery Settings', 'gallery' ); ?></h2>
800
  <div class="updated fade" <?php if( ! isset( $_REQUEST['gllr_form_submit'] ) || $error != "" ) echo "style=\"display:none\""; ?>><p><strong><?php echo $message; ?></strong></p></div>
801
  <div class="error" <?php if( "" == $error ) echo "style=\"display:none\""; ?>><p><strong><?php echo $error; ?></strong></p></div>
802
+ <p><?php _e( "If you would like to add a Single Gallery to your page or post, just copy and paste this shortcode into your post or page:", 'gallery' ); ?> [print_gllr id=Your_gallery_post_id]</p>
803
  <form method="post" action="admin.php?page=gallery-plugin.php" id="gllr_form_image_size">
804
  <table class="form-table">
805
+ <tr valign="top" class="gllr_width_labels">
806
+ <th scope="row"><?php _e( 'Image size for the album cover', 'gallery' ); ?> </th>
807
  <td>
808
+ <label for="custom_image_size_name"><?php _e( 'Image size', 'gallery' ); ?></label> <?php echo $gllr_options["gllr_custom_size_name"][0]; ?><br />
809
  <label for="custom_image_size_w"><?php _e( 'Width (in px)', 'gallery' ); ?></label> <input type="text" name="gllr_custom_image_size_w_album" value="<?php echo $gllr_options["gllr_custom_size_px"][0][0]; ?>" /><br />
810
  <label for="custom_image_size_h"><?php _e( 'Height (in px)', 'gallery' ); ?></label> <input type="text" name="gllr_custom_image_size_h_album" value="<?php echo $gllr_options["gllr_custom_size_px"][0][1]; ?>" />
811
  </td>
812
  </tr>
813
+ <tr valign="top" class="gllr_width_labels">
814
+ <th scope="row"><?php _e( 'Gallery image size', 'gallery' ); ?> </th>
815
  <td>
816
+ <label for="custom_image_size_name"><?php _e( 'Image size', 'gallery' ); ?></label> <?php echo $gllr_options["gllr_custom_size_name"][1]; ?><br />
817
  <label for="custom_image_size_w"><?php _e( 'Width (in px)', 'gallery' ); ?></label> <input type="text" name="gllr_custom_image_size_w_photo" value="<?php echo $gllr_options["gllr_custom_size_px"][1][0]; ?>" /><br />
818
  <label for="custom_image_size_h"><?php _e( 'Height (in px)', 'gallery' ); ?></label> <input type="text" name="gllr_custom_image_size_h_photo" value="<?php echo $gllr_options["gllr_custom_size_px"][1][1]; ?>" />
819
  </td>
820
  </tr>
821
  <tr valign="top">
822
+ <td colspan="2"><span style="color: #888888;font-size: 10px;"><?php _e( 'WordPress will create a new thumbnail with the specified dimensions when you upload a new photo.', 'gallery' ); ?></span></td>
823
  </tr>
824
  <tr valign="top">
825
  <th scope="row"><?php _e( 'Images with border', 'gallery' ); ?> </th>
827
  <input type="checkbox" name="gllr_border_images" value="1" <?php if( $gllr_options["border_images"] == 1 ) echo 'checked="checked"'; ?> /> <br />
828
  <input type="text" value="<?php echo $gllr_options["border_images_width"]; ?>" name="gllr_border_images_width" /> <?php _e( 'Border width in px, just numbers', 'gallery' ); ?><br />
829
  <?php if( $wp_version >= 3.5 ) { ?>
830
+ <input type="minicolors" name="gllr_border_images_color" value="<?php echo $gllr_options["border_images_color"]; ?>" id="gllr_border_images_color" /> <?php _e( 'Select a border color', 'gallery' ); ?>
831
  <?php } else { ?>
832
+ <input type="text" name="gllr_border_images_color" value="<?php echo $gllr_options["border_images_color"]; ?>" id="gllr_border_images_color" /><span id="gllr_border_images_color_small" style="background-color:<?php echo $gllr_options["border_images_color"]; ?>"></span> <?php _e( 'Select a border color', 'gallery' ); ?>
833
  <div id="colorPickerDiv" style="z-index: 100; background:#eee; border:1px solid #ccc; position:absolute; display:none;"></div>
834
  <?php } ?>
835
  </td>
836
  </tr>
837
  <tr valign="top">
838
+ <th scope="row"><?php _e( 'Number of images in the row', 'gallery' ); ?> </th>
839
  <td>
840
  <input type="text" name="gllr_custom_image_row_count" value="<?php echo $gllr_options["custom_image_row_count"]; ?>" />
841
  </td>
853
  </td>
854
  </tr>
855
  <tr valign="top">
856
+ <th scope="row"><?php _e( 'Sort images by', 'gallery' ); ?> </th>
857
  <td>
858
+ <input type="radio" name="gllr_order_by" value="ID" <?php if( $gllr_options["order_by"] == 'ID' ) echo 'checked="checked"'; ?> /> <label class="label_radio" for="order_by"><?php _e( 'Attachment ID', 'gallery' ); ?></label><br />
859
+ <input type="radio" name="gllr_order_by" value="title" <?php if( $gllr_options["order_by"] == 'title' ) echo 'checked="checked"'; ?> /> <label class="label_radio" for="order_by"><?php _e( 'Image Name', 'gallery' ); ?></label><br />
860
+ <input type="radio" name="gllr_order_by" value="date" <?php if( $gllr_options["order_by"] == 'date' ) echo 'checked="checked"'; ?> /> <label class="label_radio" for="order_by"><?php _e( 'Date', 'gallery' ); ?></label><br />
861
+ <input type="radio" name="gllr_order_by" value="menu_order" <?php if( $gllr_options["order_by"] == 'menu_order' ) echo 'checked="checked"'; ?> /> <label class="label_radio" for="order_by"><?php _e( 'Sorting order (the input field for sorting order in the Insert / Upload Media Gallery dialog)', 'gallery' ); ?></label><br />
862
+ <input type="radio" name="gllr_order_by" value="rand" <?php if( $gllr_options["order_by"] == 'rand' ) echo 'checked="checked"'; ?> /> <label class="label_radio" for="order_by"><?php _e( 'Random', 'gallery' ); ?></label>
863
  </td>
864
  </tr>
865
  <tr valign="top">
866
+ <th scope="row"><?php _e( 'Sort images', 'gallery' ); ?> </th>
867
  <td>
868
  <input type="radio" name="gllr_order" value="ASC" <?php if( $gllr_options["order"] == 'ASC' ) echo 'checked="checked"'; ?> /> <label class="label_radio" for="order"><?php _e( 'ASC (ascending order from lowest to highest values - 1, 2, 3; a, b, c)', 'gallery' ); ?></label><br />
869
  <input type="radio" name="gllr_order" value="DESC" <?php if( $gllr_options["order"] == 'DESC' ) echo 'checked="checked"'; ?> /> <label class="label_radio" for="order"><?php _e( 'DESC (descending order from highest to lowest values - 3, 2, 1; c, b, a)', 'gallery' ); ?></label>
870
  </td>
871
  </tr>
872
  <tr valign="top">
873
+ <th scope="row"><?php _e( 'Display text above the image', 'gallery' ); ?> </th>
874
  <td>
875
  <input type="checkbox" name="gllr_image_text" value="1" <?php if( $gllr_options["image_text"] == 1 ) echo 'checked="checked"'; ?> /> <?php _e( 'If you want to display text just in a lightbox', 'gallery' ); ?>
876
  </td>
877
  </tr>
878
  <tr valign="top">
879
+ <th scope="row"><?php _e( 'Display the Back link', 'gallery' ); ?> </th>
880
  <td>
881
  <input type="checkbox" name="gllr_return_link" value="1" <?php if( $gllr_options["return_link"] == 1 ) echo 'checked="checked"'; ?> />
882
  </td>
883
  </tr>
884
  <tr valign="top">
885
+ <th scope="row"><?php _e( 'Display the Back link in the shortcode', 'gallery' ); ?> </th>
886
  <td>
887
  <input type="checkbox" name="gllr_return_link_shortcode" value="1" <?php if( $gllr_options["return_link_shortcode"] == 1 ) echo 'checked="checked"'; ?> />
888
  </td>
889
  </tr>
890
  <tr valign="top">
891
+ <th scope="row"><?php _e( 'The Back link text', 'gallery' ); ?> </th>
892
  <td>
893
  <input type="text" name="gllr_return_link_text" value="<?php echo $gllr_options["return_link_text"]; ?>" style="width:200px;" />
894
  </td>
895
  </tr>
896
  <tr valign="top">
897
+ <th scope="row"><?php _e( 'The Back link URL', 'gallery' ); ?> </th>
898
  <td>
899
  <input type="radio" value="gallery_template_url" name="gllr_return_link_page" <?php if( $gllr_options["return_link_page"] == 'gallery_template_url' ) echo 'checked="checked"'; ?> /><?php _e( 'Gallery page (Page with Gallery Template)', 'gallery'); ?><br>
900
  <input type="radio" value="custom_url" name="gllr_return_link_page" id="gllr_return_link_url" <?php if( $gllr_options["return_link_page"] == 'custom_url' ) echo 'checked="checked"'; ?> /> <input type="text" onfocus="document.getElementById('gllr_return_link_url').checked = true;" value="<?php echo $gllr_options["return_link_url"]; ?>" name="gllr_return_link_url">
902
  </td>
903
  </tr>
904
  <tr valign="top">
905
+ <th scope="row"><?php _e( 'The Read More link text', 'gallery' ); ?> </th>
906
  <td>
907
  <input type="text" name="gllr_read_more_link_text" value="<?php echo $gllr_options["read_more_link_text"]; ?>" style="width:200px;" />
908
  </td>
1114
  </a>
1115
  <?php } ?>
1116
  </p>
1117
+ <div style="width:<?php echo $gllr_options['gllr_custom_size_px'][1][0]+$gllr_border_images; ?>px; <?php if( 0 == $gllr_options["image_text"] ) echo "visibility:hidden;"; ?>" class="gllr_single_image_text"><?php echo get_post_meta( $attachment->ID, $key, true ); ?>&nbsp;</div>
1118
  </div>
1119
  <?php if( $count_image_block%$gllr_options['custom_image_row_count'] == $gllr_options['custom_image_row_count']-1 ) { ?>
1120
  </div>
1131
  <?php endwhile;
1132
  else: ?>
1133
  <div class="gallery_box_single">
1134
+ <p class="not_found"><?php _e( 'Sorry, nothing found.', 'gallery' ); ?></p>
1135
  </div>
1136
  <?php endif; ?>
1137
  <?php if( 1 == $gllr_options['return_link_shortcode'] ) {
1138
  if( 'gallery_template_url' == $gllr_options["return_link_page"] ){
1139
  global $wpdb;
1140
+ $parent = $wpdb->get_var( "SELECT $wpdb->posts.ID FROM $wpdb->posts, $wpdb->postmeta WHERE meta_key = '_wp_page_template' AND meta_value = 'gallery-template.php' AND (post_status = 'publish' OR post_status = 'private') AND $wpdb->posts.ID = $wpdb->postmeta.post_id" ); ?>
1141
  <div class="return_link"><a href="<?php echo ( !empty( $parent ) ? get_permalink( $parent ) : '' ); ?>"><?php echo $gllr_options['return_link_text']; ?></a></div>
1142
  <?php } else { ?>
1143
  <div class="return_link"><a href="<?php echo $gllr_options["return_link_url"]; ?>"><?php echo $gllr_options['return_link_text']; ?></a></div>
1153
  'speedIn' : 500,
1154
  'speedOut' : 300,
1155
  'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
1156
+ return '<span id="fancybox-title-inside">' + (title.length ? title + '<br />' : '') + 'Image ' + (currentIndex + 1) + ' / ' + currentArray.length + '</span><?php if( get_post_meta( $post->ID, 'gllr_download_link', true ) != '' ){?><br /><a href="'+$(currentOpts.orig).attr('rel')+'" target="_blank"><?php echo __('Download high resolution image', 'gallery'); ?> </a><?php } ?>';
1157
  }<?php if( $gllr_options['start_slideshow'] == 1 ) { ?>,
1158
  'onComplete': function() {
1159
  clearTimeout(jQuery.fancybox.slider);
languages/gallery-ru_RU.mo CHANGED
Binary file
languages/gallery-ru_RU.po CHANGED
@@ -2,43 +2,38 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-12-20 18:47+0200\n"
6
- "PO-Revision-Date: 2012-12-20 18:47+0200\n"
7
- "Last-Translator: zos <zos@bestwebsoft.com>\n"
8
  "Language-Team: \n"
9
- "Language: ru_RU\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;esc_html__\n"
 
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-SourceCharset: utf-8\n"
16
  "X-Generator: Poedit 1.5.4\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: gallery-plugin.php:103 gallery-plugin.php:789
20
- msgid ""
21
- "The following files \"gallery-template.php\" and \"gallery-single-template."
22
- "php\" were not found in the directory of your theme. Please copy them from "
23
- "the directory `/wp-content/plugins/gallery-plugin/template/` to the "
24
- "directory of your theme for the correct work of the Gallery plugin"
25
- msgstr ""
26
- "Файлы \"gallery-template.php\" и \"gallery-single-template.php\" не найден в "
27
- "каталоге вашей темы. Пожалуйста, скопируйте их из каталога `/ wp-content/"
28
- "plugins/gallery-plugin/template /` в директорию вашей темы для корректной "
29
- "работы плагина Галерея"
30
 
31
- #: gallery-plugin.php:127 gallery-plugin.php:137
 
32
  msgid "Galleries"
33
  msgstr "Галереи"
34
 
35
- #: gallery-plugin.php:128 gallery-plugin.php:656
 
36
  msgid "Gallery"
37
  msgstr "Галерея"
38
 
39
  #: gallery-plugin.php:129
40
- msgid "Add New"
41
- msgstr "Добавить галерею"
42
 
43
  #: gallery-plugin.php:130
44
  msgid "Add New Gallery"
@@ -57,11 +52,11 @@ msgid "View Gallery"
57
  msgstr "Просмотреть галерею"
58
 
59
  #: gallery-plugin.php:134
60
- msgid "Search Galleries"
61
- msgstr "Поиск галереи"
62
 
63
  #: gallery-plugin.php:135
64
- msgid "No Galleries found"
65
  msgstr "Ни одной галереи не найдено"
66
 
67
  #: gallery-plugin.php:192
@@ -73,17 +68,11 @@ msgid "Gallery Shortcode"
73
  msgstr "Шорткод Для Галереи"
74
 
75
  #: gallery-plugin.php:209
76
- msgid ""
77
- "The gallery temp directory (gallery-plugin/upload/files) not writeable by "
78
- "your webserver. Please use the standard WP functional to upload the images "
79
- "(media library)"
80
- msgstr ""
81
- "Каталог галереи для сохранения временных файлов (gallery-plugin/upload/"
82
- "files) закрыт для записи на вашем веб-сервере. Пожалуйста, воспользуйтесь "
83
- "стандартным функционалом WP для загрузки изображения (медиа-библиотека)"
84
 
85
  #: gallery-plugin.php:213
86
- msgid "Choose an image to upload:"
87
  msgstr "Выбрать файлы для загрузки:"
88
 
89
  #: gallery-plugin.php:218
@@ -91,295 +80,298 @@ msgid "Please enable JavaScript to use the file uploader."
91
  msgstr "Пожалуйста, включите javascript для использования загрузчика файлов."
92
 
93
  #: gallery-plugin.php:225
94
- msgid "Allow download link for images in this gallery"
95
  msgstr "Разрешить ссылку для загрузки для всех изображений в этой галерее"
96
 
97
  #: gallery-plugin.php:226
98
- msgid ""
99
- "Please use drag and drop function to change the order of the output of "
100
- "images and do not forget to save post."
101
- msgstr ""
102
 
103
  #: gallery-plugin.php:228
104
- msgid "Please do not forget to select "
105
- msgstr ""
106
 
107
- #: gallery-plugin.php:228 gallery-plugin.php:853
108
- msgid "Attachments order by"
 
109
  msgstr "Изображения сортируются по"
110
 
111
  #: gallery-plugin.php:228
112
- msgid "attachments order"
113
- msgstr "Сортировать изображения"
114
 
115
  #: gallery-plugin.php:228
116
- msgid "in the settings of the plugin (page "
117
- msgstr "на странице натсроек плагина (страница "
118
 
119
  #: gallery-plugin.php:275
120
- msgid "Link URL"
121
- msgstr "Ссылка урл"
122
 
123
  #: gallery-plugin.php:275
124
- msgid "(clicking on image <br /> open the link in new window)"
125
- msgstr ""
126
- "(нажатие на изображение открывает <br /> данную ссылку в новом окне браузера)"
127
 
128
  #: gallery-plugin.php:276
129
  msgid "Delete"
130
  msgstr "Удалить"
131
 
132
  #: gallery-plugin.php:290
133
- msgid ""
134
- "You can add the Single Gallery on the page or in the post by inserting this "
135
- "shortcode in the content"
136
- msgstr ""
137
- "Вы можете добавить Галерею на вашу страницу или пост, просто скопируйте и "
138
- "поместить этот шорткод в контент поста или страницы:"
139
 
140
  #: gallery-plugin.php:292
141
- msgid ""
142
- "If you want to take a brief display of the gallery with a link to a Single "
143
- "Sallery Page"
144
- msgstr ""
145
 
146
- #: gallery-plugin.php:474
147
  msgid "Title"
148
  msgstr "Название"
149
 
150
- #: gallery-plugin.php:475
151
  msgid "Author"
152
  msgstr "Автор"
153
 
154
- #: gallery-plugin.php:476
155
- msgid "Photo's"
156
  msgstr "Фото"
157
 
158
- #: gallery-plugin.php:477
159
- msgid "Public"
160
  msgstr "Опубликование"
161
 
162
- #: gallery-plugin.php:478
 
163
  msgid "Date"
164
- msgstr "Дата"
165
 
166
- #: gallery-plugin.php:625
167
  msgid "Activated plugins"
168
  msgstr "Активированные плагины"
169
 
170
- #: gallery-plugin.php:627 gallery-plugin.php:635 gallery-plugin.php:643
 
 
171
  msgid "Read more"
172
  msgstr "Подробнее..."
173
 
174
- #: gallery-plugin.php:627 gallery-plugin.php:922 gallery-plugin.php:937
 
 
175
  msgid "Settings"
176
  msgstr "Настройки"
177
 
178
- #: gallery-plugin.php:633
179
  msgid "Installed plugins"
180
  msgstr "Установленные плагины"
181
 
182
- #: gallery-plugin.php:641
183
  msgid "Recommended plugins"
184
  msgstr "Рекомендованные к установке плагины"
185
 
186
- #: gallery-plugin.php:643
187
  msgid "Download"
188
  msgstr "Скачать"
189
 
190
- #: gallery-plugin.php:643
191
  #, php-format
192
  msgid "Install %s"
193
  msgstr "Установлено %s"
194
 
195
- #: gallery-plugin.php:643
196
  msgid "Install now from wordpress.org"
197
  msgstr "Установить с wordpress.org"
198
 
199
- #: gallery-plugin.php:645
200
- msgid ""
201
- "If you have any questions, please contact us via plugin@bestwebsoft.com or "
202
- "fill in our contact form on our site"
203
- msgstr ""
204
- "Если у вас есть какие-то впросы, обращайтесь на plugin@bestwebsoft.com или "
205
- "заполните контактную форму на нашем сайте"
206
 
207
- #: gallery-plugin.php:683
208
- msgid "See photo &raquo;"
209
  msgstr "Смотреть фотографии &raquo;"
210
 
211
- #: gallery-plugin.php:782
212
- msgid "Options saved."
213
  msgstr "Опции сохранены"
214
 
215
- #: gallery-plugin.php:796
216
- msgid "Gallery Options"
217
  msgstr "Настройки Галереи"
218
 
219
- #: gallery-plugin.php:799
220
- msgid ""
221
- "If you would like to add a Single Gallery to your page or post, just copy "
222
- "and put this shortcode onto your post or page content:"
223
- msgstr ""
224
- "Если вы хотели бы добавить Галерея на вашу страницу или пост, просто "
225
- "скопируйте и поместить этот шорткод в контент поста или страницы:"
226
 
227
- #: gallery-plugin.php:803
228
- msgid "The size of the cover album for gallery"
229
- msgstr "Размер изображения для обложки альбома галереи"
230
 
231
- #: gallery-plugin.php:805 gallery-plugin.php:813
232
- msgid "Image size name"
233
- msgstr "Название размера изображение"
 
234
 
235
- #: gallery-plugin.php:806 gallery-plugin.php:814
 
236
  msgid "Width (in px)"
237
  msgstr "Ширина (в px)"
238
 
239
- #: gallery-plugin.php:807 gallery-plugin.php:815
 
240
  msgid "Height (in px)"
241
  msgstr "Высота (в px)"
242
 
243
- #: gallery-plugin.php:811
244
- msgid "Size for gallery image"
245
  msgstr "Размер изображений Галереи"
246
 
247
- #: gallery-plugin.php:819
248
- msgid ""
249
- "WordPress will create a copy of the post thumbnail with the specified "
250
- "dimensions when you upload a new photo."
251
- msgstr ""
252
- "WordPress создаст новую миниатюру с заданными размерами при загрузке новой "
253
- "фотографии."
254
-
255
  #: gallery-plugin.php:822
256
- msgid "Images with border"
257
- msgstr ""
258
 
259
  #: gallery-plugin.php:825
 
 
 
 
260
  msgid "Border width in px, just numbers"
261
- msgstr ""
262
 
263
- #: gallery-plugin.php:827 gallery-plugin.php:829
264
- msgid "Select color for border"
265
- msgstr ""
 
266
 
267
- #: gallery-plugin.php:835
268
- msgid "Count images in row"
269
  msgstr "Количество изображений в строке"
270
 
271
- #: gallery-plugin.php:841
272
  msgid "Start slideshow"
273
  msgstr "Начать слайдшоу"
274
 
275
- #: gallery-plugin.php:847
276
  msgid "Slideshow interval"
277
  msgstr "Интервал времени при показе слайдшоу"
278
 
279
- #: gallery-plugin.php:855
280
- msgid "attachment id"
281
  msgstr "id изображения"
282
 
283
- #: gallery-plugin.php:856
284
- msgid "attachment title"
285
  msgstr "названию изображения"
286
 
287
- #: gallery-plugin.php:857
288
- msgid "date"
289
- msgstr "дате"
290
-
291
- #: gallery-plugin.php:858
292
- msgid ""
293
- "attachments order (the integer fields in the Insert / Upload Media Gallery "
294
- "dialog )"
295
- msgstr ""
296
- "сортировка по порядку (поле для ввода порядка сортировки в диалоге Insert / "
297
- "Upload Media Gallery)"
298
 
299
- #: gallery-plugin.php:859
300
- msgid "random"
301
  msgstr "произвольно"
302
 
303
- #: gallery-plugin.php:863
304
- msgid "Attachments order"
305
  msgstr "Сортировать изображения"
306
 
307
- #: gallery-plugin.php:865
308
  msgid "ASC (ascending order from lowest to highest values - 1, 2, 3; a, b, c)"
309
- msgstr ""
310
- "ASC (в порядке возрастания от наименьшего до наибольшего значения - 1, 2, 3, "
311
- "а, б, в)"
312
 
313
- #: gallery-plugin.php:866
314
- msgid ""
315
- "DESC (descending order from highest to lowest values - 3, 2, 1; c, b, a)"
316
- msgstr ""
317
- "DESC (по убыванию от самого высокого до самого низкого значения - 3, 2, 1, "
318
- "C, B)"
319
 
320
- #: gallery-plugin.php:870
321
- msgid "Display text above image"
322
- msgstr ""
323
 
324
- #: gallery-plugin.php:872
325
  msgid "If you want to display text just in a lightbox"
326
- msgstr ""
327
 
328
- #: gallery-plugin.php:876
329
- msgid "Display Return link"
330
  msgstr "Отображать ссылку Вернуться"
331
 
332
- #: gallery-plugin.php:882
333
- msgid "Display Return link in shortcode"
334
  msgstr "Отображаться ссылку Вернуться в шорткоде"
335
 
336
- #: gallery-plugin.php:888
337
- msgid "Label for Return link"
338
  msgstr "Текст для ссылки Вернуться"
339
 
340
- #: gallery-plugin.php:894
341
- #, fuzzy
342
- msgid "URL for Return link"
343
- msgstr "Текст для ссылки Вернуться"
344
 
345
- #: gallery-plugin.php:896
346
  msgid "Gallery page (Page with Gallery Template)"
347
- msgstr ""
348
 
349
- #: gallery-plugin.php:898
350
  msgid "(Full URL to custom page)"
351
- msgstr ""
352
 
353
- #: gallery-plugin.php:902
354
- msgid "Label for Read More link"
355
- msgstr "Текст для ссылки Читать далее"
356
 
357
- #: gallery-plugin.php:910
358
  msgid "Save Changes"
359
  msgstr "Сохранить изменения"
360
 
361
- #: gallery-plugin.php:923
362
  msgid "FAQ"
363
  msgstr "FAQ"
364
 
365
- #: gallery-plugin.php:924
366
  msgid "Support"
367
  msgstr "Поддержка"
368
 
369
- #: gallery-plugin.php:1131 template/gallery-single-template.php:76
370
- msgid "Sorry - nothing to found."
 
371
  msgstr "Извините, ничего не найдено."
372
 
373
- #: gallery-plugin.php:1153 template/gallery-single-template.php:101
374
- msgid "Download High resolution image"
 
375
  msgstr "Скачать изображение в высоком разрешении"
376
 
377
  #: template/gallery-single-template.php:101
378
- msgid "Image "
379
  msgstr "Изображение"
380
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
381
  #~ msgid "Random order"
382
  #~ msgstr "Произвольная сортировка"
383
 
384
- #~ msgid "Size for gallery album cover"
385
- #~ msgstr "Размер для "
2
  msgstr ""
3
  "Project-Id-Version: gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-04-10 13:04+0300\n"
6
+ "PO-Revision-Date: 2013-04-10 13:04+0300\n"
7
+ "Last-Translator: \n"
8
  "Language-Team: \n"
 
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "Language: ru_RU\n"
13
+ "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-SourceCharset: utf-8\n"
16
  "X-Generator: Poedit 1.5.4\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: gallery-plugin.php:103
20
+ #: gallery-plugin.php:792
21
+ msgid "The following files \"gallery-template.php\" and \"gallery-single-template.php\" were not found in the directory of your theme. Please copy them from the directory `/wp-content/plugins/gallery-plugin/template/` to the directory of your theme for the correct work of the Gallery plugin"
22
+ msgstr "Файлы \"gallery-template.php\" и \"gallery-single-template.php\" не найден в каталоге вашей темы. Пожалуйста, скопируйте их из каталога `/ wp-content/plugins/gallery-plugin/template /` в директорию вашей темы для корректной работы плагина Галерея"
 
 
 
 
 
 
 
23
 
24
+ #: gallery-plugin.php:127
25
+ #: gallery-plugin.php:137
26
  msgid "Galleries"
27
  msgstr "Галереи"
28
 
29
+ #: gallery-plugin.php:128
30
+ #: gallery-plugin.php:659
31
  msgid "Gallery"
32
  msgstr "Галерея"
33
 
34
  #: gallery-plugin.php:129
35
+ msgid "Add a Gallery"
36
+ msgstr "Добавить новую галерею"
37
 
38
  #: gallery-plugin.php:130
39
  msgid "Add New Gallery"
52
  msgstr "Просмотреть галерею"
53
 
54
  #: gallery-plugin.php:134
55
+ msgid "Find a Gallery"
56
+ msgstr "Редактировать галерею"
57
 
58
  #: gallery-plugin.php:135
59
+ msgid "No Gallery found"
60
  msgstr "Ни одной галереи не найдено"
61
 
62
  #: gallery-plugin.php:192
68
  msgstr "Шорткод Для Галереи"
69
 
70
  #: gallery-plugin.php:209
71
+ msgid "The gallery temp directory (gallery-plugin/upload/files) is not available for record on your webserver. Please use the standard WP functionality to upload images (media library)"
72
+ msgstr "Каталог галереи для сохранения временных файлов (gallery-plugin/upload/files) закрыт для записи на вашем веб-сервере. Пожалуйста, воспользуйтесь стандартным функционалом WP для загрузки изображения (медиа-библиотека)"
 
 
 
 
 
 
73
 
74
  #: gallery-plugin.php:213
75
+ msgid "Choose an image for upload:"
76
  msgstr "Выбрать файлы для загрузки:"
77
 
78
  #: gallery-plugin.php:218
80
  msgstr "Пожалуйста, включите javascript для использования загрузчика файлов."
81
 
82
  #: gallery-plugin.php:225
83
+ msgid "Allow the download link for all images in this gallery"
84
  msgstr "Разрешить ссылку для загрузки для всех изображений в этой галерее"
85
 
86
  #: gallery-plugin.php:226
87
+ msgid "Please use the drag and drop function to change an order of the images displaying and do not forget to save the post."
88
+ msgstr "Воспользуйтесь перетаскиванием, чтобы изменить порядок отображения изображений и не забудьте сохранить пост."
 
 
89
 
90
  #: gallery-plugin.php:228
91
+ msgid "Please make a choice"
92
+ msgstr "Пожалуйста, выберите"
93
 
94
+ #: gallery-plugin.php:228
95
+ #: gallery-plugin.php:856
96
+ msgid "Sort images by"
97
  msgstr "Изображения сортируются по"
98
 
99
  #: gallery-plugin.php:228
100
+ msgid "sort images"
101
+ msgstr "сортировать изображения"
102
 
103
  #: gallery-plugin.php:228
104
+ msgid "on the plugin settings page ("
105
+ msgstr "на странице настроек плагина ("
106
 
107
  #: gallery-plugin.php:275
108
+ msgid "URL"
109
+ msgstr "Ссылка"
110
 
111
  #: gallery-plugin.php:275
112
+ msgid "(by click on image <br /> opens a link in a new window)"
113
+ msgstr "(нажатие на изображение открывает <br /> данную ссылку в новом окне браузера)"
 
114
 
115
  #: gallery-plugin.php:276
116
  msgid "Delete"
117
  msgstr "Удалить"
118
 
119
  #: gallery-plugin.php:290
120
+ msgid "You can add a Single Gallery to the page or post by inserting this shortcode into the content"
121
+ msgstr "Вы можете добавить Галерею на вашу страницу или пост, просто скопируйте и поместить этот шорткод в контент поста или страницы:"
 
 
 
 
122
 
123
  #: gallery-plugin.php:292
124
+ msgid "If you want to display a short description containing a screenshot and the link to the Single Gallery Page"
125
+ msgstr "Если вы хотите вывести краткую форму галереи со ссылкой на Single Gallery Page"
 
 
126
 
127
+ #: gallery-plugin.php:476
128
  msgid "Title"
129
  msgstr "Название"
130
 
131
+ #: gallery-plugin.php:477
132
  msgid "Author"
133
  msgstr "Автор"
134
 
135
+ #: gallery-plugin.php:478
136
+ msgid "Photo"
137
  msgstr "Фото"
138
 
139
+ #: gallery-plugin.php:479
140
+ msgid "Publishing"
141
  msgstr "Опубликование"
142
 
143
+ #: gallery-plugin.php:480
144
+ #: gallery-plugin.php:860
145
  msgid "Date"
146
+ msgstr "дата"
147
 
148
+ #: gallery-plugin.php:628
149
  msgid "Activated plugins"
150
  msgstr "Активированные плагины"
151
 
152
+ #: gallery-plugin.php:630
153
+ #: gallery-plugin.php:638
154
+ #: gallery-plugin.php:646
155
  msgid "Read more"
156
  msgstr "Подробнее..."
157
 
158
+ #: gallery-plugin.php:630
159
+ #: gallery-plugin.php:925
160
+ #: gallery-plugin.php:940
161
  msgid "Settings"
162
  msgstr "Настройки"
163
 
164
+ #: gallery-plugin.php:636
165
  msgid "Installed plugins"
166
  msgstr "Установленные плагины"
167
 
168
+ #: gallery-plugin.php:644
169
  msgid "Recommended plugins"
170
  msgstr "Рекомендованные к установке плагины"
171
 
172
+ #: gallery-plugin.php:646
173
  msgid "Download"
174
  msgstr "Скачать"
175
 
176
+ #: gallery-plugin.php:646
177
  #, php-format
178
  msgid "Install %s"
179
  msgstr "Установлено %s"
180
 
181
+ #: gallery-plugin.php:646
182
  msgid "Install now from wordpress.org"
183
  msgstr "Установить с wordpress.org"
184
 
185
+ #: gallery-plugin.php:648
186
+ msgid "If you have any questions, please feel free to contact us via plugin@bestwebsoft.com or fill out the contact form on our website"
187
+ msgstr "Если у вас есть какие-то впросы, обращайтесь на plugin@bestwebsoft.com или заполните контактную форму на нашем сайте"
 
 
 
 
188
 
189
+ #: gallery-plugin.php:686
190
+ msgid "See images &raquo;"
191
  msgstr "Смотреть фотографии &raquo;"
192
 
193
+ #: gallery-plugin.php:785
194
+ msgid "Settings are saved"
195
  msgstr "Опции сохранены"
196
 
197
+ #: gallery-plugin.php:799
198
+ msgid "Gallery Settings"
199
  msgstr "Настройки Галереи"
200
 
201
+ #: gallery-plugin.php:802
202
+ msgid "If you would like to add a Single Gallery to your page or post, just copy and paste this shortcode into your post or page:"
203
+ msgstr "Если вы хотели бы добавить Галерею на вашу страницу или пост, просто скопируйте и поместите этот шорткод в контент поста или страницы:"
 
 
 
 
204
 
205
+ #: gallery-plugin.php:806
206
+ msgid "Image size for the album cover"
207
+ msgstr "Размер изображения для обложки альбома галереи"
208
 
209
+ #: gallery-plugin.php:808
210
+ #: gallery-plugin.php:816
211
+ msgid "Image size"
212
+ msgstr "Название размера изображения"
213
 
214
+ #: gallery-plugin.php:809
215
+ #: gallery-plugin.php:817
216
  msgid "Width (in px)"
217
  msgstr "Ширина (в px)"
218
 
219
+ #: gallery-plugin.php:810
220
+ #: gallery-plugin.php:818
221
  msgid "Height (in px)"
222
  msgstr "Высота (в px)"
223
 
224
+ #: gallery-plugin.php:814
225
+ msgid "Gallery image size"
226
  msgstr "Размер изображений Галереи"
227
 
 
 
 
 
 
 
 
 
228
  #: gallery-plugin.php:822
229
+ msgid "WordPress will create a new thumbnail with the specified dimensions when you upload a new photo."
230
+ msgstr "WordPress создаст новую миниатюру с заданными размерами при загрузке новой фотографии."
231
 
232
  #: gallery-plugin.php:825
233
+ msgid "Images with border"
234
+ msgstr "Изображения с рамкой"
235
+
236
+ #: gallery-plugin.php:828
237
  msgid "Border width in px, just numbers"
238
+ msgstr "Ширина рамки в px, только числа"
239
 
240
+ #: gallery-plugin.php:830
241
+ #: gallery-plugin.php:832
242
+ msgid "Select a border color"
243
+ msgstr "Выберите цвет рамки"
244
 
245
+ #: gallery-plugin.php:838
246
+ msgid "Number of images in the row"
247
  msgstr "Количество изображений в строке"
248
 
249
+ #: gallery-plugin.php:844
250
  msgid "Start slideshow"
251
  msgstr "Начать слайдшоу"
252
 
253
+ #: gallery-plugin.php:850
254
  msgid "Slideshow interval"
255
  msgstr "Интервал времени при показе слайдшоу"
256
 
257
+ #: gallery-plugin.php:858
258
+ msgid "Attachment ID"
259
  msgstr "id изображения"
260
 
261
+ #: gallery-plugin.php:859
262
+ msgid "Image Name"
263
  msgstr "названию изображения"
264
 
265
+ #: gallery-plugin.php:861
266
+ msgid "Sorting order (the input field for sorting order in the Insert / Upload Media Gallery dialog)"
267
+ msgstr "сортировка по порядку (поле для ввода порядка сортировки в диалоге Insert / Upload Media Gallery)"
 
 
 
 
 
 
 
 
268
 
269
+ #: gallery-plugin.php:862
270
+ msgid "Random"
271
  msgstr "произвольно"
272
 
273
+ #: gallery-plugin.php:866
274
+ msgid "Sort images"
275
  msgstr "Сортировать изображения"
276
 
277
+ #: gallery-plugin.php:868
278
  msgid "ASC (ascending order from lowest to highest values - 1, 2, 3; a, b, c)"
279
+ msgstr "ASC (в порядке возрастания от наименьшего до наибольшего значения - 1, 2, 3, а, б, в)"
 
 
280
 
281
+ #: gallery-plugin.php:869
282
+ msgid "DESC (descending order from highest to lowest values - 3, 2, 1; c, b, a)"
283
+ msgstr "DESC (по убыванию от самого высокого до самого низкого значения - 3, 2, 1, C, B)"
 
 
 
284
 
285
+ #: gallery-plugin.php:873
286
+ msgid "Display text above the image"
287
+ msgstr "Отображение текста над изображением"
288
 
289
+ #: gallery-plugin.php:875
290
  msgid "If you want to display text just in a lightbox"
291
+ msgstr "Если вы хотите отображать текст только в лайтбоксе"
292
 
293
+ #: gallery-plugin.php:879
294
+ msgid "Display the Back link"
295
  msgstr "Отображать ссылку Вернуться"
296
 
297
+ #: gallery-plugin.php:885
298
+ msgid "Display the Back link in the shortcode"
299
  msgstr "Отображаться ссылку Вернуться в шорткоде"
300
 
301
+ #: gallery-plugin.php:891
302
+ msgid "The Back link text"
303
  msgstr "Текст для ссылки Вернуться"
304
 
305
+ #: gallery-plugin.php:897
306
+ msgid "The Back link URL"
307
+ msgstr "URL для ссылки Вернуться"
 
308
 
309
+ #: gallery-plugin.php:899
310
  msgid "Gallery page (Page with Gallery Template)"
311
+ msgstr "Страница галереи (Страница с Gallery Template)"
312
 
313
+ #: gallery-plugin.php:901
314
  msgid "(Full URL to custom page)"
315
+ msgstr "(Полная ссылка на пользовательскую страницу)"
316
 
317
+ #: gallery-plugin.php:905
318
+ msgid "The Read More link text"
319
+ msgstr "Текст для ссылки Вернуться"
320
 
321
+ #: gallery-plugin.php:913
322
  msgid "Save Changes"
323
  msgstr "Сохранить изменения"
324
 
325
+ #: gallery-plugin.php:926
326
  msgid "FAQ"
327
  msgstr "FAQ"
328
 
329
+ #: gallery-plugin.php:927
330
  msgid "Support"
331
  msgstr "Поддержка"
332
 
333
+ #: gallery-plugin.php:1134
334
+ #: template/gallery-single-template.php:76
335
+ msgid "Sorry, nothing found."
336
  msgstr "Извините, ничего не найдено."
337
 
338
+ #: gallery-plugin.php:1156
339
+ #: template/gallery-single-template.php:101
340
+ msgid "Download high resolution image"
341
  msgstr "Скачать изображение в высоком разрешении"
342
 
343
  #: template/gallery-single-template.php:101
344
+ msgid "Image"
345
  msgstr "Изображение"
346
 
347
+ #~ msgid "Label for Read More link"
348
+ #~ msgstr "Текст для ссылки Читать далее"
349
+
350
+ #, fuzzy
351
+ #~ msgid "URL for Return link"
352
+ #~ msgstr "Текст для ссылки Вернуться"
353
+ #~ msgid "Add New"
354
+ #~ msgstr "Добавить галерею"
355
+ #~ msgid "Search Galleries"
356
+ #~ msgstr "Поиск галереи"
357
+ #~ msgid "Attachments order by"
358
+ #~ msgstr "Изображения сортируются по"
359
+ #~ msgid "attachments order"
360
+ #~ msgstr "Сортировать изображения"
361
+ #~ msgid "Link URL"
362
+ #~ msgstr "Ссылка урл"
363
+ #~ msgid "The size of the cover album for gallery"
364
+ #~ msgstr "Размер изображения для обложки альбома галереи"
365
+ #~ msgid "Size for gallery image"
366
+ #~ msgstr "Размер изображений Галереи"
367
+ #~ msgid "attachment title"
368
+ #~ msgstr "названию изображения"
369
+ #~ msgid "date"
370
+ #~ msgstr "дате"
371
+ #~ msgid "Attachments order"
372
+ #~ msgstr "Сортировать изображения"
373
+ #~ msgid "Label for Return link"
374
+ #~ msgstr "Текст для ссылки Вернуться"
375
  #~ msgid "Random order"
376
  #~ msgstr "Произвольная сортировка"
377
 
 
 
languages/gallery-zh_CN.mo CHANGED
File without changes
languages/gallery-zh_CN.po CHANGED
File without changes
readme.txt CHANGED
@@ -4,36 +4,36 @@ Donate link: https://www.2checkout.com/checkout/purchase?sid=1430388&quantity=10
4
  Tags: gallery, image, gallery image, album, foto, fotoalbum, website gallery, multiple pictures, pictures, photo, photoalbum, photogallery
5
  Requires at least: 3.0
6
  Tested up to: 3.5.1
7
- Stable tag: 3.8.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- This plugin allows you to implement gallery page into your web site.
12
 
13
  == Description ==
14
 
15
- This plugin makes it possible to implement as many galleries as you want into your website. You can add multiple pictures and description for each gallery, show them all at one page, view each one separately. Moreover, it's possible to upload HQ pictures.
16
 
17
  <a href="http://wordpress.org/extend/plugins/gallery-plugin/faq/" target="_blank">FAQ</a>
18
  <a href="http://bestwebsoft.com/plugin/gallery-plugin/" target="_blank">Support</a>
19
 
20
  = Features =
21
 
22
- * Actions: Create any quantity of the albums in gallery.
23
  * Description: Add description to each album.
24
- * Actions: Possibility to set featured image as cover of the album.
25
- * Actions: Possibility to load any number of photos to each album in the gallery.
26
- * Actions: Possibility to add Single Gallery to your page or post with shortcode.
27
- * Actions: Option to make the sorting settings of attachments in the admin panel.
28
- * Caption: Add caption to each photo in the album.
29
- * Display: You can select dimensions of the thumbnails for the cover of the album as well as for photos in the album.
30
- * Display: A possibility to select a number of the photos for the separate page of album of the gallery which will be placed in one line.
31
- * Slideshow: User can review all photos in album in full size and in slideshow.
32
 
33
  = Translation =
34
 
35
  * Brazilian Portuguese (pt_BR) (thanks to DJIO, www.djio.com.br)
36
- * Chinese (zh_CN) (thanks to <a herf="mailto:mibcxb@gmail.com">Xiaobo Chen</a>)
37
  * Czech (cs_CZ) (thanks to Josef Sukdol)
38
  * Dutch (nl_NL) (thanks to <a href="ronald@hostingu.nl">HostingU, Ronald Verheul</a>)
39
  * French (fr_FR) (thanks to Didier, <a href="lcapronnier@yahoo.com">L Capronnier</a>)
@@ -50,48 +50,51 @@ This plugin makes it possible to implement as many galleries as you want into yo
50
  * Spanish (es) (thanks to Victor Garcia)
51
  * Ukrainian (uk_UA)(thanks to Ted Mosby)
52
 
53
- If you create your own language pack or update an existing one, you can send <a href="http://codex.wordpress.org/Translating_WordPress" target="_blank">the text in PO and MO files</a> for <a href="http://bestwebsoft.com/" target="_blank">BWS</a> and we'll add it to the plugin. You can download the latest version of the program for work with PO and MO files <a href="http://www.poedit.net/download.php" target="_blank">Poedit</a>.
54
 
55
  = Technical support =
56
 
57
- Dear users, if you have any questions or propositions regarding our plugins (current options, new options, current issues) please feel free to contact us. Please note that we accept requests in English only. All messages on another languages wouldn't be accepted.
 
 
 
 
58
 
59
- Also, emails which are reporting about plugin's bugs are accepted for investigation and fixing. Your request must contain URL of the website, issues description and WordPress admin panel access. Plugin customization based on your Wordpress theme is a paid service (standard price is $10, but it could be higer and depends on the complexity of requested changes). We will analize existing issue and make necessary changes after 100% pre-payment.All these paid changes and modifications could be included to the next version of plugin and will be shared for all users like an integral part of the plugin. Free fixing services will be provided for user who send translation on their native language (this should be a new translation of a certain plugin, and you can check available translations on the official plugin page).
60
 
61
  == Installation ==
62
 
63
- 1. Upload `Gallery` folder to the directory `/wp-content/plugins/`.
64
- 2. Activate the plugin through the 'Plugins' menu in WordPress.
65
- 3. Please check if you have the `gallery-template.php` template file as well as `gallery-single-template.php` template file in your templates directory. If you are not able to find these files, then just copy it from `/wp-content/plugins/gallery/template/` directory to your templates directory.
66
 
67
  == Frequently Asked Questions ==
68
 
69
  = I cannot view my Gallery page =
70
 
71
- 1. First of all, you need to create your first Gallery page and choose 'Gallery' from the list of available templates (which will be used for displaying our gallery).
72
- 2. If you cannot find 'Gallery' in the list of available templates, then just copy it from `/wp-content/plugins/gallery-plugin/template/` directory to your templates directory.
73
 
74
- = How to use plugin? =
75
 
76
- 1. Choose 'Add New' from the 'Galleries' menu and fill out your page.
77
- 2. Upload pictures by using an uploader in the bottom of the page.
78
  3. Save the page.
79
 
80
  = How to add an image? =
81
 
82
- - Choose the necessary gallery from the list on the Galleries page in admin section (or create a new gallery - choose 'Add New' from the 'Galleries' menu).
83
- - Use the option 'Upload a file' available in the uploader, choose the necessary pictures and click 'Open'
84
  - The files uploading process will start.
85
  - Once all pictures are uploaded, please save the page.
86
  - If you see the message 'Please enable JavaScript to use the file uploader.', you should enable JavaScript in your browser.
87
 
88
- = How to add many image? =
89
 
90
- The multiple files upload is supported by all modern browsers except Internet Explorer.
91
 
92
- = I'm getting the following error: Fatal error: Call to undefined function get_post_thumbnail_id(). What am I to do? ? =
93
 
94
- This error says that your theme doesn't support thumbnail option, in order to add this option please find 'functions.php' file in your theme and add the following strings to this file:
95
 
96
  `add_action( 'after_setup_theme', 'theme_setup' );
97
 
@@ -99,43 +102,47 @@ function theme_setup() {
99
  add_theme_support( 'post-thumbnails' );
100
  }`
101
 
102
- After that your theme will support thumbnail option and the error won't display again.
103
 
104
- = How to change image order on single gallery page? =
105
 
106
- 1. Please open the menu "Galleries" and choose random gallery from the list. You should be redirected to the gallery editing page.
107
- Please use drag and drop function to change the order of the output of images and do not forget to save post.
108
- Please do not forget to select `Attachments order by` -> `attachments order` in the settings of the plugin (page http://your_domain/wp-admin/admin.php?page=gallery-plugin.php)
109
 
110
- 2. Please open the menu "Galleries" and choose random gallery from the list. You should be redirected to the gallery editing page.
111
- There will be one or several media upload icons between the title and content adding blocks. Please choose any icon.
112
- After that you'll see a popup window with three or four tabs.
113
- Choose gallery tab and there'll be displayed attached files which are related to this gallery.
114
- You can change their order using drag'n'drop method.
115
- Just setup a necessary order and click 'Save' button.
116
 
117
  == Screenshots ==
118
 
119
  1. Gallery Admin page.
120
- 2. Galleries albums page on frontend.
121
- 3. Gallery Options page in admin panel.
122
- 4. Single gallery page.
123
- 5. PrettyPhoto pop-up window with images from the album.
124
 
125
  == Changelog ==
126
 
 
 
 
 
127
  = V3.8.6 - 26.02.2013 =
128
  * NEW : Chinese language file is added to the plugin.
129
 
130
  = V3.8.5 - 14.02.2013 =
131
- * Update : We updated displaying fancybox for iPhone and iPad.
132
  * Update : We updated all functionality for wordpress 3.5.1.
133
 
134
  = V3.8.4 - 25.01.2013 =
135
- * Update : French language file was updated.
136
 
137
  = V3.8.3 - 04.01.2013 =
138
- * Bugfix : The bug with the ability to order images in a single gallery page was fixed.
139
 
140
  = V3.8.2 - 03.01.2013 =
141
  * Bugfix : The bug with drag'n drop and left admin's panel menu animations when hovered was fixed.
@@ -257,6 +264,9 @@ Just setup a necessary order and click 'Save' button.
257
 
258
  == Upgrade Notice ==
259
 
 
 
 
260
  = V3.8.6 =
261
  Chinese language file is added to the plugin.
262
 
4
  Tags: gallery, image, gallery image, album, foto, fotoalbum, website gallery, multiple pictures, pictures, photo, photoalbum, photogallery
5
  Requires at least: 3.0
6
  Tested up to: 3.5.1
7
+ Stable tag: 3.8.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ This plugin allows you to implement a gallery page into your website.
12
 
13
  == Description ==
14
 
15
+ This plugin makes it possible to implement as many galleries as you want into your website. You can add multiple pictures and description for each gallery, show them all at one page, view each one separately. Moreover, you can upload HQ images.
16
 
17
  <a href="http://wordpress.org/extend/plugins/gallery-plugin/faq/" target="_blank">FAQ</a>
18
  <a href="http://bestwebsoft.com/plugin/gallery-plugin/" target="_blank">Support</a>
19
 
20
  = Features =
21
 
22
+ * Actions: Create any amount of albums in the gallery.
23
  * Description: Add description to each album.
24
+ * Actions: Set a featured image as an album cover.
25
+ * Actions: Upoad any number of photos to each album in the gallery.
26
+ * Actions: Add Single Gallery to your page or post using a shortcode.
27
+ * Actions: Attachment sorting settings in the admin panel.
28
+ * Caption: Add a caption to each photo in the album.
29
+ * Display: Change the size of album cover thumbnails and photos in the album.
30
+ * Display: Choose a number of pictures to display in one row in the gallery album.
31
+ * Slideshow: View pictures as a slide show and in a full size.
32
 
33
  = Translation =
34
 
35
  * Brazilian Portuguese (pt_BR) (thanks to DJIO, www.djio.com.br)
36
+ * Chinese (zh_CN) (thanks to <a href="mailto:mibcxb@gmail.com">Xiaobo Chen</a>)
37
  * Czech (cs_CZ) (thanks to Josef Sukdol)
38
  * Dutch (nl_NL) (thanks to <a href="ronald@hostingu.nl">HostingU, Ronald Verheul</a>)
39
  * French (fr_FR) (thanks to Didier, <a href="lcapronnier@yahoo.com">L Capronnier</a>)
50
  * Spanish (es) (thanks to Victor Garcia)
51
  * Ukrainian (uk_UA)(thanks to Ted Mosby)
52
 
53
+ If you would like to create your own language pack or update the existing one, you can send <a href="http://codex.wordpress.org/Translating_WordPress" target="_blank">the text of PO and MO files</a> for <a href="http://bestwebsoft.com/" target="_blank">BWS</a> and we'll add it to the plugin. You can download the latest version of the program for work with PO and MO files <a href="http://www.poedit.net/download.php" target="_blank">Poedit</a>.
54
 
55
  = Technical support =
56
 
57
+ Dear users, our plugins are available for free download. If you have any questions or recommendations regarding the functionality of our plugins (existing options, new options, current issues), please feel free to contact us. Please note that we accept requests in English only. All messages in another languages won't be accepted.
58
+
59
+ If you notice any bugs in the plugins, you can notify us about it and we'll investigate and fix the issue then. Your request should contain URL of the website, issues description and WordPress admin panel credentials.
60
+ Moreover we can customize the plugin according to your requirements. It's a paid service (as a rule it costs $40, but the price can vary depending on the amount of the necessary changes and their complexity). Please note that we could also include this or that feature (developed for you) in the next release and share with the other users then.
61
+ We can fix some things for free for the users who provide translation of our plugin into their native language (this should be a new translation of a certain plugin, you can check available translations on the official plugin page).
62
 
 
63
 
64
  == Installation ==
65
 
66
+ 1. Upload the `Gallery` folder to the directory `/wp-content/plugins/`.
67
+ 2. Activate the plugin using the 'Plugins' menu in WordPress.
68
+ 3. Please check if you have the template file `gallery-template.php` as well as the template `gallery-single-template.php` in the templates directory. If you are can't find these files, then just copy them from the directory `/wp-content/plugins/gallery/template/` to your templates directory.
69
 
70
  == Frequently Asked Questions ==
71
 
72
  = I cannot view my Gallery page =
73
 
74
+ 1. First of all, you should create your first Gallery page and select 'Gallery' in the list of available templates (it will be used for displaying the Gallery).
75
+ 2. If you cannot find 'Gallery' in the list of available templates, then just copy it from the directory `/wp-content/plugins/gallery-plugin/template/` to your templates directory.
76
 
77
+ = How to use the plugin? =
78
 
79
+ 1. Click 'Add New' in the 'Galleries' menu and fill out your page.
80
+ 2. Upload pictures via the uploader at the bottom of the page.
81
  3. Save the page.
82
 
83
  = How to add an image? =
84
 
85
+ - Choose the necessary gallery in the list on the Galleries page in the admin section (or create a new gallery by clicking 'Add New' in the 'Galleries' menu).
86
+ - Use the option 'Upload a file' in the uploader, choose the necessary pictures and click 'Open'
87
  - The files uploading process will start.
88
  - Once all pictures are uploaded, please save the page.
89
  - If you see the message 'Please enable JavaScript to use the file uploader.', you should enable JavaScript in your browser.
90
 
91
+ = How to add many images? =
92
 
93
+ Multiple files upload is supported by all modern browsers except Internet Explorer.
94
 
95
+ = I'm getting the following error: "Fatal error: Call to undefined function get_post_thumbnail_id()". What should I do? =
96
 
97
+ This error means that your theme doesn't support thumbnail option, in order to add this option please find the file 'functions.php' in your theme and add the following strings to this file:
98
 
99
  `add_action( 'after_setup_theme', 'theme_setup' );
100
 
102
  add_theme_support( 'post-thumbnails' );
103
  }`
104
 
105
+ After that your theme will support thumbnail option and the error will disappear.
106
 
107
+ = How to change image order on the single gallery page? =
108
 
109
+ 1. Please open the menu "Galleries" and choose random gallery from the list. It will take you to the gallery editing page.
110
+ Please use the drag and drop function to change the order of the images and do not forget to save the post.
111
+ Please do not forget to select `Attachments order by` -> `attachments order` in the plugin settings (http://your_domain/wp-admin/admin.php?page=gallery-plugin.php)
112
 
113
+ 2. Please go to the "Galleries" menu and select random gallery in the list. It will take you to the gallery editing page.
114
+ There will be one or several media upload icons between the title and the content blocks. Please choose any icon.
115
+ After that you'll see a popup window containing three or four tabs.
116
+ Go to the Gallery tab and you will see attachments related to this gallery.
117
+ You can change their order using the drag and drop option.
118
+ Just set an order and click the 'Save' button.
119
 
120
  == Screenshots ==
121
 
122
  1. Gallery Admin page.
123
+ 2. Gallery albums page in the front-end.
124
+ 3. Gallery Options page in the admin panel.
125
+ 4. Single Gallery page.
126
+ 5. PrettyPhoto pop-up window containing the album images.
127
 
128
  == Changelog ==
129
 
130
+ = V3.8.7 - 10.04.2013 =
131
+ * NEW : English language file is updated in the plugin.
132
+ * Bugfix : We fixed the bug of deleting images.
133
+
134
  = V3.8.6 - 26.02.2013 =
135
  * NEW : Chinese language file is added to the plugin.
136
 
137
  = V3.8.5 - 14.02.2013 =
138
+ * Update : We updated th fancybox displaying for iPhone and iPad.
139
  * Update : We updated all functionality for wordpress 3.5.1.
140
 
141
  = V3.8.4 - 25.01.2013 =
142
+ * Update : French language file is updated.
143
 
144
  = V3.8.3 - 04.01.2013 =
145
+ * Bugfix : We fixed the bug of image order on the Signle Gallery page.
146
 
147
  = V3.8.2 - 03.01.2013 =
148
  * Bugfix : The bug with drag'n drop and left admin's panel menu animations when hovered was fixed.
264
 
265
  == Upgrade Notice ==
266
 
267
+ = V3.8.7 =
268
+ English language file is updated in the plugin. We fixed the bug of deleting images.
269
+
270
  = V3.8.6 =
271
  Chinese language file is added to the plugin.
272
 
screenshot-1.jpg CHANGED
Binary file
screenshot-3.jpg CHANGED
Binary file
template/gallery-single-template.php CHANGED
@@ -73,7 +73,7 @@
73
  <div class="clear"></div>
74
  <?php endwhile; else: ?>
75
  <div class="gallery_box_single">
76
- <p class="not_found"><?php _e('Sorry - nothing to found.', 'gallery'); ?></p>
77
  </div>
78
  <?php endif; ?>
79
  <?php if( 1 == $gllr_options['return_link'] ) {
@@ -98,7 +98,7 @@
98
  'speedIn' : 500,
99
  'speedOut' : 300,
100
  'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
101
- return '<span id="fancybox-title-inside">' + (title.length ? title + '<br />' : '') + '<?php _e( "Image ", "gallery"); ?>' + (currentIndex + 1) + ' / ' + currentArray.length + '</span><?php if( get_post_meta( $post->ID, 'gllr_download_link', true ) != '' ){?><br /><a href="'+$(currentOpts.orig).attr('rel')+'" target="_blank"><?php echo __('Download High resolution image', 'gallery'); ?> </a><?php } ?>';
102
  }<?php if( $gllr_options['start_slideshow'] == 1 ) { ?>,
103
  'onComplete': function() {
104
  clearTimeout(jQuery.fancybox.slider);
73
  <div class="clear"></div>
74
  <?php endwhile; else: ?>
75
  <div class="gallery_box_single">
76
+ <p class="not_found"><?php _e('Sorry, nothing found.', 'gallery'); ?></p>
77
  </div>
78
  <?php endif; ?>
79
  <?php if( 1 == $gllr_options['return_link'] ) {
98
  'speedIn' : 500,
99
  'speedOut' : 300,
100
  'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
101
+ return '<span id="fancybox-title-inside">' + (title.length ? title + '<br />' : '') + '<?php _e( "Image", "gallery"); ?> ' + (currentIndex + 1) + ' / ' + currentArray.length + '</span><?php if( get_post_meta( $post->ID, 'gllr_download_link', true ) != '' ){?><br /><a href="'+$(currentOpts.orig).attr('rel')+'" target="_blank"><?php echo __('Download high resolution image', 'gallery'); ?> </a><?php } ?>';
102
  }<?php if( $gllr_options['start_slideshow'] == 1 ) { ?>,
103
  'onComplete': function() {
104
  clearTimeout(jQuery.fancybox.slider);