Version Description
- Fixed styling issue with the background going up as soon as one writes a comment (props Philipp)
- Added translation support. (props Philipp)
- Translated it for German. (props Philipp)
Download this release
Release Info
Developer | smub |
Plugin | Gallery Carousel Without JetPack |
Version | 0.3 |
Comparing to | |
See all releases |
Code changes from version 0.2 to 0.3
- jetpack-carousel.css +1 -0
- jetpack-carousel.php +38 -36
- languages/carousel-de_DE.mo +0 -0
- languages/carousel-de_DE.po +317 -0
- languages/carousel-xx_XX.pot +21 -0
- readme.txt +17 -3
jetpack-carousel.css
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
|
5 |
.jp-carousel-overlay {
|
6 |
background: #000;
|
|
|
7 |
}
|
8 |
|
9 |
div.jp-carousel-buttons a.jp-carousel-permalink {
|
4 |
|
5 |
.jp-carousel-overlay {
|
6 |
background: #000;
|
7 |
+
position: fixed!important;
|
8 |
}
|
9 |
|
10 |
div.jp-carousel-buttons a.jp-carousel-permalink {
|
jetpack-carousel.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Gallery Carousel Without JetPack
|
4 |
Plugin URI: http://www.wpbeginner.com/
|
5 |
Description: Transform your standard galleries into an immersive full-screen experience without requiring you to connect to WordPress.com
|
6 |
-
Version: 0.
|
7 |
Author: Syed Balkhi
|
8 |
Author URI: http://www.wpbeginner.com
|
9 |
License: GPLv2 or later
|
@@ -15,6 +15,8 @@ without logging into WordPress.com because I shouldn't be forced to (that's evil
|
|
15 |
this little plugin which is exactly the copy of JetPack module. I will update this plugin everytime that JetPack updates.
|
16 |
|
17 |
*/
|
|
|
|
|
18 |
class No_Jetpack_Carousel {
|
19 |
|
20 |
var $prebuilt_widths = array( 370, 700, 1000, 1200, 1400, 2000 );
|
@@ -107,33 +109,33 @@ class No_Jetpack_Carousel {
|
|
107 |
'display_exif' => $this->test_1or0_option( get_option( 'carousel_display_exif' ), true ),
|
108 |
'display_geo' => $this->test_1or0_option( get_option( 'carousel_display_geo' ), true ),
|
109 |
'background_color' => $this->carousel_background_color_sanitize( get_option( 'carousel_background_color' ) ),
|
110 |
-
'post_comment' => __( 'Post Comment', '
|
111 |
-
'loading_comments' => __( 'Loading Comments...', '
|
112 |
-
'download_original' => __( 'View full size <span class="photo-size">{0}<span class="photo-size-times">×</span>{1}</span>', '
|
113 |
-
'no_comment_text' => __( 'Please be sure to submit some text with your comment.', '
|
114 |
-
'no_comment_email' => __( 'Please provide an email address to comment.', '
|
115 |
-
'no_comment_author' => __( 'Please provide your name to comment.', '
|
116 |
-
'comment_post_error' => __( 'Sorry, but there was an error posting your comment. Please try again later.', '
|
117 |
-
'comment_approved' => __( 'Your comment was approved.', '
|
118 |
-
'comment_unapproved' => __( 'Your comment is in moderation.', '
|
119 |
-
'camera' => __( 'Camera', '
|
120 |
-
'aperture' => __( 'Aperture', '
|
121 |
-
'shutter_speed' => __( 'Shutter Speed', '
|
122 |
-
'focal_length' => __( 'Focal Length', '
|
123 |
);
|
124 |
|
125 |
if ( ! isset( $localize_strings['jetpack_comments_iframe_src'] ) || empty( $localize_strings['jetpack_comments_iframe_src'] ) ) {
|
126 |
// We're not using Jetpack comments after all, so fallback to standard local comments.
|
127 |
|
128 |
if ( $is_logged_in ) {
|
129 |
-
$localize_strings['local_comments_commenting_as'] = '<p id="jp-carousel-commenting-as">' . sprintf( __( 'Commenting as %s', '
|
130 |
} else {
|
131 |
$localize_strings['local_comments_commenting_as'] = ''
|
132 |
-
. '<fieldset><label for="email">' . __( 'Email (Required)', '
|
133 |
. '<input type="text" name="email" class="jp-carousel-comment-form-field jp-carousel-comment-form-text-field" id="jp-carousel-comment-form-email-field" /></fieldset>'
|
134 |
-
. '<fieldset><label for="author">' . __( 'Name (Required)', '
|
135 |
. '<input type="text" name="author" class="jp-carousel-comment-form-field jp-carousel-comment-form-text-field" id="jp-carousel-comment-form-author-field" /></fieldset>'
|
136 |
-
. '<fieldset><label for="url">' . __( 'Website', '
|
137 |
. '<input type="text" name="url" class="jp-carousel-comment-form-field jp-carousel-comment-form-text-field" id="jp-carousel-comment-form-url-field" /></fieldset>';
|
138 |
}
|
139 |
}
|
@@ -243,7 +245,7 @@ class No_Jetpack_Carousel {
|
|
243 |
$offset = ( isset( $_REQUEST['offset'] ) ) ? (int) $_REQUEST['offset'] : 0;
|
244 |
|
245 |
if ( ! $attachment_id ) {
|
246 |
-
echo json_encode( __( 'Missing attachment ID.', '
|
247 |
die();
|
248 |
}
|
249 |
|
@@ -281,20 +283,20 @@ class No_Jetpack_Carousel {
|
|
281 |
header('Content-type: text/javascript');
|
282 |
|
283 |
if ( empty( $_POST['nonce'] ) || ! wp_verify_nonce($_POST['nonce'], 'carousel_nonce') )
|
284 |
-
die( json_encode( array( 'error' => __( 'Nonce verification failed.', '
|
285 |
|
286 |
$_blog_id = (int) $_POST['blog_id'];
|
287 |
$_post_id = (int) $_POST['id'];
|
288 |
$comment = $_POST['comment'];
|
289 |
|
290 |
if ( empty( $_blog_id ) )
|
291 |
-
die( json_encode( array( 'error' => __( 'Missing target blog ID.', '
|
292 |
|
293 |
if ( empty( $_post_id ) )
|
294 |
-
die( json_encode( array( 'error' => __( 'Missing target post ID.', '
|
295 |
|
296 |
if ( empty( $comment ) )
|
297 |
-
die( json_encode( array( 'error' => __( 'No comment text was submitted.', '
|
298 |
|
299 |
// Used in context like NewDash
|
300 |
$switched = false;
|
@@ -306,7 +308,7 @@ class No_Jetpack_Carousel {
|
|
306 |
do_action('jp_carousel_check_blog_user_privileges');
|
307 |
|
308 |
if ( ! comments_open( $_post_id ) )
|
309 |
-
die( json_encode( array( 'error' => __( 'Comments on this post are closed.', '
|
310 |
|
311 |
if ( is_user_logged_in() ) {
|
312 |
$user = wp_get_current_user();
|
@@ -316,7 +318,7 @@ class No_Jetpack_Carousel {
|
|
316 |
$url = $user->user_url;
|
317 |
|
318 |
if ( empty( $user_id ) )
|
319 |
-
die( json_encode( array( 'error' => __( 'Sorry, but we could not authenticate your request.', '
|
320 |
} else {
|
321 |
$user_id = 0;
|
322 |
$display_name = $_POST['author'];
|
@@ -324,13 +326,13 @@ class No_Jetpack_Carousel {
|
|
324 |
$url = $_POST['url'];
|
325 |
|
326 |
if ( empty( $display_name ) )
|
327 |
-
die( json_encode( array( 'error' => __( 'Please provide your name.', '
|
328 |
|
329 |
if ( empty( $email ) )
|
330 |
-
die( json_encode( array( 'error' => __( 'Please provide an email address.', '
|
331 |
|
332 |
if ( ! is_email( $email ) )
|
333 |
-
die( json_encode( array( 'error' => __( 'Please provide a valid email address.', '
|
334 |
}
|
335 |
|
336 |
$comment_data = array(
|
@@ -357,17 +359,17 @@ class No_Jetpack_Carousel {
|
|
357 |
}
|
358 |
|
359 |
function register_settings() {
|
360 |
-
add_settings_section('carousel_section', __( 'Image Gallery Carousel', '
|
361 |
|
362 |
if ( ! $this->in_jetpack ) {
|
363 |
-
add_settings_field('carousel_enable_it', __( 'Enable carousel', '
|
364 |
register_setting( 'media', 'carousel_enable_it', array( $this, 'carousel_enable_it_sanitize' ) );
|
365 |
}
|
366 |
|
367 |
-
add_settings_field('carousel_background_color', __( 'Background color', '
|
368 |
register_setting( 'media', 'carousel_background_color', array( $this, 'carousel_background_color_sanitize' ) );
|
369 |
|
370 |
-
add_settings_field('carousel_display_exif', __( 'Metadata', '
|
371 |
register_setting( 'media', 'carousel_display_exif', array( $this, 'carousel_display_exif_sanitize' ) );
|
372 |
|
373 |
// No geo setting yet, need to "fuzzify" data first, for privacy
|
@@ -424,7 +426,7 @@ class No_Jetpack_Carousel {
|
|
424 |
}
|
425 |
|
426 |
function carousel_display_exif_callback() {
|
427 |
-
$this->settings_checkbox( 'carousel_display_exif', __( 'Show photo metadata (<a href="http://en.wikipedia.org/wiki/Exchangeable_image_file_format" target="_blank">Exif</a>) in carousel, when available.', '
|
428 |
}
|
429 |
|
430 |
function carousel_display_exif_sanitize( $value ) {
|
@@ -432,7 +434,7 @@ class No_Jetpack_Carousel {
|
|
432 |
}
|
433 |
|
434 |
function carousel_display_geo_callback() {
|
435 |
-
$this->settings_checkbox( 'carousel_display_geo', __( 'Show map of photo location in carousel, when available.', '
|
436 |
}
|
437 |
|
438 |
function carousel_display_geo_sanitize( $value ) {
|
@@ -440,7 +442,7 @@ class No_Jetpack_Carousel {
|
|
440 |
}
|
441 |
|
442 |
function carousel_background_color_callback() {
|
443 |
-
$this->settings_select( 'carousel_background_color', array( 'black' => __( 'Black', '
|
444 |
}
|
445 |
|
446 |
function carousel_background_color_sanitize( $value ) {
|
@@ -448,7 +450,7 @@ class No_Jetpack_Carousel {
|
|
448 |
}
|
449 |
|
450 |
function carousel_enable_it_callback() {
|
451 |
-
$this->settings_checkbox( 'carousel_enable_it', __( 'Display images in full-size carousel slideshow.', '
|
452 |
}
|
453 |
|
454 |
function carousel_enable_it_sanitize( $value ) {
|
3 |
Plugin Name: Gallery Carousel Without JetPack
|
4 |
Plugin URI: http://www.wpbeginner.com/
|
5 |
Description: Transform your standard galleries into an immersive full-screen experience without requiring you to connect to WordPress.com
|
6 |
+
Version: 0.3
|
7 |
Author: Syed Balkhi
|
8 |
Author URI: http://www.wpbeginner.com
|
9 |
License: GPLv2 or later
|
15 |
this little plugin which is exactly the copy of JetPack module. I will update this plugin everytime that JetPack updates.
|
16 |
|
17 |
*/
|
18 |
+
load_plugin_textdomain('carousel', false, basename( dirname( __FILE__ ) ) . '/languages' );
|
19 |
+
|
20 |
class No_Jetpack_Carousel {
|
21 |
|
22 |
var $prebuilt_widths = array( 370, 700, 1000, 1200, 1400, 2000 );
|
109 |
'display_exif' => $this->test_1or0_option( get_option( 'carousel_display_exif' ), true ),
|
110 |
'display_geo' => $this->test_1or0_option( get_option( 'carousel_display_geo' ), true ),
|
111 |
'background_color' => $this->carousel_background_color_sanitize( get_option( 'carousel_background_color' ) ),
|
112 |
+
'post_comment' => __( 'Post Comment', 'carousel' ),
|
113 |
+
'loading_comments' => __( 'Loading Comments...', 'carousel' ),
|
114 |
+
'download_original' => __( 'View full size <span class="photo-size">{0}<span class="photo-size-times">×</span>{1}</span>', 'carousel' ),
|
115 |
+
'no_comment_text' => __( 'Please be sure to submit some text with your comment.', 'carousel' ),
|
116 |
+
'no_comment_email' => __( 'Please provide an email address to comment.', 'carousel' ),
|
117 |
+
'no_comment_author' => __( 'Please provide your name to comment.', 'carousel' ),
|
118 |
+
'comment_post_error' => __( 'Sorry, but there was an error posting your comment. Please try again later.', 'carousel' ),
|
119 |
+
'comment_approved' => __( 'Your comment was approved.', 'carousel' ),
|
120 |
+
'comment_unapproved' => __( 'Your comment is in moderation.', 'carousel' ),
|
121 |
+
'camera' => __( 'Camera', 'carousel' ),
|
122 |
+
'aperture' => __( 'Aperture', 'carousel' ),
|
123 |
+
'shutter_speed' => __( 'Shutter Speed', 'carousel' ),
|
124 |
+
'focal_length' => __( 'Focal Length', 'carousel' ),
|
125 |
);
|
126 |
|
127 |
if ( ! isset( $localize_strings['jetpack_comments_iframe_src'] ) || empty( $localize_strings['jetpack_comments_iframe_src'] ) ) {
|
128 |
// We're not using Jetpack comments after all, so fallback to standard local comments.
|
129 |
|
130 |
if ( $is_logged_in ) {
|
131 |
+
$localize_strings['local_comments_commenting_as'] = '<p id="jp-carousel-commenting-as">' . sprintf( __( 'Commenting as %s', 'carousel' ), $current_user->data->display_name ) . '</p>';
|
132 |
} else {
|
133 |
$localize_strings['local_comments_commenting_as'] = ''
|
134 |
+
. '<fieldset><label for="email">' . __( 'Email (Required)', 'carousel' ) . '</label> '
|
135 |
. '<input type="text" name="email" class="jp-carousel-comment-form-field jp-carousel-comment-form-text-field" id="jp-carousel-comment-form-email-field" /></fieldset>'
|
136 |
+
. '<fieldset><label for="author">' . __( 'Name (Required)', 'carousel' ) . '</label> '
|
137 |
. '<input type="text" name="author" class="jp-carousel-comment-form-field jp-carousel-comment-form-text-field" id="jp-carousel-comment-form-author-field" /></fieldset>'
|
138 |
+
. '<fieldset><label for="url">' . __( 'Website', 'carousel' ) . '</label> '
|
139 |
. '<input type="text" name="url" class="jp-carousel-comment-form-field jp-carousel-comment-form-text-field" id="jp-carousel-comment-form-url-field" /></fieldset>';
|
140 |
}
|
141 |
}
|
245 |
$offset = ( isset( $_REQUEST['offset'] ) ) ? (int) $_REQUEST['offset'] : 0;
|
246 |
|
247 |
if ( ! $attachment_id ) {
|
248 |
+
echo json_encode( __( 'Missing attachment ID.', 'carousel' ) );
|
249 |
die();
|
250 |
}
|
251 |
|
283 |
header('Content-type: text/javascript');
|
284 |
|
285 |
if ( empty( $_POST['nonce'] ) || ! wp_verify_nonce($_POST['nonce'], 'carousel_nonce') )
|
286 |
+
die( json_encode( array( 'error' => __( 'Nonce verification failed.', 'carousel' ) ) ) );
|
287 |
|
288 |
$_blog_id = (int) $_POST['blog_id'];
|
289 |
$_post_id = (int) $_POST['id'];
|
290 |
$comment = $_POST['comment'];
|
291 |
|
292 |
if ( empty( $_blog_id ) )
|
293 |
+
die( json_encode( array( 'error' => __( 'Missing target blog ID.', 'carousel' ) ) ) );
|
294 |
|
295 |
if ( empty( $_post_id ) )
|
296 |
+
die( json_encode( array( 'error' => __( 'Missing target post ID.', 'carousel' ) ) ) );
|
297 |
|
298 |
if ( empty( $comment ) )
|
299 |
+
die( json_encode( array( 'error' => __( 'No comment text was submitted.', 'carousel' ) ) ) );
|
300 |
|
301 |
// Used in context like NewDash
|
302 |
$switched = false;
|
308 |
do_action('jp_carousel_check_blog_user_privileges');
|
309 |
|
310 |
if ( ! comments_open( $_post_id ) )
|
311 |
+
die( json_encode( array( 'error' => __( 'Comments on this post are closed.', 'carousel' ) ) ) );
|
312 |
|
313 |
if ( is_user_logged_in() ) {
|
314 |
$user = wp_get_current_user();
|
318 |
$url = $user->user_url;
|
319 |
|
320 |
if ( empty( $user_id ) )
|
321 |
+
die( json_encode( array( 'error' => __( 'Sorry, but we could not authenticate your request.', 'carousel' ) ) ) );
|
322 |
} else {
|
323 |
$user_id = 0;
|
324 |
$display_name = $_POST['author'];
|
326 |
$url = $_POST['url'];
|
327 |
|
328 |
if ( empty( $display_name ) )
|
329 |
+
die( json_encode( array( 'error' => __( 'Please provide your name.', 'carousel' ) ) ) );
|
330 |
|
331 |
if ( empty( $email ) )
|
332 |
+
die( json_encode( array( 'error' => __( 'Please provide an email address.', 'carousel' ) ) ) );
|
333 |
|
334 |
if ( ! is_email( $email ) )
|
335 |
+
die( json_encode( array( 'error' => __( 'Please provide a valid email address.', 'carousel' ) ) ) );
|
336 |
}
|
337 |
|
338 |
$comment_data = array(
|
359 |
}
|
360 |
|
361 |
function register_settings() {
|
362 |
+
add_settings_section('carousel_section', __( 'Image Gallery Carousel', 'carousel' ), array( $this, 'carousel_section_callback' ), 'media');
|
363 |
|
364 |
if ( ! $this->in_jetpack ) {
|
365 |
+
add_settings_field('carousel_enable_it', __( 'Enable carousel', 'carousel' ), array( $this, 'carousel_enable_it_callback' ), 'media', 'carousel_section' );
|
366 |
register_setting( 'media', 'carousel_enable_it', array( $this, 'carousel_enable_it_sanitize' ) );
|
367 |
}
|
368 |
|
369 |
+
add_settings_field('carousel_background_color', __( 'Background color', 'carousel' ), array( $this, 'carousel_background_color_callback' ), 'media', 'carousel_section' );
|
370 |
register_setting( 'media', 'carousel_background_color', array( $this, 'carousel_background_color_sanitize' ) );
|
371 |
|
372 |
+
add_settings_field('carousel_display_exif', __( 'Metadata', 'carousel'), array( $this, 'carousel_display_exif_callback' ), 'media', 'carousel_section' );
|
373 |
register_setting( 'media', 'carousel_display_exif', array( $this, 'carousel_display_exif_sanitize' ) );
|
374 |
|
375 |
// No geo setting yet, need to "fuzzify" data first, for privacy
|
426 |
}
|
427 |
|
428 |
function carousel_display_exif_callback() {
|
429 |
+
$this->settings_checkbox( 'carousel_display_exif', __( 'Show photo metadata (<a href="http://en.wikipedia.org/wiki/Exchangeable_image_file_format" target="_blank">Exif</a>) in carousel, when available.', 'carousel' ) );
|
430 |
}
|
431 |
|
432 |
function carousel_display_exif_sanitize( $value ) {
|
434 |
}
|
435 |
|
436 |
function carousel_display_geo_callback() {
|
437 |
+
$this->settings_checkbox( 'carousel_display_geo', __( 'Show map of photo location in carousel, when available.', 'carousel' ) );
|
438 |
}
|
439 |
|
440 |
function carousel_display_geo_sanitize( $value ) {
|
442 |
}
|
443 |
|
444 |
function carousel_background_color_callback() {
|
445 |
+
$this->settings_select( 'carousel_background_color', array( 'black' => __( 'Black', 'carousel' ), 'white' => __( 'White', 'carousel', 'carousel' ) ) );
|
446 |
}
|
447 |
|
448 |
function carousel_background_color_sanitize( $value ) {
|
450 |
}
|
451 |
|
452 |
function carousel_enable_it_callback() {
|
453 |
+
$this->settings_checkbox( 'carousel_enable_it', __( 'Display images in full-size carousel slideshow.', 'carousel' ) );
|
454 |
}
|
455 |
|
456 |
function carousel_enable_it_sanitize( $value ) {
|
languages/carousel-de_DE.mo
ADDED
Binary file
|
languages/carousel-de_DE.po
ADDED
@@ -0,0 +1,317 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Gallery Carousel Without JetPack v0.2\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2012-07-24 23:33:20+0000\n"
|
7 |
+
"Last-Translator: admin <philipp@kulturweit-blog.de>\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 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
+
"X-Poedit-Language: German\n"
|
14 |
+
"X-Poedit-Country: GERMANY\n"
|
15 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
16 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
|
17 |
+
"X-Poedit-Basepath: ../\n"
|
18 |
+
"X-Poedit-Bookmarks: \n"
|
19 |
+
"X-Poedit-SearchPath-0: .\n"
|
20 |
+
"X-Textdomain-Support: yes"
|
21 |
+
|
22 |
+
#: jetpack-carousel.php:112
|
23 |
+
#@ carousel
|
24 |
+
msgid "Post Comment"
|
25 |
+
msgstr "Kommentieren"
|
26 |
+
|
27 |
+
#: jetpack-carousel.php:113
|
28 |
+
#@ carousel
|
29 |
+
msgid "Loading Comments..."
|
30 |
+
msgstr "Lade Kommentare..."
|
31 |
+
|
32 |
+
#: jetpack-carousel.php:114
|
33 |
+
#@ carousel
|
34 |
+
msgid "View full size <span class=\"photo-size\">{0}<span class=\"photo-size-times\">×</span>{1}</span>"
|
35 |
+
msgstr "Bild in voller Größe <span class=\"photo-size\">{0}<span class=\"photo-size-times\">×</span>{1}</span>"
|
36 |
+
|
37 |
+
#: jetpack-carousel.php:115
|
38 |
+
#@ carousel
|
39 |
+
msgid "Please be sure to submit some text with your comment."
|
40 |
+
msgstr "Gehe bitte sicher, dass du auch einen Text mit deinem Kommentar veröffentlichst."
|
41 |
+
|
42 |
+
#: jetpack-carousel.php:116
|
43 |
+
#@ carousel
|
44 |
+
msgid "Please provide an email address to comment."
|
45 |
+
msgstr "Bitte gebe zum Kommentieren deine eMail-Adresse an."
|
46 |
+
|
47 |
+
#: jetpack-carousel.php:117
|
48 |
+
#@ carousel
|
49 |
+
msgid "Please provide your name to comment."
|
50 |
+
msgstr "Bitte gebe zum Kommentieren deinen Namen an."
|
51 |
+
|
52 |
+
#: jetpack-carousel.php:118
|
53 |
+
#@ carousel
|
54 |
+
msgid "Sorry, but there was an error posting your comment. Please try again later."
|
55 |
+
msgstr "Sorry, aber es gab beim veröffentlichen deines Kommentars einen Fehler. Versuche es bitte noch mal."
|
56 |
+
|
57 |
+
#: jetpack-carousel.php:119
|
58 |
+
#@ carousel
|
59 |
+
msgid "Your comment was approved."
|
60 |
+
msgstr "Dein Kommentar wurde genehmigt."
|
61 |
+
|
62 |
+
#: jetpack-carousel.php:120
|
63 |
+
#@ carousel
|
64 |
+
msgid "Your comment is in moderation."
|
65 |
+
msgstr "Dein Kommentar wartet auf Moderation."
|
66 |
+
|
67 |
+
#: jetpack-carousel.php:121
|
68 |
+
#@ carousel
|
69 |
+
msgid "Camera"
|
70 |
+
msgstr "Kamera"
|
71 |
+
|
72 |
+
#: jetpack-carousel.php:122
|
73 |
+
#@ carousel
|
74 |
+
msgid "Aperture"
|
75 |
+
msgstr "Blende"
|
76 |
+
|
77 |
+
#: jetpack-carousel.php:123
|
78 |
+
#@ carousel
|
79 |
+
msgid "Shutter Speed"
|
80 |
+
msgstr "Verschlusszeit"
|
81 |
+
|
82 |
+
#: jetpack-carousel.php:124
|
83 |
+
#@ carousel
|
84 |
+
msgid "Focal Length"
|
85 |
+
msgstr "Brennweite"
|
86 |
+
|
87 |
+
#: jetpack-carousel.php:131
|
88 |
+
#, php-format
|
89 |
+
#@ carousel
|
90 |
+
msgid "Commenting as %s"
|
91 |
+
msgstr "Du kommentierst als %s"
|
92 |
+
|
93 |
+
#: jetpack-carousel.php:134
|
94 |
+
#: jetpack-carousel_olf.php:132
|
95 |
+
#@ carousel
|
96 |
+
#@ jetpack
|
97 |
+
msgid "Email (Required)"
|
98 |
+
msgstr "eMail (benötigt)"
|
99 |
+
|
100 |
+
#: jetpack-carousel.php:136
|
101 |
+
#: jetpack-carousel_olf.php:134
|
102 |
+
#@ carousel
|
103 |
+
#@ jetpack
|
104 |
+
msgid "Name (Required)"
|
105 |
+
msgstr "Name (benötigt)"
|
106 |
+
|
107 |
+
#: jetpack-carousel.php:138
|
108 |
+
#: jetpack-carousel_olf.php:136
|
109 |
+
#@ carousel
|
110 |
+
#@ jetpack
|
111 |
+
msgid "Website"
|
112 |
+
msgstr "Webseite"
|
113 |
+
|
114 |
+
#: jetpack-carousel.php:248
|
115 |
+
#: jetpack-carousel_olf.php:246
|
116 |
+
#@ carousel
|
117 |
+
#@ jetpack
|
118 |
+
msgid "Missing attachment ID."
|
119 |
+
msgstr "Fehlende Anhangs-ID."
|
120 |
+
|
121 |
+
#: jetpack-carousel.php:286
|
122 |
+
#: jetpack-carousel_olf.php:284
|
123 |
+
#@ carousel
|
124 |
+
#@ jetpack
|
125 |
+
msgid "Nonce verification failed."
|
126 |
+
msgstr "Nonce-Verifizierung ist fehlgeschlagen."
|
127 |
+
|
128 |
+
#: jetpack-carousel.php:293
|
129 |
+
#: jetpack-carousel_olf.php:291
|
130 |
+
#@ carousel
|
131 |
+
#@ jetpack
|
132 |
+
msgid "Missing target blog ID."
|
133 |
+
msgstr "Fehlende Ziel-Blog-ID."
|
134 |
+
|
135 |
+
#: jetpack-carousel.php:296
|
136 |
+
#: jetpack-carousel_olf.php:294
|
137 |
+
#@ carousel
|
138 |
+
#@ jetpack
|
139 |
+
msgid "Missing target post ID."
|
140 |
+
msgstr "Fehlende Ziel-Artikel-ID."
|
141 |
+
|
142 |
+
#: jetpack-carousel.php:299
|
143 |
+
#: jetpack-carousel_olf.php:297
|
144 |
+
#@ carousel
|
145 |
+
#@ jetpack
|
146 |
+
msgid "No comment text was submitted."
|
147 |
+
msgstr "Es wurde kein Text mit dem Kommentar eingereicht."
|
148 |
+
|
149 |
+
#: jetpack-carousel.php:311
|
150 |
+
#: jetpack-carousel_olf.php:309
|
151 |
+
#@ carousel
|
152 |
+
#@ jetpack
|
153 |
+
msgid "Comments on this post are closed."
|
154 |
+
msgstr "Kommentare sind geschlossen."
|
155 |
+
|
156 |
+
#: jetpack-carousel.php:321
|
157 |
+
#: jetpack-carousel_olf.php:319
|
158 |
+
#@ carousel
|
159 |
+
#@ jetpack
|
160 |
+
msgid "Sorry, but we could not authenticate your request."
|
161 |
+
msgstr "Sorry, aber wir konnten deine Anfrage nicht authentifizieren."
|
162 |
+
|
163 |
+
#: jetpack-carousel.php:329
|
164 |
+
#: jetpack-carousel_olf.php:327
|
165 |
+
#@ carousel
|
166 |
+
#@ jetpack
|
167 |
+
msgid "Please provide your name."
|
168 |
+
msgstr "Bitte gebe deinen Namen an."
|
169 |
+
|
170 |
+
#: jetpack-carousel.php:332
|
171 |
+
#: jetpack-carousel_olf.php:330
|
172 |
+
#@ carousel
|
173 |
+
#@ jetpack
|
174 |
+
msgid "Please provide an email address."
|
175 |
+
msgstr "Bitte gebe deine eMail-Adresse an."
|
176 |
+
|
177 |
+
#: jetpack-carousel.php:335
|
178 |
+
#: jetpack-carousel_olf.php:333
|
179 |
+
#@ carousel
|
180 |
+
#@ jetpack
|
181 |
+
msgid "Please provide a valid email address."
|
182 |
+
msgstr "Bitte gebe eine gültige eMail-Adresse an."
|
183 |
+
|
184 |
+
#: jetpack-carousel.php:362
|
185 |
+
#: jetpack-carousel_olf.php:360
|
186 |
+
#@ carousel
|
187 |
+
#@ jetpack
|
188 |
+
msgid "Image Gallery Carousel"
|
189 |
+
msgstr "Bilder Karussell"
|
190 |
+
|
191 |
+
#: jetpack-carousel.php:365
|
192 |
+
#: jetpack-carousel_olf.php:363
|
193 |
+
#@ carousel
|
194 |
+
#@ jetpack
|
195 |
+
msgid "Enable carousel"
|
196 |
+
msgstr "Bilder-Karusell aktivieren"
|
197 |
+
|
198 |
+
#: jetpack-carousel.php:369
|
199 |
+
#: jetpack-carousel_olf.php:367
|
200 |
+
#@ carousel
|
201 |
+
#@ jetpack
|
202 |
+
msgid "Background color"
|
203 |
+
msgstr "Hintergrundfarbe"
|
204 |
+
|
205 |
+
#: jetpack-carousel.php:372
|
206 |
+
#: jetpack-carousel_olf.php:370
|
207 |
+
#@ carousel
|
208 |
+
#@ jetpack
|
209 |
+
msgid "Metadata"
|
210 |
+
msgstr "Metadaten"
|
211 |
+
|
212 |
+
#: jetpack-carousel.php:429
|
213 |
+
#: jetpack-carousel_olf.php:427
|
214 |
+
#@ carousel
|
215 |
+
#@ jetpack
|
216 |
+
msgid "Show photo metadata (<a href=\"http://en.wikipedia.org/wiki/Exchangeable_image_file_format\" target=\"_blank\">Exif</a>) in carousel, when available."
|
217 |
+
msgstr "Zeige wenn verfügbar die (<a href=\"http://en.wikipedia.org/wiki/Exchangeable_image_file_format\" target=\"_blank\">Exif</a>) Metadaten deiner Bilder im Karussell."
|
218 |
+
|
219 |
+
#: jetpack-carousel.php:437
|
220 |
+
#: jetpack-carousel_olf.php:435
|
221 |
+
#@ carousel
|
222 |
+
#@ jetpack
|
223 |
+
msgid "Show map of photo location in carousel, when available."
|
224 |
+
msgstr "Zeige eine Karte der Location deines Bildes, wenn verfügbar."
|
225 |
+
|
226 |
+
#: jetpack-carousel.php:445
|
227 |
+
#: jetpack-carousel_olf.php:443
|
228 |
+
#@ carousel
|
229 |
+
#@ jetpack
|
230 |
+
msgid "Black"
|
231 |
+
msgstr "Schwarz"
|
232 |
+
|
233 |
+
#: jetpack-carousel.php:445
|
234 |
+
#: jetpack-carousel_olf.php:443
|
235 |
+
#@ carousel
|
236 |
+
#@ jetpack
|
237 |
+
msgid "White"
|
238 |
+
msgstr "Weiß"
|
239 |
+
|
240 |
+
#: jetpack-carousel.php:453
|
241 |
+
#: jetpack-carousel_olf.php:451
|
242 |
+
#@ carousel
|
243 |
+
#@ jetpack
|
244 |
+
msgid "Display images in full-size carousel slideshow."
|
245 |
+
msgstr "Zeige Bilder in einem Diashow-Karussell mit voller Größe"
|
246 |
+
|
247 |
+
#: jetpack-carousel_olf.php:110
|
248 |
+
#@ jetpack
|
249 |
+
msgid "Kommentieren"
|
250 |
+
msgstr ""
|
251 |
+
|
252 |
+
#: jetpack-carousel_olf.php:111
|
253 |
+
#@ jetpack
|
254 |
+
msgid "Lade Kommentare..."
|
255 |
+
msgstr ""
|
256 |
+
|
257 |
+
#: jetpack-carousel_olf.php:112
|
258 |
+
#@ jetpack
|
259 |
+
msgid "Volle Größe <span class=\"photo-size\">{0}<span class=\"photo-size-times\">×</span>{1}</span>"
|
260 |
+
msgstr ""
|
261 |
+
|
262 |
+
#: jetpack-carousel_olf.php:113
|
263 |
+
#@ jetpack
|
264 |
+
msgid "Gege bitte sicher, dass du auch einen Text mit deinem Kommentar veröffentlichst."
|
265 |
+
msgstr ""
|
266 |
+
|
267 |
+
#: jetpack-carousel_olf.php:114
|
268 |
+
#@ jetpack
|
269 |
+
msgid "Bitte gebe zum Kommentieren deine eMail-Adresse an."
|
270 |
+
msgstr ""
|
271 |
+
|
272 |
+
#: jetpack-carousel_olf.php:115
|
273 |
+
#@ jetpack
|
274 |
+
msgid "Bitte gebe zum Kommentieren deinen Namen an."
|
275 |
+
msgstr ""
|
276 |
+
|
277 |
+
#: jetpack-carousel_olf.php:116
|
278 |
+
#@ jetpack
|
279 |
+
msgid "Sorry, aber es gab beim veröffentlichen deines Kommentars einen Fehler. Versuche es bitte noch mal."
|
280 |
+
msgstr ""
|
281 |
+
|
282 |
+
#: jetpack-carousel_olf.php:117
|
283 |
+
#@ jetpack
|
284 |
+
msgid "Dein Kommentar wurde genehmigt."
|
285 |
+
msgstr ""
|
286 |
+
|
287 |
+
#: jetpack-carousel_olf.php:118
|
288 |
+
#@ jetpack
|
289 |
+
msgid "Dein Kommentar wartet auf Moderation."
|
290 |
+
msgstr ""
|
291 |
+
|
292 |
+
#: jetpack-carousel_olf.php:119
|
293 |
+
#@ jetpack
|
294 |
+
msgid "Kamera"
|
295 |
+
msgstr ""
|
296 |
+
|
297 |
+
#: jetpack-carousel_olf.php:120
|
298 |
+
#@ jetpack
|
299 |
+
msgid "Blende"
|
300 |
+
msgstr ""
|
301 |
+
|
302 |
+
#: jetpack-carousel_olf.php:121
|
303 |
+
#@ jetpack
|
304 |
+
msgid "Verschlusszeit"
|
305 |
+
msgstr ""
|
306 |
+
|
307 |
+
#: jetpack-carousel_olf.php:122
|
308 |
+
#@ jetpack
|
309 |
+
msgid "Brennweite"
|
310 |
+
msgstr ""
|
311 |
+
|
312 |
+
#: jetpack-carousel_olf.php:129
|
313 |
+
#, php-format
|
314 |
+
#@ jetpack
|
315 |
+
msgid "Kommentiere als %s"
|
316 |
+
msgstr ""
|
317 |
+
|
languages/carousel-xx_XX.pot
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: PlaceHolder\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2012-07-24 23:19:21+0000\n"
|
7 |
+
"Last-Translator: none\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 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
+
"X-Poedit-Language: English\n"
|
14 |
+
"X-Poedit-Country: UNITED STATES\n"
|
15 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
16 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
|
17 |
+
"X-Poedit-Basepath: ../\n"
|
18 |
+
"X-Poedit-Bookmarks: \n"
|
19 |
+
"X-Poedit-SearchPath-0: .\n"
|
20 |
+
"X-Textdomain-Support: yes"
|
21 |
+
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Gallery Carousel Without JetPack ===
|
2 |
-
Contributors: smub
|
3 |
Donate link:http://www.wpbeginner.com/wpbeginner-needs-your-help/
|
4 |
Tags: gallery, lightbox, carousel, gallery carousel, jetpack
|
5 |
Requires at least: 3.4.1
|
6 |
Tested up to: 3.4.1
|
7 |
-
Stable tag: 0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -41,10 +41,24 @@ Go to Settings > Media for further options.
|
|
41 |
|
42 |
**How will you make sure to keep this upto date?**
|
43 |
|
44 |
-
Well this code is literally a copy of JetPack module. I will keep a close eye on every JetPack update. If they update this module, then I will be sure to update this plugin as well
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
== Changelog ==
|
47 |
|
|
|
|
|
|
|
|
|
|
|
48 |
= 0.2 =
|
49 |
* Fixed the issue with Multisite
|
50 |
* Changed the class name to avoid conflicts
|
1 |
=== Gallery Carousel Without JetPack ===
|
2 |
+
Contributors: smub, iamdpegg
|
3 |
Donate link:http://www.wpbeginner.com/wpbeginner-needs-your-help/
|
4 |
Tags: gallery, lightbox, carousel, gallery carousel, jetpack
|
5 |
Requires at least: 3.4.1
|
6 |
Tested up to: 3.4.1
|
7 |
+
Stable tag: 0.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
41 |
|
42 |
**How will you make sure to keep this upto date?**
|
43 |
|
44 |
+
Well this code is literally a copy of JetPack module. I will keep a close eye on every JetPack update. If they update this module, then I will be sure to update this plugin as well.
|
45 |
+
|
46 |
+
**How can I get rid of the Comments?**
|
47 |
+
|
48 |
+
I thought long and hard about whether to add this feature in the gallery carousel or not. Because the goal is to transform your standard galleries into an immersive full-screen experience, I think that comments are necessary. This is why I will NOT be adding an option to turn the comments off.
|
49 |
+
|
50 |
+
However, if you want to turn off comments on Media attachments, you can follow this tutorial:
|
51 |
+
|
52 |
+
[How to Disable Comments on WordPress Media Attachments](http://www.wpbeginner.com/wp-tutorials/how-to-disable-comments-on-wordpress-media-attachments/ "How to Disable Comments on WordPress Media Attachments)
|
53 |
+
|
54 |
|
55 |
== Changelog ==
|
56 |
|
57 |
+
= 0.3 =
|
58 |
+
* Fixed styling issue with the background going up as soon as one writes a comment (props Philipp)
|
59 |
+
* Added translation support. (props Philipp)
|
60 |
+
* Translated it for German. (props Philipp)
|
61 |
+
|
62 |
= 0.2 =
|
63 |
* Fixed the issue with Multisite
|
64 |
* Changed the class name to avoid conflicts
|