Version Description
- Fix: Changed text domain and settings for localization to meet translate.wordpress.org requirements
Download this release
Release Info
Developer | n7studios |
Plugin | Photo Gallery by Envira – Responsive Image Gallery for WordPress |
Version | 1.3.4.8 |
Comparing to | |
See all releases |
Code changes from version 1.3.4.7 to 1.3.4.8
- config.codekit +3 -1
- envira-gallery-lite.php +5 -15
- includes/admin/editor.php +11 -11
- includes/admin/media.php +9 -9
- includes/admin/metaboxes.php +80 -80
- includes/admin/posttype.php +16 -16
- includes/global/common.php +15 -15
- includes/global/posttype.php +11 -11
- includes/global/shortcode.php +3 -3
- languages/envira-gallery-de_DE.mo +0 -0
- languages/envira-gallery-de_DE.po +0 -687
- readme.txt +3 -0
config.codekit
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"CodeKitInfo": "This is a CodeKit 2.x project configuration file. It is designed to sync project settings across multiple machines. MODIFYING THE CONTENTS OF THIS FILE IS A POOR LIFE DECISION. If you do so, you will likely cause CodeKit to crash. This file is not useful unless accompanied by the project that created it in CodeKit 2. This file is not backwards-compatible with CodeKit 1.x. For more information, see: http:\/\/incident57.com\/codekit",
|
3 |
-
"creatorBuild": "
|
4 |
"files": {
|
5 |
"\/assets\/css\/attachment-details-modal-support.css": {
|
6 |
"fileType": 16,
|
@@ -1138,7 +1138,9 @@
|
|
1138 |
"typescriptAutoOutputPathStyle": 2,
|
1139 |
"typescriptCreateDeclarationFile": 0,
|
1140 |
"typescriptCreateSourceMap": 0,
|
|
|
1141 |
"typescriptMinifyOutput": 0,
|
|
|
1142 |
"typescriptModuleType": 0,
|
1143 |
"typescriptNoImplicitAny": 0,
|
1144 |
"typescriptPreserveConstEnums": 0,
|
1 |
{
|
2 |
"CodeKitInfo": "This is a CodeKit 2.x project configuration file. It is designed to sync project settings across multiple machines. MODIFYING THE CONTENTS OF THIS FILE IS A POOR LIFE DECISION. If you do so, you will likely cause CodeKit to crash. This file is not useful unless accompanied by the project that created it in CodeKit 2. This file is not backwards-compatible with CodeKit 1.x. For more information, see: http:\/\/incident57.com\/codekit",
|
3 |
+
"creatorBuild": "19076",
|
4 |
"files": {
|
5 |
"\/assets\/css\/attachment-details-modal-support.css": {
|
6 |
"fileType": 16,
|
1138 |
"typescriptAutoOutputPathStyle": 2,
|
1139 |
"typescriptCreateDeclarationFile": 0,
|
1140 |
"typescriptCreateSourceMap": 0,
|
1141 |
+
"typescriptJSXMode": 0,
|
1142 |
"typescriptMinifyOutput": 0,
|
1143 |
+
"typescriptModuleResolutionType": 0,
|
1144 |
"typescriptModuleType": 0,
|
1145 |
"typescriptNoImplicitAny": 0,
|
1146 |
"typescriptPreserveConstEnums": 0,
|
envira-gallery-lite.php
CHANGED
@@ -5,9 +5,8 @@
|
|
5 |
* Description: Envira Gallery is best responsive WordPress gallery plugin. This is the lite version.
|
6 |
* Author: Thomas Griffin
|
7 |
* Author URI: http://thomasgriffinmedia.com
|
8 |
-
* Version: 1.3.4.
|
9 |
-
* Text Domain: envira-gallery
|
10 |
-
* Domain Path: languages
|
11 |
*
|
12 |
* Envira Gallery is free software: you can redistribute it and/or modify
|
13 |
* it under the terms of the GNU General Public License as published by
|
@@ -54,7 +53,7 @@ class Envira_Gallery_Lite {
|
|
54 |
*
|
55 |
* @var string
|
56 |
*/
|
57 |
-
public $version = '1.3.4.
|
58 |
|
59 |
/**
|
60 |
* The name of the plugin.
|
@@ -74,15 +73,6 @@ class Envira_Gallery_Lite {
|
|
74 |
*/
|
75 |
public $plugin_slug = 'envira-gallery-lite';
|
76 |
|
77 |
-
/**
|
78 |
-
* Plugin textdomain.
|
79 |
-
*
|
80 |
-
* @since 1.0.0
|
81 |
-
*
|
82 |
-
* @var string
|
83 |
-
*/
|
84 |
-
public $domain = 'envira-gallery';
|
85 |
-
|
86 |
/**
|
87 |
* Plugin file.
|
88 |
*
|
@@ -135,7 +125,7 @@ class Envira_Gallery_Lite {
|
|
135 |
*/
|
136 |
public function load_plugin_textdomain() {
|
137 |
|
138 |
-
load_plugin_textdomain(
|
139 |
|
140 |
}
|
141 |
|
@@ -391,7 +381,7 @@ function envira_gallery_lite_activation_hook( $network_wide ) {
|
|
391 |
global $wp_version;
|
392 |
if ( version_compare( $wp_version, '3.8', '<' ) && ! defined( 'ENVIRA_FORCE_ACTIVATION' ) ) {
|
393 |
deactivate_plugins( plugin_basename( __FILE__ ) );
|
394 |
-
wp_die( sprintf( __( 'Sorry, but your version of WordPress does not meet Envira Gallery\'s required version of <strong>3.8</strong> to run properly. The plugin has been deactivated. <a href="%s">Click here to return to the Dashboard</a>.', 'envira-gallery' ), get_admin_url() ) );
|
395 |
}
|
396 |
|
397 |
}
|
5 |
* Description: Envira Gallery is best responsive WordPress gallery plugin. This is the lite version.
|
6 |
* Author: Thomas Griffin
|
7 |
* Author URI: http://thomasgriffinmedia.com
|
8 |
+
* Version: 1.3.4.8
|
9 |
+
* Text Domain: envira-gallery-lite
|
|
|
10 |
*
|
11 |
* Envira Gallery is free software: you can redistribute it and/or modify
|
12 |
* it under the terms of the GNU General Public License as published by
|
53 |
*
|
54 |
* @var string
|
55 |
*/
|
56 |
+
public $version = '1.3.4.8';
|
57 |
|
58 |
/**
|
59 |
* The name of the plugin.
|
73 |
*/
|
74 |
public $plugin_slug = 'envira-gallery-lite';
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
/**
|
77 |
* Plugin file.
|
78 |
*
|
125 |
*/
|
126 |
public function load_plugin_textdomain() {
|
127 |
|
128 |
+
load_plugin_textdomain( 'envira-gallery-lite' );
|
129 |
|
130 |
}
|
131 |
|
381 |
global $wp_version;
|
382 |
if ( version_compare( $wp_version, '3.8', '<' ) && ! defined( 'ENVIRA_FORCE_ACTIVATION' ) ) {
|
383 |
deactivate_plugins( plugin_basename( __FILE__ ) );
|
384 |
+
wp_die( sprintf( __( 'Sorry, but your version of WordPress does not meet Envira Gallery\'s required version of <strong>3.8</strong> to run properly. The plugin has been deactivated. <a href="%s">Click here to return to the Dashboard</a>.', 'envira-gallery-lite' ), get_admin_url() ) );
|
385 |
}
|
386 |
|
387 |
}
|
includes/admin/editor.php
CHANGED
@@ -72,7 +72,7 @@ class Envira_Gallery_Editor_Lite {
|
|
72 |
|
73 |
// Create the media button.
|
74 |
$button = '<style type="text/css">@media only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (min--moz-device-pixel-ratio: 2),only screen and (-o-min-device-pixel-ratio: 2/1),only screen and (min-device-pixel-ratio: 2),only screen and (min-resolution: 192dpi),only screen and (min-resolution: 2dppx) { #envira-media-modal-button .envira-media-icon[style] { background-image: url(' . plugins_url( 'assets/css/images/menu-icon@2x.png', $this->base->file ) . ') !important; background-size: 16px 16px !important; } }</style>';
|
75 |
-
$button .= '<a id="envira-media-modal-button" href="#" class="button envira-gallery-choose-gallery" title="' . esc_attr__( 'Add Gallery', 'envira-gallery' ) . '" style="padding-left: .4em;"><span class="envira-media-icon" style="background: transparent url(' . plugins_url( 'assets/css/images/menu-icon.png', $this->base->file ) . ') no-repeat scroll 0 0; width: 16px; height: 16px; display: inline-block; vertical-align: text-top;"></span> ' . __( 'Add Gallery', 'envira-gallery' ) . '</a>';
|
76 |
|
77 |
// Enqueue the script that will trigger the editor button.
|
78 |
wp_enqueue_script( $this->base->plugin_slug . '-editor-script', plugins_url( 'assets/js/min/editor-min.js', $this->base->file ), array( 'jquery' ), $this->base->version, true );
|
@@ -127,7 +127,7 @@ class Envira_Gallery_Editor_Lite {
|
|
127 |
<div class="media-modal-content">
|
128 |
<div class="media-frame wp-core-ui hide-menu hide-router envira-gallery-meta-wrap">
|
129 |
<div class="media-frame-title">
|
130 |
-
<h1><?php _e( 'Choose Your Gallery', 'envira-gallery' ); ?></h1>
|
131 |
</div>
|
132 |
<div class="media-frame-content">
|
133 |
<div class="attachments-browser">
|
@@ -136,7 +136,7 @@ class Envira_Gallery_Editor_Lite {
|
|
136 |
<div class="attachment-preview landscape">
|
137 |
<div class="thumbnail" style="display: table;">
|
138 |
<div class="inside">
|
139 |
-
<h3 style="margin: 0;color: #7ad03a;"><?php _e( 'This Post\'s Gallery', 'envira-gallery' ); ?></h3>
|
140 |
<code style="color: #7ad03a;">[envira-gallery id="<?php echo absint( $post->ID ); ?>"]</code>
|
141 |
</div>
|
142 |
</div>
|
@@ -155,7 +155,7 @@ class Envira_Gallery_Editor_Lite {
|
|
155 |
} else if ( ! empty( $gallery['config']['slug'] ) ) {
|
156 |
$title = $gallery['config']['title'];
|
157 |
} else {
|
158 |
-
$title = sprintf( __( 'Gallery ID #%s', 'envira-gallery' ), $gallery['id'] );
|
159 |
}
|
160 |
?>
|
161 |
<h3 style="margin: 0;"><?php echo $title; ?></h3>
|
@@ -170,11 +170,11 @@ class Envira_Gallery_Editor_Lite {
|
|
170 |
<!-- end .envira-gallery-meta -->
|
171 |
<div class="media-sidebar">
|
172 |
<div class="envira-gallery-meta-sidebar">
|
173 |
-
<h3 style="margin: 1.4em 0 1em;"><?php _e( 'Helpful Tips', 'envira-gallery' ); ?></h3>
|
174 |
-
<strong><?php _e( 'Choosing Your Gallery', 'envira-gallery' ); ?></strong>
|
175 |
-
<p style="margin: 0 0 1.5em;"><?php _e( 'To choose your gallery, simply click on one of the boxes to the left. The "Insert Gallery" button will be activated once you have selected a gallery.', 'envira-gallery' ); ?></p>
|
176 |
-
<strong><?php _e( 'Inserting Your Gallery', 'envira-gallery' ); ?></strong>
|
177 |
-
<p style="margin: 0 0 1.5em;"><?php _e( 'To insert your gallery into the editor, click on the "Insert Gallery" button below.', 'envira-gallery' ); ?></p>
|
178 |
</div>
|
179 |
<!-- end .envira-gallery-meta-sidebar -->
|
180 |
</div>
|
@@ -186,10 +186,10 @@ class Envira_Gallery_Editor_Lite {
|
|
186 |
<div class="media-frame-toolbar">
|
187 |
<div class="media-toolbar">
|
188 |
<div class="media-toolbar-secondary">
|
189 |
-
<a href="#" class="envira-gallery-cancel-insertion button media-button button-large button-secondary media-button-insert" title="<?php esc_attr_e( 'Cancel Gallery Insertion', 'envira-gallery' ); ?>"><?php _e( 'Cancel Gallery Insertion', 'envira-gallery' ); ?></a>
|
190 |
</div>
|
191 |
<div class="media-toolbar-primary">
|
192 |
-
<a href="#" class="envira-gallery-insert-gallery button media-button button-large button-primary media-button-insert" disabled="disabled" title="<?php esc_attr_e( 'Insert Gallery', 'envira-gallery' ); ?>"><?php _e( 'Insert Gallery', 'envira-gallery' ); ?></a>
|
193 |
</div>
|
194 |
<!-- end .media-toolbar-primary -->
|
195 |
</div>
|
72 |
|
73 |
// Create the media button.
|
74 |
$button = '<style type="text/css">@media only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (min--moz-device-pixel-ratio: 2),only screen and (-o-min-device-pixel-ratio: 2/1),only screen and (min-device-pixel-ratio: 2),only screen and (min-resolution: 192dpi),only screen and (min-resolution: 2dppx) { #envira-media-modal-button .envira-media-icon[style] { background-image: url(' . plugins_url( 'assets/css/images/menu-icon@2x.png', $this->base->file ) . ') !important; background-size: 16px 16px !important; } }</style>';
|
75 |
+
$button .= '<a id="envira-media-modal-button" href="#" class="button envira-gallery-choose-gallery" title="' . esc_attr__( 'Add Gallery', 'envira-gallery-lite' ) . '" style="padding-left: .4em;"><span class="envira-media-icon" style="background: transparent url(' . plugins_url( 'assets/css/images/menu-icon.png', $this->base->file ) . ') no-repeat scroll 0 0; width: 16px; height: 16px; display: inline-block; vertical-align: text-top;"></span> ' . __( 'Add Gallery', 'envira-gallery-lite' ) . '</a>';
|
76 |
|
77 |
// Enqueue the script that will trigger the editor button.
|
78 |
wp_enqueue_script( $this->base->plugin_slug . '-editor-script', plugins_url( 'assets/js/min/editor-min.js', $this->base->file ), array( 'jquery' ), $this->base->version, true );
|
127 |
<div class="media-modal-content">
|
128 |
<div class="media-frame wp-core-ui hide-menu hide-router envira-gallery-meta-wrap">
|
129 |
<div class="media-frame-title">
|
130 |
+
<h1><?php _e( 'Choose Your Gallery', 'envira-gallery-lite' ); ?></h1>
|
131 |
</div>
|
132 |
<div class="media-frame-content">
|
133 |
<div class="attachments-browser">
|
136 |
<div class="attachment-preview landscape">
|
137 |
<div class="thumbnail" style="display: table;">
|
138 |
<div class="inside">
|
139 |
+
<h3 style="margin: 0;color: #7ad03a;"><?php _e( 'This Post\'s Gallery', 'envira-gallery-lite' ); ?></h3>
|
140 |
<code style="color: #7ad03a;">[envira-gallery id="<?php echo absint( $post->ID ); ?>"]</code>
|
141 |
</div>
|
142 |
</div>
|
155 |
} else if ( ! empty( $gallery['config']['slug'] ) ) {
|
156 |
$title = $gallery['config']['title'];
|
157 |
} else {
|
158 |
+
$title = sprintf( __( 'Gallery ID #%s', 'envira-gallery-lite' ), $gallery['id'] );
|
159 |
}
|
160 |
?>
|
161 |
<h3 style="margin: 0;"><?php echo $title; ?></h3>
|
170 |
<!-- end .envira-gallery-meta -->
|
171 |
<div class="media-sidebar">
|
172 |
<div class="envira-gallery-meta-sidebar">
|
173 |
+
<h3 style="margin: 1.4em 0 1em;"><?php _e( 'Helpful Tips', 'envira-gallery-lite' ); ?></h3>
|
174 |
+
<strong><?php _e( 'Choosing Your Gallery', 'envira-gallery-lite' ); ?></strong>
|
175 |
+
<p style="margin: 0 0 1.5em;"><?php _e( 'To choose your gallery, simply click on one of the boxes to the left. The "Insert Gallery" button will be activated once you have selected a gallery.', 'envira-gallery-lite' ); ?></p>
|
176 |
+
<strong><?php _e( 'Inserting Your Gallery', 'envira-gallery-lite' ); ?></strong>
|
177 |
+
<p style="margin: 0 0 1.5em;"><?php _e( 'To insert your gallery into the editor, click on the "Insert Gallery" button below.', 'envira-gallery-lite' ); ?></p>
|
178 |
</div>
|
179 |
<!-- end .envira-gallery-meta-sidebar -->
|
180 |
</div>
|
186 |
<div class="media-frame-toolbar">
|
187 |
<div class="media-toolbar">
|
188 |
<div class="media-toolbar-secondary">
|
189 |
+
<a href="#" class="envira-gallery-cancel-insertion button media-button button-large button-secondary media-button-insert" title="<?php esc_attr_e( 'Cancel Gallery Insertion', 'envira-gallery-lite' ); ?>"><?php _e( 'Cancel Gallery Insertion', 'envira-gallery-lite' ); ?></a>
|
190 |
</div>
|
191 |
<div class="media-toolbar-primary">
|
192 |
+
<a href="#" class="envira-gallery-insert-gallery button media-button button-large button-primary media-button-insert" disabled="disabled" title="<?php esc_attr_e( 'Insert Gallery', 'envira-gallery-lite' ); ?>"><?php _e( 'Insert Gallery', 'envira-gallery-lite' ); ?></a>
|
193 |
</div>
|
194 |
<!-- end .media-toolbar-primary -->
|
195 |
</div>
|
includes/admin/media.php
CHANGED
@@ -60,7 +60,7 @@ class Envira_Gallery_Media_Lite {
|
|
60 |
do_action( 'pre-upload-ui' );
|
61 |
|
62 |
if ( ! $this->device_can_upload() ) {
|
63 |
-
echo '<p>' . sprintf( __( 'The web browser on your device cannot be used to upload files. You may be able to use the <a href="%s">native app for your device</a> instead.', 'envira-gallery' ), 'http://wordpress.org/mobile/' ) . '</p>';
|
64 |
return;
|
65 |
}
|
66 |
|
@@ -102,10 +102,10 @@ class Envira_Gallery_Media_Lite {
|
|
102 |
<?php do_action( 'pre-plupload-upload-ui' ); ?>
|
103 |
<div id="envira-gallery-drag-drop-area">
|
104 |
<div class="drag-drop-inside">
|
105 |
-
<p class="drag-drop-info"><?php _e( 'Drop images here', 'envira-gallery' ); ?></p>
|
106 |
-
<p><?php _ex( 'or', 'Uploader: Drop images here - or - Select Images', 'envira-gallery' ); ?></p>
|
107 |
<p class="drag-drop-buttons">
|
108 |
-
<input id="envira-gallery-plupload-browse-button" type="button" value="<?php esc_attr_e( 'Select Images', 'envira-gallery' ); ?>" class="button" />
|
109 |
</p>
|
110 |
</div>
|
111 |
</div>
|
@@ -115,21 +115,21 @@ class Envira_Gallery_Media_Lite {
|
|
115 |
<div id="envira-gallery-html-upload-ui" class="hide-if-js">
|
116 |
<?php do_action('pre-html-upload-ui'); ?>
|
117 |
<p id="envira-gallery-async-upload-wrap">
|
118 |
-
<label class="screen-reader-text" for="envira-gallery-async-upload"><?php _e( 'Upload', 'envira-gallery' ); ?></label>
|
119 |
<input type="file" name="async-upload" id="envira-gallery-async-upload" />
|
120 |
-
<?php submit_button( __( 'Upload', 'envira-gallery' ), 'button', 'html-upload', false ); ?>
|
121 |
-
<a href="#" onclick="try{top.tb_remove();}catch(e){};return false;"><?php _e( 'Cancel', 'envira-gallery' ); ?></a>
|
122 |
</p>
|
123 |
<div class="clear"></div>
|
124 |
<?php do_action( 'post-html-upload-ui' ); ?>
|
125 |
</div>
|
126 |
|
127 |
-
<span class="max-upload-size"><?php printf( __( 'Maximum upload file size: %d%s.', 'envira-gallery' ), esc_html( $this->get_upload_size_unit( $sizes ) ), esc_html( $sizes[$this->get_upload_size_unit( $sizes, 'unit' )] ) ); ?></span>
|
128 |
<?php
|
129 |
|
130 |
// Output a notice if the browser may have trouble with uploading large images.
|
131 |
if ( ( $is_IE || $is_opera ) && $max_upload_size > 100 * 1024 * 1024 ) {
|
132 |
-
echo '<span class="big-file-warning">' . __( 'Your browser has some limitations uploading large files with the multi-file uploader. Please use the browser uploader for files over 100MB.', 'envira-gallery' ) . '</span>';
|
133 |
}
|
134 |
|
135 |
do_action( 'post-upload-ui' );
|
60 |
do_action( 'pre-upload-ui' );
|
61 |
|
62 |
if ( ! $this->device_can_upload() ) {
|
63 |
+
echo '<p>' . sprintf( __( 'The web browser on your device cannot be used to upload files. You may be able to use the <a href="%s">native app for your device</a> instead.', 'envira-gallery-lite' ), 'http://wordpress.org/mobile/' ) . '</p>';
|
64 |
return;
|
65 |
}
|
66 |
|
102 |
<?php do_action( 'pre-plupload-upload-ui' ); ?>
|
103 |
<div id="envira-gallery-drag-drop-area">
|
104 |
<div class="drag-drop-inside">
|
105 |
+
<p class="drag-drop-info"><?php _e( 'Drop images here', 'envira-gallery-lite' ); ?></p>
|
106 |
+
<p><?php _ex( 'or', 'Uploader: Drop images here - or - Select Images', 'envira-gallery-lite' ); ?></p>
|
107 |
<p class="drag-drop-buttons">
|
108 |
+
<input id="envira-gallery-plupload-browse-button" type="button" value="<?php esc_attr_e( 'Select Images', 'envira-gallery-lite' ); ?>" class="button" />
|
109 |
</p>
|
110 |
</div>
|
111 |
</div>
|
115 |
<div id="envira-gallery-html-upload-ui" class="hide-if-js">
|
116 |
<?php do_action('pre-html-upload-ui'); ?>
|
117 |
<p id="envira-gallery-async-upload-wrap">
|
118 |
+
<label class="screen-reader-text" for="envira-gallery-async-upload"><?php _e( 'Upload', 'envira-gallery-lite' ); ?></label>
|
119 |
<input type="file" name="async-upload" id="envira-gallery-async-upload" />
|
120 |
+
<?php submit_button( __( 'Upload', 'envira-gallery-lite' ), 'button', 'html-upload', false ); ?>
|
121 |
+
<a href="#" onclick="try{top.tb_remove();}catch(e){};return false;"><?php _e( 'Cancel', 'envira-gallery-lite' ); ?></a>
|
122 |
</p>
|
123 |
<div class="clear"></div>
|
124 |
<?php do_action( 'post-html-upload-ui' ); ?>
|
125 |
</div>
|
126 |
|
127 |
+
<span class="max-upload-size"><?php printf( __( 'Maximum upload file size: %d%s.', 'envira-gallery-lite' ), esc_html( $this->get_upload_size_unit( $sizes ) ), esc_html( $sizes[$this->get_upload_size_unit( $sizes, 'unit' )] ) ); ?></span>
|
128 |
<?php
|
129 |
|
130 |
// Output a notice if the browser may have trouble with uploading large images.
|
131 |
if ( ( $is_IE || $is_opera ) && $max_upload_size > 100 * 1024 * 1024 ) {
|
132 |
+
echo '<span class="big-file-warning">' . __( 'Your browser has some limitations uploading large files with the multi-file uploader. Please use the browser uploader for files over 100MB.', 'envira-gallery-lite' ) . '</span>';
|
133 |
}
|
134 |
|
135 |
do_action( 'post-upload-ui' );
|
includes/admin/metaboxes.php
CHANGED
@@ -124,20 +124,20 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
124 |
'envira_gallery_metabox',
|
125 |
array(
|
126 |
'ajax' => admin_url( 'admin-ajax.php' ),
|
127 |
-
'gallery' => esc_attr__( 'Click Here to Insert from Other Image Sources', 'envira-gallery' ),
|
128 |
'id' => $post_id,
|
129 |
-
'import' => __( 'You must select a file to import before continuing.', 'envira-gallery' ),
|
130 |
'insert_nonce' => wp_create_nonce( 'envira-gallery-insert-images' ),
|
131 |
-
'inserting' => __( 'Inserting...', 'envira-gallery' ),
|
132 |
'library_search' => wp_create_nonce( 'envira-gallery-library-search' ),
|
133 |
'load_image' => wp_create_nonce( 'envira-gallery-load-image' ),
|
134 |
'load_gallery' => wp_create_nonce( 'envira-gallery-load-gallery' ),
|
135 |
'plupload' => $this->get_plupload_init( $post_id ),
|
136 |
'refresh_nonce' => wp_create_nonce( 'envira-gallery-refresh' ),
|
137 |
-
'remove' => __( 'Are you sure you want to remove this image from the gallery?', 'envira-gallery' ),
|
138 |
'remove_nonce' => wp_create_nonce( 'envira-gallery-remove-image' ),
|
139 |
'save_nonce' => wp_create_nonce( 'envira-gallery-save-meta' ),
|
140 |
-
'saving' => __( 'Saving...', 'envira-gallery' ),
|
141 |
'sort' => wp_create_nonce( 'envira-gallery-sort' )
|
142 |
)
|
143 |
);
|
@@ -186,7 +186,7 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
186 |
'silverlight_xap_url' => includes_url( 'js/plupload/plupload.silverlight.xap' ),
|
187 |
'filters' => array(
|
188 |
array(
|
189 |
-
'title' => __( 'Allowed Files', 'envira-gallery' ),
|
190 |
'extensions' => '*'
|
191 |
),
|
192 |
),
|
@@ -250,7 +250,7 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
250 |
continue;
|
251 |
}
|
252 |
|
253 |
-
add_meta_box( 'envira-gallery', __( 'Envira Gallery Settings', 'envira-gallery' ), array( $this, 'meta_box_callback' ), $post_type, 'normal', 'high' );
|
254 |
}
|
255 |
|
256 |
}
|
@@ -317,7 +317,7 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
317 |
public function meta_box_callback( $post ) {
|
318 |
|
319 |
// Keep security first.
|
320 |
-
wp_nonce_field( 'envira-gallery', 'envira-gallery' );
|
321 |
|
322 |
// Check for our meta overlay helper.
|
323 |
$gallery_data = get_post_meta( $post->ID, '_eg_gallery_data', true );
|
@@ -355,14 +355,14 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
355 |
public function get_envira_tab_nav() {
|
356 |
|
357 |
$tabs = array(
|
358 |
-
'images' => __( 'Images', 'envira-gallery' ),
|
359 |
-
'config' => __( 'Config', 'envira-gallery' ),
|
360 |
-
'lightbox' => __( 'Lightbox', 'envira-gallery' )
|
361 |
);
|
362 |
$tabs = apply_filters( 'envira_gallery_tab_nav', $tabs );
|
363 |
|
364 |
// "Misc" tab is required.
|
365 |
-
$tabs['misc'] = __( 'Misc', 'envira-gallery' );
|
366 |
|
367 |
return $tabs;
|
368 |
|
@@ -379,7 +379,7 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
379 |
|
380 |
?>
|
381 |
<div class="envira-alert envira-clear" style="margin-bottom:10px;">
|
382 |
-
<?php _e( '<em>Want to make your gallery workflow even better?</em> By upgrading to Envira Pro, you can get access to numerous other features, including: <strong>a fully featured gallery widget</strong>, <strong>complete gallery API</strong>, <strong>powerful gallery documentation</strong>, <strong>full mobile and Retina support</strong>, <strong>dedicated customer support</strong> and so much more! <a href="http://enviragallery.com/lite/?utm_source=liteplugin&utm_medium=link&utm_campaign=WordPress" title="Click here to upgrade to Envira Pro!" target="_blank">Click here to upgrade to Envira Pro!</a>', 'envira-gallery' ); ?>
|
383 |
</div>
|
384 |
<?php
|
385 |
|
@@ -426,15 +426,15 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
426 |
|
427 |
?>
|
428 |
<div class="envira-meta-helper <?php echo $class; ?>">
|
429 |
-
<span class="envira-meta-close-text"><?php _e( '(click the icon to open and close the overlay dialog)', 'envira-gallery' ); ?></span>
|
430 |
-
<a href="#" class="envira-meta-icon" title="<?php esc_attr__( 'Click here to view meta information about this gallery.', 'envira-gallery' ); ?>"></a>
|
431 |
<div class="envira-meta-information">
|
432 |
-
<p><?php _e( 'You can place this gallery anywhere into your posts, pages, custom post types or widgets by using the shortcode(s) below:', 'envira-gallery' ); ?></p>
|
433 |
<code><?php echo '[envira-gallery id="' . $post->ID . '"]'; ?></code>
|
434 |
<?php if ( ! empty( $gallery_data['config']['slug'] ) ) : ?>
|
435 |
<br><code><?php echo '[envira-gallery slug="' . $gallery_data['config']['slug'] . '"]'; ?></code>
|
436 |
<?php endif; ?>
|
437 |
-
<p><?php _e( 'You can also place this gallery into your template files by using the template tag(s) below:', 'envira-gallery' ); ?></p>
|
438 |
<code><?php echo 'if ( function_exists( \'envira_gallery\' ) ) { envira_gallery( \'' . $post->ID . '\' ); }'; ?></code>
|
439 |
<?php if ( ! empty( $gallery_data['config']['slug'] ) ) : ?>
|
440 |
<br><code><?php echo 'if ( function_exists( \'envira_gallery\' ) ) { envira_gallery( \'' . $gallery_data['config']['slug'] . '\', \'slug\' ); }'; ?></code>
|
@@ -462,11 +462,11 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
462 |
<div class="media-modal-content">
|
463 |
<div class="media-frame envira-gallery-media-frame wp-core-ui hide-menu envira-gallery-meta-wrap">
|
464 |
<div class="media-frame-title">
|
465 |
-
<h1><?php _e( 'Insert Images into Gallery', 'envira-gallery' ); ?></h1>
|
466 |
</div>
|
467 |
<div class="media-frame-router">
|
468 |
<div class="media-router">
|
469 |
-
<a href="#" class="media-menu-item active"><?php _e( 'Images', 'envira-gallery' ); ?></a>
|
470 |
<?php do_action( 'envira_gallery_modal_router', $post ); ?>
|
471 |
</div><!-- end .media-router -->
|
472 |
</div><!-- end .media-frame-router -->
|
@@ -476,10 +476,10 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
476 |
<div class="attachments-browser">
|
477 |
<div class="media-toolbar envira-gallery-library-toolbar">
|
478 |
<div class="media-toolbar-primary">
|
479 |
-
<input type="search" placeholder="<?php esc_attr_e( 'Search', 'envira-gallery' ); ?>" id="envira-gallery-gallery-search" class="search" value="" />
|
480 |
</div>
|
481 |
<div class="media-toolbar-secondary">
|
482 |
-
<a class="button media-button button-large button-secodary envira-gallery-load-library" href="#" data-envira-gallery-offset="20"><?php _e( 'Load More Images from Library', 'envira-gallery' ); ?></a></a><span class="spinner envira-gallery-spinner"></span>
|
483 |
</div>
|
484 |
</div>
|
485 |
<?php $library = get_posts( array( 'post_type' => 'attachment', 'post_mime_type' => 'image', 'post_status' => 'inherit', 'posts_per_page' => 20 ) ); ?>
|
@@ -504,9 +504,9 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
504 |
<?php endif; ?>
|
505 |
<div class="media-sidebar">
|
506 |
<div class="envira-gallery-meta-sidebar">
|
507 |
-
<h3><?php _e( 'Helpful Tips', 'envira-gallery' ); ?></h3>
|
508 |
-
<strong><?php _e( 'Selecting Images', 'envira-gallery' ); ?></strong>
|
509 |
-
<p><?php _e( 'You can insert any image from your Media Library into your gallery. If the image you want to insert is not shown on the screen, you can either click on the "Load More Images from Library" button to load more images or use the search box to find the images you are looking for.', 'envira-gallery' ); ?></p>
|
510 |
</div><!-- end .envira-gallery-meta-sidebar -->
|
511 |
</div><!-- end .media-sidebar -->
|
512 |
</div><!-- end .attachments-browser -->
|
@@ -516,7 +516,7 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
516 |
<div class="media-frame-toolbar">
|
517 |
<div class="media-toolbar">
|
518 |
<div class="media-toolbar-primary">
|
519 |
-
<a href="#" class="envira-gallery-media-insert button media-button button-large button-primary media-button-insert" title="<?php esc_attr_e( 'Insert Images into Gallery', 'envira-gallery' ); ?>"><?php _e( 'Insert Images into Gallery', 'envira-gallery' ); ?></a>
|
520 |
</div><!-- end .media-toolbar-primary -->
|
521 |
</div><!-- end .media-toolbar -->
|
522 |
</div><!-- end .media-frame-toolbar -->
|
@@ -541,12 +541,12 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
541 |
|
542 |
?>
|
543 |
<div id="envira-config">
|
544 |
-
<p class="envira-intro"><?php _e( 'The settings below adjust the basic configuration options for the gallery lightbox display.', 'envira-gallery' ); ?></p>
|
545 |
<table class="form-table">
|
546 |
<tbody>
|
547 |
<tr id="envira-config-columns-box">
|
548 |
<th scope="row">
|
549 |
-
<label for="envira-config-columns"><?php _e( 'Number of Gallery Columns', 'envira-gallery' ); ?></label>
|
550 |
</th>
|
551 |
<td>
|
552 |
<select id="envira-config-columns" name="_envira_gallery[columns]">
|
@@ -554,12 +554,12 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
554 |
<option value="<?php echo $data['value']; ?>"<?php selected( $data['value'], $this->get_config( 'columns', $this->get_config_default( 'columns' ) ) ); ?>><?php echo $data['name']; ?></option>
|
555 |
<?php endforeach; ?>
|
556 |
</select>
|
557 |
-
<p class="description"><?php _e( 'Determines the number of columns in the gallery.', 'envira-gallery' ); ?></p>
|
558 |
</td>
|
559 |
</tr>
|
560 |
<tr id="envira-config-gallery-theme-box" class="envira-lite-disabled">
|
561 |
<th scope="row">
|
562 |
-
<label for="envira-config-gallery-theme"><?php _e( 'Gallery Theme', 'envira-gallery' ); ?></label>
|
563 |
</th>
|
564 |
<td>
|
565 |
<select id="envira-config-gallery-theme" name="_envira_gallery[gallery_theme]">
|
@@ -567,52 +567,52 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
567 |
<option value="<?php echo $data['value']; ?>"<?php selected( $data['value'], $this->get_config( 'gallery_theme', $this->get_config_default( 'gallery_theme' ) ) ); ?>><?php echo $data['name']; ?></option>
|
568 |
<?php endforeach; ?>
|
569 |
</select>
|
570 |
-
<p class="description"><?php _e( 'Sets the theme for the gallery display.', 'envira-gallery' ); ?></p>
|
571 |
</td>
|
572 |
</tr>
|
573 |
<tr id="envira-config-gutter-box">
|
574 |
<th scope="row">
|
575 |
-
<label for="envira-config-gutter"><?php _e( 'Column Gutter Width', 'envira-gallery' ); ?></label>
|
576 |
</th>
|
577 |
<td>
|
578 |
<input id="envira-config-gutter" type="number" name="_envira_gallery[gutter]" value="<?php echo $this->get_config( 'gutter', $this->get_config_default( 'gutter' ) ); ?>" />
|
579 |
-
<span class="envira-unit"><?php _e( 'px', 'envira-gallery' ); ?></span>
|
580 |
-
<p class="description"><?php _e( 'Sets the space between the columns (defaults to 10).', 'envira-gallery' ); ?></p>
|
581 |
</td>
|
582 |
</tr>
|
583 |
<tr id="envira-config-margin-box">
|
584 |
<th scope="row">
|
585 |
-
<label for="envira-config-margin"><?php _e( 'Margin Below Each Image', 'envira-gallery' ); ?></label>
|
586 |
</th>
|
587 |
<td>
|
588 |
<input id="envira-config-margin" type="number" name="_envira_gallery[margin]" value="<?php echo $this->get_config( 'margin', $this->get_config_default( 'margin' ) ); ?>" />
|
589 |
-
<span class="envira-unit"><?php _e( 'px', 'envira-gallery' ); ?></span>
|
590 |
-
<p class="description"><?php _e( 'Sets the space below each item in the gallery.', 'envira-gallery' ); ?></p>
|
591 |
</td>
|
592 |
</tr>
|
593 |
<tr id="envira-config-crop-box">
|
594 |
<th scope="row">
|
595 |
-
<label for="envira-config-crop"><?php _e( 'Crop Images in Gallery?', 'envira-gallery' ); ?></label>
|
596 |
</th>
|
597 |
<td>
|
598 |
<input id="envira-config-crop" type="checkbox" name="_envira_gallery[crop]" value="<?php echo $this->get_config( 'crop', $this->get_config_default( 'crop' ) ); ?>" <?php checked( $this->get_config( 'crop', $this->get_config_default( 'crop' ) ), 1 ); ?> />
|
599 |
-
<span class="description"><?php _e( 'Enables or disables image cropping for the main gallery images.', 'envira-gallery' ); ?></span>
|
600 |
</td>
|
601 |
</tr>
|
602 |
<tr id="envira-config-crop-size-box" style="display:none;">
|
603 |
<th scope="row">
|
604 |
-
<label for="envira-config-crop-width"><?php _e( 'Crop Dimensions', 'envira-gallery' ); ?></label>
|
605 |
</th>
|
606 |
<td>
|
607 |
<input id="envira-config-crop-width" type="number" name="_envira_gallery[crop_width]" value="<?php echo $this->get_config( 'crop_width', $this->get_config_default( 'crop_width' ) ); ?>" <?php checked( $this->get_config( 'crop_width', $this->get_config_default( 'crop_width' ) ), 1 ); ?> /> × <input id="envira-config-crop-height" type="number" name="_envira_gallery[crop_height]" value="<?php echo $this->get_config( 'crop_height', $this->get_config_default( 'crop_height' ) ); ?>" <?php checked( $this->get_config( 'crop_height', $this->get_config_default( 'crop_height' ) ), 1 ); ?> />
|
608 |
-
<p class="description"><?php _e( 'You should adjust these dimensions based on the number of columns in your gallery.', 'envira-gallery' ); ?></p>
|
609 |
</td>
|
610 |
</tr>
|
611 |
<?php do_action( 'envira_gallery_config_box', $post ); ?>
|
612 |
</tbody>
|
613 |
</table>
|
614 |
<div class="envira-alert envira-clear">
|
615 |
-
<?php _e( '<em>Want to do even more with your gallery display?</em> By upgrading to Envira Pro, you can get access to numerous other gallery display features, including: <strong>custom image tagging and filtering</strong>, <strong>mobile specific image assets for blazing fast load times</strong>, <strong>dedicated and unique gallery URLs</strong>, <strong>custom gallery themes</strong>, <strong>gallery thumbnail support</strong> and so much more! <a href="http://enviragallery.com/lite/?utm_source=liteplugin&utm_medium=link&utm_campaign=WordPress" title="Click here to upgrade to Envira Pro!" target="_blank">Click here to upgrade to Envira Pro!</a>', 'envira-gallery' ); ?>
|
616 |
</div>
|
617 |
</div>
|
618 |
<?php
|
@@ -630,21 +630,21 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
630 |
|
631 |
?>
|
632 |
<div id="envira-lightbox">
|
633 |
-
<p class="envira-intro"><?php _e( 'The settings below adjust the lightbox outputs and displays.', 'envira-gallery' ); ?></p>
|
634 |
<table class="form-table">
|
635 |
<tbody>
|
636 |
<tr id="envira-config-lightbox-enabled-box">
|
637 |
<th scope="row">
|
638 |
-
<label for="envira-config-lightbox-enabled"><?php _e( 'Enable Lightbox?', 'envira-gallery' ); ?></label>
|
639 |
</th>
|
640 |
<td>
|
641 |
<input id="envira-config-lightbox-enabled" type="checkbox" name="_envira_gallery[lightbox_enabled]" value="<?php echo $this->get_config( 'lightbox_enabled', $this->get_config_default( 'lightbox_enabled' ) ); ?>" <?php checked( $this->get_config( 'lightbox_enabled', $this->get_config_default( 'lightbox_enabled' ) ), 1 ); ?> />
|
642 |
-
<span class="description"><?php _e( 'Enables or disables the gallery lightbox.', 'envira-gallery' ); ?></span>
|
643 |
</td>
|
644 |
</tr>
|
645 |
<tr id="envira-config-lightbox-theme-box">
|
646 |
<th scope="row">
|
647 |
-
<label for="envira-config-lightbox-theme"><?php _e( 'Gallery Lightbox Theme', 'envira-gallery' ); ?></label>
|
648 |
</th>
|
649 |
<td>
|
650 |
<select id="envira-config-lightbox-theme" name="_envira_gallery[lightbox_theme]">
|
@@ -652,12 +652,12 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
652 |
<option value="<?php echo $data['value']; ?>"<?php selected( $data['value'], $this->get_config( 'lightbox_theme', $this->get_config_default( 'lightbox_theme' ) ) ); ?>><?php echo $data['name']; ?></option>
|
653 |
<?php endforeach; ?>
|
654 |
</select>
|
655 |
-
<p class="description"><?php _e( 'Sets the theme for the gallery lightbox display.', 'envira-gallery' ); ?></p>
|
656 |
</td>
|
657 |
</tr>
|
658 |
<tr id="envira-config-lightbox-title-display-box">
|
659 |
<th scope="row">
|
660 |
-
<label for="envira-config-lightbox-title-display"><?php _e( 'Caption Position', 'envira-gallery' ); ?></label>
|
661 |
</th>
|
662 |
<td>
|
663 |
<select id="envira-config-lightbox-title-display" name="_envira_gallery[title_display]">
|
@@ -665,14 +665,14 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
665 |
<option value="<?php echo $data['value']; ?>"<?php selected( $data['value'], $this->get_config( 'title_display', $this->get_config_default( 'title_display' ) ) ); ?>><?php echo $data['name']; ?></option>
|
666 |
<?php endforeach; ?>
|
667 |
</select>
|
668 |
-
<p class="description"><?php _e( 'Sets the display of the lightbox image\'s caption.', 'envira-gallery' ); ?></p>
|
669 |
</td>
|
670 |
</tr>
|
671 |
<?php do_action( 'envira_gallery_lightbox_box', $post ); ?>
|
672 |
</tbody>
|
673 |
</table>
|
674 |
<div class="envira-alert envira-clear">
|
675 |
-
<?php _e( '<em>Want even more fine tuned control over your lightbox display?</em> By upgrading to Envira Pro, you can get access to numerous other lightbox features, including: <strong>custom lightbox titles</strong>, <strong>enable/disable lightbox controls (arrow, keyboard and mousehweel navigation)</strong>, <strong>custom lightbox transition effects</strong>, <strong>native fullscreen support</strong>, <strong>gallery deeplinking</strong>, <strong>image protection</strong>, <strong>lightbox supersize effects</strong>, <strong>lightbox slideshows</strong> and so much more! <a href="http://enviragallery.com/lite/?utm_source=liteplugin&utm_medium=link&utm_campaign=WordPress" title="Click here to upgrade to Envira Pro!" target="_blank">Click here to upgrade to Envira Pro!</a>', 'envira-gallery' ); ?>
|
676 |
</div>
|
677 |
</div>
|
678 |
<?php
|
@@ -690,50 +690,50 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
690 |
|
691 |
?>
|
692 |
<div id="envira-misc">
|
693 |
-
<p class="envira-intro"><?php _e( 'The settings below adjust the miscellaneous settings for the gallery lightbox display.', 'envira-gallery' ); ?></p>
|
694 |
<table class="form-table">
|
695 |
<tbody>
|
696 |
<tr id="envira-config-title-box">
|
697 |
<th scope="row">
|
698 |
-
<label for="envira-config-title"><?php _e( 'Gallery Title', 'envira-gallery' ); ?></label>
|
699 |
</th>
|
700 |
<td>
|
701 |
<input id="envira-config-title" type="text" name="_envira_gallery[title]" value="<?php echo $this->get_config( 'title', $this->get_config_default( 'title' ) ); ?>" />
|
702 |
-
<p class="description"><?php _e( 'Internal gallery title for identification in the admin.', 'envira-gallery' ); ?></p>
|
703 |
</td>
|
704 |
</tr>
|
705 |
<tr id="envira-config-slug-box">
|
706 |
<th scope="row">
|
707 |
-
<label for="envira-config-slug"><?php _e( 'Gallery Slug', 'envira-gallery' ); ?></label>
|
708 |
</th>
|
709 |
<td>
|
710 |
<input id="envira-config-slug" type="text" name="_envira_gallery[slug]" value="<?php echo $this->get_config( 'slug', $this->get_config_default( 'slug' ) ); ?>" />
|
711 |
-
<p class="description"><?php _e( '<strong>Unique</strong> internal gallery slug for identification and advanced gallery queries.', 'envira-gallery' ); ?></p>
|
712 |
</td>
|
713 |
</tr>
|
714 |
<tr id="envira-config-classes-box">
|
715 |
<th scope="row">
|
716 |
-
<label for="envira-config-classes"><?php _e( 'Custom Gallery Classes', 'envira-gallery' ); ?></label>
|
717 |
</th>
|
718 |
<td>
|
719 |
-
<textarea id="envira-config-classes" rows="5" cols="75" name="_envira_gallery[classes]" placeholder="<?php _e( 'Enter custom gallery CSS classes here, one per line.', 'envira-gallery' ); ?>"><?php echo implode( "\n", (array) $this->get_config( 'classes', $this->get_config_default( 'classes' ) ) ); ?></textarea>
|
720 |
-
<p class="description"><?php _e( 'Adds custom CSS classes to this gallery. Enter one class per line.', 'envira-gallery' ); ?></p>
|
721 |
</td>
|
722 |
</tr>
|
723 |
<tr id="envira-config-rtl-box">
|
724 |
<th scope="row">
|
725 |
-
<label for="envira-config-rtl"><?php _e( 'Enable RTL Support?', 'envira-gallery' ); ?></label>
|
726 |
</th>
|
727 |
<td>
|
728 |
<input id="envira-config-rtl" type="checkbox" name="_envira_gallery[rtl]" value="<?php echo $this->get_config( 'rtl', $this->get_config_default( 'rtl' ) ); ?>" <?php checked( $this->get_config( 'rtl', $this->get_config_default( 'rtl' ) ), 1 ); ?> />
|
729 |
-
<span class="description"><?php _e( 'Enables or disables RTL support in Envira for right-to-left languages.', 'envira-gallery' ); ?></span>
|
730 |
</td>
|
731 |
</tr>
|
732 |
<?php do_action( 'envira_gallery_misc_box', $post ); ?>
|
733 |
</tbody>
|
734 |
</table>
|
735 |
<div class="envira-alert envira-clear">
|
736 |
-
<?php _e( '<em>Want to take your galleries further?</em> By upgrading to Envira Pro, you can get access to numerous other features, including: <strong>a fully-integrated import/export module for your galleries</strong>, <strong>custom CSS controls for each gallery</strong> and so much more! <a href="http://enviragallery.com/lite/?utm_source=liteplugin&utm_medium=link&utm_campaign=WordPress" title="Click here to upgrade to Envira Pro!" target="_blank">Click here to upgrade to Envira Pro!</a>', 'envira-gallery' ); ?>
|
737 |
</div>
|
738 |
</div>
|
739 |
<?php
|
@@ -751,7 +751,7 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
751 |
public function save_meta_boxes( $post_id, $post ) {
|
752 |
|
753 |
// Bail out if we fail a security check.
|
754 |
-
if ( ! isset( $_POST['envira-gallery'] ) || ! wp_verify_nonce( $_POST['envira-gallery'], 'envira-gallery' ) || ! isset( $_POST['_envira_gallery'] ) ) {
|
755 |
return;
|
756 |
}
|
757 |
|
@@ -859,8 +859,8 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
859 |
$thumbnail = wp_get_attachment_image_src( $id, 'thumbnail' ); ob_start(); ?>
|
860 |
<li id="<?php echo $id; ?>" class="envira-gallery-image envira-gallery-status-<?php echo $data['status']; ?>" data-envira-gallery-image="<?php echo $id; ?>">
|
861 |
<img src="<?php echo esc_url( $thumbnail[0] ); ?>" alt="<?php esc_attr_e( $data['alt'] ); ?>" />
|
862 |
-
<a href="#" class="envira-gallery-remove-image" title="<?php esc_attr_e( 'Remove Image from Gallery?', 'envira-gallery' ); ?>"></a>
|
863 |
-
<a href="#" class="envira-gallery-modify-image" title="<?php esc_attr_e( 'Modify Image', 'envira-gallery' ); ?>"></a>
|
864 |
<?php echo $this->get_gallery_item_meta( $id, $data, $post_id ); ?>
|
865 |
</li>
|
866 |
<?php
|
@@ -887,7 +887,7 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
887 |
<div class="media-modal-content">
|
888 |
<div class="media-frame envira-gallery-media-frame wp-core-ui hide-menu hide-router envira-gallery-meta-wrap">
|
889 |
<div class="media-frame-title">
|
890 |
-
<h1><?php _e( 'Edit Metadata', 'envira-gallery' ); ?></h1>
|
891 |
</div>
|
892 |
<div class="media-frame-content">
|
893 |
<div class="attachments-browser">
|
@@ -897,7 +897,7 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
897 |
<tbody>
|
898 |
<?php do_action( 'envira_gallery_before_meta_settings', $id, $data, $post_id ); ?>
|
899 |
<tr id="envira-gallery-title-box-<?php echo $id; ?>" valign="middle">
|
900 |
-
<th scope="row"><label for="envira-gallery-title-<?php echo $id; ?>"><?php _e( 'Image Title', 'envira-gallery' ); ?></label></th>
|
901 |
<td>
|
902 |
<?php
|
903 |
wp_editor( $data['title'], 'envira-gallery-title-' . $id, array(
|
@@ -908,21 +908,21 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
908 |
'textarea_rows' => 5,
|
909 |
) );
|
910 |
?>
|
911 |
-
<p class="description"><?php _e( 'Image titles can take any type of HTML.', 'envira-gallery' ); ?></p>
|
912 |
</td>
|
913 |
</tr>
|
914 |
<tr id="envira-gallery-alt-box-<?php echo $id; ?>" valign="middle">
|
915 |
-
<th scope="row"><label for="envira-gallery-alt-<?php echo $id; ?>"><?php _e( 'Image Alt Text', 'envira-gallery' ); ?></label></th>
|
916 |
<td>
|
917 |
<input id="envira-gallery-alt-<?php echo $id; ?>" class="envira-gallery-alt" type="text" name="_envira_gallery[meta_alt]" value="<?php echo esc_attr( $data['alt'] ); ?>" data-envira-meta="alt" />
|
918 |
-
<p class="description"><?php _e( 'The image alt text is used for SEO. You should probably fill this one out!', 'envira-gallery' ); ?></p>
|
919 |
</td>
|
920 |
</tr>
|
921 |
<tr id="envira-gallery-link-box-<?php echo $id; ?>" class="envira-gallery-link-cell" valign="middle">
|
922 |
-
<th scope="row"><label for="envira-gallery-link-<?php echo $id; ?>"><?php _e( 'Image Hyperlink', 'envira-gallery' ); ?></label></th>
|
923 |
<td>
|
924 |
<input id="envira-gallery-link-<?php echo $id; ?>" class="envira-gallery-link" type="text" name="_envira_gallery[meta_link]" value="<?php echo esc_url( $data['link'] ); ?>" data-envira-meta="link" />
|
925 |
-
<p class="description"><?php _e( 'The image hyperlink determines what opens up in the lightbox once the image is clicked. If this link is set to a regular web page, it will go to that page. Defaults to a larger version of the image itself.', 'envira-gallery' ); ?></p>
|
926 |
</td>
|
927 |
</tr>
|
928 |
<?php do_action( 'envira_gallery_after_meta_settings', $id, $data, $post_id ); ?>
|
@@ -932,15 +932,15 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
932 |
</div><!-- end .envira-gallery-meta -->
|
933 |
<div class="media-sidebar">
|
934 |
<div class="envira-gallery-meta-sidebar">
|
935 |
-
<h3><?php _e( 'Helpful Tips', 'envira-gallery' ); ?></h3>
|
936 |
-
<strong><?php _e( 'Image Titles', 'envira-gallery' ); ?></strong>
|
937 |
-
<p><?php _e( 'Image titles can take any type of HTML. You can adjust the position of the titles in the main Lightbox settings.', 'envira-gallery' ); ?></p>
|
938 |
-
<strong><?php _e( 'Image Alt Text', 'envira-gallery' ); ?></strong>
|
939 |
-
<p><?php _e( 'The image alt text field is used for accessibility and SEO, and describes your image.', 'envira-gallery' ); ?></p>
|
940 |
-
<strong><?php _e( 'Image Hyperlinks', 'envira-gallery' ); ?></strong>
|
941 |
-
<p><?php _e( 'The image hyperlink field is used when you click on an image in the gallery. It determines what is displayed in the lightbox view. It could be a larger version of the image, a video, or some other form of content.', 'envira-gallery' ); ?></p>
|
942 |
-
<strong><?php _e( 'Saving and Exiting', 'envira-gallery' ); ?></strong>
|
943 |
-
<p class="no-margin"><?php _e( 'Click on the button below to save your image metadata. You can close this window by either clicking on the "X" above or hitting the <code>esc</code> key on your keyboard.', 'envira-gallery' ); ?></p>
|
944 |
</div><!-- end .envira-gallery-meta-sidebar -->
|
945 |
</div><!-- end .media-sidebar -->
|
946 |
</div><!-- end .attachments-browser -->
|
@@ -948,7 +948,7 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
948 |
<div class="media-frame-toolbar">
|
949 |
<div class="media-toolbar">
|
950 |
<div class="media-toolbar-primary">
|
951 |
-
<a href="#" class="envira-gallery-meta-submit button media-button button-large button-primary media-button-insert" title="<?php esc_attr_e( 'Save Metadata', 'envira-gallery' ); ?>" data-envira-gallery-item="<?php echo $id; ?>"><?php _e( 'Save Metadata', 'envira-gallery' ); ?></a>
|
952 |
</div><!-- end .media-toolbar-primary -->
|
953 |
</div><!-- end .media-toolbar -->
|
954 |
</div><!-- end .media-frame-toolbar -->
|
124 |
'envira_gallery_metabox',
|
125 |
array(
|
126 |
'ajax' => admin_url( 'admin-ajax.php' ),
|
127 |
+
'gallery' => esc_attr__( 'Click Here to Insert from Other Image Sources', 'envira-gallery-lite' ),
|
128 |
'id' => $post_id,
|
129 |
+
'import' => __( 'You must select a file to import before continuing.', 'envira-gallery-lite' ),
|
130 |
'insert_nonce' => wp_create_nonce( 'envira-gallery-insert-images' ),
|
131 |
+
'inserting' => __( 'Inserting...', 'envira-gallery-lite' ),
|
132 |
'library_search' => wp_create_nonce( 'envira-gallery-library-search' ),
|
133 |
'load_image' => wp_create_nonce( 'envira-gallery-load-image' ),
|
134 |
'load_gallery' => wp_create_nonce( 'envira-gallery-load-gallery' ),
|
135 |
'plupload' => $this->get_plupload_init( $post_id ),
|
136 |
'refresh_nonce' => wp_create_nonce( 'envira-gallery-refresh' ),
|
137 |
+
'remove' => __( 'Are you sure you want to remove this image from the gallery?', 'envira-gallery-lite' ),
|
138 |
'remove_nonce' => wp_create_nonce( 'envira-gallery-remove-image' ),
|
139 |
'save_nonce' => wp_create_nonce( 'envira-gallery-save-meta' ),
|
140 |
+
'saving' => __( 'Saving...', 'envira-gallery-lite' ),
|
141 |
'sort' => wp_create_nonce( 'envira-gallery-sort' )
|
142 |
)
|
143 |
);
|
186 |
'silverlight_xap_url' => includes_url( 'js/plupload/plupload.silverlight.xap' ),
|
187 |
'filters' => array(
|
188 |
array(
|
189 |
+
'title' => __( 'Allowed Files', 'envira-gallery-lite' ),
|
190 |
'extensions' => '*'
|
191 |
),
|
192 |
),
|
250 |
continue;
|
251 |
}
|
252 |
|
253 |
+
add_meta_box( 'envira-gallery', __( 'Envira Gallery Settings', 'envira-gallery-lite' ), array( $this, 'meta_box_callback' ), $post_type, 'normal', 'high' );
|
254 |
}
|
255 |
|
256 |
}
|
317 |
public function meta_box_callback( $post ) {
|
318 |
|
319 |
// Keep security first.
|
320 |
+
wp_nonce_field( 'envira-gallery-lite', 'envira-gallery-lite' );
|
321 |
|
322 |
// Check for our meta overlay helper.
|
323 |
$gallery_data = get_post_meta( $post->ID, '_eg_gallery_data', true );
|
355 |
public function get_envira_tab_nav() {
|
356 |
|
357 |
$tabs = array(
|
358 |
+
'images' => __( 'Images', 'envira-gallery-lite' ),
|
359 |
+
'config' => __( 'Config', 'envira-gallery-lite' ),
|
360 |
+
'lightbox' => __( 'Lightbox', 'envira-gallery-lite' )
|
361 |
);
|
362 |
$tabs = apply_filters( 'envira_gallery_tab_nav', $tabs );
|
363 |
|
364 |
// "Misc" tab is required.
|
365 |
+
$tabs['misc'] = __( 'Misc', 'envira-gallery-lite' );
|
366 |
|
367 |
return $tabs;
|
368 |
|
379 |
|
380 |
?>
|
381 |
<div class="envira-alert envira-clear" style="margin-bottom:10px;">
|
382 |
+
<?php _e( '<em>Want to make your gallery workflow even better?</em> By upgrading to Envira Pro, you can get access to numerous other features, including: <strong>a fully featured gallery widget</strong>, <strong>complete gallery API</strong>, <strong>powerful gallery documentation</strong>, <strong>full mobile and Retina support</strong>, <strong>dedicated customer support</strong> and so much more! <a href="http://enviragallery.com/lite/?utm_source=liteplugin&utm_medium=link&utm_campaign=WordPress" title="Click here to upgrade to Envira Pro!" target="_blank">Click here to upgrade to Envira Pro!</a>', 'envira-gallery-lite' ); ?>
|
383 |
</div>
|
384 |
<?php
|
385 |
|
426 |
|
427 |
?>
|
428 |
<div class="envira-meta-helper <?php echo $class; ?>">
|
429 |
+
<span class="envira-meta-close-text"><?php _e( '(click the icon to open and close the overlay dialog)', 'envira-gallery-lite' ); ?></span>
|
430 |
+
<a href="#" class="envira-meta-icon" title="<?php esc_attr__( 'Click here to view meta information about this gallery.', 'envira-gallery-lite' ); ?>"></a>
|
431 |
<div class="envira-meta-information">
|
432 |
+
<p><?php _e( 'You can place this gallery anywhere into your posts, pages, custom post types or widgets by using the shortcode(s) below:', 'envira-gallery-lite' ); ?></p>
|
433 |
<code><?php echo '[envira-gallery id="' . $post->ID . '"]'; ?></code>
|
434 |
<?php if ( ! empty( $gallery_data['config']['slug'] ) ) : ?>
|
435 |
<br><code><?php echo '[envira-gallery slug="' . $gallery_data['config']['slug'] . '"]'; ?></code>
|
436 |
<?php endif; ?>
|
437 |
+
<p><?php _e( 'You can also place this gallery into your template files by using the template tag(s) below:', 'envira-gallery-lite' ); ?></p>
|
438 |
<code><?php echo 'if ( function_exists( \'envira_gallery\' ) ) { envira_gallery( \'' . $post->ID . '\' ); }'; ?></code>
|
439 |
<?php if ( ! empty( $gallery_data['config']['slug'] ) ) : ?>
|
440 |
<br><code><?php echo 'if ( function_exists( \'envira_gallery\' ) ) { envira_gallery( \'' . $gallery_data['config']['slug'] . '\', \'slug\' ); }'; ?></code>
|
462 |
<div class="media-modal-content">
|
463 |
<div class="media-frame envira-gallery-media-frame wp-core-ui hide-menu envira-gallery-meta-wrap">
|
464 |
<div class="media-frame-title">
|
465 |
+
<h1><?php _e( 'Insert Images into Gallery', 'envira-gallery-lite' ); ?></h1>
|
466 |
</div>
|
467 |
<div class="media-frame-router">
|
468 |
<div class="media-router">
|
469 |
+
<a href="#" class="media-menu-item active"><?php _e( 'Images', 'envira-gallery-lite' ); ?></a>
|
470 |
<?php do_action( 'envira_gallery_modal_router', $post ); ?>
|
471 |
</div><!-- end .media-router -->
|
472 |
</div><!-- end .media-frame-router -->
|
476 |
<div class="attachments-browser">
|
477 |
<div class="media-toolbar envira-gallery-library-toolbar">
|
478 |
<div class="media-toolbar-primary">
|
479 |
+
<input type="search" placeholder="<?php esc_attr_e( 'Search', 'envira-gallery-lite' ); ?>" id="envira-gallery-gallery-search" class="search" value="" />
|
480 |
</div>
|
481 |
<div class="media-toolbar-secondary">
|
482 |
+
<a class="button media-button button-large button-secodary envira-gallery-load-library" href="#" data-envira-gallery-offset="20"><?php _e( 'Load More Images from Library', 'envira-gallery-lite' ); ?></a></a><span class="spinner envira-gallery-spinner"></span>
|
483 |
</div>
|
484 |
</div>
|
485 |
<?php $library = get_posts( array( 'post_type' => 'attachment', 'post_mime_type' => 'image', 'post_status' => 'inherit', 'posts_per_page' => 20 ) ); ?>
|
504 |
<?php endif; ?>
|
505 |
<div class="media-sidebar">
|
506 |
<div class="envira-gallery-meta-sidebar">
|
507 |
+
<h3><?php _e( 'Helpful Tips', 'envira-gallery-lite' ); ?></h3>
|
508 |
+
<strong><?php _e( 'Selecting Images', 'envira-gallery-lite' ); ?></strong>
|
509 |
+
<p><?php _e( 'You can insert any image from your Media Library into your gallery. If the image you want to insert is not shown on the screen, you can either click on the "Load More Images from Library" button to load more images or use the search box to find the images you are looking for.', 'envira-gallery-lite' ); ?></p>
|
510 |
</div><!-- end .envira-gallery-meta-sidebar -->
|
511 |
</div><!-- end .media-sidebar -->
|
512 |
</div><!-- end .attachments-browser -->
|
516 |
<div class="media-frame-toolbar">
|
517 |
<div class="media-toolbar">
|
518 |
<div class="media-toolbar-primary">
|
519 |
+
<a href="#" class="envira-gallery-media-insert button media-button button-large button-primary media-button-insert" title="<?php esc_attr_e( 'Insert Images into Gallery', 'envira-gallery-lite' ); ?>"><?php _e( 'Insert Images into Gallery', 'envira-gallery-lite' ); ?></a>
|
520 |
</div><!-- end .media-toolbar-primary -->
|
521 |
</div><!-- end .media-toolbar -->
|
522 |
</div><!-- end .media-frame-toolbar -->
|
541 |
|
542 |
?>
|
543 |
<div id="envira-config">
|
544 |
+
<p class="envira-intro"><?php _e( 'The settings below adjust the basic configuration options for the gallery lightbox display.', 'envira-gallery-lite' ); ?></p>
|
545 |
<table class="form-table">
|
546 |
<tbody>
|
547 |
<tr id="envira-config-columns-box">
|
548 |
<th scope="row">
|
549 |
+
<label for="envira-config-columns"><?php _e( 'Number of Gallery Columns', 'envira-gallery-lite' ); ?></label>
|
550 |
</th>
|
551 |
<td>
|
552 |
<select id="envira-config-columns" name="_envira_gallery[columns]">
|
554 |
<option value="<?php echo $data['value']; ?>"<?php selected( $data['value'], $this->get_config( 'columns', $this->get_config_default( 'columns' ) ) ); ?>><?php echo $data['name']; ?></option>
|
555 |
<?php endforeach; ?>
|
556 |
</select>
|
557 |
+
<p class="description"><?php _e( 'Determines the number of columns in the gallery.', 'envira-gallery-lite' ); ?></p>
|
558 |
</td>
|
559 |
</tr>
|
560 |
<tr id="envira-config-gallery-theme-box" class="envira-lite-disabled">
|
561 |
<th scope="row">
|
562 |
+
<label for="envira-config-gallery-theme"><?php _e( 'Gallery Theme', 'envira-gallery-lite' ); ?></label>
|
563 |
</th>
|
564 |
<td>
|
565 |
<select id="envira-config-gallery-theme" name="_envira_gallery[gallery_theme]">
|
567 |
<option value="<?php echo $data['value']; ?>"<?php selected( $data['value'], $this->get_config( 'gallery_theme', $this->get_config_default( 'gallery_theme' ) ) ); ?>><?php echo $data['name']; ?></option>
|
568 |
<?php endforeach; ?>
|
569 |
</select>
|
570 |
+
<p class="description"><?php _e( 'Sets the theme for the gallery display.', 'envira-gallery-lite' ); ?></p>
|
571 |
</td>
|
572 |
</tr>
|
573 |
<tr id="envira-config-gutter-box">
|
574 |
<th scope="row">
|
575 |
+
<label for="envira-config-gutter"><?php _e( 'Column Gutter Width', 'envira-gallery-lite' ); ?></label>
|
576 |
</th>
|
577 |
<td>
|
578 |
<input id="envira-config-gutter" type="number" name="_envira_gallery[gutter]" value="<?php echo $this->get_config( 'gutter', $this->get_config_default( 'gutter' ) ); ?>" />
|
579 |
+
<span class="envira-unit"><?php _e( 'px', 'envira-gallery-lite' ); ?></span>
|
580 |
+
<p class="description"><?php _e( 'Sets the space between the columns (defaults to 10).', 'envira-gallery-lite' ); ?></p>
|
581 |
</td>
|
582 |
</tr>
|
583 |
<tr id="envira-config-margin-box">
|
584 |
<th scope="row">
|
585 |
+
<label for="envira-config-margin"><?php _e( 'Margin Below Each Image', 'envira-gallery-lite' ); ?></label>
|
586 |
</th>
|
587 |
<td>
|
588 |
<input id="envira-config-margin" type="number" name="_envira_gallery[margin]" value="<?php echo $this->get_config( 'margin', $this->get_config_default( 'margin' ) ); ?>" />
|
589 |
+
<span class="envira-unit"><?php _e( 'px', 'envira-gallery-lite' ); ?></span>
|
590 |
+
<p class="description"><?php _e( 'Sets the space below each item in the gallery.', 'envira-gallery-lite' ); ?></p>
|
591 |
</td>
|
592 |
</tr>
|
593 |
<tr id="envira-config-crop-box">
|
594 |
<th scope="row">
|
595 |
+
<label for="envira-config-crop"><?php _e( 'Crop Images in Gallery?', 'envira-gallery-lite' ); ?></label>
|
596 |
</th>
|
597 |
<td>
|
598 |
<input id="envira-config-crop" type="checkbox" name="_envira_gallery[crop]" value="<?php echo $this->get_config( 'crop', $this->get_config_default( 'crop' ) ); ?>" <?php checked( $this->get_config( 'crop', $this->get_config_default( 'crop' ) ), 1 ); ?> />
|
599 |
+
<span class="description"><?php _e( 'Enables or disables image cropping for the main gallery images.', 'envira-gallery-lite' ); ?></span>
|
600 |
</td>
|
601 |
</tr>
|
602 |
<tr id="envira-config-crop-size-box" style="display:none;">
|
603 |
<th scope="row">
|
604 |
+
<label for="envira-config-crop-width"><?php _e( 'Crop Dimensions', 'envira-gallery-lite' ); ?></label>
|
605 |
</th>
|
606 |
<td>
|
607 |
<input id="envira-config-crop-width" type="number" name="_envira_gallery[crop_width]" value="<?php echo $this->get_config( 'crop_width', $this->get_config_default( 'crop_width' ) ); ?>" <?php checked( $this->get_config( 'crop_width', $this->get_config_default( 'crop_width' ) ), 1 ); ?> /> × <input id="envira-config-crop-height" type="number" name="_envira_gallery[crop_height]" value="<?php echo $this->get_config( 'crop_height', $this->get_config_default( 'crop_height' ) ); ?>" <?php checked( $this->get_config( 'crop_height', $this->get_config_default( 'crop_height' ) ), 1 ); ?> />
|
608 |
+
<p class="description"><?php _e( 'You should adjust these dimensions based on the number of columns in your gallery.', 'envira-gallery-lite' ); ?></p>
|
609 |
</td>
|
610 |
</tr>
|
611 |
<?php do_action( 'envira_gallery_config_box', $post ); ?>
|
612 |
</tbody>
|
613 |
</table>
|
614 |
<div class="envira-alert envira-clear">
|
615 |
+
<?php _e( '<em>Want to do even more with your gallery display?</em> By upgrading to Envira Pro, you can get access to numerous other gallery display features, including: <strong>custom image tagging and filtering</strong>, <strong>mobile specific image assets for blazing fast load times</strong>, <strong>dedicated and unique gallery URLs</strong>, <strong>custom gallery themes</strong>, <strong>gallery thumbnail support</strong> and so much more! <a href="http://enviragallery.com/lite/?utm_source=liteplugin&utm_medium=link&utm_campaign=WordPress" title="Click here to upgrade to Envira Pro!" target="_blank">Click here to upgrade to Envira Pro!</a>', 'envira-gallery-lite' ); ?>
|
616 |
</div>
|
617 |
</div>
|
618 |
<?php
|
630 |
|
631 |
?>
|
632 |
<div id="envira-lightbox">
|
633 |
+
<p class="envira-intro"><?php _e( 'The settings below adjust the lightbox outputs and displays.', 'envira-gallery-lite' ); ?></p>
|
634 |
<table class="form-table">
|
635 |
<tbody>
|
636 |
<tr id="envira-config-lightbox-enabled-box">
|
637 |
<th scope="row">
|
638 |
+
<label for="envira-config-lightbox-enabled"><?php _e( 'Enable Lightbox?', 'envira-gallery-lite' ); ?></label>
|
639 |
</th>
|
640 |
<td>
|
641 |
<input id="envira-config-lightbox-enabled" type="checkbox" name="_envira_gallery[lightbox_enabled]" value="<?php echo $this->get_config( 'lightbox_enabled', $this->get_config_default( 'lightbox_enabled' ) ); ?>" <?php checked( $this->get_config( 'lightbox_enabled', $this->get_config_default( 'lightbox_enabled' ) ), 1 ); ?> />
|
642 |
+
<span class="description"><?php _e( 'Enables or disables the gallery lightbox.', 'envira-gallery-lite' ); ?></span>
|
643 |
</td>
|
644 |
</tr>
|
645 |
<tr id="envira-config-lightbox-theme-box">
|
646 |
<th scope="row">
|
647 |
+
<label for="envira-config-lightbox-theme"><?php _e( 'Gallery Lightbox Theme', 'envira-gallery-lite' ); ?></label>
|
648 |
</th>
|
649 |
<td>
|
650 |
<select id="envira-config-lightbox-theme" name="_envira_gallery[lightbox_theme]">
|
652 |
<option value="<?php echo $data['value']; ?>"<?php selected( $data['value'], $this->get_config( 'lightbox_theme', $this->get_config_default( 'lightbox_theme' ) ) ); ?>><?php echo $data['name']; ?></option>
|
653 |
<?php endforeach; ?>
|
654 |
</select>
|
655 |
+
<p class="description"><?php _e( 'Sets the theme for the gallery lightbox display.', 'envira-gallery-lite' ); ?></p>
|
656 |
</td>
|
657 |
</tr>
|
658 |
<tr id="envira-config-lightbox-title-display-box">
|
659 |
<th scope="row">
|
660 |
+
<label for="envira-config-lightbox-title-display"><?php _e( 'Caption Position', 'envira-gallery-lite' ); ?></label>
|
661 |
</th>
|
662 |
<td>
|
663 |
<select id="envira-config-lightbox-title-display" name="_envira_gallery[title_display]">
|
665 |
<option value="<?php echo $data['value']; ?>"<?php selected( $data['value'], $this->get_config( 'title_display', $this->get_config_default( 'title_display' ) ) ); ?>><?php echo $data['name']; ?></option>
|
666 |
<?php endforeach; ?>
|
667 |
</select>
|
668 |
+
<p class="description"><?php _e( 'Sets the display of the lightbox image\'s caption.', 'envira-gallery-lite' ); ?></p>
|
669 |
</td>
|
670 |
</tr>
|
671 |
<?php do_action( 'envira_gallery_lightbox_box', $post ); ?>
|
672 |
</tbody>
|
673 |
</table>
|
674 |
<div class="envira-alert envira-clear">
|
675 |
+
<?php _e( '<em>Want even more fine tuned control over your lightbox display?</em> By upgrading to Envira Pro, you can get access to numerous other lightbox features, including: <strong>custom lightbox titles</strong>, <strong>enable/disable lightbox controls (arrow, keyboard and mousehweel navigation)</strong>, <strong>custom lightbox transition effects</strong>, <strong>native fullscreen support</strong>, <strong>gallery deeplinking</strong>, <strong>image protection</strong>, <strong>lightbox supersize effects</strong>, <strong>lightbox slideshows</strong> and so much more! <a href="http://enviragallery.com/lite/?utm_source=liteplugin&utm_medium=link&utm_campaign=WordPress" title="Click here to upgrade to Envira Pro!" target="_blank">Click here to upgrade to Envira Pro!</a>', 'envira-gallery-lite' ); ?>
|
676 |
</div>
|
677 |
</div>
|
678 |
<?php
|
690 |
|
691 |
?>
|
692 |
<div id="envira-misc">
|
693 |
+
<p class="envira-intro"><?php _e( 'The settings below adjust the miscellaneous settings for the gallery lightbox display.', 'envira-gallery-lite' ); ?></p>
|
694 |
<table class="form-table">
|
695 |
<tbody>
|
696 |
<tr id="envira-config-title-box">
|
697 |
<th scope="row">
|
698 |
+
<label for="envira-config-title"><?php _e( 'Gallery Title', 'envira-gallery-lite' ); ?></label>
|
699 |
</th>
|
700 |
<td>
|
701 |
<input id="envira-config-title" type="text" name="_envira_gallery[title]" value="<?php echo $this->get_config( 'title', $this->get_config_default( 'title' ) ); ?>" />
|
702 |
+
<p class="description"><?php _e( 'Internal gallery title for identification in the admin.', 'envira-gallery-lite' ); ?></p>
|
703 |
</td>
|
704 |
</tr>
|
705 |
<tr id="envira-config-slug-box">
|
706 |
<th scope="row">
|
707 |
+
<label for="envira-config-slug"><?php _e( 'Gallery Slug', 'envira-gallery-lite' ); ?></label>
|
708 |
</th>
|
709 |
<td>
|
710 |
<input id="envira-config-slug" type="text" name="_envira_gallery[slug]" value="<?php echo $this->get_config( 'slug', $this->get_config_default( 'slug' ) ); ?>" />
|
711 |
+
<p class="description"><?php _e( '<strong>Unique</strong> internal gallery slug for identification and advanced gallery queries.', 'envira-gallery-lite' ); ?></p>
|
712 |
</td>
|
713 |
</tr>
|
714 |
<tr id="envira-config-classes-box">
|
715 |
<th scope="row">
|
716 |
+
<label for="envira-config-classes"><?php _e( 'Custom Gallery Classes', 'envira-gallery-lite' ); ?></label>
|
717 |
</th>
|
718 |
<td>
|
719 |
+
<textarea id="envira-config-classes" rows="5" cols="75" name="_envira_gallery[classes]" placeholder="<?php _e( 'Enter custom gallery CSS classes here, one per line.', 'envira-gallery-lite' ); ?>"><?php echo implode( "\n", (array) $this->get_config( 'classes', $this->get_config_default( 'classes' ) ) ); ?></textarea>
|
720 |
+
<p class="description"><?php _e( 'Adds custom CSS classes to this gallery. Enter one class per line.', 'envira-gallery-lite' ); ?></p>
|
721 |
</td>
|
722 |
</tr>
|
723 |
<tr id="envira-config-rtl-box">
|
724 |
<th scope="row">
|
725 |
+
<label for="envira-config-rtl"><?php _e( 'Enable RTL Support?', 'envira-gallery-lite' ); ?></label>
|
726 |
</th>
|
727 |
<td>
|
728 |
<input id="envira-config-rtl" type="checkbox" name="_envira_gallery[rtl]" value="<?php echo $this->get_config( 'rtl', $this->get_config_default( 'rtl' ) ); ?>" <?php checked( $this->get_config( 'rtl', $this->get_config_default( 'rtl' ) ), 1 ); ?> />
|
729 |
+
<span class="description"><?php _e( 'Enables or disables RTL support in Envira for right-to-left languages.', 'envira-gallery-lite' ); ?></span>
|
730 |
</td>
|
731 |
</tr>
|
732 |
<?php do_action( 'envira_gallery_misc_box', $post ); ?>
|
733 |
</tbody>
|
734 |
</table>
|
735 |
<div class="envira-alert envira-clear">
|
736 |
+
<?php _e( '<em>Want to take your galleries further?</em> By upgrading to Envira Pro, you can get access to numerous other features, including: <strong>a fully-integrated import/export module for your galleries</strong>, <strong>custom CSS controls for each gallery</strong> and so much more! <a href="http://enviragallery.com/lite/?utm_source=liteplugin&utm_medium=link&utm_campaign=WordPress" title="Click here to upgrade to Envira Pro!" target="_blank">Click here to upgrade to Envira Pro!</a>', 'envira-gallery-lite' ); ?>
|
737 |
</div>
|
738 |
</div>
|
739 |
<?php
|
751 |
public function save_meta_boxes( $post_id, $post ) {
|
752 |
|
753 |
// Bail out if we fail a security check.
|
754 |
+
if ( ! isset( $_POST['envira-gallery-lite'] ) || ! wp_verify_nonce( $_POST['envira-gallery-lite'], 'envira-gallery-lite' ) || ! isset( $_POST['_envira_gallery'] ) ) {
|
755 |
return;
|
756 |
}
|
757 |
|
859 |
$thumbnail = wp_get_attachment_image_src( $id, 'thumbnail' ); ob_start(); ?>
|
860 |
<li id="<?php echo $id; ?>" class="envira-gallery-image envira-gallery-status-<?php echo $data['status']; ?>" data-envira-gallery-image="<?php echo $id; ?>">
|
861 |
<img src="<?php echo esc_url( $thumbnail[0] ); ?>" alt="<?php esc_attr_e( $data['alt'] ); ?>" />
|
862 |
+
<a href="#" class="envira-gallery-remove-image" title="<?php esc_attr_e( 'Remove Image from Gallery?', 'envira-gallery-lite' ); ?>"></a>
|
863 |
+
<a href="#" class="envira-gallery-modify-image" title="<?php esc_attr_e( 'Modify Image', 'envira-gallery-lite' ); ?>"></a>
|
864 |
<?php echo $this->get_gallery_item_meta( $id, $data, $post_id ); ?>
|
865 |
</li>
|
866 |
<?php
|
887 |
<div class="media-modal-content">
|
888 |
<div class="media-frame envira-gallery-media-frame wp-core-ui hide-menu hide-router envira-gallery-meta-wrap">
|
889 |
<div class="media-frame-title">
|
890 |
+
<h1><?php _e( 'Edit Metadata', 'envira-gallery-lite' ); ?></h1>
|
891 |
</div>
|
892 |
<div class="media-frame-content">
|
893 |
<div class="attachments-browser">
|
897 |
<tbody>
|
898 |
<?php do_action( 'envira_gallery_before_meta_settings', $id, $data, $post_id ); ?>
|
899 |
<tr id="envira-gallery-title-box-<?php echo $id; ?>" valign="middle">
|
900 |
+
<th scope="row"><label for="envira-gallery-title-<?php echo $id; ?>"><?php _e( 'Image Title', 'envira-gallery-lite' ); ?></label></th>
|
901 |
<td>
|
902 |
<?php
|
903 |
wp_editor( $data['title'], 'envira-gallery-title-' . $id, array(
|
908 |
'textarea_rows' => 5,
|
909 |
) );
|
910 |
?>
|
911 |
+
<p class="description"><?php _e( 'Image titles can take any type of HTML.', 'envira-gallery-lite' ); ?></p>
|
912 |
</td>
|
913 |
</tr>
|
914 |
<tr id="envira-gallery-alt-box-<?php echo $id; ?>" valign="middle">
|
915 |
+
<th scope="row"><label for="envira-gallery-alt-<?php echo $id; ?>"><?php _e( 'Image Alt Text', 'envira-gallery-lite' ); ?></label></th>
|
916 |
<td>
|
917 |
<input id="envira-gallery-alt-<?php echo $id; ?>" class="envira-gallery-alt" type="text" name="_envira_gallery[meta_alt]" value="<?php echo esc_attr( $data['alt'] ); ?>" data-envira-meta="alt" />
|
918 |
+
<p class="description"><?php _e( 'The image alt text is used for SEO. You should probably fill this one out!', 'envira-gallery-lite' ); ?></p>
|
919 |
</td>
|
920 |
</tr>
|
921 |
<tr id="envira-gallery-link-box-<?php echo $id; ?>" class="envira-gallery-link-cell" valign="middle">
|
922 |
+
<th scope="row"><label for="envira-gallery-link-<?php echo $id; ?>"><?php _e( 'Image Hyperlink', 'envira-gallery-lite' ); ?></label></th>
|
923 |
<td>
|
924 |
<input id="envira-gallery-link-<?php echo $id; ?>" class="envira-gallery-link" type="text" name="_envira_gallery[meta_link]" value="<?php echo esc_url( $data['link'] ); ?>" data-envira-meta="link" />
|
925 |
+
<p class="description"><?php _e( 'The image hyperlink determines what opens up in the lightbox once the image is clicked. If this link is set to a regular web page, it will go to that page. Defaults to a larger version of the image itself.', 'envira-gallery-lite' ); ?></p>
|
926 |
</td>
|
927 |
</tr>
|
928 |
<?php do_action( 'envira_gallery_after_meta_settings', $id, $data, $post_id ); ?>
|
932 |
</div><!-- end .envira-gallery-meta -->
|
933 |
<div class="media-sidebar">
|
934 |
<div class="envira-gallery-meta-sidebar">
|
935 |
+
<h3><?php _e( 'Helpful Tips', 'envira-gallery-lite' ); ?></h3>
|
936 |
+
<strong><?php _e( 'Image Titles', 'envira-gallery-lite' ); ?></strong>
|
937 |
+
<p><?php _e( 'Image titles can take any type of HTML. You can adjust the position of the titles in the main Lightbox settings.', 'envira-gallery-lite' ); ?></p>
|
938 |
+
<strong><?php _e( 'Image Alt Text', 'envira-gallery-lite' ); ?></strong>
|
939 |
+
<p><?php _e( 'The image alt text field is used for accessibility and SEO, and describes your image.', 'envira-gallery-lite' ); ?></p>
|
940 |
+
<strong><?php _e( 'Image Hyperlinks', 'envira-gallery-lite' ); ?></strong>
|
941 |
+
<p><?php _e( 'The image hyperlink field is used when you click on an image in the gallery. It determines what is displayed in the lightbox view. It could be a larger version of the image, a video, or some other form of content.', 'envira-gallery-lite' ); ?></p>
|
942 |
+
<strong><?php _e( 'Saving and Exiting', 'envira-gallery-lite' ); ?></strong>
|
943 |
+
<p class="no-margin"><?php _e( 'Click on the button below to save your image metadata. You can close this window by either clicking on the "X" above or hitting the <code>esc</code> key on your keyboard.', 'envira-gallery-lite' ); ?></p>
|
944 |
</div><!-- end .envira-gallery-meta-sidebar -->
|
945 |
</div><!-- end .media-sidebar -->
|
946 |
</div><!-- end .attachments-browser -->
|
948 |
<div class="media-frame-toolbar">
|
949 |
<div class="media-toolbar">
|
950 |
<div class="media-toolbar-primary">
|
951 |
+
<a href="#" class="envira-gallery-meta-submit button media-button button-large button-primary media-button-insert" title="<?php esc_attr_e( 'Save Metadata', 'envira-gallery-lite' ); ?>" data-envira-gallery-item="<?php echo $id; ?>"><?php _e( 'Save Metadata', 'envira-gallery-lite' ); ?></a>
|
952 |
</div><!-- end .media-toolbar-primary -->
|
953 |
</div><!-- end .media-toolbar -->
|
954 |
</div><!-- end .media-frame-toolbar -->
|
includes/admin/posttype.php
CHANGED
@@ -73,12 +73,12 @@ class Envira_Gallery_Posttype_Admin_Lite {
|
|
73 |
|
74 |
$columns = array(
|
75 |
'cb' => '<input type="checkbox" />',
|
76 |
-
'title' => __( 'Title', 'envira-gallery' ),
|
77 |
-
'shortcode' => __( 'Shortcode', 'envira-gallery' ),
|
78 |
-
'template' => __( 'Function', 'envira-gallery' ),
|
79 |
-
'images' => __( 'Number of Images', 'envira-gallery' ),
|
80 |
-
'modified' => __( 'Last Modified', 'envira-gallery' ),
|
81 |
-
'date' => __( 'Date', 'envira-gallery' )
|
82 |
);
|
83 |
|
84 |
return $columns;
|
@@ -155,16 +155,16 @@ class Envira_Gallery_Posttype_Admin_Lite {
|
|
155 |
$messages['envira'] = apply_filters( 'envira_gallery_messages',
|
156 |
array(
|
157 |
0 => '',
|
158 |
-
1 => __( 'Envira gallery updated.', 'envira-gallery' ),
|
159 |
-
2 => __( 'Envira gallery custom field updated.', 'envira-gallery' ),
|
160 |
-
3 => __( 'Envira gallery custom field deleted.', 'envira-gallery' ),
|
161 |
-
4 => __( 'Envira gallery updated.', 'envira-gallery' ),
|
162 |
-
5 => isset( $_GET['revision'] ) ? sprintf( __( 'Envira gallery restored to revision from %s.', 'envira-gallery' ), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false,
|
163 |
-
6 => __( 'Envira gallery published.', 'envira-gallery' ),
|
164 |
-
7 => __( 'Envira gallery saved.', 'envira-gallery' ),
|
165 |
-
8 => __( 'Envira gallery submitted.', 'envira-gallery' ),
|
166 |
-
9 => sprintf( __( 'Envira gallery scheduled for: <strong>%1$s</strong>.', 'envira-gallery' ), date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ) ),
|
167 |
-
10 => __( 'Envira gallery draft updated.', 'envira-gallery' )
|
168 |
)
|
169 |
);
|
170 |
|
73 |
|
74 |
$columns = array(
|
75 |
'cb' => '<input type="checkbox" />',
|
76 |
+
'title' => __( 'Title', 'envira-gallery-lite' ),
|
77 |
+
'shortcode' => __( 'Shortcode', 'envira-gallery-lite' ),
|
78 |
+
'template' => __( 'Function', 'envira-gallery-lite' ),
|
79 |
+
'images' => __( 'Number of Images', 'envira-gallery-lite' ),
|
80 |
+
'modified' => __( 'Last Modified', 'envira-gallery-lite' ),
|
81 |
+
'date' => __( 'Date', 'envira-gallery-lite' )
|
82 |
);
|
83 |
|
84 |
return $columns;
|
155 |
$messages['envira'] = apply_filters( 'envira_gallery_messages',
|
156 |
array(
|
157 |
0 => '',
|
158 |
+
1 => __( 'Envira gallery updated.', 'envira-gallery-lite' ),
|
159 |
+
2 => __( 'Envira gallery custom field updated.', 'envira-gallery-lite' ),
|
160 |
+
3 => __( 'Envira gallery custom field deleted.', 'envira-gallery-lite' ),
|
161 |
+
4 => __( 'Envira gallery updated.', 'envira-gallery-lite' ),
|
162 |
+
5 => isset( $_GET['revision'] ) ? sprintf( __( 'Envira gallery restored to revision from %s.', 'envira-gallery-lite' ), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false,
|
163 |
+
6 => __( 'Envira gallery published.', 'envira-gallery-lite' ),
|
164 |
+
7 => __( 'Envira gallery saved.', 'envira-gallery-lite' ),
|
165 |
+
8 => __( 'Envira gallery submitted.', 'envira-gallery-lite' ),
|
166 |
+
9 => sprintf( __( 'Envira gallery scheduled for: <strong>%1$s</strong>.', 'envira-gallery-lite' ), date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ) ),
|
167 |
+
10 => __( 'Envira gallery draft updated.', 'envira-gallery-lite' )
|
168 |
)
|
169 |
);
|
170 |
|
includes/global/common.php
CHANGED
@@ -60,27 +60,27 @@ class Envira_Gallery_Common_Lite {
|
|
60 |
$columns = array(
|
61 |
array(
|
62 |
'value' => '1',
|
63 |
-
'name' => __( 'One Column (1)', 'envira-gallery' )
|
64 |
),
|
65 |
array(
|
66 |
'value' => '2',
|
67 |
-
'name' => __( 'Two Columns (2)', 'envira-gallery' )
|
68 |
),
|
69 |
array(
|
70 |
'value' => '3',
|
71 |
-
'name' => __( 'Three Columns (3)', 'envira-gallery' )
|
72 |
),
|
73 |
array(
|
74 |
'value' => '4',
|
75 |
-
'name' => __( 'Four Columns (4)', 'envira-gallery' )
|
76 |
),
|
77 |
array(
|
78 |
'value' => '5',
|
79 |
-
'name' => __( 'Five Columns (5)', 'envira-gallery' )
|
80 |
),
|
81 |
array(
|
82 |
'value' => '6',
|
83 |
-
'name' => __( 'Six Columns (6)', 'envira-gallery' )
|
84 |
)
|
85 |
);
|
86 |
|
@@ -100,7 +100,7 @@ class Envira_Gallery_Common_Lite {
|
|
100 |
$themes = array(
|
101 |
array(
|
102 |
'value' => 'base',
|
103 |
-
'name' => __( 'Base', 'envira-gallery' ),
|
104 |
'file' => $this->base->file
|
105 |
)
|
106 |
);
|
@@ -121,7 +121,7 @@ class Envira_Gallery_Common_Lite {
|
|
121 |
$themes = array(
|
122 |
array(
|
123 |
'value' => 'base',
|
124 |
-
'name' => __( 'Base', 'envira-gallery' ),
|
125 |
'file' => $this->base->file
|
126 |
)
|
127 |
);
|
@@ -142,11 +142,11 @@ class Envira_Gallery_Common_Lite {
|
|
142 |
$displays = array(
|
143 |
array(
|
144 |
'value' => 'float',
|
145 |
-
'name' => __( 'Float', 'envira-gallery' )
|
146 |
),
|
147 |
array(
|
148 |
'value' => 'float_wrap',
|
149 |
-
'name' => __( 'Float (Wrapped)', 'envira-gallery' )
|
150 |
),
|
151 |
);
|
152 |
|
@@ -249,7 +249,7 @@ class Envira_Gallery_Common_Lite {
|
|
249 |
|
250 |
// If an editor cannot be found, the user needs to have GD or Imagick installed.
|
251 |
if ( is_wp_error( $editor ) ) {
|
252 |
-
return new WP_Error( 'envira-gallery-error-no-editor', __( 'No image editor could be selected. Please verify with your webhost that you have either the GD or Imagick image library compiled with your PHP install on your server.', 'envira-gallery' ) );
|
253 |
}
|
254 |
|
255 |
// Set the image editor quality.
|
@@ -352,7 +352,7 @@ class Envira_Gallery_Common_Lite {
|
|
352 |
|
353 |
// Return an error if no URL is present.
|
354 |
if ( empty( $url ) ) {
|
355 |
-
return new WP_Error( 'envira-gallery-error-no-url', __( 'No image URL specified for cropping.', 'envira-gallery' ) );
|
356 |
}
|
357 |
|
358 |
// Get the image file path.
|
@@ -371,7 +371,7 @@ class Envira_Gallery_Common_Lite {
|
|
371 |
|
372 |
// Don't process a file that does not exist.
|
373 |
if ( ! file_exists( $file_path ) ) {
|
374 |
-
return new WP_Error( 'envira-gallery-error-no-file', __( 'No file could be found for the image URL specified.', 'envira-gallery' ) );
|
375 |
}
|
376 |
|
377 |
// Get original image size
|
@@ -379,7 +379,7 @@ class Envira_Gallery_Common_Lite {
|
|
379 |
|
380 |
// If no size data obtained, return an error.
|
381 |
if ( ! $size ) {
|
382 |
-
return new WP_Error( 'envira-gallery-error-no-size', __( 'The dimensions of the original image could not be retrieved for cropping.', 'envira-gallery' ) );
|
383 |
}
|
384 |
|
385 |
// Set original width and height.
|
@@ -391,7 +391,7 @@ class Envira_Gallery_Common_Lite {
|
|
391 |
} else if ( $height && ! $width ) {
|
392 |
$width = floor( $orig_width * ($height / $orig_height) );
|
393 |
} else if ( ! $width && ! $height ) {
|
394 |
-
return new WP_Error( 'envira-gallery-error-no-size', __( 'The dimensions of the original image could not be retrieved for cropping.', 'envira-gallery' ) );
|
395 |
}
|
396 |
|
397 |
// Allow for different retina image sizes.
|
60 |
$columns = array(
|
61 |
array(
|
62 |
'value' => '1',
|
63 |
+
'name' => __( 'One Column (1)', 'envira-gallery-lite' )
|
64 |
),
|
65 |
array(
|
66 |
'value' => '2',
|
67 |
+
'name' => __( 'Two Columns (2)', 'envira-gallery-lite' )
|
68 |
),
|
69 |
array(
|
70 |
'value' => '3',
|
71 |
+
'name' => __( 'Three Columns (3)', 'envira-gallery-lite' )
|
72 |
),
|
73 |
array(
|
74 |
'value' => '4',
|
75 |
+
'name' => __( 'Four Columns (4)', 'envira-gallery-lite' )
|
76 |
),
|
77 |
array(
|
78 |
'value' => '5',
|
79 |
+
'name' => __( 'Five Columns (5)', 'envira-gallery-lite' )
|
80 |
),
|
81 |
array(
|
82 |
'value' => '6',
|
83 |
+
'name' => __( 'Six Columns (6)', 'envira-gallery-lite' )
|
84 |
)
|
85 |
);
|
86 |
|
100 |
$themes = array(
|
101 |
array(
|
102 |
'value' => 'base',
|
103 |
+
'name' => __( 'Base', 'envira-gallery-lite' ),
|
104 |
'file' => $this->base->file
|
105 |
)
|
106 |
);
|
121 |
$themes = array(
|
122 |
array(
|
123 |
'value' => 'base',
|
124 |
+
'name' => __( 'Base', 'envira-gallery-lite' ),
|
125 |
'file' => $this->base->file
|
126 |
)
|
127 |
);
|
142 |
$displays = array(
|
143 |
array(
|
144 |
'value' => 'float',
|
145 |
+
'name' => __( 'Float', 'envira-gallery-lite' )
|
146 |
),
|
147 |
array(
|
148 |
'value' => 'float_wrap',
|
149 |
+
'name' => __( 'Float (Wrapped)', 'envira-gallery-lite' )
|
150 |
),
|
151 |
);
|
152 |
|
249 |
|
250 |
// If an editor cannot be found, the user needs to have GD or Imagick installed.
|
251 |
if ( is_wp_error( $editor ) ) {
|
252 |
+
return new WP_Error( 'envira-gallery-error-no-editor', __( 'No image editor could be selected. Please verify with your webhost that you have either the GD or Imagick image library compiled with your PHP install on your server.', 'envira-gallery-lite' ) );
|
253 |
}
|
254 |
|
255 |
// Set the image editor quality.
|
352 |
|
353 |
// Return an error if no URL is present.
|
354 |
if ( empty( $url ) ) {
|
355 |
+
return new WP_Error( 'envira-gallery-error-no-url', __( 'No image URL specified for cropping.', 'envira-gallery-lite' ) );
|
356 |
}
|
357 |
|
358 |
// Get the image file path.
|
371 |
|
372 |
// Don't process a file that does not exist.
|
373 |
if ( ! file_exists( $file_path ) ) {
|
374 |
+
return new WP_Error( 'envira-gallery-error-no-file', __( 'No file could be found for the image URL specified.', 'envira-gallery-lite' ) );
|
375 |
}
|
376 |
|
377 |
// Get original image size
|
379 |
|
380 |
// If no size data obtained, return an error.
|
381 |
if ( ! $size ) {
|
382 |
+
return new WP_Error( 'envira-gallery-error-no-size', __( 'The dimensions of the original image could not be retrieved for cropping.', 'envira-gallery-lite' ) );
|
383 |
}
|
384 |
|
385 |
// Set original width and height.
|
391 |
} else if ( $height && ! $width ) {
|
392 |
$width = floor( $orig_width * ($height / $orig_height) );
|
393 |
} else if ( ! $width && ! $height ) {
|
394 |
+
return new WP_Error( 'envira-gallery-error-no-size', __( 'The dimensions of the original image could not be retrieved for cropping.', 'envira-gallery-lite' ) );
|
395 |
}
|
396 |
|
397 |
// Allow for different retina image sizes.
|
includes/global/posttype.php
CHANGED
@@ -49,18 +49,18 @@ class Envira_Gallery_Posttype_Lite {
|
|
49 |
// Build the labels for the post type.
|
50 |
$labels = apply_filters( 'envira_gallery_post_type_labels',
|
51 |
array(
|
52 |
-
'name' => __( 'Envira Gallery', 'envira-gallery' ),
|
53 |
-
'singular_name' => __( 'Envira Gallery', 'envira-gallery' ),
|
54 |
-
'add_new' => __( 'Add New', 'envira-gallery' ),
|
55 |
-
'add_new_item' => __( 'Add New Envira Gallery', 'envira-gallery' ),
|
56 |
-
'edit_item' => __( 'Edit Envira Gallery', 'envira-gallery' ),
|
57 |
-
'new_item' => __( 'New Envira Gallery', 'envira-gallery' ),
|
58 |
-
'view_item' => __( 'View Envira Gallery', 'envira-gallery' ),
|
59 |
-
'search_items' => __( 'Search Envira Galleries', 'envira-gallery' ),
|
60 |
-
'not_found' => __( 'No Envira galleries found.', 'envira-gallery' ),
|
61 |
-
'not_found_in_trash' => __( 'No Envira galleries found in trash.', 'envira-gallery' ),
|
62 |
'parent_item_colon' => '',
|
63 |
-
'menu_name' => __( 'Envira Gallery', 'envira-gallery' )
|
64 |
)
|
65 |
);
|
66 |
|
49 |
// Build the labels for the post type.
|
50 |
$labels = apply_filters( 'envira_gallery_post_type_labels',
|
51 |
array(
|
52 |
+
'name' => __( 'Envira Gallery', 'envira-gallery-lite' ),
|
53 |
+
'singular_name' => __( 'Envira Gallery', 'envira-gallery-lite' ),
|
54 |
+
'add_new' => __( 'Add New', 'envira-gallery-lite' ),
|
55 |
+
'add_new_item' => __( 'Add New Envira Gallery', 'envira-gallery-lite' ),
|
56 |
+
'edit_item' => __( 'Edit Envira Gallery', 'envira-gallery-lite' ),
|
57 |
+
'new_item' => __( 'New Envira Gallery', 'envira-gallery-lite' ),
|
58 |
+
'view_item' => __( 'View Envira Gallery', 'envira-gallery-lite' ),
|
59 |
+
'search_items' => __( 'Search Envira Galleries', 'envira-gallery-lite' ),
|
60 |
+
'not_found' => __( 'No Envira galleries found.', 'envira-gallery-lite' ),
|
61 |
+
'not_found_in_trash' => __( 'No Envira galleries found in trash.', 'envira-gallery-lite' ),
|
62 |
'parent_item_colon' => '',
|
63 |
+
'menu_name' => __( 'Envira Gallery', 'envira-gallery-lite' )
|
64 |
)
|
65 |
);
|
66 |
|
includes/global/shortcode.php
CHANGED
@@ -300,9 +300,9 @@ class Envira_Gallery_Shortcode_Lite {
|
|
300 |
centerOnScroll: true,
|
301 |
tpl: {
|
302 |
error : '<p class="envirabox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',
|
303 |
-
closeBtn : '<a title="<?php _e( 'Close', 'envira-gallery' ); ?>" class="envirabox-item envirabox-close" href="javascript:;"></a>',
|
304 |
-
next : '<a title="<?php _e( 'Next', 'envira-gallery' ); ?>" class="envirabox-nav envirabox-next" href="javascript:;"><span></span></a>',
|
305 |
-
prev : '<a title="<?php _e( 'Previous', 'envira-gallery' ); ?>" class="envirabox-nav envirabox-prev" href="javascript:;"><span></span></a>'
|
306 |
},
|
307 |
<?php do_action( 'envira_gallery_api_config_callback', $data ); ?>
|
308 |
onStart: function(data, index, opts){
|
300 |
centerOnScroll: true,
|
301 |
tpl: {
|
302 |
error : '<p class="envirabox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',
|
303 |
+
closeBtn : '<a title="<?php _e( 'Close', 'envira-gallery-lite' ); ?>" class="envirabox-item envirabox-close" href="javascript:;"></a>',
|
304 |
+
next : '<a title="<?php _e( 'Next', 'envira-gallery-lite' ); ?>" class="envirabox-nav envirabox-next" href="javascript:;"><span></span></a>',
|
305 |
+
prev : '<a title="<?php _e( 'Previous', 'envira-gallery-lite' ); ?>" class="envirabox-nav envirabox-prev" href="javascript:;"><span></span></a>'
|
306 |
},
|
307 |
<?php do_action( 'envira_gallery_api_config_callback', $data ); ?>
|
308 |
onStart: function(data, index, opts){
|
languages/envira-gallery-de_DE.mo
DELETED
Binary file
|
languages/envira-gallery-de_DE.po
DELETED
@@ -1,687 +0,0 @@
|
|
1 |
-
# Copyright (C) 2015 Envira Gallery Lite
|
2 |
-
# This file is distributed under the same license as the Envira Gallery Lite package.
|
3 |
-
msgid ""
|
4 |
-
msgstr ""
|
5 |
-
"Project-Id-Version: Envira Gallery Lite 1.1.9\n"
|
6 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/envira-gallery-lite\n"
|
7 |
-
"POT-Creation-Date: 2015-08-27 23:27+0200\n"
|
8 |
-
"MIME-Version: 1.0\n"
|
9 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
-
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"PO-Revision-Date: 2015-09-01 16:47+0200\n"
|
12 |
-
"Language-Team: \n"
|
13 |
-
"X-Generator: Poedit 1.8.4\n"
|
14 |
-
"Last-Translator: Bernd M. Nieschalk <info@nieschalk.com>\n"
|
15 |
-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
-
"Language: de_DE\n"
|
17 |
-
|
18 |
-
#: envira-gallery-lite.php:403
|
19 |
-
msgid ""
|
20 |
-
"Sorry, but your version of WordPress does not meet Envira Gallery's required "
|
21 |
-
"version of <strong>3.8</strong> to run properly. The plugin has been deactivated. "
|
22 |
-
"<a href=\"%s\">Click here to return to the Dashboard</a>."
|
23 |
-
msgstr ""
|
24 |
-
"Es tut uns leid, aber Ihre Version von Wordpress erfüllt nicht die für Envira "
|
25 |
-
"Galerie erforderlichen Voraussetzungen. Version <strong>3.8</strong> muss "
|
26 |
-
"mindestens ausgeführt werden. Das Plugin wurde deaktiviert. <a href=\"%s\">Klicken "
|
27 |
-
"Sie hier, um zum Dashboard zurückzukehren</a> ."
|
28 |
-
|
29 |
-
#: includes/admin/editor.php:75
|
30 |
-
msgid "Add Gallery"
|
31 |
-
msgstr "Galerie hinzufügen"
|
32 |
-
|
33 |
-
#: includes/admin/editor.php:130
|
34 |
-
msgid "Choose Your Gallery"
|
35 |
-
msgstr "Wählen Sie Ihre Galerie"
|
36 |
-
|
37 |
-
#: includes/admin/editor.php:146
|
38 |
-
msgid "Gallery ID #%s"
|
39 |
-
msgstr "Galerie ID #%s"
|
40 |
-
|
41 |
-
#: includes/admin/editor.php:161 includes/admin/metaboxes.php:499
|
42 |
-
#: includes/admin/metaboxes.php:888
|
43 |
-
msgid "Helpful Tips"
|
44 |
-
msgstr "Hilfreiche Tipps"
|
45 |
-
|
46 |
-
#: includes/admin/editor.php:162
|
47 |
-
msgid "Choosing Your Gallery"
|
48 |
-
msgstr "Wählen Sie Ihre Galerie"
|
49 |
-
|
50 |
-
#: includes/admin/editor.php:163
|
51 |
-
msgid ""
|
52 |
-
"To choose your gallery, simply click on one of the boxes to the left. The \"Insert "
|
53 |
-
"Gallery\" button will be activated once you have selected a gallery."
|
54 |
-
msgstr ""
|
55 |
-
"Um Ihre Galerie auszuwählen, klicken Sie einfach auf eines der Kästchen auf der "
|
56 |
-
"linken Seite. Die Schaltfläche \"Galerie einfügen\" wird freigeschaltet, sobald "
|
57 |
-
"Sie eine Galerie ausgewählt haben."
|
58 |
-
|
59 |
-
#: includes/admin/editor.php:164
|
60 |
-
msgid "Inserting Your Gallery"
|
61 |
-
msgstr "Ihre Galerie einfügen"
|
62 |
-
|
63 |
-
#: includes/admin/editor.php:165
|
64 |
-
msgid ""
|
65 |
-
"To insert your gallery into the editor, click on the \"Insert Gallery\" button "
|
66 |
-
"below."
|
67 |
-
msgstr ""
|
68 |
-
"Um Ihre Galerie in den Editor einzufügen, klicken Sie auf den Button \"Galerie "
|
69 |
-
"einfügen\"."
|
70 |
-
|
71 |
-
#: includes/admin/editor.php:177
|
72 |
-
msgid "Cancel Gallery Insertion"
|
73 |
-
msgstr "Galerie nicht einfügen"
|
74 |
-
|
75 |
-
#: includes/admin/editor.php:180
|
76 |
-
msgid "Insert Gallery"
|
77 |
-
msgstr "Galerie einfügen"
|
78 |
-
|
79 |
-
#: includes/admin/media.php:63
|
80 |
-
msgid ""
|
81 |
-
"The web browser on your device cannot be used to upload files. You may be able to "
|
82 |
-
"use the <a href=\"%s\">native app for your device</a> instead."
|
83 |
-
msgstr ""
|
84 |
-
"Ihr Webbrowser kann keine Dateien hochladen. Versuchen Sie es mit der <a href=\"%s"
|
85 |
-
"\">integrierten App</a>."
|
86 |
-
|
87 |
-
#: includes/admin/media.php:105
|
88 |
-
msgid "Drop images here"
|
89 |
-
msgstr "Bilder hierher ziehen"
|
90 |
-
|
91 |
-
#: includes/admin/media.php:106
|
92 |
-
msgctxt "Uploader: Drop images here - or - Select Images"
|
93 |
-
msgid "or"
|
94 |
-
msgstr "oder"
|
95 |
-
|
96 |
-
#: includes/admin/media.php:108
|
97 |
-
msgid "Select Images"
|
98 |
-
msgstr "Bilder auswählen"
|
99 |
-
|
100 |
-
#: includes/admin/media.php:118 includes/admin/media.php:120
|
101 |
-
msgid "Upload"
|
102 |
-
msgstr "Hochladen"
|
103 |
-
|
104 |
-
#: includes/admin/media.php:121
|
105 |
-
msgid "Cancel"
|
106 |
-
msgstr "Abbrechen"
|
107 |
-
|
108 |
-
#: includes/admin/media.php:127
|
109 |
-
msgid "Maximum upload file size: %d%s."
|
110 |
-
msgstr "Maximale Dateigröße: %d%s."
|
111 |
-
|
112 |
-
#: includes/admin/media.php:132
|
113 |
-
msgid ""
|
114 |
-
"Your browser has some limitations uploading large files with the multi-file "
|
115 |
-
"uploader. Please use the browser uploader for files over 100MB."
|
116 |
-
msgstr ""
|
117 |
-
"Ihr Browser weist Beschränkungen bezüglich des Uploads von großen Dateien auf. "
|
118 |
-
"Benutzen Sie den Browser-Uploader für Dateien mit mehr als 100MB."
|
119 |
-
|
120 |
-
#: includes/admin/metaboxes.php:119
|
121 |
-
msgid "Click Here to Insert from Other Image Sources"
|
122 |
-
msgstr "Klicken Sie hier, um Bilder aus anderen Quellen einzufügen"
|
123 |
-
|
124 |
-
#: includes/admin/metaboxes.php:121
|
125 |
-
msgid "You must select a file to import before continuing."
|
126 |
-
msgstr "Wählen Sie zuerst eine Datei bevor Sie fortfahren."
|
127 |
-
|
128 |
-
#: includes/admin/metaboxes.php:123
|
129 |
-
msgid "Inserting..."
|
130 |
-
msgstr "Füge ein..."
|
131 |
-
|
132 |
-
#: includes/admin/metaboxes.php:129
|
133 |
-
msgid "Are you sure you want to remove this image from the gallery?"
|
134 |
-
msgstr "Wollen Sie dieses Bild wirklich aus der Galerie entfernen?"
|
135 |
-
|
136 |
-
#: includes/admin/metaboxes.php:132
|
137 |
-
msgid "Saving..."
|
138 |
-
msgstr "Speichere..."
|
139 |
-
|
140 |
-
#: includes/admin/metaboxes.php:181
|
141 |
-
msgid "Allowed Files"
|
142 |
-
msgstr "Erlaubte Dateien"
|
143 |
-
|
144 |
-
#: includes/admin/metaboxes.php:245
|
145 |
-
msgid "Envira Gallery Settings"
|
146 |
-
msgstr "Envira Galerie Einstellungen"
|
147 |
-
|
148 |
-
#: includes/admin/metaboxes.php:350 includes/admin/metaboxes.php:461
|
149 |
-
msgid "Images"
|
150 |
-
msgstr "Bilder"
|
151 |
-
|
152 |
-
#: includes/admin/metaboxes.php:351
|
153 |
-
msgid "Config"
|
154 |
-
msgstr "Konfiguration"
|
155 |
-
|
156 |
-
#: includes/admin/metaboxes.php:352
|
157 |
-
msgid "Lightbox"
|
158 |
-
msgstr "Leuchtkasten"
|
159 |
-
|
160 |
-
#: includes/admin/metaboxes.php:357
|
161 |
-
msgid "Misc"
|
162 |
-
msgstr "Diverses"
|
163 |
-
|
164 |
-
#: includes/admin/metaboxes.php:374
|
165 |
-
msgid ""
|
166 |
-
"<em>Want to make your gallery workflow even better?</em> By upgrading to Envira "
|
167 |
-
"Pro, you can get access to numerous other features, including: <strong>a fully "
|
168 |
-
"featured gallery widget</strong>, <strong>complete gallery API</strong>, "
|
169 |
-
"<strong>powerful gallery documentation</strong>, <strong>full mobile and Retina "
|
170 |
-
"support</strong>, <strong>dedicated customer support</strong> and so much more! <a "
|
171 |
-
"href=\"http://enviragallery.com/lite/?"
|
172 |
-
"utm_source=liteplugin&utm_medium=link&utm_campaign=WordPress\" title=\"Click here "
|
173 |
-
"to upgrade to Envira Pro!\" target=\"_blank\">Click here to upgrade to Envira Pro!"
|
174 |
-
"</a>"
|
175 |
-
msgstr ""
|
176 |
-
"<em>Wollen Sie Ihren Workflow weiter verbessern?</em> Wenn Sie auf Envira Pro "
|
177 |
-
"upgraden, bekommen Sie Zugriff auf viele weitere Features, inkl. <strong>einem "
|
178 |
-
"Galerie-Widget</strong>, <strong>Komplettes API</strong>, <strong>umfangreiche "
|
179 |
-
"Dokumentation</strong>, <strong>voller Mobil- und Retina-Support</strong>, "
|
180 |
-
"<strong>besserer Kundenservice</strong> und vieles mehr! <a href=\"http://"
|
181 |
-
"enviragallery.com/lite/?"
|
182 |
-
"utm_source=liteplugin&utm_medium=link&utm_campaign=WordPress\" title=\"Klicken Sie "
|
183 |
-
"hier, um auf Envira Pro umzusteigen!\" target=\"_blank\">Klicken Sie hier, um auf "
|
184 |
-
"Envira Pro umzusteigen!</a>"
|
185 |
-
|
186 |
-
#: includes/admin/metaboxes.php:421
|
187 |
-
msgid "(click the icon to open and close the overlay dialog)"
|
188 |
-
msgstr "(Aufs Icon klicken, um den Dialog ein- oder auszublenden)"
|
189 |
-
|
190 |
-
#: includes/admin/metaboxes.php:422
|
191 |
-
msgid "Click here to view meta information about this gallery."
|
192 |
-
msgstr "Hier klicken, um Meta-Informationen zu dieser Galerie zu erhalten."
|
193 |
-
|
194 |
-
#: includes/admin/metaboxes.php:424
|
195 |
-
msgid ""
|
196 |
-
"You can place this gallery anywhere into your posts, pages, custom post types or "
|
197 |
-
"widgets by using the shortcode(s) below:"
|
198 |
-
msgstr ""
|
199 |
-
"Sie können diese Galerie überall in Ihre Beiträge, Seiten, benutzerdefinierte "
|
200 |
-
"Posts oder Widgets platzieren, mit dem/n Shortcode(s) unten:"
|
201 |
-
|
202 |
-
#: includes/admin/metaboxes.php:429
|
203 |
-
msgid ""
|
204 |
-
"You can also place this gallery into your template files by using the template "
|
205 |
-
"tag(s) below:"
|
206 |
-
msgstr ""
|
207 |
-
"Sie können diese Galerie auch in Ihre Vorlagendateien platzieren, mithilfe des/der "
|
208 |
-
"Vorlage-Tags unten:"
|
209 |
-
|
210 |
-
#: includes/admin/metaboxes.php:457 includes/admin/metaboxes.php:511
|
211 |
-
msgid "Insert Images into Gallery"
|
212 |
-
msgstr "Bilder in Galerie einfügen"
|
213 |
-
|
214 |
-
#: includes/admin/metaboxes.php:471
|
215 |
-
msgid "Search"
|
216 |
-
msgstr "Suchen"
|
217 |
-
|
218 |
-
#: includes/admin/metaboxes.php:474
|
219 |
-
msgid "Load More Images from Library"
|
220 |
-
msgstr "Mehr Bilder aus der Bibliothek laden"
|
221 |
-
|
222 |
-
#: includes/admin/metaboxes.php:500
|
223 |
-
msgid "Selecting Images"
|
224 |
-
msgstr "Bilder auswählen"
|
225 |
-
|
226 |
-
#: includes/admin/metaboxes.php:501
|
227 |
-
msgid ""
|
228 |
-
"You can insert any image from your Media Library into your gallery. If the image "
|
229 |
-
"you want to insert is not shown on the screen, you can either click on the \"Load "
|
230 |
-
"More Images from Library\" button to load more images or use the search box to "
|
231 |
-
"find the images you are looking for."
|
232 |
-
msgstr ""
|
233 |
-
"Sie können jedes Bild aus der Medienbibliothek in Ihre Galerie einfügen. Wenn das "
|
234 |
-
"Bild, das Sie einfügen möchten, nicht auf dem Bildschirm angezeigt wird, klicken "
|
235 |
-
"Sie entweder auf \"Weitere Bilder aus Bibliothek laden\", um weitere Bilder zu "
|
236 |
-
"laden oder verwenden Sie das Suchfeld um die Bilder zu finden, die Sie suchen."
|
237 |
-
|
238 |
-
#: includes/admin/metaboxes.php:536
|
239 |
-
msgid ""
|
240 |
-
"The settings below adjust the basic configuration options for the gallery lightbox "
|
241 |
-
"display."
|
242 |
-
msgstr ""
|
243 |
-
"Mit den folgenden Einstellungen passen Sie die grundlegenden "
|
244 |
-
"Konfigurationsoptionen für die Leuchtkasten-Anzeige an."
|
245 |
-
|
246 |
-
#: includes/admin/metaboxes.php:541
|
247 |
-
msgid "Number of Gallery Columns"
|
248 |
-
msgstr "Anzahl der Spalten"
|
249 |
-
|
250 |
-
#: includes/admin/metaboxes.php:549
|
251 |
-
msgid "Determines the number of columns in the gallery."
|
252 |
-
msgstr "Legt die Anzahl der Spalten in der Galerie fest."
|
253 |
-
|
254 |
-
#: includes/admin/metaboxes.php:554
|
255 |
-
msgid "Gallery Theme"
|
256 |
-
msgstr "Galerie-Theme"
|
257 |
-
|
258 |
-
#: includes/admin/metaboxes.php:562
|
259 |
-
msgid "Sets the theme for the gallery display."
|
260 |
-
msgstr "Legt das Theme für die Galerie fest."
|
261 |
-
|
262 |
-
#: includes/admin/metaboxes.php:567
|
263 |
-
msgid "Column Gutter Width"
|
264 |
-
msgstr "Spaltenbundstegbreite"
|
265 |
-
|
266 |
-
#: includes/admin/metaboxes.php:571
|
267 |
-
msgid "Sets the space between the columns (defaults to 10)."
|
268 |
-
msgstr "Stellt den Abstand zwischen den Spalten (standardmäßig 10) ein."
|
269 |
-
|
270 |
-
#: includes/admin/metaboxes.php:576
|
271 |
-
msgid "Margin Below Each Image"
|
272 |
-
msgstr "Abstand unter jedem Bild"
|
273 |
-
|
274 |
-
#: includes/admin/metaboxes.php:580
|
275 |
-
msgid "Sets the space below each item in the gallery."
|
276 |
-
msgstr "Legt den Abstand unter jedem Bild der Galerie fest."
|
277 |
-
|
278 |
-
#: includes/admin/metaboxes.php:585
|
279 |
-
msgid "Crop Images in Gallery?"
|
280 |
-
msgstr "Bilder in der Galerie zuschneiden?"
|
281 |
-
|
282 |
-
#: includes/admin/metaboxes.php:589
|
283 |
-
msgid "Enables or disables image cropping for the main gallery images."
|
284 |
-
msgstr "Aktiviert oder deaktiviert das Zuschneiden für die Galeriebilder."
|
285 |
-
|
286 |
-
#: includes/admin/metaboxes.php:594
|
287 |
-
msgid "Crop Dimensions"
|
288 |
-
msgstr "Bilder beschneiden"
|
289 |
-
|
290 |
-
#: includes/admin/metaboxes.php:598
|
291 |
-
msgid ""
|
292 |
-
"You should adjust these dimensions based on the number of columns in your gallery."
|
293 |
-
msgstr ""
|
294 |
-
"Sie sollten die Dimensionen basierend auf der Anzahl der Spalten in Ihrer Galerie "
|
295 |
-
"anpassen."
|
296 |
-
|
297 |
-
#: includes/admin/metaboxes.php:605
|
298 |
-
msgid ""
|
299 |
-
"<em>Want to do even more with your gallery display?</em> By upgrading to Envira "
|
300 |
-
"Pro, you can get access to numerous other gallery display features, including: "
|
301 |
-
"<strong>custom image tagging and filtering</strong>, <strong>mobile specific image "
|
302 |
-
"assets for blazing fast load times</strong>, <strong>dedicated and unique gallery "
|
303 |
-
"URLs</strong>, <strong>custom gallery themes</strong>, <strong>gallery thumbnail "
|
304 |
-
"support</strong> and so much more! <a href=\"http://enviragallery.com/lite/?"
|
305 |
-
"utm_source=liteplugin&utm_medium=link&utm_campaign=WordPress\" title=\"Click here "
|
306 |
-
"to upgrade to Envira Pro!\" target=\"_blank\">Click here to upgrade to Envira Pro!"
|
307 |
-
"</a>"
|
308 |
-
msgstr ""
|
309 |
-
"<em>Möchten Sie noch mehr mit Ihrer Galerie machen?</em> Durch ein Upgrade auf "
|
310 |
-
"Envira Pro erhalten Sie Zugriff auf zahlreiche andere Features, einschließlich: "
|
311 |
-
"<strong>benutzerdefiniertes Taggen und Filtern</strong>, <strong>verbesserte "
|
312 |
-
"Bildverwaltung für Mobilgeräte mit rasend schnellen Ladezeiten</strong>, "
|
313 |
-
"<strong>spezielle und einzigartige Galerie URLs</strong>, "
|
314 |
-
"<strong>benutzerdefinierte Galerie Themes</strong>, <strong>Galerie-Thumbnail-"
|
315 |
-
"Unterstützung</strong> und vieles mehr! <a href=\"http://enviragallery.com/lite/?"
|
316 |
-
"utm_source=liteplugin&utm_medium=link&utm_campaign=WordPress\" title=\"Klicken Sie "
|
317 |
-
"hier, um auf Envira Pro zu aktualisieren!\" target=\"_blank\">Klicken Sie hier, um "
|
318 |
-
"auf Envira Pro zu aktualisieren!</a>"
|
319 |
-
|
320 |
-
#: includes/admin/metaboxes.php:623
|
321 |
-
msgid "The settings below adjust the lightbox outputs and displays."
|
322 |
-
msgstr ""
|
323 |
-
"Mit den folgenden Einstellungen passen den Leuchtkasten und die Bildanzeige an."
|
324 |
-
|
325 |
-
#: includes/admin/metaboxes.php:628
|
326 |
-
msgid "Gallery Lightbox Theme"
|
327 |
-
msgstr "Leuchtkasten-Theme"
|
328 |
-
|
329 |
-
#: includes/admin/metaboxes.php:636
|
330 |
-
msgid "Sets the theme for the gallery lightbox display."
|
331 |
-
msgstr "Legt das Theme für den Leuchtkasten fest."
|
332 |
-
|
333 |
-
#: includes/admin/metaboxes.php:643
|
334 |
-
msgid ""
|
335 |
-
"<em>Want even more fine tuned control over your lightbox display?</em> By "
|
336 |
-
"upgrading to Envira Pro, you can get access to numerous other lightbox features, "
|
337 |
-
"including: <strong>custom lightbox titles</strong>, <strong>enable/disable "
|
338 |
-
"lightbox controls (arrow, keyboard and mousehweel navigation)</strong>, "
|
339 |
-
"<strong>custom lightbox transition effects</strong>, <strong>native fullscreen "
|
340 |
-
"support</strong>, <strong>gallery deeplinking</strong>, <strong>image protection</"
|
341 |
-
"strong>, <strong>lightbox supersize effects</strong>, <strong>lightbox slideshows</"
|
342 |
-
"strong> and so much more! <a href=\"http://enviragallery.com/lite/?"
|
343 |
-
"utm_source=liteplugin&utm_medium=link&utm_campaign=WordPress\" title=\"Click here "
|
344 |
-
"to upgrade to Envira Pro!\" target=\"_blank\">Click here to upgrade to Envira Pro!"
|
345 |
-
"</a>"
|
346 |
-
msgstr ""
|
347 |
-
"<em>Möchten Sie noch bessere Kontrolle über die Darstellung des Leuchtkastens?</"
|
348 |
-
"em> Wenn Sie jetzt auf Envira Pro ugraden, bekommen Sie viele weitere Features, "
|
349 |
-
"unter anderem: <strong>Eigene Titel für Leuchtkästen</strong>, "
|
350 |
-
"<strong>Leuchtkasten-Steuerung ein-/ausschalten (Pfeile, Tastatur- und "
|
351 |
-
"Mausnavigation)</strong>, <strong>eigene Übergangseffekte</strong>, "
|
352 |
-
"<strong>nativer Fullscreen-Modus</strong>, <strong>Galerie-Deeplinking</strong>, "
|
353 |
-
"<strong>Schutz der angezeigten Bilder</strong>, <strong>Leuchtkasten Effekte</"
|
354 |
-
"strong>, <strong>Leuchtkasten-Diashows</strong> und vieles mehr! <a href=\"http://"
|
355 |
-
"enviragallery.com/lite/?"
|
356 |
-
"utm_source=liteplugin&utm_medium=link&utm_campaign=WordPress\" title=\"Hier "
|
357 |
-
"klicken, um auf die Pro-Version umzusteigen!\" target=\"_blank\">Hier klicken, um "
|
358 |
-
"auf die Pro-Version umzusteigen!</a>"
|
359 |
-
|
360 |
-
#: includes/admin/metaboxes.php:661
|
361 |
-
msgid ""
|
362 |
-
"The settings below adjust the miscellaneous settings for the gallery lightbox "
|
363 |
-
"display."
|
364 |
-
msgstr ""
|
365 |
-
"Die folgenden Optionen ermöglichen unterschiedliche Einstellungen für die "
|
366 |
-
"Leuchtkasten-Anzeige."
|
367 |
-
|
368 |
-
#: includes/admin/metaboxes.php:666
|
369 |
-
msgid "Gallery Title"
|
370 |
-
msgstr "Galerie-Titel"
|
371 |
-
|
372 |
-
#: includes/admin/metaboxes.php:670
|
373 |
-
msgid "Internal gallery title for identification in the admin."
|
374 |
-
msgstr "Interner Galerie-Titel zur Identifizierung im Admin-Bereich."
|
375 |
-
|
376 |
-
#: includes/admin/metaboxes.php:675
|
377 |
-
msgid "Gallery Slug"
|
378 |
-
msgstr "Galerie-Slug"
|
379 |
-
|
380 |
-
#: includes/admin/metaboxes.php:679
|
381 |
-
msgid ""
|
382 |
-
"<strong>Unique</strong> internal gallery slug for identification and advanced "
|
383 |
-
"gallery queries."
|
384 |
-
msgstr ""
|
385 |
-
"<strong>Einzigartiger</strong> interner Galerie-Slug zur Identifizierung und "
|
386 |
-
"erweiterte Abfragen."
|
387 |
-
|
388 |
-
#: includes/admin/metaboxes.php:684
|
389 |
-
msgid "Custom Gallery Classes"
|
390 |
-
msgstr "Benutzerdefinierte CSS-Klassen"
|
391 |
-
|
392 |
-
#: includes/admin/metaboxes.php:687
|
393 |
-
msgid "Enter custom gallery CSS classes here, one per line."
|
394 |
-
msgstr ""
|
395 |
-
"Geben Sie hier benutzerdefinierte CSS-Klassen für die Galerie ein, jeweils eine "
|
396 |
-
"pro Zeile."
|
397 |
-
|
398 |
-
#: includes/admin/metaboxes.php:688
|
399 |
-
msgid "Adds custom CSS classes to this gallery. Enter one class per line."
|
400 |
-
msgstr ""
|
401 |
-
"Fügt benutzerdefinierte CSS-Klassen für die Galerie ein, jeweils eine pro Zeile."
|
402 |
-
|
403 |
-
#: includes/admin/metaboxes.php:695
|
404 |
-
msgid ""
|
405 |
-
"<em>Want to take your galleries further?</em> By upgrading to Envira Pro, you can "
|
406 |
-
"get access to numerous other features, including: <strong>a fully-integrated "
|
407 |
-
"import/export module for your galleries</strong>, <strong>custom CSS controls for "
|
408 |
-
"each gallery</strong> and so much more! <a href=\"http://enviragallery.com/lite/?"
|
409 |
-
"utm_source=liteplugin&utm_medium=link&utm_campaign=WordPress\" title=\"Click here "
|
410 |
-
"to upgrade to Envira Pro!\" target=\"_blank\">Click here to upgrade to Envira Pro!"
|
411 |
-
"</a>"
|
412 |
-
msgstr ""
|
413 |
-
"<em>Wollen Sie noch mehr mit Ihren Galerien machen?</em> Indem Sie auf Envira Pro "
|
414 |
-
"umsteigen, bekommen Sie viele weitere Features, inklusive: <strong>Ein voll "
|
415 |
-
"integriertes Import/Export-Modul für Ihre Galerien</strong>, <strong>eigenes CSS "
|
416 |
-
"für jede Galerie</strong> und vieles mehr! <a href=\"http://enviragallery.com/"
|
417 |
-
"lite/?utm_source=liteplugin&utm_medium=link&utm_campaign=WordPress\" title=\"Hier "
|
418 |
-
"klicken, um auf die Pro-Version aufzurüsten!\" target=\"_blank\">Hier klicken, um "
|
419 |
-
"auf die Pro-Version aufzurüsten!</a>"
|
420 |
-
|
421 |
-
#: includes/admin/metaboxes.php:815
|
422 |
-
msgid "Remove Image from Gallery?"
|
423 |
-
msgstr "Bild aus Galerie entfernen?"
|
424 |
-
|
425 |
-
#: includes/admin/metaboxes.php:816
|
426 |
-
msgid "Modify Image"
|
427 |
-
msgstr "Bild ändern"
|
428 |
-
|
429 |
-
#: includes/admin/metaboxes.php:843
|
430 |
-
msgid "Edit Metadata"
|
431 |
-
msgstr "Metadaten editieren"
|
432 |
-
|
433 |
-
#: includes/admin/metaboxes.php:853
|
434 |
-
msgid "Image Title"
|
435 |
-
msgstr "Bildtitel"
|
436 |
-
|
437 |
-
#: includes/admin/metaboxes.php:864
|
438 |
-
msgid "Image titles can take any type of HTML."
|
439 |
-
msgstr "Bildtitel dürfen jede Art von HTML enthalten."
|
440 |
-
|
441 |
-
#: includes/admin/metaboxes.php:868 includes/admin/metaboxes.php:891
|
442 |
-
msgid "Image Alt Text"
|
443 |
-
msgstr "Alt Text des Bildes"
|
444 |
-
|
445 |
-
#: includes/admin/metaboxes.php:871
|
446 |
-
msgid "The image alt text is used for SEO. You should probably fill this one out!"
|
447 |
-
msgstr "Der Alt-Text wird für SEO benutzt. Sie sollten das vielleicht ausfüllen!"
|
448 |
-
|
449 |
-
#: includes/admin/metaboxes.php:875
|
450 |
-
msgid "Image Hyperlink"
|
451 |
-
msgstr "Bild-Hyperlink"
|
452 |
-
|
453 |
-
#: includes/admin/metaboxes.php:878
|
454 |
-
msgid ""
|
455 |
-
"The image hyperlink determines what opens up in the lightbox once the image is "
|
456 |
-
"clicked. If this link is set to a regular web page, it will go to that page. "
|
457 |
-
"Defaults to a larger version of the image itself."
|
458 |
-
msgstr ""
|
459 |
-
"Der Bild-Hyperlink bestimmt, was in der Lightbox geöffnet wird, sobald das Bild "
|
460 |
-
"geklickt wird. Wenn dieser Link zu einer normalen Webseite führt, wird er auf die "
|
461 |
-
"entsprechende Seite gehen. Der Standardwert ist eine größere Version des Bildes "
|
462 |
-
"selbst."
|
463 |
-
|
464 |
-
#: includes/admin/metaboxes.php:889
|
465 |
-
msgid "Image Titles"
|
466 |
-
msgstr "Bildertitel"
|
467 |
-
|
468 |
-
#: includes/admin/metaboxes.php:890
|
469 |
-
msgid ""
|
470 |
-
"Image titles can take any type of HTML. You can adjust the position of the titles "
|
471 |
-
"in the main Lightbox settings."
|
472 |
-
msgstr ""
|
473 |
-
"Bildtitel dürfen jede Art von HTML enthalten. Sie können die Position der Titel in "
|
474 |
-
"den Einstellungen für den Leuchtkasten festlegen."
|
475 |
-
|
476 |
-
#: includes/admin/metaboxes.php:892
|
477 |
-
msgid ""
|
478 |
-
"The image alt text field is used for accessibility and SEO, and describes your "
|
479 |
-
"image."
|
480 |
-
msgstr "Das Alt-Textfeld dient zur Barrierefreiheit und SEO und beschreibt Ihr Bild."
|
481 |
-
|
482 |
-
#: includes/admin/metaboxes.php:893
|
483 |
-
msgid "Image Hyperlinks"
|
484 |
-
msgstr "Bild-Hyperlinks"
|
485 |
-
|
486 |
-
#: includes/admin/metaboxes.php:894
|
487 |
-
msgid ""
|
488 |
-
"The image hyperlink field is used when you click on an image in the gallery. It "
|
489 |
-
"determines what is displayed in the lightbox view. It could be a larger version of "
|
490 |
-
"the image, a video, or some other form of content."
|
491 |
-
msgstr ""
|
492 |
-
"Das Bild-Hyperlink-Feld wird verwendet, wenn Sie auf ein Bild in der Galerie "
|
493 |
-
"klicken. Es bestimmt, was in der Leuchtkasten-Ansicht angezeigt wird. Es könnte "
|
494 |
-
"eine größere Version des Bildes, ein Video oder ein anderer Inhalt sein."
|
495 |
-
|
496 |
-
#: includes/admin/metaboxes.php:895
|
497 |
-
msgid "Saving and Exiting"
|
498 |
-
msgstr "Speichere und beende"
|
499 |
-
|
500 |
-
#: includes/admin/metaboxes.php:896
|
501 |
-
msgid ""
|
502 |
-
"Click on the button below to save your image metadata. You can close this window "
|
503 |
-
"by either clicking on the \"X\" above or hitting the <code>esc</code> key on your "
|
504 |
-
"keyboard."
|
505 |
-
msgstr ""
|
506 |
-
"Klicken Sie auf die Schaltfläche unten, um Ihre Bild-Metadaten zu speichern. Sie "
|
507 |
-
"können dieses Fenster schließen, indem Sie entweder oben auf das \"X\" klicken "
|
508 |
-
"oder die <code>Esc</code>-Taste auf Ihrer Tastatur drücken."
|
509 |
-
|
510 |
-
#: includes/admin/metaboxes.php:904
|
511 |
-
msgid "Save Metadata"
|
512 |
-
msgstr "Metadaten speichern"
|
513 |
-
|
514 |
-
#: includes/admin/posttype.php:76
|
515 |
-
msgid "Title"
|
516 |
-
msgstr "Titel"
|
517 |
-
|
518 |
-
#: includes/admin/posttype.php:77
|
519 |
-
msgid "Shortcode"
|
520 |
-
msgstr "Shortcode"
|
521 |
-
|
522 |
-
#: includes/admin/posttype.php:78
|
523 |
-
msgid "Function"
|
524 |
-
msgstr "Funktion"
|
525 |
-
|
526 |
-
#: includes/admin/posttype.php:79
|
527 |
-
msgid "Number of Images"
|
528 |
-
msgstr "Anzahl der Bilder"
|
529 |
-
|
530 |
-
#: includes/admin/posttype.php:80
|
531 |
-
msgid "Last Modified"
|
532 |
-
msgstr "Zuletzt geändert"
|
533 |
-
|
534 |
-
#: includes/admin/posttype.php:81
|
535 |
-
msgid "Date"
|
536 |
-
msgstr "Datum"
|
537 |
-
|
538 |
-
#: includes/admin/posttype.php:158 includes/admin/posttype.php:161
|
539 |
-
msgid "Envira gallery updated."
|
540 |
-
msgstr "Envira Galerie wurde aktualisiert."
|
541 |
-
|
542 |
-
#: includes/admin/posttype.php:159
|
543 |
-
msgid "Envira gallery custom field updated."
|
544 |
-
msgstr "Benutzerdefiniertes Feld wurde aktualisiert."
|
545 |
-
|
546 |
-
#: includes/admin/posttype.php:160
|
547 |
-
msgid "Envira gallery custom field deleted."
|
548 |
-
msgstr "Benutzerdefiniertes Feld wurde gelöscht."
|
549 |
-
|
550 |
-
#: includes/admin/posttype.php:162
|
551 |
-
msgid "Envira gallery restored to revision from %s."
|
552 |
-
msgstr "Galerie wurde auf Version %s zurückgesetzt."
|
553 |
-
|
554 |
-
#: includes/admin/posttype.php:163
|
555 |
-
msgid "Envira gallery published."
|
556 |
-
msgstr "Envira Galerie wurde veröffentlicht."
|
557 |
-
|
558 |
-
#: includes/admin/posttype.php:164
|
559 |
-
msgid "Envira gallery saved."
|
560 |
-
msgstr "Envira Galerie wurde gespeichert."
|
561 |
-
|
562 |
-
#: includes/admin/posttype.php:165
|
563 |
-
msgid "Envira gallery submitted."
|
564 |
-
msgstr "Envira Galerie wurde eingereicht."
|
565 |
-
|
566 |
-
#: includes/admin/posttype.php:166
|
567 |
-
msgid "Envira gallery scheduled for: <strong>%1$s</strong>."
|
568 |
-
msgstr "Galerie geplant für: <strong>%1$s</strong>."
|
569 |
-
|
570 |
-
#: includes/admin/posttype.php:166
|
571 |
-
msgid "M j, Y @ G:i"
|
572 |
-
msgstr "M j, Y @ G:i"
|
573 |
-
|
574 |
-
#: includes/admin/posttype.php:167
|
575 |
-
msgid "Envira gallery draft updated."
|
576 |
-
msgstr "Entwurf wurde aktualisiert."
|
577 |
-
|
578 |
-
#: includes/global/common.php:63
|
579 |
-
msgid "One Column (1)"
|
580 |
-
msgstr "Eine Spalte (1)"
|
581 |
-
|
582 |
-
#: includes/global/common.php:67
|
583 |
-
msgid "Two Columns (2)"
|
584 |
-
msgstr "Zwei Spalten (2)"
|
585 |
-
|
586 |
-
#: includes/global/common.php:71
|
587 |
-
msgid "Three Columns (3)"
|
588 |
-
msgstr "Drei Spalten (3)"
|
589 |
-
|
590 |
-
#: includes/global/common.php:75
|
591 |
-
msgid "Four Columns (4)"
|
592 |
-
msgstr "Vier Spalten (4)"
|
593 |
-
|
594 |
-
#: includes/global/common.php:79
|
595 |
-
msgid "Five Columns (5)"
|
596 |
-
msgstr "Fünf Spalten (5)"
|
597 |
-
|
598 |
-
#: includes/global/common.php:83
|
599 |
-
msgid "Six Columns (6)"
|
600 |
-
msgstr "Sechs Spalten (6)"
|
601 |
-
|
602 |
-
#: includes/global/common.php:103 includes/global/common.php:124
|
603 |
-
msgid "Base"
|
604 |
-
msgstr "Base"
|
605 |
-
|
606 |
-
#: includes/global/common.php:225
|
607 |
-
msgid ""
|
608 |
-
"No image editor could be selected. Please verify with your webhost that you have "
|
609 |
-
"either the GD or Imagick image library compiled with your PHP install on your "
|
610 |
-
"server."
|
611 |
-
msgstr ""
|
612 |
-
"Kein Bildeditor konnte ausgewählt werden. Bitte fragen Sie Ihren Serveranbieter, "
|
613 |
-
"ob Sie \"GD\" oder die \"Imagick image library\" in Ihrer PHP-Installation auf dem "
|
614 |
-
"Server haben."
|
615 |
-
|
616 |
-
#: includes/global/common.php:328
|
617 |
-
msgid "No image URL specified for cropping."
|
618 |
-
msgstr "Keine Bild-URL zum Zuschneiden ausgewählt."
|
619 |
-
|
620 |
-
#: includes/global/common.php:347
|
621 |
-
msgid "No file could be found for the image URL specified."
|
622 |
-
msgstr "Keine Datei für die angegebene Bild-URL gefunden."
|
623 |
-
|
624 |
-
#: includes/global/common.php:355 includes/global/common.php:367
|
625 |
-
msgid "The dimensions of the original image could not be retrieved for cropping."
|
626 |
-
msgstr "Die Abmessungen des Originalbildes konnten nicht gelesen werden."
|
627 |
-
|
628 |
-
#: includes/global/posttype.php:52 includes/global/posttype.php:53
|
629 |
-
#: includes/global/posttype.php:63
|
630 |
-
msgid "Envira Gallery"
|
631 |
-
msgstr "Envira-Galerie"
|
632 |
-
|
633 |
-
#: includes/global/posttype.php:54
|
634 |
-
msgid "Add New"
|
635 |
-
msgstr "Neu hinzufügen"
|
636 |
-
|
637 |
-
#: includes/global/posttype.php:55
|
638 |
-
msgid "Add New Envira Gallery"
|
639 |
-
msgstr "Neue Envira-Galerie hinzufügen"
|
640 |
-
|
641 |
-
#: includes/global/posttype.php:56
|
642 |
-
msgid "Edit Envira Gallery"
|
643 |
-
msgstr "Envira Galerie bearbeiten"
|
644 |
-
|
645 |
-
#: includes/global/posttype.php:57
|
646 |
-
msgid "New Envira Gallery"
|
647 |
-
msgstr "Neue Envira-Galerie"
|
648 |
-
|
649 |
-
#: includes/global/posttype.php:58
|
650 |
-
msgid "View Envira Gallery"
|
651 |
-
msgstr "Envira-Galerie ansehen"
|
652 |
-
|
653 |
-
#: includes/global/posttype.php:59
|
654 |
-
msgid "Search Envira Galleries"
|
655 |
-
msgstr "Envira-Galerien suchen"
|
656 |
-
|
657 |
-
#: includes/global/posttype.php:60
|
658 |
-
msgid "No Envira galleries found."
|
659 |
-
msgstr "Keine Envira-Galerien gefunden."
|
660 |
-
|
661 |
-
#: includes/global/posttype.php:61
|
662 |
-
msgid "No Envira galleries found in trash."
|
663 |
-
msgstr "Keine Envira-Galerien im Mülleimer gefunden."
|
664 |
-
|
665 |
-
#. Plugin Name of the plugin/theme
|
666 |
-
msgid "Envira Gallery Lite"
|
667 |
-
msgstr "Envira-Galerie Lite"
|
668 |
-
|
669 |
-
#. Plugin URI of the plugin/theme
|
670 |
-
msgid "http://enviragallery.com"
|
671 |
-
msgstr "http://enviragallery.com"
|
672 |
-
|
673 |
-
#. Description of the plugin/theme
|
674 |
-
msgid ""
|
675 |
-
"Envira Gallery is best responsive WordPress gallery plugin. This is the lite "
|
676 |
-
"version."
|
677 |
-
msgstr ""
|
678 |
-
"Envira-Galerie ist die beste responsive WordPress-Galerie. Dies ist die Lite-"
|
679 |
-
"Version."
|
680 |
-
|
681 |
-
#. Author of the plugin/theme
|
682 |
-
msgid "Thomas Griffin"
|
683 |
-
msgstr "Thomas Griffin"
|
684 |
-
|
685 |
-
#. Author URI of the plugin/theme
|
686 |
-
msgid "http://thomasgriffinmedia.com"
|
687 |
-
msgstr "http://thomasgriffinmedia.com"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -57,6 +57,9 @@ Also, I'm an <a href="https://thomasgriffin.io" rel="me" title="WordPress Develo
|
|
57 |
|
58 |
== Changelog ==
|
59 |
|
|
|
|
|
|
|
60 |
= 1.3.4.7 =
|
61 |
* Fix: Remove HTML tags from image title attribute on hover
|
62 |
|
57 |
|
58 |
== Changelog ==
|
59 |
|
60 |
+
= 1.3.4.8 =
|
61 |
+
* Fix: Changed text domain and settings for localization to meet translate.wordpress.org requirements
|
62 |
+
|
63 |
= 1.3.4.7 =
|
64 |
* Fix: Remove HTML tags from image title attribute on hover
|
65 |
|