Gallery by BestWebSoft - Version 4.1.2

Version Description

  • 25.12.2013 =
  • Update : The French language file is updated.
  • Update : The Chinese language file is updated.
  • Bugfix : We fixed the bug of download link title.
Download this release

Release Info

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

Code changes from version 4.1.1 to 4.1.2

bws_menu/bws_menu.php CHANGED
@@ -33,7 +33,8 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
33
  array( 'google-one\/google-plus-one.php', 'Google +1', 'http://bestwebsoft.com/plugin/google-plus-one/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version, 'http://bestwebsoft.com/plugin/google-plus-one/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download', '/wp-admin/plugin-install.php?tab=search&type=term&s=Google+%2B1+bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=google-plus-one.php' ),
34
  array( 'relevant\/related-posts-plugin.php', 'Related Posts Plugin', 'http://bestwebsoft.com/plugin/related-posts-plugin/?k=73fb737037f7141e66415ec259f7e426&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version, 'http://bestwebsoft.com/plugin/related-posts-plugin/?k=73fb737037f7141e66415ec259f7e426&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download', '/wp-admin/plugin-install.php?tab=search&s=Related+Posts+Plugin+Bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=related-posts-plugin.php' ),
35
  array( 'contact-form-to-db\/contact_form_to_db.php', 'Contact Form to DB', 'http://bestwebsoft.com/plugin/contact-form-to-db/?k=ba3747d317c2692e4136ca096a8989d6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version, 'http://bestwebsoft.com/plugin/contact-form-to-db/?k=ba3747d317c2692e4136ca096a8989d6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download', '/wp-admin/plugin-install.php?tab=search&s=Contact+Form+to+DB+bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=cntctfrmtdb_settings' ),
36
- array( 'pdf-print\/pdf-print.php', 'PDF & Print', 'http://bestwebsoft.com/plugin/pdf-print/?k=bfefdfb522a4c0ff0141daa3f271840c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version, 'http://bestwebsoft.com/plugin/pdf-print/?k=bfefdfb522a4c0ff0141daa3f271840c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download', '/wp-admin/plugin-install.php?tab=search&s=PDF+Print+Bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=pdf-print.php' )
 
37
  );
38
  foreach ( $array_plugins as $plugins ) {
39
  if ( 0 < count( preg_grep( "/" . $plugins[0] . "/", $active_plugins ) ) || is_plugin_active_for_network( str_replace( '\\', '', $plugins[0] ) ) ) {
33
  array( 'google-one\/google-plus-one.php', 'Google +1', 'http://bestwebsoft.com/plugin/google-plus-one/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version, 'http://bestwebsoft.com/plugin/google-plus-one/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download', '/wp-admin/plugin-install.php?tab=search&type=term&s=Google+%2B1+bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=google-plus-one.php' ),
34
  array( 'relevant\/related-posts-plugin.php', 'Related Posts Plugin', 'http://bestwebsoft.com/plugin/related-posts-plugin/?k=73fb737037f7141e66415ec259f7e426&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version, 'http://bestwebsoft.com/plugin/related-posts-plugin/?k=73fb737037f7141e66415ec259f7e426&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download', '/wp-admin/plugin-install.php?tab=search&s=Related+Posts+Plugin+Bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=related-posts-plugin.php' ),
35
  array( 'contact-form-to-db\/contact_form_to_db.php', 'Contact Form to DB', 'http://bestwebsoft.com/plugin/contact-form-to-db/?k=ba3747d317c2692e4136ca096a8989d6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version, 'http://bestwebsoft.com/plugin/contact-form-to-db/?k=ba3747d317c2692e4136ca096a8989d6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download', '/wp-admin/plugin-install.php?tab=search&s=Contact+Form+to+DB+bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=cntctfrmtdb_settings' ),
36
+ array( 'pdf-print\/pdf-print.php', 'PDF & Print', 'http://bestwebsoft.com/plugin/pdf-print/?k=bfefdfb522a4c0ff0141daa3f271840c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version, 'http://bestwebsoft.com/plugin/pdf-print/?k=bfefdfb522a4c0ff0141daa3f271840c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download', '/wp-admin/plugin-install.php?tab=search&s=PDF+Print+Bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=pdf-print.php' ),
37
+ array( 'donate-button\/donate.php', 'Donate', 'http://bestwebsoft.com/plugin/donate/?k=a8b2e2a56914fb1765dd20297c26401b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version, 'http://bestwebsoft.com/plugin/donate/?k=a8b2e2a56914fb1765dd20297c26401b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version . '#download', '/wp-admin/plugin-install.php?tab=search&s=Donate+Bestwebsoft&plugin-search-input=Search+Plugins', 'admin.php?page=donate.php' )
38
  );
39
  foreach ( $array_plugins as $plugins ) {
40
  if ( 0 < count( preg_grep( "/" . $plugins[0] . "/", $active_plugins ) ) || is_plugin_active_for_network( str_replace( '\\', '', $plugins[0] ) ) ) {
css/stylesheet.css CHANGED
File without changes
gallery-plugin.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Gallery
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: 4.1.1
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
@@ -97,7 +97,7 @@ if ( ! function_exists( 'gllr_admin_error' ) ) {
97
  if ( ( 'gallery' == get_post_type( $post ) || 'gallery' == $post_type ) && ( ! file_exists( get_stylesheet_directory() .'/gallery-template.php' ) || ! file_exists( get_stylesheet_directory() .'/gallery-single-template.php' ) ) )
98
  gllr_plugin_install();
99
  if ( ( 'gallery' == get_post_type( $post ) || 'gallery' == $post_type ) && ( ! file_exists( get_stylesheet_directory() .'/gallery-template.php' ) || ! file_exists( get_stylesheet_directory() .'/gallery-single-template.php' ) ) )
100
- echo '<div class="error"><p><strong>'.__( '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', 'gallery' ).'</strong></p></div>';
101
  }
102
  }
103
 
@@ -272,14 +272,14 @@ if ( ! function_exists( 'gllr_post_custom_box' ) ) {
272
  $image_text = get_post_meta( $page->ID, $key, FALSE );
273
  echo '<li id="'.$page->ID.'" class="gllr_image_block"><div class="gllr_drag">';
274
  $image_attributes = wp_get_attachment_image_src( $page->ID, 'thumbnail' );
275
- 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>';
276
- echo '<br />' . __( "Title", "gallery" ) . '<br /><input type="text" name="gllr_image_text['.$page->ID.']" value="'.get_post_meta( $page->ID, $key, TRUE ).'" class="gllr_image_text" />';
277
- echo '<input type="text" name="gllr_order_text['.$page->ID.']" value="'.$page->menu_order.'" class="gllr_order_text '.( $page->menu_order == 0 ? "hidden" : '' ).'" />';
278
- echo '<br />' . __( "Alt tag", "gallery" ) . '<br /><input type="text" name="gllr_image_alt_tag['.$page->ID.']" value="'.get_post_meta( $page->ID, $alt_tag_key, TRUE ).'" class="gllr_image_alt_tag" />';
279
- 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 opens a link in a new window)", "gallery" ).'</span>';
280
- echo '<a class="gllr_pro_version" href="http://bestwebsoft.com/plugin/gallery-pro/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=' . $plugin_info["Version"] . '&wp_v=' . $wp_version . '" target="_blank" title="'. __( 'This setting is available in Pro version', 'gallery' ).'"><br />'.
281
- '<div class="gllr_pro_version">' . __( "Open the link", "gallery" ).'<br/><input disabled type="radio" value="_self" > '.__( "Current window", "gallery" ).'<br/><input disabled type="radio" value="_blank" > '.__( "New window", "gallery" ).'</div></a>';
282
- echo '<div class="delete"><a href="javascript:void(0);" onclick="img_delete('.$page->ID.');">'.__( "Delete", "gallery" ).'</a><div/>';
283
  echo '</div></li>';
284
  endforeach; ?>
285
  </ul><div style="clear:both;"></div>
@@ -323,11 +323,11 @@ if ( ! function_exists ( 'gllr_save_postdata' ) ) {
323
  while ( list( $key, $val ) = each( $array_file_name ) ) {
324
  $file_name = sanitize_file_name( $val );
325
  if ( file_exists( $uploadFile[$key] ) ){
326
- $uploadFile[$key] = $uploadDir["path"] ."/" . pathinfo( $uploadFile[$key], PATHINFO_FILENAME ).uniqid().".".pathinfo( $uploadFile[$key], PATHINFO_EXTENSION );
327
  }
328
 
329
- if ( copy ( plugin_dir_path( __FILE__ ) ."upload/files/".$file_name, $uploadFile[$key] ) ) {
330
- unlink( plugin_dir_path( __FILE__ ) ."upload/files/".$file_name );
331
  $overrides = array( 'test_form' => false );
332
 
333
  $file = $uploadFile[$key];
@@ -364,10 +364,10 @@ if ( ! function_exists ( 'gllr_save_postdata' ) ) {
364
  "orderby" => "menu_order",
365
  "order" => "ASC",
366
  "post_mime_type" => "image/jpeg,image/gif,image/jpg,image/png",
367
- "post_parent" => $post->ID ));
368
  foreach ( $posts as $page ) {
369
- if( isset( $_REQUEST['gllr_image_text'][$page->ID] ) ) {
370
- $value = $_REQUEST['gllr_image_text'][$page->ID];
371
  if ( get_post_meta( $page->ID, $key, FALSE ) ) {
372
  // Custom field has a value and this custom field exists in database
373
  update_post_meta( $page->ID, $key, $value );
@@ -379,8 +379,8 @@ if ( ! function_exists ( 'gllr_save_postdata' ) ) {
379
  }
380
  }
381
  if ( isset( $_REQUEST['gllr_order_text'] ) ) {
382
- foreach( $_REQUEST['gllr_order_text'] as $key=>$val ){
383
- wp_update_post( array( 'ID'=>$key, 'menu_order'=>$val ) );
384
  }
385
  }
386
  if ( isset( $_REQUEST['gllr_link_url'] ) ) {
@@ -392,10 +392,10 @@ if ( ! function_exists ( 'gllr_save_postdata' ) ) {
392
  "orderby" => "menu_order",
393
  "order" => "ASC",
394
  "post_mime_type" => "image/jpeg,image/gif,image/jpg,image/png",
395
- "post_parent" => $post->ID ));
396
  foreach ( $posts as $page ) {
397
- if( isset( $_REQUEST['gllr_link_url'][$page->ID] ) ) {
398
- $value = $_REQUEST['gllr_link_url'][$page->ID];
399
  if ( get_post_meta( $page->ID, $link_key, FALSE ) ) {
400
  // Custom field has a value and this custom field exists in database
401
  update_post_meta( $page->ID, $link_key, $value );
@@ -417,8 +417,8 @@ if ( ! function_exists ( 'gllr_save_postdata' ) ) {
417
  "post_mime_type" => "image/jpeg,image/gif,image/jpg,image/png",
418
  "post_parent" => $post->ID ));
419
  foreach ( $posts as $page ) {
420
- if( isset( $_REQUEST['gllr_image_alt_tag'][$page->ID] ) ) {
421
- $value = $_REQUEST['gllr_image_alt_tag'][$page->ID];
422
  if ( get_post_meta( $page->ID, $alt_tag_key, FALSE ) ) {
423
  // Custom field has a value and this custom field exists in database
424
  update_post_meta( $page->ID, $alt_tag_key, $value );
@@ -458,10 +458,10 @@ if ( ! function_exists( 'gllr_custom_permalinks' ) ) {
458
  global $wpdb;
459
  $parent = $wpdb->get_var( "SELECT $wpdb->posts.post_name 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" );
460
  if ( ! empty( $parent ) ) {
461
- $newrules['(.+)/'.$parent.'/([^/]+)/?$'] = 'index.php?post_type=gallery&name=$matches[2]&posts_per_page=-1';
462
- $newrules[''.$parent.'/([^/]+)/?$'] = 'index.php?post_type=gallery&name=$matches[1]&posts_per_page=-1';
463
- $newrules[''.$parent.'/page/([^/]+)/?$'] = 'index.php?pagename='.$parent.'&paged=$matches[1]';
464
- $newrules[''.$parent.'/page/([^/]+)?$'] = 'index.php?pagename='.$parent.'&paged=$matches[1]';
465
  } else {
466
  $newrules['(.+)/gallery/([^/]+)/?$'] = 'index.php?post_type=gallery&name=$matches[2]&posts_per_page=-1';
467
  $newrules['gallery/([^/]+)/?$'] = 'index.php?post_type=gallery&name=$matches[1]&posts_per_page=-1';
@@ -527,8 +527,8 @@ if ( ! function_exists( 'gllr_custom_columns' ) ) {
527
  switch ( $column ) {
528
  //case "category":
529
  case "autor":
530
- $author_id=$post->post_author;
531
- echo '<a href="edit.php?post_type=post&amp;author='.$author_id.'">'.get_the_author_meta( 'user_nicename' , $author_id ).'</a>';
532
  break;
533
  case "gallery":
534
  echo count( $row );
@@ -540,7 +540,7 @@ if ( ! function_exists( 'gllr_custom_columns' ) ) {
540
  echo '<a href="javascript:void(0)">No</a>';
541
  break;
542
  case "dates":
543
- echo strtolower( __( date( "F", strtotime( $post->post_date ) ), 'kerksite' ) )." ".date( "j Y", strtotime( $post->post_date ) );
544
  break;
545
  }
546
  }
@@ -565,10 +565,9 @@ if ( ! function_exists( 'the_excerpt_max_charlength' ) ) {
565
  $subex = substr( $excerpt, 0, $charlength-5 );
566
  $exwords = explode( " ", $subex );
567
  $excut = - ( strlen ( $exwords [ count( $exwords ) - 1 ] ) );
568
- if( $excut < 0 ) {
569
  echo substr( $subex, 0, $excut );
570
- }
571
- else {
572
  echo $subex;
573
  }
574
  echo "...";
@@ -583,11 +582,11 @@ if ( ! function_exists( 'gllr_page_css_class' ) ) {
583
  global $wpdb;
584
  $post_type = get_query_var( 'post_type' );
585
  $parent_id = 0;
586
- if( $post_type == "gallery" ) {
587
  $parent_id = $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' AND $wpdb->posts.ID = $wpdb->postmeta.post_id" );
588
  while ( $parent_id ) {
589
  $page = get_page( $parent_id );
590
- if( $page->post_parent > 0 )
591
  $parent_id = $page->post_parent;
592
  else
593
  break;
@@ -595,9 +594,9 @@ if ( ! function_exists( 'gllr_page_css_class' ) ) {
595
  wp_reset_query();
596
  }
597
  if ( $item->ID == $parent_id ) {
598
- array_push( $classes, 'current_page_item' );
599
- }
600
- return $classes;
601
  }
602
  }
603
 
@@ -1171,6 +1170,7 @@ if ( ! function_exists ( 'gllr_wp_head' ) ) {
1171
 
1172
  if ( ! function_exists ( 'gllr_shortcode' ) ) {
1173
  function gllr_shortcode( $attr ) {
 
1174
  extract( shortcode_atts( array(
1175
  'id' => '',
1176
  'display' => 'full'
@@ -1288,7 +1288,8 @@ if ( ! function_exists ( 'gllr_shortcode' ) ) {
1288
  <?php } else { ?>
1289
  <div class="return_link"><a href="<?php echo $gllr_options["return_link_url"]; ?>"><?php echo $gllr_options['return_link_text']; ?></a></div>
1290
  <?php }
1291
- } ?>
 
1292
  <script type="text/javascript">
1293
  (function($) {
1294
  $(document).ready( function() {
@@ -1299,7 +1300,7 @@ if ( ! function_exists ( 'gllr_shortcode' ) ) {
1299
  'speedIn' : 500,
1300
  'speedOut' : 300,
1301
  'titleFormat' : function( title, currentArray, currentIndex, currentOpts ) {
1302
- 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 } ?>';
1303
  }<?php if ( $gllr_options['start_slideshow'] == 1 ) { ?>,
1304
  'onComplete': function() {
1305
  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: 4.1.2
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
97
  if ( ( 'gallery' == get_post_type( $post ) || 'gallery' == $post_type ) && ( ! file_exists( get_stylesheet_directory() .'/gallery-template.php' ) || ! file_exists( get_stylesheet_directory() .'/gallery-single-template.php' ) ) )
98
  gllr_plugin_install();
99
  if ( ( 'gallery' == get_post_type( $post ) || 'gallery' == $post_type ) && ( ! file_exists( get_stylesheet_directory() .'/gallery-template.php' ) || ! file_exists( get_stylesheet_directory() .'/gallery-single-template.php' ) ) )
100
+ echo '<div class="error"><p><strong>' . __( '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', 'gallery' ) . '</strong></p></div>';
101
  }
102
  }
103
 
272
  $image_text = get_post_meta( $page->ID, $key, FALSE );
273
  echo '<li id="'.$page->ID.'" class="gllr_image_block"><div class="gllr_drag">';
274
  $image_attributes = wp_get_attachment_image_src( $page->ID, 'thumbnail' );
275
+ 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>';
276
+ echo '<br />' . __( "Title", "gallery" ) . '<br /><input type="text" name="gllr_image_text['.$page->ID.']" value="' . get_post_meta( $page->ID, $key, TRUE ) . '" class="gllr_image_text" />';
277
+ echo '<input type="text" name="gllr_order_text[' . $page->ID . ']" value="' . $page->menu_order . '" class="gllr_order_text ' . ( $page->menu_order == 0 ? "hidden" : '' ) . '" />';
278
+ echo '<br />' . __( "Alt tag", "gallery" ) . '<br /><input type="text" name="gllr_image_alt_tag[' . $page->ID . ']" value="' . get_post_meta( $page->ID, $alt_tag_key, TRUE ) . '" class="gllr_image_alt_tag" />';
279
+ 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 opens a link in a new window)", "gallery" ) . '</span>';
280
+ echo '<a class="gllr_pro_version" href="http://bestwebsoft.com/plugin/gallery-pro/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=' . $plugin_info["Version"] . '&wp_v=' . $wp_version . '" target="_blank" title="' . __( 'This setting is available in Pro version', 'gallery' ) . '"><br />' .
281
+ '<div class="gllr_pro_version">' . __( "Open the link", "gallery" ) . '<br/><input disabled type="radio" value="_self" > ' . __( "Current window", "gallery" ) . '<br/><input disabled type="radio" value="_blank" > ' . __( "New window", "gallery" ) . '</div></a>';
282
+ echo '<div class="delete"><a href="javascript:void(0);" onclick="img_delete(' . $page->ID . ');">' . __( "Delete", "gallery" ) . '</a><div/>';
283
  echo '</div></li>';
284
  endforeach; ?>
285
  </ul><div style="clear:both;"></div>
323
  while ( list( $key, $val ) = each( $array_file_name ) ) {
324
  $file_name = sanitize_file_name( $val );
325
  if ( file_exists( $uploadFile[$key] ) ){
326
+ $uploadFile[$key] = $uploadDir["path"] . "/" . pathinfo( $uploadFile[ $key ], PATHINFO_FILENAME ).uniqid().".".pathinfo( $uploadFile[$key], PATHINFO_EXTENSION );
327
  }
328
 
329
+ if ( copy ( plugin_dir_path( __FILE__ ) . "upload/files/" . $file_name, $uploadFile[ $key ] ) ) {
330
+ unlink( plugin_dir_path( __FILE__ ) . "upload/files/" . $file_name );
331
  $overrides = array( 'test_form' => false );
332
 
333
  $file = $uploadFile[$key];
364
  "orderby" => "menu_order",
365
  "order" => "ASC",
366
  "post_mime_type" => "image/jpeg,image/gif,image/jpg,image/png",
367
+ "post_parent" => $post->ID ) );
368
  foreach ( $posts as $page ) {
369
+ if ( isset( $_REQUEST['gllr_image_text'][ $page->ID ] ) ) {
370
+ $value = $_REQUEST['gllr_image_text'][ $page->ID ];
371
  if ( get_post_meta( $page->ID, $key, FALSE ) ) {
372
  // Custom field has a value and this custom field exists in database
373
  update_post_meta( $page->ID, $key, $value );
379
  }
380
  }
381
  if ( isset( $_REQUEST['gllr_order_text'] ) ) {
382
+ foreach ( $_REQUEST['gllr_order_text'] as $key => $val ) {
383
+ wp_update_post( array( 'ID' => $key, 'menu_order' => $val ) );
384
  }
385
  }
386
  if ( isset( $_REQUEST['gllr_link_url'] ) ) {
392
  "orderby" => "menu_order",
393
  "order" => "ASC",
394
  "post_mime_type" => "image/jpeg,image/gif,image/jpg,image/png",
395
+ "post_parent" => $post->ID ) );
396
  foreach ( $posts as $page ) {
397
+ if ( isset( $_REQUEST['gllr_link_url'][ $page->ID ] ) ) {
398
+ $value = $_REQUEST['gllr_link_url'][ $page->ID ];
399
  if ( get_post_meta( $page->ID, $link_key, FALSE ) ) {
400
  // Custom field has a value and this custom field exists in database
401
  update_post_meta( $page->ID, $link_key, $value );
417
  "post_mime_type" => "image/jpeg,image/gif,image/jpg,image/png",
418
  "post_parent" => $post->ID ));
419
  foreach ( $posts as $page ) {
420
+ if ( isset( $_REQUEST['gllr_image_alt_tag'][ $page->ID ] ) ) {
421
+ $value = $_REQUEST['gllr_image_alt_tag'][ $page->ID ];
422
  if ( get_post_meta( $page->ID, $alt_tag_key, FALSE ) ) {
423
  // Custom field has a value and this custom field exists in database
424
  update_post_meta( $page->ID, $alt_tag_key, $value );
458
  global $wpdb;
459
  $parent = $wpdb->get_var( "SELECT $wpdb->posts.post_name 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" );
460
  if ( ! empty( $parent ) ) {
461
+ $newrules['(.+)/' . $parent . '/([^/]+)/?$'] = 'index.php?post_type=gallery&name=$matches[2]&posts_per_page=-1';
462
+ $newrules['' . $parent . '/([^/]+)/?$'] = 'index.php?post_type=gallery&name=$matches[1]&posts_per_page=-1';
463
+ $newrules['' . $parent . '/page/([^/]+)/?$'] = 'index.php?pagename=' . $parent . '&paged=$matches[1]';
464
+ $newrules['' . $parent . '/page/([^/]+)?$'] = 'index.php?pagename=' . $parent . '&paged=$matches[1]';
465
  } else {
466
  $newrules['(.+)/gallery/([^/]+)/?$'] = 'index.php?post_type=gallery&name=$matches[2]&posts_per_page=-1';
467
  $newrules['gallery/([^/]+)/?$'] = 'index.php?post_type=gallery&name=$matches[1]&posts_per_page=-1';
527
  switch ( $column ) {
528
  //case "category":
529
  case "autor":
530
+ $author_id = $post->post_author;
531
+ echo '<a href="edit.php?post_type=post&amp;author=' . $author_id . '">' . get_the_author_meta( 'user_nicename' , $author_id ) . '</a>';
532
  break;
533
  case "gallery":
534
  echo count( $row );
540
  echo '<a href="javascript:void(0)">No</a>';
541
  break;
542
  case "dates":
543
+ echo strtolower( __( date( "F", strtotime( $post->post_date ) ), 'kerksite' ) ) . " " . date( "j Y", strtotime( $post->post_date ) );
544
  break;
545
  }
546
  }
565
  $subex = substr( $excerpt, 0, $charlength-5 );
566
  $exwords = explode( " ", $subex );
567
  $excut = - ( strlen ( $exwords [ count( $exwords ) - 1 ] ) );
568
+ if ( $excut < 0 ) {
569
  echo substr( $subex, 0, $excut );
570
+ } else {
 
571
  echo $subex;
572
  }
573
  echo "...";
582
  global $wpdb;
583
  $post_type = get_query_var( 'post_type' );
584
  $parent_id = 0;
585
+ if ( $post_type == "gallery" ) {
586
  $parent_id = $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' AND $wpdb->posts.ID = $wpdb->postmeta.post_id" );
587
  while ( $parent_id ) {
588
  $page = get_page( $parent_id );
589
+ if ( $page->post_parent > 0 )
590
  $parent_id = $page->post_parent;
591
  else
592
  break;
594
  wp_reset_query();
595
  }
596
  if ( $item->ID == $parent_id ) {
597
+ array_push( $classes, 'current_page_item' );
598
+ }
599
+ return $classes;
600
  }
601
  }
602
 
1170
 
1171
  if ( ! function_exists ( 'gllr_shortcode' ) ) {
1172
  function gllr_shortcode( $attr ) {
1173
+ $gllr_download_link_title = addslashes( __( 'Download high resolution image', 'gallery' ) );
1174
  extract( shortcode_atts( array(
1175
  'id' => '',
1176
  'display' => 'full'
1288
  <?php } else { ?>
1289
  <div class="return_link"><a href="<?php echo $gllr_options["return_link_url"]; ?>"><?php echo $gllr_options['return_link_text']; ?></a></div>
1290
  <?php }
1291
+ }
1292
+ ?>
1293
  <script type="text/javascript">
1294
  (function($) {
1295
  $(document).ready( function() {
1300
  'speedIn' : 500,
1301
  'speedOut' : 300,
1302
  'titleFormat' : function( title, currentArray, currentIndex, currentOpts ) {
1303
+ 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 $gllr_download_link_title; ?> </a><?php } ?>';
1304
  }<?php if ( $gllr_options['start_slideshow'] == 1 ) { ?>,
1305
  'onComplete': function() {
1306
  clearTimeout( jQuery.fancybox.slider );
images/Thumbs.db ADDED
Binary file
languages/gallery-bg_BG.mo CHANGED
File without changes
languages/gallery-bg_BG.po CHANGED
File without changes
languages/gallery-de_DE.mo CHANGED
File without changes
languages/gallery-de_DE.po CHANGED
File without changes
languages/gallery-fr_FR.mo CHANGED
Binary file
languages/gallery-fr_FR.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-12-13 14:03+0300\n"
6
- "PO-Revision-Date: 2013-12-13 14:03+0300\n"
7
  "Last-Translator: bestwebsoft.com <plugins@bestwebsoft.com>\n"
8
  "Language-Team: Didier, L Capronnier <lcapronnier@yahoo.com>\n"
9
  "Language: fr_FR\n"
@@ -15,6 +15,8 @@ msgstr ""
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
  "X-Generator: Poedit 1.5.7\n"
 
 
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
  #: gallery-plugin.php:100
@@ -93,7 +95,7 @@ msgid "Please make a choice"
93
  msgstr "Merci de faire un choix"
94
 
95
  #: gallery-plugin.php:231
96
- #: gallery-plugin.php:948
97
  msgid "Sort images by"
98
  msgstr "Trier les images par"
99
 
@@ -103,7 +105,7 @@ msgstr "trier les images"
103
 
104
  #: gallery-plugin.php:231
105
  msgid "on the plugin settings page ("
106
- msgstr "dans les paramètres du plugin ("
107
 
108
  #: gallery-plugin.php:276
109
  #: gallery-plugin.php:505
@@ -163,7 +165,7 @@ msgid "Publishing"
163
  msgstr "Public"
164
 
165
  #: gallery-plugin.php:509
166
- #: gallery-plugin.php:952
167
  msgid "Date"
168
  msgstr "Date"
169
 
@@ -185,7 +187,7 @@ msgstr "Retour à WordPress"
185
 
186
  #: gallery-plugin.php:685
187
  msgid "Plugins page"
188
- msgstr "Page du plugins"
189
 
190
  #: gallery-plugin.php:775
191
  msgid "Settings are saved"
@@ -197,387 +199,358 @@ msgstr "Paramètres de la galerie"
197
 
198
  #: gallery-plugin.php:791
199
  msgid "Notice:"
200
- msgstr ""
201
 
202
  #: gallery-plugin.php:791
203
  msgid "The plugin's settings have been changed. In order to save them please don't forget to click the 'Save Changes' button."
204
- msgstr ""
205
 
206
  #: gallery-plugin.php:792
207
  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:"
208
  msgstr "Si vous voulez ajouter la galerie dans une page ou un article, copier le code court suivant dans le contenu de votre page ou de votre article:"
209
 
210
  #: gallery-plugin.php:794
211
- #, fuzzy
212
  msgid "Please enable JavaScript to use the option to renew images."
213
- msgstr "Merci d'activer JavaScript pour utiliser l'envoi de fichiers."
214
 
215
- #: gallery-plugin.php:804
216
- msgid "Change the way to store your post_meta information for gallery"
217
- msgstr ""
218
-
219
- #: gallery-plugin.php:806
220
- msgid "Update All Info"
221
- msgstr ""
222
-
223
- #: gallery-plugin.php:811
224
- msgid "Updating post_meta information..."
225
- msgstr ""
226
-
227
- #: gallery-plugin.php:812
228
- #, fuzzy
229
- msgid "No gallery item found"
230
- msgstr "Pas de galeries trouvées"
231
-
232
- #: gallery-plugin.php:813
233
- msgid "All info is updated"
234
- msgstr ""
235
-
236
- #: gallery-plugin.php:814
237
- #: gallery-plugin.php:829
238
- msgid "Error."
239
- msgstr ""
240
-
241
- #: gallery-plugin.php:819
242
  msgid "Update images for gallery"
243
- msgstr ""
244
 
245
- #: gallery-plugin.php:821
246
- #, fuzzy
247
  msgid "Update images"
248
- msgstr "trier les images"
249
 
250
- #: gallery-plugin.php:826
251
  msgid "Updating images..."
252
- msgstr ""
253
 
254
- #: gallery-plugin.php:827
255
- #, fuzzy
256
  msgid "No image found"
257
- msgstr "Pas de galeries trouvées"
258
 
259
- #: gallery-plugin.php:828
260
  msgid "All images are updated"
261
- msgstr ""
262
 
263
- #: gallery-plugin.php:835
 
 
 
 
264
  msgid "Image size for the album cover"
265
  msgstr "Taille de la vignette de l'album"
266
 
 
 
267
  #: gallery-plugin.php:837
268
- #: gallery-plugin.php:845
269
- #: gallery-plugin.php:858
270
  msgid "Image size"
271
  msgstr "Taille de l'image"
272
 
273
- #: gallery-plugin.php:838
274
- #: gallery-plugin.php:846
275
  msgid "Width (in px)"
276
  msgstr "Largeur (en pixels)"
277
 
278
- #: gallery-plugin.php:839
279
- #: gallery-plugin.php:847
280
  msgid "Height (in px)"
281
  msgstr "Hauteur (en pixels)"
282
 
283
- #: gallery-plugin.php:843
284
  msgid "Gallery image size"
285
  msgstr "Taille de l'image de la galerie"
286
 
287
- #: gallery-plugin.php:851
288
  msgid "WordPress will create a new thumbnail with the specified dimensions when you upload a new photo."
289
  msgstr "WordPress créera une copie de la miniature avec les dimensions spécifiées quand vous envoyez une nouvelle photo."
290
 
291
- #: gallery-plugin.php:856
292
  msgid "Gallery image size in the lightbox"
293
  msgstr "Taille de l'image de la galerie"
294
 
295
- #: gallery-plugin.php:859
296
  msgid "Max width (in px)"
297
  msgstr "Largeur maximum (en pixels)"
298
 
299
- #: gallery-plugin.php:860
300
  msgid "Max height (in px)"
301
  msgstr "Hauteur maximum (en pixels)"
302
 
303
- #: gallery-plugin.php:861
304
  msgid "Display a full size image in the lightbox"
305
  msgstr "Afficher une image en taille normale dans la boite"
306
 
307
- #: gallery-plugin.php:865
308
  msgid "Crop position"
309
  msgstr "Point de base"
310
 
311
- #: gallery-plugin.php:867
312
  msgid "Horizontal"
313
  msgstr "Horizontale"
314
 
315
- #: gallery-plugin.php:869
316
  msgid "left"
317
  msgstr "gauche"
318
 
319
- #: gallery-plugin.php:870
320
- #: gallery-plugin.php:877
321
  msgid "center"
322
  msgstr "centré"
323
 
324
- #: gallery-plugin.php:871
325
  msgid "right"
326
  msgstr "droite"
327
 
328
- #: gallery-plugin.php:874
329
  msgid "Vertical"
330
  msgstr "Verticale"
331
 
332
- #: gallery-plugin.php:876
333
  msgid "top"
334
  msgstr "haut"
335
 
336
- #: gallery-plugin.php:878
337
  msgid "bottom"
338
  msgstr "bas"
339
 
340
- #: gallery-plugin.php:883
341
  msgid "Lightbox background"
342
  msgstr "Fond de la boite"
343
 
344
- #: gallery-plugin.php:885
345
  msgid "Default"
346
  msgstr "Défaut"
347
 
348
- #: gallery-plugin.php:886
349
  msgid "Background transparency (from 0 to 1)"
350
  msgstr "Transparence du fond (de 0 à 1)"
351
 
352
- #: gallery-plugin.php:888
353
  msgid "Select a background color"
354
  msgstr "Choisir une couleur pour le fond"
355
 
356
- #: gallery-plugin.php:890
357
  msgid "Background color"
358
  msgstr "Couleur du fond"
359
 
360
- #: gallery-plugin.php:897
361
- #: gallery-plugin.php:1042
362
  msgid "If you upgrade to Pro version all your settings and galleries will be saved."
363
- msgstr ""
364
 
365
- #: gallery-plugin.php:902
366
- #: gallery-plugin.php:1047
367
  msgid "This functionality is available in the Pro version of the plugin. For more details, please follow the link"
368
- msgstr "Cette fonction est disponible dans le version pro de ce plugin. Pour plus de détails, suivre le lien"
369
 
370
- #: gallery-plugin.php:911
371
  msgid "Images with border"
372
  msgstr "Image avec bordure"
373
 
374
- #: gallery-plugin.php:914
375
  msgid "Border width in px, just numbers"
376
  msgstr "Taille de la bordure en pixel, juste le nombre"
377
 
378
- #: gallery-plugin.php:916
379
- #: gallery-plugin.php:918
380
  msgid "Select a border color"
381
  msgstr "Choisir une couleur pour la bordure"
382
 
383
- #: gallery-plugin.php:924
384
  msgid "Number of images in the row"
385
  msgstr "Nombre d'images par ligne"
386
 
387
- #: gallery-plugin.php:930
388
  msgid "Start slideshow"
389
  msgstr "Démarer le diaporama"
390
 
391
- #: gallery-plugin.php:936
392
  msgid "Slideshow interval"
393
  msgstr "Interval de transition pour le diaporama"
394
 
395
- #: gallery-plugin.php:942
396
  msgid "Use single lightbox for multiple galleries on one page"
397
- msgstr ""
398
 
399
- #: gallery-plugin.php:950
400
  msgid "Attachment ID"
401
  msgstr "ID du fichier"
402
 
403
- #: gallery-plugin.php:951
404
  msgid "Image Name"
405
  msgstr "Nom de l'image "
406
 
407
- #: gallery-plugin.php:953
408
  msgid "Sorting order (the input field for sorting order in the Insert / Upload Media Gallery dialog)"
409
  msgstr "Ordre de tri (le nombre dans la fenêtre d'insertion / téléchargement de la galerie)"
410
 
411
- #: gallery-plugin.php:954
412
  msgid "Random"
413
  msgstr "Aléatoire"
414
 
415
- #: gallery-plugin.php:958
416
  msgid "Sort images"
417
  msgstr "Trier les images"
418
 
419
- #: gallery-plugin.php:960
420
  msgid "ASC (ascending order from lowest to highest values - 1, 2, 3; a, b, c)"
421
  msgstr "ASC (ordre ascendant de la plus petite à la plus grande valeur - 1, 2, 3; a, b, c)"
422
 
423
- #: gallery-plugin.php:961
424
  msgid "DESC (descending order from highest to lowest values - 3, 2, 1; c, b, a)"
425
  msgstr "DESC (ordre descendant de la plus grade à la plus petite - 3, 2, 1; c, b, a)"
426
 
427
- #: gallery-plugin.php:965
428
  msgid "Display text above the image"
429
  msgstr "Aficher le texte au dessus de l'image"
430
 
431
- #: gallery-plugin.php:967
432
  msgid "Turn off the checkbox, if you want to display text just in a lightbox"
433
  msgstr "Si vous voulez juste afficher du texte dans une boite, désactiver l'option"
434
 
435
- #: gallery-plugin.php:971
436
  msgid "Display the Back link"
437
  msgstr "Afficher le lien de retour"
438
 
439
- #: gallery-plugin.php:977
440
  msgid "Display the Back link in the shortcode"
441
  msgstr "Afficher le lien de retour dans le code court"
442
 
443
- #: gallery-plugin.php:983
444
  msgid "The Back link text"
445
  msgstr "Le text pour le lien de retour"
446
 
447
- #: gallery-plugin.php:989
448
  msgid "The Back link URL"
449
  msgstr "L'URL pour le lien de retour"
450
 
451
- #: gallery-plugin.php:991
452
  msgid "Gallery page (Page with Gallery Template)"
453
  msgstr "Page de la galerie (Page avec le modèle de galerie)"
454
 
455
- #: gallery-plugin.php:993
456
  msgid "(Full URL to custom page)"
457
  msgstr "(URL complète pour la page spécifique)"
458
 
459
- #: gallery-plugin.php:997
460
  msgid "The Read More link text"
461
  msgstr "Texte pour le lien \"Read More\""
462
 
463
- #: gallery-plugin.php:1003
464
  msgid "Add gallery to the search"
465
  msgstr "Ajouter les galeries à la recherche"
466
 
467
- #: gallery-plugin.php:1012
468
- #: gallery-plugin.php:1015
469
- #: gallery-plugin.php:1019
470
  msgid "Using Custom Search powered by"
471
  msgstr "Utiliser les recherche personalisées fournies par"
472
 
473
- #: gallery-plugin.php:1015
474
  msgid "Activate Custom Search"
475
  msgstr "Activer les recherche personalisées"
476
 
477
- #: gallery-plugin.php:1019
478
  msgid "Download Custom Search"
479
  msgstr "Télécharger les recherches personalisées"
480
 
481
- #: gallery-plugin.php:1026
482
  msgid "Display Like buttons in the lightbox"
483
  msgstr "Afficher les boutons des réseaux sociaux dans la boite"
484
 
485
- #: gallery-plugin.php:1028
486
  msgid "FaceBook"
487
  msgstr "FaceBook"
488
 
489
- #: gallery-plugin.php:1029
490
  msgid "Twitter"
491
  msgstr "Twitter"
492
 
493
- #: gallery-plugin.php:1030
494
  msgid "Pinterest"
495
  msgstr "Pinterest"
496
 
497
- #: gallery-plugin.php:1031
498
  msgid "Google +1"
499
  msgstr "Google +1"
500
 
501
- #: gallery-plugin.php:1035
502
  msgid "Slug for gallery item"
503
- msgstr "Racine pour les pages des galleries"
504
 
505
- #: gallery-plugin.php:1037
506
  msgid "for any structure of permalinks except the default structure"
507
  msgstr "pour toute forme de permaliens à l'exception de la forme par défaut"
508
 
509
- #: gallery-plugin.php:1057
510
  msgid "Save Changes"
511
  msgstr "Sauvegarder"
512
 
513
- #: gallery-plugin.php:1063
514
  msgid "If you enjoy our plugin, please give it 5 stars on WordPress"
515
- msgstr ""
516
 
517
- #: gallery-plugin.php:1064
518
- #, fuzzy
519
  msgid "Rate the plugin"
520
- msgstr "Extensions gratuites"
521
 
522
- #: gallery-plugin.php:1067
523
- #, fuzzy
524
  msgid "If there is something wrong about it, please contact us"
525
- msgstr "Si vous avez des questions, merci de nous contacter via "
526
 
527
- #: gallery-plugin.php:1079
528
- #: gallery-plugin.php:1094
529
  msgid "Settings"
530
- msgstr "Paramètres"
531
 
532
- #: gallery-plugin.php:1080
533
  msgid "FAQ"
534
  msgstr "FAQ"
535
 
536
- #: gallery-plugin.php:1081
537
  msgid "Support"
538
  msgstr "Soutien"
539
 
540
- #: gallery-plugin.php:1302
541
  #: template/gallery-single-template.php:76
542
  msgid "Sorry, nothing found."
543
  msgstr "Désolé, rien n'a été trouvé"
544
 
545
- #: gallery-plugin.php:1324
546
  #: template/gallery-single-template.php:102
547
  msgid "Download high resolution image"
548
  msgstr "Télécharger l'image en haute résolution"
549
 
550
- #: gallery-plugin.php:1648
551
- #, fuzzy
552
  msgid "Image size not defined"
553
- msgstr "Taille de l'image"
554
 
555
- #: gallery-plugin.php:1663
556
  msgid "We can update only PNG, JPEG, GIF, WPMP or XBM filetype. For other, please, manually reload image."
557
- msgstr ""
558
 
559
- #: gallery-plugin.php:1674
560
  msgid "Image size changes not defined"
561
- msgstr ""
562
 
563
- #: gallery-plugin.php:1703
564
- #: gallery-plugin.php:1706
565
- #: gallery-plugin.php:1711
566
  msgid "Invalid path"
567
- msgstr ""
568
 
569
- #: gallery-plugin.php:1829
570
- #, fuzzy
571
  msgid "Learn More"
572
- msgstr "Lire plus..."
573
 
574
- #: gallery-plugin.php:1831
575
  msgid "It’s time to upgrade your <strong>Gallery plugin</strong> to <strong>PRO</strong> version!"
576
- msgstr ""
577
 
578
- #: gallery-plugin.php:1832
579
  msgid "Extend standard plugin functionality with new great options."
580
- msgstr ""
581
 
582
  #: template/gallery-single-template.php:102
583
  msgid "Image"
@@ -685,6 +658,9 @@ msgstr "Image "
685
  #~ msgid "Activated plugins"
686
  #~ msgstr "Extensions activées"
687
 
 
 
 
688
  #~ msgid "Installed plugins"
689
  #~ msgstr "Extensions installées"
690
 
@@ -694,6 +670,9 @@ msgstr "Image "
694
  #~ msgid "Purchase"
695
  #~ msgstr "Acheter"
696
 
 
 
 
697
  #~ msgid "Download"
698
  #~ msgstr "Télécharger"
699
 
@@ -703,6 +682,27 @@ msgstr "Image "
703
  #~ msgid "Install now from wordpress.org"
704
  #~ msgstr "Installation à partir de wordpress.org"
705
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
706
  #~ msgid "System status"
707
  #~ msgstr "System status"
708
 
@@ -710,10 +710,10 @@ msgstr "Image "
710
  #~ msgstr "Environment"
711
 
712
  #~ msgid "Active Plugins"
713
- #~ msgstr "Active Plugins"
714
 
715
  #~ msgid "Inactive Plugins"
716
- #~ msgstr "Inactive Plugins"
717
 
718
  #~ msgid "Send to support"
719
  #~ msgstr "Envoyer au support"
2
  msgstr ""
3
  "Project-Id-Version: gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-12-25 15:28+0300\n"
6
+ "PO-Revision-Date: 2013-12-25 15:44+0300\n"
7
  "Last-Translator: bestwebsoft.com <plugins@bestwebsoft.com>\n"
8
  "Language-Team: Didier, L Capronnier <lcapronnier@yahoo.com>\n"
9
  "Language: fr_FR\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
  "X-Generator: Poedit 1.5.7\n"
18
+ "X-Poedit-Language: French\n"
19
+ "X-Poedit-Country: FRANCE\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
  #: gallery-plugin.php:100
95
  msgstr "Merci de faire un choix"
96
 
97
  #: gallery-plugin.php:231
98
+ #: gallery-plugin.php:927
99
  msgid "Sort images by"
100
  msgstr "Trier les images par"
101
 
105
 
106
  #: gallery-plugin.php:231
107
  msgid "on the plugin settings page ("
108
+ msgstr "dans les paramètres de l'extension ("
109
 
110
  #: gallery-plugin.php:276
111
  #: gallery-plugin.php:505
165
  msgstr "Public"
166
 
167
  #: gallery-plugin.php:509
168
+ #: gallery-plugin.php:931
169
  msgid "Date"
170
  msgstr "Date"
171
 
187
 
188
  #: gallery-plugin.php:685
189
  msgid "Plugins page"
190
+ msgstr "Page des extensions"
191
 
192
  #: gallery-plugin.php:775
193
  msgid "Settings are saved"
199
 
200
  #: gallery-plugin.php:791
201
  msgid "Notice:"
202
+ msgstr "Avertissement :"
203
 
204
  #: gallery-plugin.php:791
205
  msgid "The plugin's settings have been changed. In order to save them please don't forget to click the 'Save Changes' button."
206
+ msgstr "Les paramètres de l'extension ont été changés. Afin de pouvoir les enregistrer, merci de cliquer sur le bouton 'Enregistrer les modifications'."
207
 
208
  #: gallery-plugin.php:792
209
  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:"
210
  msgstr "Si vous voulez ajouter la galerie dans une page ou un article, copier le code court suivant dans le contenu de votre page ou de votre article:"
211
 
212
  #: gallery-plugin.php:794
 
213
  msgid "Please enable JavaScript to use the option to renew images."
214
+ msgstr "Merci d'activer JavaScript pour utiliser l'option de mise à jour des images."
215
 
216
+ #: gallery-plugin.php:798
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
217
  msgid "Update images for gallery"
218
+ msgstr "Mettre à jour les images pour la galerie"
219
 
220
+ #: gallery-plugin.php:800
 
221
  msgid "Update images"
222
+ msgstr "Mettre à jour les images"
223
 
224
+ #: gallery-plugin.php:805
225
  msgid "Updating images..."
226
+ msgstr "Mise à jour des images..."
227
 
228
+ #: gallery-plugin.php:806
 
229
  msgid "No image found"
230
+ msgstr "Pas d'image trouvée"
231
 
232
+ #: gallery-plugin.php:807
233
  msgid "All images are updated"
234
+ msgstr "Toutes les images ont été mises à jour"
235
 
236
+ #: gallery-plugin.php:808
237
+ msgid "Error."
238
+ msgstr "Erreur."
239
+
240
+ #: gallery-plugin.php:814
241
  msgid "Image size for the album cover"
242
  msgstr "Taille de la vignette de l'album"
243
 
244
+ #: gallery-plugin.php:816
245
+ #: gallery-plugin.php:824
246
  #: gallery-plugin.php:837
 
 
247
  msgid "Image size"
248
  msgstr "Taille de l'image"
249
 
250
+ #: gallery-plugin.php:817
251
+ #: gallery-plugin.php:825
252
  msgid "Width (in px)"
253
  msgstr "Largeur (en pixels)"
254
 
255
+ #: gallery-plugin.php:818
256
+ #: gallery-plugin.php:826
257
  msgid "Height (in px)"
258
  msgstr "Hauteur (en pixels)"
259
 
260
+ #: gallery-plugin.php:822
261
  msgid "Gallery image size"
262
  msgstr "Taille de l'image de la galerie"
263
 
264
+ #: gallery-plugin.php:830
265
  msgid "WordPress will create a new thumbnail with the specified dimensions when you upload a new photo."
266
  msgstr "WordPress créera une copie de la miniature avec les dimensions spécifiées quand vous envoyez une nouvelle photo."
267
 
268
+ #: gallery-plugin.php:835
269
  msgid "Gallery image size in the lightbox"
270
  msgstr "Taille de l'image de la galerie"
271
 
272
+ #: gallery-plugin.php:838
273
  msgid "Max width (in px)"
274
  msgstr "Largeur maximum (en pixels)"
275
 
276
+ #: gallery-plugin.php:839
277
  msgid "Max height (in px)"
278
  msgstr "Hauteur maximum (en pixels)"
279
 
280
+ #: gallery-plugin.php:840
281
  msgid "Display a full size image in the lightbox"
282
  msgstr "Afficher une image en taille normale dans la boite"
283
 
284
+ #: gallery-plugin.php:844
285
  msgid "Crop position"
286
  msgstr "Point de base"
287
 
288
+ #: gallery-plugin.php:846
289
  msgid "Horizontal"
290
  msgstr "Horizontale"
291
 
292
+ #: gallery-plugin.php:848
293
  msgid "left"
294
  msgstr "gauche"
295
 
296
+ #: gallery-plugin.php:849
297
+ #: gallery-plugin.php:856
298
  msgid "center"
299
  msgstr "centré"
300
 
301
+ #: gallery-plugin.php:850
302
  msgid "right"
303
  msgstr "droite"
304
 
305
+ #: gallery-plugin.php:853
306
  msgid "Vertical"
307
  msgstr "Verticale"
308
 
309
+ #: gallery-plugin.php:855
310
  msgid "top"
311
  msgstr "haut"
312
 
313
+ #: gallery-plugin.php:857
314
  msgid "bottom"
315
  msgstr "bas"
316
 
317
+ #: gallery-plugin.php:862
318
  msgid "Lightbox background"
319
  msgstr "Fond de la boite"
320
 
321
+ #: gallery-plugin.php:864
322
  msgid "Default"
323
  msgstr "Défaut"
324
 
325
+ #: gallery-plugin.php:865
326
  msgid "Background transparency (from 0 to 1)"
327
  msgstr "Transparence du fond (de 0 à 1)"
328
 
329
+ #: gallery-plugin.php:867
330
  msgid "Select a background color"
331
  msgstr "Choisir une couleur pour le fond"
332
 
333
+ #: gallery-plugin.php:869
334
  msgid "Background color"
335
  msgstr "Couleur du fond"
336
 
337
+ #: gallery-plugin.php:876
338
+ #: gallery-plugin.php:1021
339
  msgid "If you upgrade to Pro version all your settings and galleries will be saved."
340
+ msgstr "Si vous passez à  la version Pro, tous ces paramètres seront enregistrés."
341
 
342
+ #: gallery-plugin.php:881
343
+ #: gallery-plugin.php:1026
344
  msgid "This functionality is available in the Pro version of the plugin. For more details, please follow the link"
345
+ msgstr "Cette fonction est disponible dans le version pro de cette extension. Pour plus de détails, suivre le lien"
346
 
347
+ #: gallery-plugin.php:890
348
  msgid "Images with border"
349
  msgstr "Image avec bordure"
350
 
351
+ #: gallery-plugin.php:893
352
  msgid "Border width in px, just numbers"
353
  msgstr "Taille de la bordure en pixel, juste le nombre"
354
 
355
+ #: gallery-plugin.php:895
356
+ #: gallery-plugin.php:897
357
  msgid "Select a border color"
358
  msgstr "Choisir une couleur pour la bordure"
359
 
360
+ #: gallery-plugin.php:903
361
  msgid "Number of images in the row"
362
  msgstr "Nombre d'images par ligne"
363
 
364
+ #: gallery-plugin.php:909
365
  msgid "Start slideshow"
366
  msgstr "Démarer le diaporama"
367
 
368
+ #: gallery-plugin.php:915
369
  msgid "Slideshow interval"
370
  msgstr "Interval de transition pour le diaporama"
371
 
372
+ #: gallery-plugin.php:921
373
  msgid "Use single lightbox for multiple galleries on one page"
374
+ msgstr "Utiliser un seul diaporama pour plusieures galeries sur une seule page"
375
 
376
+ #: gallery-plugin.php:929
377
  msgid "Attachment ID"
378
  msgstr "ID du fichier"
379
 
380
+ #: gallery-plugin.php:930
381
  msgid "Image Name"
382
  msgstr "Nom de l'image "
383
 
384
+ #: gallery-plugin.php:932
385
  msgid "Sorting order (the input field for sorting order in the Insert / Upload Media Gallery dialog)"
386
  msgstr "Ordre de tri (le nombre dans la fenêtre d'insertion / téléchargement de la galerie)"
387
 
388
+ #: gallery-plugin.php:933
389
  msgid "Random"
390
  msgstr "Aléatoire"
391
 
392
+ #: gallery-plugin.php:937
393
  msgid "Sort images"
394
  msgstr "Trier les images"
395
 
396
+ #: gallery-plugin.php:939
397
  msgid "ASC (ascending order from lowest to highest values - 1, 2, 3; a, b, c)"
398
  msgstr "ASC (ordre ascendant de la plus petite à la plus grande valeur - 1, 2, 3; a, b, c)"
399
 
400
+ #: gallery-plugin.php:940
401
  msgid "DESC (descending order from highest to lowest values - 3, 2, 1; c, b, a)"
402
  msgstr "DESC (ordre descendant de la plus grade à la plus petite - 3, 2, 1; c, b, a)"
403
 
404
+ #: gallery-plugin.php:944
405
  msgid "Display text above the image"
406
  msgstr "Aficher le texte au dessus de l'image"
407
 
408
+ #: gallery-plugin.php:946
409
  msgid "Turn off the checkbox, if you want to display text just in a lightbox"
410
  msgstr "Si vous voulez juste afficher du texte dans une boite, désactiver l'option"
411
 
412
+ #: gallery-plugin.php:950
413
  msgid "Display the Back link"
414
  msgstr "Afficher le lien de retour"
415
 
416
+ #: gallery-plugin.php:956
417
  msgid "Display the Back link in the shortcode"
418
  msgstr "Afficher le lien de retour dans le code court"
419
 
420
+ #: gallery-plugin.php:962
421
  msgid "The Back link text"
422
  msgstr "Le text pour le lien de retour"
423
 
424
+ #: gallery-plugin.php:968
425
  msgid "The Back link URL"
426
  msgstr "L'URL pour le lien de retour"
427
 
428
+ #: gallery-plugin.php:970
429
  msgid "Gallery page (Page with Gallery Template)"
430
  msgstr "Page de la galerie (Page avec le modèle de galerie)"
431
 
432
+ #: gallery-plugin.php:972
433
  msgid "(Full URL to custom page)"
434
  msgstr "(URL complète pour la page spécifique)"
435
 
436
+ #: gallery-plugin.php:976
437
  msgid "The Read More link text"
438
  msgstr "Texte pour le lien \"Read More\""
439
 
440
+ #: gallery-plugin.php:982
441
  msgid "Add gallery to the search"
442
  msgstr "Ajouter les galeries à la recherche"
443
 
444
+ #: gallery-plugin.php:991
445
+ #: gallery-plugin.php:994
446
+ #: gallery-plugin.php:998
447
  msgid "Using Custom Search powered by"
448
  msgstr "Utiliser les recherche personalisées fournies par"
449
 
450
+ #: gallery-plugin.php:994
451
  msgid "Activate Custom Search"
452
  msgstr "Activer les recherche personalisées"
453
 
454
+ #: gallery-plugin.php:998
455
  msgid "Download Custom Search"
456
  msgstr "Télécharger les recherches personalisées"
457
 
458
+ #: gallery-plugin.php:1005
459
  msgid "Display Like buttons in the lightbox"
460
  msgstr "Afficher les boutons des réseaux sociaux dans la boite"
461
 
462
+ #: gallery-plugin.php:1007
463
  msgid "FaceBook"
464
  msgstr "FaceBook"
465
 
466
+ #: gallery-plugin.php:1008
467
  msgid "Twitter"
468
  msgstr "Twitter"
469
 
470
+ #: gallery-plugin.php:1009
471
  msgid "Pinterest"
472
  msgstr "Pinterest"
473
 
474
+ #: gallery-plugin.php:1010
475
  msgid "Google +1"
476
  msgstr "Google +1"
477
 
478
+ #: gallery-plugin.php:1014
479
  msgid "Slug for gallery item"
480
+ msgstr "Racine pour les pages des galeries"
481
 
482
+ #: gallery-plugin.php:1016
483
  msgid "for any structure of permalinks except the default structure"
484
  msgstr "pour toute forme de permaliens à l'exception de la forme par défaut"
485
 
486
+ #: gallery-plugin.php:1036
487
  msgid "Save Changes"
488
  msgstr "Sauvegarder"
489
 
490
+ #: gallery-plugin.php:1042
491
  msgid "If you enjoy our plugin, please give it 5 stars on WordPress"
492
+ msgstr "Si notre extension vous satisfait, merci de la notée avec 5 étoiles dans Wordpress"
493
 
494
+ #: gallery-plugin.php:1043
 
495
  msgid "Rate the plugin"
496
+ msgstr "Noter l'extension"
497
 
498
+ #: gallery-plugin.php:1046
 
499
  msgid "If there is something wrong about it, please contact us"
500
+ msgstr "Si vous avez des questions, merci de nous contacter"
501
 
502
+ #: gallery-plugin.php:1058
503
+ #: gallery-plugin.php:1073
504
  msgid "Settings"
505
+ msgstr "Réglages"
506
 
507
+ #: gallery-plugin.php:1059
508
  msgid "FAQ"
509
  msgstr "FAQ"
510
 
511
+ #: gallery-plugin.php:1060
512
  msgid "Support"
513
  msgstr "Soutien"
514
 
515
+ #: gallery-plugin.php:1280
516
  #: template/gallery-single-template.php:76
517
  msgid "Sorry, nothing found."
518
  msgstr "Désolé, rien n'a été trouvé"
519
 
520
+ #: gallery-plugin.php:1302
521
  #: template/gallery-single-template.php:102
522
  msgid "Download high resolution image"
523
  msgstr "Télécharger l'image en haute résolution"
524
 
525
+ #: gallery-plugin.php:1593
 
526
  msgid "Image size not defined"
527
+ msgstr "Taille de l'image non définie"
528
 
529
+ #: gallery-plugin.php:1608
530
  msgid "We can update only PNG, JPEG, GIF, WPMP or XBM filetype. For other, please, manually reload image."
531
+ msgstr "Il n'est possible de mettre à jour que les images de type PNG, JPEG, GIF, WPMP or XBM. Pour les autres, merci de faire une mise à jour manuelle."
532
 
533
+ #: gallery-plugin.php:1619
534
  msgid "Image size changes not defined"
535
+ msgstr "La modification de la taille n'est pas définie"
536
 
537
+ #: gallery-plugin.php:1648
538
+ #: gallery-plugin.php:1651
539
+ #: gallery-plugin.php:1656
540
  msgid "Invalid path"
541
+ msgstr "Chemin invalide"
542
 
543
+ #: gallery-plugin.php:1774
 
544
  msgid "Learn More"
545
+ msgstr "En savoir plus"
546
 
547
+ #: gallery-plugin.php:1776
548
  msgid "It’s time to upgrade your <strong>Gallery plugin</strong> to <strong>PRO</strong> version!"
549
+ msgstr "Il est peut-être temps de passer votre extension <strong>Gallery</strong> vers la version <strong>PRO</strong> !"
550
 
551
+ #: gallery-plugin.php:1777
552
  msgid "Extend standard plugin functionality with new great options."
553
+ msgstr "Etand les fonctions standards avec de nouveaux paramètres."
554
 
555
  #: template/gallery-single-template.php:102
556
  msgid "Image"
658
  #~ msgid "Activated plugins"
659
  #~ msgstr "Extensions activées"
660
 
661
+ #~ msgid "Read more"
662
+ #~ msgstr "Lire plus..."
663
+
664
  #~ msgid "Installed plugins"
665
  #~ msgstr "Extensions installées"
666
 
670
  #~ msgid "Purchase"
671
  #~ msgstr "Acheter"
672
 
673
+ #~ msgid "Free plugins"
674
+ #~ msgstr "Extensions gratuites"
675
+
676
  #~ msgid "Download"
677
  #~ msgstr "Télécharger"
678
 
682
  #~ msgid "Install now from wordpress.org"
683
  #~ msgstr "Installation à partir de wordpress.org"
684
 
685
+ #~ msgid "Free themes"
686
+ #~ msgstr "Thèmes gratuits"
687
+
688
+ #~ msgid "Activated theme"
689
+ #~ msgstr "Thème actif"
690
+
691
+ #~ msgid "Customize &#8220;%s&#8221;"
692
+ #~ msgstr "Personnaliser &#8220;%s&#8221;"
693
+
694
+ #~ msgid "Customize"
695
+ #~ msgstr "Personnaliser"
696
+
697
+ #~ msgid "Installed themes"
698
+ #~ msgstr "Thèmes installés"
699
+
700
+ #~ msgid "Recommended themes"
701
+ #~ msgstr "Thèmes recommandés"
702
+
703
+ #~ msgid "If you have any questions, please contact us via"
704
+ #~ msgstr "Si vous avez des questions, merci de nous contacter via "
705
+
706
  #~ msgid "System status"
707
  #~ msgstr "System status"
708
 
710
  #~ msgstr "Environment"
711
 
712
  #~ msgid "Active Plugins"
713
+ #~ msgstr "Extensions actives"
714
 
715
  #~ msgid "Inactive Plugins"
716
+ #~ msgstr "Extensions inactives"
717
 
718
  #~ msgid "Send to support"
719
  #~ msgstr "Envoyer au support"
languages/gallery-pt_BR.mo CHANGED
File without changes
languages/gallery-pt_BR.po CHANGED
File without changes
languages/gallery-ru_RU.mo CHANGED
File without changes
languages/gallery-ru_RU.po CHANGED
File without changes
languages/gallery-sr_RS.mo CHANGED
File without changes
languages/gallery-sr_RS.po CHANGED
File without changes
languages/gallery-tr.mo CHANGED
File without changes
languages/gallery-tr.po CHANGED
File without changes
languages/gallery-uk.mo CHANGED
File without changes
languages/gallery-uk.po CHANGED
File without changes
languages/gallery-zh_CN.mo CHANGED
Binary file
languages/gallery-zh_CN.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-12-13 14:03+0300\n"
6
- "PO-Revision-Date: 2013-12-13 14:04+0300\n"
7
  "Last-Translator: bestwebsoft.com <plugins@bestwebsoft.com>\n"
8
  "Language-Team: Xiaobo Chen <mibcxb@gmail.com>\n"
9
  "Language: zh_CN\n"
@@ -19,45 +19,45 @@ msgstr ""
19
  #: gallery-plugin.php:100
20
  #: gallery-plugin.php:782
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:128
25
  #: gallery-plugin.php:138
26
  msgid "Galleries"
27
- msgstr "图库"
28
 
29
  #: gallery-plugin.php:129
30
  #: gallery-plugin.php:609
31
  msgid "Gallery"
32
- msgstr "图集"
33
 
34
  #: gallery-plugin.php:130
35
  msgid "Add a Gallery"
36
- msgstr "新增图集"
37
 
38
  #: gallery-plugin.php:131
39
  msgid "Add New Gallery"
40
- msgstr "新增图集"
41
 
42
  #: gallery-plugin.php:132
43
  msgid "Edit Gallery"
44
- msgstr "编辑图集"
45
 
46
  #: gallery-plugin.php:133
47
  msgid "New Gallery"
48
- msgstr "新图集"
49
 
50
  #: gallery-plugin.php:134
51
  msgid "View Gallery"
52
- msgstr "浏览图集"
53
 
54
  #: gallery-plugin.php:135
55
  msgid "Find a Gallery"
56
- msgstr "查找图集"
57
 
58
  #: gallery-plugin.php:136
59
  msgid "No Gallery found"
60
- msgstr "没有找到图集"
61
 
62
  #: gallery-plugin.php:193
63
  msgid "Upload File"
@@ -65,7 +65,7 @@ msgstr "上传文件"
65
 
66
  #: gallery-plugin.php:194
67
  msgid "Gallery Shortcode"
68
- msgstr "图集简码"
69
 
70
  #: gallery-plugin.php:212
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)"
@@ -73,32 +73,32 @@ msgstr "您网页服务器上的图集临时目录 (gallery-plugin/upload/files)
73
 
74
  #: gallery-plugin.php:216
75
  msgid "Choose an image for upload:"
76
- msgstr "选择一幅图像上传:"
77
 
78
  #: gallery-plugin.php:221
79
  msgid "Please enable JavaScript to use the file uploader."
80
- msgstr "请打开JavaScript以使用文件上传工具"
81
 
82
  #: gallery-plugin.php:228
83
  msgid "Allow the download link for all images in this gallery"
84
- msgstr "在此图集中开启下载所有图像的链接"
85
 
86
  #: gallery-plugin.php:229
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:231
91
  msgid "Please make a choice"
92
  msgstr "请选择"
93
 
94
  #: gallery-plugin.php:231
95
- #: gallery-plugin.php:948
96
  msgid "Sort images by"
97
- msgstr "图像排序按"
98
 
99
  #: gallery-plugin.php:231
100
  msgid "sort images"
101
- msgstr "图像排序"
102
 
103
  #: gallery-plugin.php:231
104
  msgid "on the plugin settings page ("
@@ -111,20 +111,19 @@ msgstr "标题"
111
 
112
  #: gallery-plugin.php:278
113
  msgid "Alt tag"
114
- msgstr ""
115
 
116
  #: gallery-plugin.php:279
117
  msgid "URL"
118
  msgstr "URL"
119
 
120
  #: gallery-plugin.php:279
121
- #, fuzzy
122
  msgid "(by click on image opens a link in a new window)"
123
- msgstr "(点击图像 <br /> 在新窗口中打开链接)"
124
 
125
  #: gallery-plugin.php:280
126
  msgid "This setting is available in Pro version"
127
- msgstr "次设置在Pro版本中可用"
128
 
129
  #: gallery-plugin.php:281
130
  msgid "Open the link"
@@ -144,7 +143,7 @@ msgstr "删除"
144
 
145
  #: gallery-plugin.php:295
146
  msgid "You can add a Single Gallery to the page or post by inserting this shortcode into the content"
147
- msgstr "您可以在页面上添加一个图集或在正文中插入简码"
148
 
149
  #: gallery-plugin.php:297
150
  msgid "If you want to display a short description containing a screenshot and the link to the Single Gallery Page"
@@ -160,33 +159,32 @@ msgstr "照片"
160
 
161
  #: gallery-plugin.php:508
162
  msgid "Publishing"
163
- msgstr "出版"
164
 
165
  #: gallery-plugin.php:509
166
- #: gallery-plugin.php:952
167
  msgid "Date"
168
  msgstr "日期"
169
 
170
  #: gallery-plugin.php:638
171
  msgid "See images &raquo;"
172
- msgstr "查看图像 &raquo;"
173
 
174
  #: gallery-plugin.php:685
175
  msgid "requires"
176
- msgstr ""
177
 
178
  #: gallery-plugin.php:685
179
  msgid "or higher, that is why it has been deactivated! Please upgrade WordPress and try again."
180
- msgstr ""
181
 
182
  #: gallery-plugin.php:685
183
  msgid "Back to the WordPress"
184
- msgstr ""
185
 
186
  #: gallery-plugin.php:685
187
- #, fuzzy
188
  msgid "Plugins page"
189
- msgstr "高级插件"
190
 
191
  #: gallery-plugin.php:775
192
  msgid "Settings are saved"
@@ -194,397 +192,381 @@ msgstr "设置已保存。"
194
 
195
  #: gallery-plugin.php:788
196
  msgid "Gallery Settings"
197
- msgstr "图集设置"
198
 
199
  #: gallery-plugin.php:791
200
  msgid "Notice:"
201
- msgstr ""
202
 
203
  #: gallery-plugin.php:791
204
  msgid "The plugin's settings have been changed. In order to save them please don't forget to click the 'Save Changes' button."
205
- msgstr ""
206
 
207
  #: gallery-plugin.php:792
208
  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:"
209
- msgstr "如果您想添加一个图集到页面或公告中,仅需要将图集简码放到页面或公告的内容中即可:"
210
 
211
  #: gallery-plugin.php:794
212
- #, fuzzy
213
  msgid "Please enable JavaScript to use the option to renew images."
214
- msgstr "请打开JavaScript以使用文件上传工具"
215
-
216
- #: gallery-plugin.php:804
217
- msgid "Change the way to store your post_meta information for gallery"
218
- msgstr ""
219
-
220
- #: gallery-plugin.php:806
221
- msgid "Update All Info"
222
- msgstr ""
223
-
224
- #: gallery-plugin.php:811
225
- msgid "Updating post_meta information..."
226
- msgstr ""
227
-
228
- #: gallery-plugin.php:812
229
- #, fuzzy
230
- msgid "No gallery item found"
231
- msgstr "没有找到图集"
232
-
233
- #: gallery-plugin.php:813
234
- msgid "All info is updated"
235
- msgstr ""
236
-
237
- #: gallery-plugin.php:814
238
- #: gallery-plugin.php:829
239
- msgid "Error."
240
- msgstr ""
241
 
242
- #: gallery-plugin.php:819
243
  msgid "Update images for gallery"
244
- msgstr ""
245
 
246
- #: gallery-plugin.php:821
247
- #, fuzzy
248
  msgid "Update images"
249
- msgstr "图像排序"
250
 
251
- #: gallery-plugin.php:826
252
  msgid "Updating images..."
253
- msgstr ""
254
 
255
- #: gallery-plugin.php:827
256
- #, fuzzy
257
  msgid "No image found"
258
- msgstr "没有找到图集"
259
 
260
- #: gallery-plugin.php:828
261
  msgid "All images are updated"
262
- msgstr ""
263
 
264
- #: gallery-plugin.php:835
 
 
 
 
265
  msgid "Image size for the album cover"
266
- msgstr "专辑封面图像的尺寸"
267
 
 
 
268
  #: gallery-plugin.php:837
269
- #: gallery-plugin.php:845
270
- #: gallery-plugin.php:858
271
  msgid "Image size"
272
- msgstr "图像尺寸"
273
 
274
- #: gallery-plugin.php:838
275
- #: gallery-plugin.php:846
276
  msgid "Width (in px)"
277
  msgstr "宽度(像素)"
278
 
279
- #: gallery-plugin.php:839
280
- #: gallery-plugin.php:847
281
  msgid "Height (in px)"
282
  msgstr "高度(像素)"
283
 
284
- #: gallery-plugin.php:843
285
  msgid "Gallery image size"
286
- msgstr "图集中图像的尺寸"
287
 
288
- #: gallery-plugin.php:851
289
  msgid "WordPress will create a new thumbnail with the specified dimensions when you upload a new photo."
290
  msgstr "当您上传一幅新的照片时,WordPress会创建一个特定尺寸的缩略图副本。"
291
 
292
- #: gallery-plugin.php:856
293
  msgid "Gallery image size in the lightbox"
294
- msgstr "灯箱中的图像尺寸"
295
 
296
- #: gallery-plugin.php:859
297
  msgid "Max width (in px)"
298
  msgstr "最大宽度(像素)"
299
 
300
- #: gallery-plugin.php:860
301
  msgid "Max height (in px)"
302
  msgstr "最大高度(像素)"
303
 
304
- #: gallery-plugin.php:861
305
  msgid "Display a full size image in the lightbox"
306
  msgstr "在灯箱中显示全尺寸图像"
307
 
308
- #: gallery-plugin.php:865
309
  msgid "Crop position"
310
  msgstr "裁剪位置"
311
 
312
- #: gallery-plugin.php:867
313
  msgid "Horizontal"
314
  msgstr "水平"
315
 
316
- #: gallery-plugin.php:869
317
  msgid "left"
318
- msgstr "左侧"
319
 
320
- #: gallery-plugin.php:870
321
- #: gallery-plugin.php:877
322
  msgid "center"
323
- msgstr "中心"
324
 
325
- #: gallery-plugin.php:871
326
  msgid "right"
327
- msgstr "右侧"
328
 
329
- #: gallery-plugin.php:874
330
  msgid "Vertical"
331
  msgstr "垂直"
332
 
333
- #: gallery-plugin.php:876
334
  msgid "top"
335
- msgstr "顶部"
336
 
337
- #: gallery-plugin.php:878
338
  msgid "bottom"
339
- msgstr "底部"
340
 
341
- #: gallery-plugin.php:883
342
  msgid "Lightbox background"
343
  msgstr "灯箱背景"
344
 
345
- #: gallery-plugin.php:885
346
  msgid "Default"
347
  msgstr "默认"
348
 
349
- #: gallery-plugin.php:886
350
  msgid "Background transparency (from 0 to 1)"
351
  msgstr "背景透明度(值为 0 到 1)"
352
 
353
- #: gallery-plugin.php:888
354
  msgid "Select a background color"
355
  msgstr "选择背景色"
356
 
357
- #: gallery-plugin.php:890
358
  msgid "Background color"
359
  msgstr "背景色"
360
 
361
- #: gallery-plugin.php:897
362
- #: gallery-plugin.php:1042
363
  msgid "If you upgrade to Pro version all your settings and galleries will be saved."
364
- msgstr ""
365
 
366
- #: gallery-plugin.php:902
367
- #: gallery-plugin.php:1047
368
  msgid "This functionality is available in the Pro version of the plugin. For more details, please follow the link"
369
  msgstr "此功能在插件的高级版本中可用。如需查看详细信息,请点击以下链接"
370
 
371
- #: gallery-plugin.php:911
372
  msgid "Images with border"
373
- msgstr "图像边缘"
374
 
375
- #: gallery-plugin.php:914
376
  msgid "Border width in px, just numbers"
377
  msgstr "边缘宽度,以像素为单位,只能使用数字"
378
 
379
- #: gallery-plugin.php:916
380
- #: gallery-plugin.php:918
381
  msgid "Select a border color"
382
- msgstr "选择边缘颜色"
383
 
384
- #: gallery-plugin.php:924
385
  msgid "Number of images in the row"
386
  msgstr "一行中图像的数量"
387
 
388
- #: gallery-plugin.php:930
389
  msgid "Start slideshow"
390
  msgstr "播放幻灯片"
391
 
392
- #: gallery-plugin.php:936
393
  msgid "Slideshow interval"
394
  msgstr "幻灯片播放间隔"
395
 
396
- #: gallery-plugin.php:942
397
  msgid "Use single lightbox for multiple galleries on one page"
398
- msgstr ""
399
 
400
- #: gallery-plugin.php:950
401
  msgid "Attachment ID"
402
  msgstr "附件ID"
403
 
404
- #: gallery-plugin.php:951
405
  msgid "Image Name"
406
- msgstr "图像名称"
407
 
408
- #: gallery-plugin.php:953
409
  msgid "Sorting order (the input field for sorting order in the Insert / Upload Media Gallery dialog)"
410
  msgstr "分类排序(插入/上传媒体图集对话框中的输入字段)"
411
 
412
- #: gallery-plugin.php:954
413
  msgid "Random"
414
  msgstr "随机"
415
 
416
- #: gallery-plugin.php:958
417
  msgid "Sort images"
418
- msgstr "图像排序"
419
 
420
- #: gallery-plugin.php:960
421
  msgid "ASC (ascending order from lowest to highest values - 1, 2, 3; a, b, c)"
422
  msgstr "升序(由低到高 - 1, 2, 3; a, b, c)"
423
 
424
- #: gallery-plugin.php:961
425
  msgid "DESC (descending order from highest to lowest values - 3, 2, 1; c, b, a)"
426
  msgstr "降序(由高到低 - 3, 2, 1; c, b, a)"
427
 
428
- #: gallery-plugin.php:965
429
  msgid "Display text above the image"
430
  msgstr "在图像上方显示文本"
431
 
432
- #: gallery-plugin.php:967
433
- #, fuzzy
434
  msgid "Turn off the checkbox, if you want to display text just in a lightbox"
435
- msgstr "如果您仅想在收藏夹中显示文本"
436
 
437
- #: gallery-plugin.php:971
438
  msgid "Display the Back link"
439
  msgstr "显示返回链接"
440
 
441
- #: gallery-plugin.php:977
442
  msgid "Display the Back link in the shortcode"
443
- msgstr "以简码方式显示返回链接"
444
 
445
- #: gallery-plugin.php:983
446
  msgid "The Back link text"
447
  msgstr "返回链接文本"
448
 
449
- #: gallery-plugin.php:989
450
  msgid "The Back link URL"
451
  msgstr "返回链接URL"
452
 
453
- #: gallery-plugin.php:991
454
  msgid "Gallery page (Page with Gallery Template)"
455
- msgstr "图集页面(具有图集模板的页面)"
456
 
457
- #: gallery-plugin.php:993
458
  msgid "(Full URL to custom page)"
459
  msgstr "(到自定义页面的完整地址)"
460
 
461
- #: gallery-plugin.php:997
462
  msgid "The Read More link text"
463
  msgstr "阅读更多链接的文本"
464
 
465
- #: gallery-plugin.php:1003
466
  msgid "Add gallery to the search"
467
- msgstr ""
468
 
469
- #: gallery-plugin.php:1012
470
- #: gallery-plugin.php:1015
471
- #: gallery-plugin.php:1019
472
  msgid "Using Custom Search powered by"
473
- msgstr ""
474
 
475
- #: gallery-plugin.php:1015
476
  msgid "Activate Custom Search"
477
- msgstr ""
478
 
479
- #: gallery-plugin.php:1019
480
  msgid "Download Custom Search"
481
- msgstr ""
482
 
483
- #: gallery-plugin.php:1026
484
  msgid "Display Like buttons in the lightbox"
485
  msgstr "在灯箱中显示[喜欢]按钮"
486
 
487
- #: gallery-plugin.php:1028
488
  msgid "FaceBook"
489
  msgstr "Facebook"
490
 
491
- #: gallery-plugin.php:1029
492
  msgid "Twitter"
493
  msgstr "Twitter"
494
 
495
- #: gallery-plugin.php:1030
496
  msgid "Pinterest"
497
  msgstr "Printerest"
498
 
499
- #: gallery-plugin.php:1031
500
  msgid "Google +1"
501
  msgstr "Google +1"
502
 
503
- #: gallery-plugin.php:1035
504
- #, fuzzy
505
  msgid "Slug for gallery item"
506
- msgstr "图集中图像的尺寸"
507
 
508
- #: gallery-plugin.php:1037
509
  msgid "for any structure of permalinks except the default structure"
510
- msgstr ""
511
 
512
- #: gallery-plugin.php:1057
513
  msgid "Save Changes"
514
  msgstr "保存修改"
515
 
516
- #: gallery-plugin.php:1063
517
  msgid "If you enjoy our plugin, please give it 5 stars on WordPress"
518
- msgstr ""
519
 
520
- #: gallery-plugin.php:1064
521
- #, fuzzy
522
  msgid "Rate the plugin"
523
- msgstr "免费插件"
524
 
525
- #: gallery-plugin.php:1067
526
- #, fuzzy
527
  msgid "If there is something wrong about it, please contact us"
528
- msgstr "如果您有任何问题,请使用以下方式联系我们"
529
 
530
- #: gallery-plugin.php:1079
531
- #: gallery-plugin.php:1094
532
  msgid "Settings"
533
  msgstr "设置"
534
 
535
- #: gallery-plugin.php:1080
536
  msgid "FAQ"
537
- msgstr "常问问题"
538
 
539
- #: gallery-plugin.php:1081
540
  msgid "Support"
541
  msgstr "支持"
542
 
543
- #: gallery-plugin.php:1302
544
  #: template/gallery-single-template.php:76
545
  msgid "Sorry, nothing found."
546
  msgstr "对不起 - 没有找到。"
547
 
548
- #: gallery-plugin.php:1324
549
  #: template/gallery-single-template.php:102
550
  msgid "Download high resolution image"
551
  msgstr "下载高分辨率图像"
552
 
553
- #: gallery-plugin.php:1648
554
- #, fuzzy
555
  msgid "Image size not defined"
556
- msgstr "图像尺寸"
557
 
558
- #: gallery-plugin.php:1663
559
  msgid "We can update only PNG, JPEG, GIF, WPMP or XBM filetype. For other, please, manually reload image."
560
- msgstr ""
561
 
562
- #: gallery-plugin.php:1674
563
  msgid "Image size changes not defined"
564
- msgstr ""
565
 
566
- #: gallery-plugin.php:1703
567
- #: gallery-plugin.php:1706
568
- #: gallery-plugin.php:1711
569
  msgid "Invalid path"
570
- msgstr ""
571
 
572
- #: gallery-plugin.php:1829
573
- #, fuzzy
574
  msgid "Learn More"
575
- msgstr "阅读更多"
576
 
577
- #: gallery-plugin.php:1831
578
  msgid "It’s time to upgrade your <strong>Gallery plugin</strong> to <strong>PRO</strong> version!"
579
- msgstr ""
580
 
581
- #: gallery-plugin.php:1832
582
  msgid "Extend standard plugin functionality with new great options."
583
- msgstr ""
584
 
585
  #: template/gallery-single-template.php:102
586
  msgid "Image"
587
- msgstr "图像"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
588
 
589
  #, fuzzy
590
  #~ msgid "PHP Max Upload Size"
2
  msgstr ""
3
  "Project-Id-Version: gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-12-25 15:26+0300\n"
6
+ "PO-Revision-Date: 2013-12-25 15:26+0300\n"
7
  "Last-Translator: bestwebsoft.com <plugins@bestwebsoft.com>\n"
8
  "Language-Team: Xiaobo Chen <mibcxb@gmail.com>\n"
9
  "Language: zh_CN\n"
19
  #: gallery-plugin.php:100
20
  #: gallery-plugin.php:782
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:128
25
  #: gallery-plugin.php:138
26
  msgid "Galleries"
27
+ msgstr "画廊"
28
 
29
  #: gallery-plugin.php:129
30
  #: gallery-plugin.php:609
31
  msgid "Gallery"
32
+ msgstr "画廊"
33
 
34
  #: gallery-plugin.php:130
35
  msgid "Add a Gallery"
36
+ msgstr "添加画廊"
37
 
38
  #: gallery-plugin.php:131
39
  msgid "Add New Gallery"
40
+ msgstr "新建画廊"
41
 
42
  #: gallery-plugin.php:132
43
  msgid "Edit Gallery"
44
+ msgstr "编辑画廊"
45
 
46
  #: gallery-plugin.php:133
47
  msgid "New Gallery"
48
+ msgstr "新画廊"
49
 
50
  #: gallery-plugin.php:134
51
  msgid "View Gallery"
52
+ msgstr "浏览画廊"
53
 
54
  #: gallery-plugin.php:135
55
  msgid "Find a Gallery"
56
+ msgstr "查找画廊"
57
 
58
  #: gallery-plugin.php:136
59
  msgid "No Gallery found"
60
+ msgstr "没有找到画廊"
61
 
62
  #: gallery-plugin.php:193
63
  msgid "Upload File"
65
 
66
  #: gallery-plugin.php:194
67
  msgid "Gallery Shortcode"
68
+ msgstr "画廊代码"
69
 
70
  #: gallery-plugin.php:212
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)"
73
 
74
  #: gallery-plugin.php:216
75
  msgid "Choose an image for upload:"
76
+ msgstr "选择一幅影像上传:"
77
 
78
  #: gallery-plugin.php:221
79
  msgid "Please enable JavaScript to use the file uploader."
80
+ msgstr "请打开JavaScript以使用文件上传工具。"
81
 
82
  #: gallery-plugin.php:228
83
  msgid "Allow the download link for all images in this gallery"
84
+ msgstr "在此图集中为所有影像开启下载链接"
85
 
86
  #: gallery-plugin.php:229
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:231
91
  msgid "Please make a choice"
92
  msgstr "请选择"
93
 
94
  #: gallery-plugin.php:231
95
+ #: gallery-plugin.php:927
96
  msgid "Sort images by"
97
+ msgstr "影像排序按"
98
 
99
  #: gallery-plugin.php:231
100
  msgid "sort images"
101
+ msgstr "影像排序"
102
 
103
  #: gallery-plugin.php:231
104
  msgid "on the plugin settings page ("
111
 
112
  #: gallery-plugin.php:278
113
  msgid "Alt tag"
114
+ msgstr "Alt标签"
115
 
116
  #: gallery-plugin.php:279
117
  msgid "URL"
118
  msgstr "URL"
119
 
120
  #: gallery-plugin.php:279
 
121
  msgid "(by click on image opens a link in a new window)"
122
+ msgstr "(通过点击图像在新窗口中打开链接)"
123
 
124
  #: gallery-plugin.php:280
125
  msgid "This setting is available in Pro version"
126
+ msgstr "此设置在高级版本中可用"
127
 
128
  #: gallery-plugin.php:281
129
  msgid "Open the link"
143
 
144
  #: gallery-plugin.php:295
145
  msgid "You can add a Single Gallery to the page or post by inserting this shortcode into the content"
146
+ msgstr "您可以在页面上添加一个画廊或在正文中插入代码"
147
 
148
  #: gallery-plugin.php:297
149
  msgid "If you want to display a short description containing a screenshot and the link to the Single Gallery Page"
159
 
160
  #: gallery-plugin.php:508
161
  msgid "Publishing"
162
+ msgstr "发布"
163
 
164
  #: gallery-plugin.php:509
165
+ #: gallery-plugin.php:931
166
  msgid "Date"
167
  msgstr "日期"
168
 
169
  #: gallery-plugin.php:638
170
  msgid "See images &raquo;"
171
+ msgstr "查看影像 &raquo;"
172
 
173
  #: gallery-plugin.php:685
174
  msgid "requires"
175
+ msgstr "需要"
176
 
177
  #: gallery-plugin.php:685
178
  msgid "or higher, that is why it has been deactivated! Please upgrade WordPress and try again."
179
+ msgstr "或更高,这就是它被停用的原因!请升级 WordPress 后重试。"
180
 
181
  #: gallery-plugin.php:685
182
  msgid "Back to the WordPress"
183
+ msgstr "返回 WordPress"
184
 
185
  #: gallery-plugin.php:685
 
186
  msgid "Plugins page"
187
+ msgstr "插件页面"
188
 
189
  #: gallery-plugin.php:775
190
  msgid "Settings are saved"
192
 
193
  #: gallery-plugin.php:788
194
  msgid "Gallery Settings"
195
+ msgstr "画廊设置"
196
 
197
  #: gallery-plugin.php:791
198
  msgid "Notice:"
199
+ msgstr "注意:"
200
 
201
  #: gallery-plugin.php:791
202
  msgid "The plugin's settings have been changed. In order to save them please don't forget to click the 'Save Changes' button."
203
+ msgstr "插件的设置已经被修改。为了保存,请不要忘记点击 '保存修改' 按钮。"
204
 
205
  #: gallery-plugin.php:792
206
  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:"
207
+ msgstr "如果您想添加一个画廊到页面或公告中,仅需要将画廊代码放到页面或公告的内容中即可:"
208
 
209
  #: gallery-plugin.php:794
 
210
  msgid "Please enable JavaScript to use the option to renew images."
211
+ msgstr "请打开JavaScript以使用选项更新影像"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
212
 
213
+ #: gallery-plugin.php:798
214
  msgid "Update images for gallery"
215
+ msgstr "为画廊更新影像"
216
 
217
+ #: gallery-plugin.php:800
 
218
  msgid "Update images"
219
+ msgstr "更新影像"
220
 
221
+ #: gallery-plugin.php:805
222
  msgid "Updating images..."
223
+ msgstr "正在更新影像..."
224
 
225
+ #: gallery-plugin.php:806
 
226
  msgid "No image found"
227
+ msgstr "没有找到影像"
228
 
229
+ #: gallery-plugin.php:807
230
  msgid "All images are updated"
231
+ msgstr "已更新全部影像"
232
 
233
+ #: gallery-plugin.php:808
234
+ msgid "Error."
235
+ msgstr "错误。"
236
+
237
+ #: gallery-plugin.php:814
238
  msgid "Image size for the album cover"
239
+ msgstr "专辑封面的尺寸"
240
 
241
+ #: gallery-plugin.php:816
242
+ #: gallery-plugin.php:824
243
  #: gallery-plugin.php:837
 
 
244
  msgid "Image size"
245
+ msgstr "影像尺寸"
246
 
247
+ #: gallery-plugin.php:817
248
+ #: gallery-plugin.php:825
249
  msgid "Width (in px)"
250
  msgstr "宽度(像素)"
251
 
252
+ #: gallery-plugin.php:818
253
+ #: gallery-plugin.php:826
254
  msgid "Height (in px)"
255
  msgstr "高度(像素)"
256
 
257
+ #: gallery-plugin.php:822
258
  msgid "Gallery image size"
259
+ msgstr "画廊中影像的尺寸"
260
 
261
+ #: gallery-plugin.php:830
262
  msgid "WordPress will create a new thumbnail with the specified dimensions when you upload a new photo."
263
  msgstr "当您上传一幅新的照片时,WordPress会创建一个特定尺寸的缩略图副本。"
264
 
265
+ #: gallery-plugin.php:835
266
  msgid "Gallery image size in the lightbox"
267
+ msgstr "灯箱中的影像的尺寸"
268
 
269
+ #: gallery-plugin.php:838
270
  msgid "Max width (in px)"
271
  msgstr "最大宽度(像素)"
272
 
273
+ #: gallery-plugin.php:839
274
  msgid "Max height (in px)"
275
  msgstr "最大高度(像素)"
276
 
277
+ #: gallery-plugin.php:840
278
  msgid "Display a full size image in the lightbox"
279
  msgstr "在灯箱中显示全尺寸图像"
280
 
281
+ #: gallery-plugin.php:844
282
  msgid "Crop position"
283
  msgstr "裁剪位置"
284
 
285
+ #: gallery-plugin.php:846
286
  msgid "Horizontal"
287
  msgstr "水平"
288
 
289
+ #: gallery-plugin.php:848
290
  msgid "left"
291
+ msgstr "偏左"
292
 
293
+ #: gallery-plugin.php:849
294
+ #: gallery-plugin.php:856
295
  msgid "center"
296
+ msgstr "居中"
297
 
298
+ #: gallery-plugin.php:850
299
  msgid "right"
300
+ msgstr "偏右"
301
 
302
+ #: gallery-plugin.php:853
303
  msgid "Vertical"
304
  msgstr "垂直"
305
 
306
+ #: gallery-plugin.php:855
307
  msgid "top"
308
+ msgstr "偏上"
309
 
310
+ #: gallery-plugin.php:857
311
  msgid "bottom"
312
+ msgstr "偏下"
313
 
314
+ #: gallery-plugin.php:862
315
  msgid "Lightbox background"
316
  msgstr "灯箱背景"
317
 
318
+ #: gallery-plugin.php:864
319
  msgid "Default"
320
  msgstr "默认"
321
 
322
+ #: gallery-plugin.php:865
323
  msgid "Background transparency (from 0 to 1)"
324
  msgstr "背景透明度(值为 0 到 1)"
325
 
326
+ #: gallery-plugin.php:867
327
  msgid "Select a background color"
328
  msgstr "选择背景色"
329
 
330
+ #: gallery-plugin.php:869
331
  msgid "Background color"
332
  msgstr "背景色"
333
 
334
+ #: gallery-plugin.php:876
335
+ #: gallery-plugin.php:1021
336
  msgid "If you upgrade to Pro version all your settings and galleries will be saved."
337
+ msgstr "如果您升级到高级版本,您的设置和画廊将被保存。"
338
 
339
+ #: gallery-plugin.php:881
340
+ #: gallery-plugin.php:1026
341
  msgid "This functionality is available in the Pro version of the plugin. For more details, please follow the link"
342
  msgstr "此功能在插件的高级版本中可用。如需查看详细信息,请点击以下链接"
343
 
344
+ #: gallery-plugin.php:890
345
  msgid "Images with border"
346
+ msgstr "影像边缘"
347
 
348
+ #: gallery-plugin.php:893
349
  msgid "Border width in px, just numbers"
350
  msgstr "边缘宽度,以像素为单位,只能使用数字"
351
 
352
+ #: gallery-plugin.php:895
353
+ #: gallery-plugin.php:897
354
  msgid "Select a border color"
355
+ msgstr "选择边框颜色"
356
 
357
+ #: gallery-plugin.php:903
358
  msgid "Number of images in the row"
359
  msgstr "一行中图像的数量"
360
 
361
+ #: gallery-plugin.php:909
362
  msgid "Start slideshow"
363
  msgstr "播放幻灯片"
364
 
365
+ #: gallery-plugin.php:915
366
  msgid "Slideshow interval"
367
  msgstr "幻灯片播放间隔"
368
 
369
+ #: gallery-plugin.php:921
370
  msgid "Use single lightbox for multiple galleries on one page"
371
+ msgstr "在同一页面上为多个画廊使用同一个灯箱"
372
 
373
+ #: gallery-plugin.php:929
374
  msgid "Attachment ID"
375
  msgstr "附件ID"
376
 
377
+ #: gallery-plugin.php:930
378
  msgid "Image Name"
379
+ msgstr "影像名称"
380
 
381
+ #: gallery-plugin.php:932
382
  msgid "Sorting order (the input field for sorting order in the Insert / Upload Media Gallery dialog)"
383
  msgstr "分类排序(插入/上传媒体图集对话框中的输入字段)"
384
 
385
+ #: gallery-plugin.php:933
386
  msgid "Random"
387
  msgstr "随机"
388
 
389
+ #: gallery-plugin.php:937
390
  msgid "Sort images"
391
+ msgstr "影像排序"
392
 
393
+ #: gallery-plugin.php:939
394
  msgid "ASC (ascending order from lowest to highest values - 1, 2, 3; a, b, c)"
395
  msgstr "升序(由低到高 - 1, 2, 3; a, b, c)"
396
 
397
+ #: gallery-plugin.php:940
398
  msgid "DESC (descending order from highest to lowest values - 3, 2, 1; c, b, a)"
399
  msgstr "降序(由高到低 - 3, 2, 1; c, b, a)"
400
 
401
+ #: gallery-plugin.php:944
402
  msgid "Display text above the image"
403
  msgstr "在图像上方显示文本"
404
 
405
+ #: gallery-plugin.php:946
 
406
  msgid "Turn off the checkbox, if you want to display text just in a lightbox"
407
+ msgstr "取消复选框,如果您仅想在灯箱中显示文本"
408
 
409
+ #: gallery-plugin.php:950
410
  msgid "Display the Back link"
411
  msgstr "显示返回链接"
412
 
413
+ #: gallery-plugin.php:956
414
  msgid "Display the Back link in the shortcode"
415
+ msgstr "以代码方式显示返回链接"
416
 
417
+ #: gallery-plugin.php:962
418
  msgid "The Back link text"
419
  msgstr "返回链接文本"
420
 
421
+ #: gallery-plugin.php:968
422
  msgid "The Back link URL"
423
  msgstr "返回链接URL"
424
 
425
+ #: gallery-plugin.php:970
426
  msgid "Gallery page (Page with Gallery Template)"
427
+ msgstr "画廊页面(具有画廊模板的页面)"
428
 
429
+ #: gallery-plugin.php:972
430
  msgid "(Full URL to custom page)"
431
  msgstr "(到自定义页面的完整地址)"
432
 
433
+ #: gallery-plugin.php:976
434
  msgid "The Read More link text"
435
  msgstr "阅读更多链接的文本"
436
 
437
+ #: gallery-plugin.php:982
438
  msgid "Add gallery to the search"
439
+ msgstr "将画廊添加到搜索"
440
 
441
+ #: gallery-plugin.php:991
442
+ #: gallery-plugin.php:994
443
+ #: gallery-plugin.php:998
444
  msgid "Using Custom Search powered by"
445
+ msgstr "自定义搜索技术支持"
446
 
447
+ #: gallery-plugin.php:994
448
  msgid "Activate Custom Search"
449
+ msgstr "启用自定义搜索"
450
 
451
+ #: gallery-plugin.php:998
452
  msgid "Download Custom Search"
453
+ msgstr "下载自定义搜索"
454
 
455
+ #: gallery-plugin.php:1005
456
  msgid "Display Like buttons in the lightbox"
457
  msgstr "在灯箱中显示[喜欢]按钮"
458
 
459
+ #: gallery-plugin.php:1007
460
  msgid "FaceBook"
461
  msgstr "Facebook"
462
 
463
+ #: gallery-plugin.php:1008
464
  msgid "Twitter"
465
  msgstr "Twitter"
466
 
467
+ #: gallery-plugin.php:1009
468
  msgid "Pinterest"
469
  msgstr "Printerest"
470
 
471
+ #: gallery-plugin.php:1010
472
  msgid "Google +1"
473
  msgstr "Google +1"
474
 
475
+ #: gallery-plugin.php:1014
 
476
  msgid "Slug for gallery item"
477
+ msgstr "画廊项的滑块"
478
 
479
+ #: gallery-plugin.php:1016
480
  msgid "for any structure of permalinks except the default structure"
481
+ msgstr "给任意结构的固定链接,除了默认结构"
482
 
483
+ #: gallery-plugin.php:1036
484
  msgid "Save Changes"
485
  msgstr "保存修改"
486
 
487
+ #: gallery-plugin.php:1042
488
  msgid "If you enjoy our plugin, please give it 5 stars on WordPress"
489
+ msgstr "如果您喜欢我们的插件,请在 WordPress 上给它5星评价"
490
 
491
+ #: gallery-plugin.php:1043
 
492
  msgid "Rate the plugin"
493
+ msgstr "给插件评价"
494
 
495
+ #: gallery-plugin.php:1046
 
496
  msgid "If there is something wrong about it, please contact us"
497
+ msgstr "如果您有任何问题,请联系我们"
498
 
499
+ #: gallery-plugin.php:1058
500
+ #: gallery-plugin.php:1073
501
  msgid "Settings"
502
  msgstr "设置"
503
 
504
+ #: gallery-plugin.php:1059
505
  msgid "FAQ"
506
+ msgstr "常见问题"
507
 
508
+ #: gallery-plugin.php:1060
509
  msgid "Support"
510
  msgstr "支持"
511
 
512
+ #: gallery-plugin.php:1280
513
  #: template/gallery-single-template.php:76
514
  msgid "Sorry, nothing found."
515
  msgstr "对不起 - 没有找到。"
516
 
517
+ #: gallery-plugin.php:1302
518
  #: template/gallery-single-template.php:102
519
  msgid "Download high resolution image"
520
  msgstr "下载高分辨率图像"
521
 
522
+ #: gallery-plugin.php:1593
 
523
  msgid "Image size not defined"
524
+ msgstr "影像尺寸未定义"
525
 
526
+ #: gallery-plugin.php:1608
527
  msgid "We can update only PNG, JPEG, GIF, WPMP or XBM filetype. For other, please, manually reload image."
528
+ msgstr "我们仅可以更新 PNG,JPEG,GIF,WPMP 或 XBM 文件。对于其他文件类型,请手动重新加载影像。"
529
 
530
+ #: gallery-plugin.php:1619
531
  msgid "Image size changes not defined"
532
+ msgstr "图像大小的变化没有定义"
533
 
534
+ #: gallery-plugin.php:1648
535
+ #: gallery-plugin.php:1651
536
+ #: gallery-plugin.php:1656
537
  msgid "Invalid path"
538
+ msgstr "无效的路径"
539
 
540
+ #: gallery-plugin.php:1774
 
541
  msgid "Learn More"
542
+ msgstr "学习更多"
543
 
544
+ #: gallery-plugin.php:1776
545
  msgid "It’s time to upgrade your <strong>Gallery plugin</strong> to <strong>PRO</strong> version!"
546
+ msgstr "是时候升级您的 <strong>Gallery plugin</strong> 到 <strong>PRO</strong> 版了!"
547
 
548
+ #: gallery-plugin.php:1777
549
  msgid "Extend standard plugin functionality with new great options."
550
+ msgstr "给标准插件功能扩展强大的选项。"
551
 
552
  #: template/gallery-single-template.php:102
553
  msgid "Image"
554
+ msgstr "影像"
555
+
556
+ #~ msgid "Change the way to store your post_meta information for gallery"
557
+ #~ msgstr "为画廊改变存储 post_meta 信息的方式"
558
+
559
+ #~ msgid "Update All Info"
560
+ #~ msgstr "更新全部信息"
561
+
562
+ #~ msgid "Updating post_meta information..."
563
+ #~ msgstr "更新 post_meta 信息..."
564
+
565
+ #~ msgid "No gallery item found"
566
+ #~ msgstr "没有找到画廊项"
567
+
568
+ #~ msgid "All info is updated"
569
+ #~ msgstr "已更新全部信息"
570
 
571
  #, fuzzy
572
  #~ msgid "PHP Max Upload Size"
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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.8
7
- Stable tag: 4.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -159,6 +159,11 @@ and add (for the themes Twenty Eleven or Twenty Ten):
159
 
160
  == Changelog ==
161
 
 
 
 
 
 
162
  = V4.1.1 - 13.12.2013 =
163
  * Update : We updated all functionality for wordpress 3.8.
164
  * Update : Screenshots are updated.
@@ -386,6 +391,9 @@ and add (for the themes Twenty Eleven or Twenty Ten):
386
 
387
  == Upgrade Notice ==
388
 
 
 
 
389
  = V4.1.1 =
390
  We updated all functionality for wordpress 3.8. Screenshots are updated. Ability to update images after changing gallery image size.
391
 
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.8
7
+ Stable tag: 4.1.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
159
 
160
  == Changelog ==
161
 
162
+ = V4.1.2 - 25.12.2013 =
163
+ * Update : The French language file is updated.
164
+ * Update : The Chinese language file is updated.
165
+ * Bugfix : We fixed the bug of download link title.
166
+
167
  = V4.1.1 - 13.12.2013 =
168
  * Update : We updated all functionality for wordpress 3.8.
169
  * Update : Screenshots are updated.
391
 
392
  == Upgrade Notice ==
393
 
394
+ = V4.1.2 =
395
+ The French language file is updated. The Chinese language file is updated. We fixed the bug of download link title.
396
+
397
  = V4.1.1 =
398
  We updated all functionality for wordpress 3.8. Screenshots are updated. Ability to update images after changing gallery image size.
399
 
template/gallery-single-template.php CHANGED
@@ -11,6 +11,7 @@
11
  );
12
  $second_query = new WP_Query( $args );
13
  $gllr_options = get_option( 'gllr_options' );
 
14
  if ( $second_query->have_posts() ) : while ( $second_query->have_posts() ) : $second_query->the_post(); ?>
15
  <h1 class="home_page_title entry-header"><?php the_title(); ?></h1>
16
  <div class="gallery_box_single entry-content">
@@ -99,7 +100,7 @@
99
  'speedIn' : 500,
100
  'speedOut' : 300,
101
  'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
102
- 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 } ?>';
103
  }<?php if ( $gllr_options['start_slideshow'] == 1 ) { ?>,
104
  'onComplete': function() {
105
  clearTimeout( jQuery.fancybox.slider );
11
  );
12
  $second_query = new WP_Query( $args );
13
  $gllr_options = get_option( 'gllr_options' );
14
+ $gllr_download_link_title = addslashes( __( 'Download high resolution image', 'gallery' ) );
15
  if ( $second_query->have_posts() ) : while ( $second_query->have_posts() ) : $second_query->the_post(); ?>
16
  <h1 class="home_page_title entry-header"><?php the_title(); ?></h1>
17
  <div class="gallery_box_single entry-content">
100
  'speedIn' : 500,
101
  'speedOut' : 300,
102
  'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
103
+ 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 $gllr_download_link_title; ?> </a><?php } ?>';
104
  }<?php if ( $gllr_options['start_slideshow'] == 1 ) { ?>,
105
  'onComplete': function() {
106
  clearTimeout( jQuery.fancybox.slider );
upload/files/E42A6623526899032ad36-160x120.png ADDED
Binary file