summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury German <blueknight@gentoo.org>2016-02-12 22:22:00 -0500
committerYury German <blueknight@gentoo.org>2016-02-12 22:22:00 -0500
commit657cafe0e955cf88033597f131aa50835140c617 (patch)
treecf21a30d319cb2a238a6cfb8b4eb3b20b1b5dcff /plugins/public-post-preview
parentAdding New Mantra version 2.4.1.1 - Bug 574468 (diff)
downloadblogs-gentoo-657cafe0e955cf88033597f131aa50835140c617.tar.gz
blogs-gentoo-657cafe0e955cf88033597f131aa50835140c617.tar.bz2
blogs-gentoo-657cafe0e955cf88033597f131aa50835140c617.zip
Updating plugins easy-table, jetpack, openid, public-post preview, talbe-of-contents-plus, wordress-mobile-pack - Bug 574468
Diffstat (limited to 'plugins/public-post-preview')
-rw-r--r--plugins/public-post-preview/lang/ds-public-post-preview-de_DE.mobin1213 -> 0 bytes
-rw-r--r--plugins/public-post-preview/lang/ds-public-post-preview-de_DE.po88
-rw-r--r--plugins/public-post-preview/lang/ds-public-post-preview-xx_XX.pot21
-rw-r--r--plugins/public-post-preview/public-post-preview.php31
-rw-r--r--plugins/public-post-preview/readme.txt9
5 files changed, 19 insertions, 130 deletions
diff --git a/plugins/public-post-preview/lang/ds-public-post-preview-de_DE.mo b/plugins/public-post-preview/lang/ds-public-post-preview-de_DE.mo
deleted file mode 100644
index 6ab12472..00000000
--- a/plugins/public-post-preview/lang/ds-public-post-preview-de_DE.mo
+++ /dev/null
Binary files differ
diff --git a/plugins/public-post-preview/lang/ds-public-post-preview-de_DE.po b/plugins/public-post-preview/lang/ds-public-post-preview-de_DE.po
deleted file mode 100644
index c13dcb2e..00000000
--- a/plugins/public-post-preview/lang/ds-public-post-preview-de_DE.po
+++ /dev/null
@@ -1,88 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: Public Post Preview v2.2-beta\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: \n"
-"PO-Revision-Date: 2013-03-14 20:18:03+0000\n"
-"Last-Translator: Dominik Schilling <dominik.schilling@gmail.com>\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: CSL v1.x\n"
-"X-Poedit-Language: German\n"
-"X-Poedit-Country: GERMANY\n"
-"X-Poedit-SourceCharset: utf-8\n"
-"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
-"X-Poedit-Basepath: ../\n"
-"X-Poedit-Bookmarks: \n"
-"X-Poedit-SearchPath-0: .\n"
-"X-Textdomain-Support: yes"
-
-#. translators: plugin header field 'Name'
-#: public-post-preview.php:0
-#@ ds-public-post-preview
-msgid "Public Post Preview"
-msgstr "Öffentliche Vorschau"
-
-#. translators: plugin header field 'PluginURI'
-#: public-post-preview.php:0
-#@ ds-public-post-preview
-msgid "http://wpgrafie.de/wp-plugins/public-post-preview/en/"
-msgstr "http://wpgrafie.de/wp-plugins/public-post-preview/"
-
-#. translators: plugin header field 'Description'
-#: public-post-preview.php:0
-#@ ds-public-post-preview
-msgid "Enables you to give a link to anonymous users for public preview of any post type before it is published."
-msgstr "Bietet die Möglichkeit einen Link mit Dritten zu Teilen, um eine Vorschau eines bisher unveröffentlichten Inhaltstyp zu geben."
-
-#. translators: plugin header field 'Author'
-#: public-post-preview.php:0
-#@ ds-public-post-preview
-msgid "Dominik Schilling"
-msgstr "Dominik Schilling"
-
-#. translators: plugin header field 'AuthorURI'
-#: public-post-preview.php:0
-#@ ds-public-post-preview
-msgid "http://wphelper.de/"
-msgstr "http://wphelper.de/"
-
-#: public-post-preview.php:121
-#@ ds-public-post-preview
-msgid "Enabled!"
-msgstr "Aktiviert!"
-
-#: public-post-preview.php:122
-#@ ds-public-post-preview
-msgid "Disabled!"
-msgstr "Deaktiviert!"
-
-#: public-post-preview.php:168
-#@ ds-public-post-preview
-msgid "Enable public preview"
-msgstr "Öffentliche Vorschau aktivieren"
-
-#: public-post-preview.php:173
-#@ ds-public-post-preview
-msgid "(Copy and share this link.)"
-msgstr "(Kopiere und teile diesen Link.)"
-
-#: public-post-preview.php:329
-#@ ds-public-post-preview
-msgid "The link has been expired!"
-msgstr "Der Link ist nicht mehr gültig!"
-
-#: public-post-preview.php:332
-#@ ds-public-post-preview
-msgid "No Public Preview available!"
-msgstr "Keine öffentliche Vorschau verfügbar!"
-
-#. translators: plugin header field 'Version'
-#: public-post-preview.php:0
-#@ ds-public-post-preview
-msgid "2.2-beta"
-msgstr ""
-
diff --git a/plugins/public-post-preview/lang/ds-public-post-preview-xx_XX.pot b/plugins/public-post-preview/lang/ds-public-post-preview-xx_XX.pot
deleted file mode 100644
index 2c9e2f26..00000000
--- a/plugins/public-post-preview/lang/ds-public-post-preview-xx_XX.pot
+++ /dev/null
@@ -1,21 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: PlaceHolder\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: \n"
-"PO-Revision-Date: 2012-07-21 23:01:26+0000\n"
-"Last-Translator: none\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Poedit-Language: English\n"
-"X-Poedit-Country: UNITED STATES\n"
-"X-Poedit-SourceCharset: utf-8\n"
-"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
-"X-Poedit-Basepath: ../\n"
-"X-Poedit-Bookmarks: \n"
-"X-Poedit-SearchPath-0: .\n"
-"X-Textdomain-Support: yes"
-
diff --git a/plugins/public-post-preview/public-post-preview.php b/plugins/public-post-preview/public-post-preview.php
index 7b5b1221..a4f3d717 100644
--- a/plugins/public-post-preview/public-post-preview.php
+++ b/plugins/public-post-preview/public-post-preview.php
@@ -1,14 +1,13 @@
<?php
/**
* Plugin Name: Public Post Preview
- * Version: 2.4
+ * Version: 2.4.1
* Description: Enables you to give a link to anonymous users for public preview of any post type before it is published.
* Author: Dominik Schilling
* Author URI: http://wphelper.de/
- * Plugin URI: http://wpgrafie.de/wp-plugins/public-post-preview/en/
+ * Plugin URI: https://dominikschilling.de/wp-plugins/public-post-preview/en/
*
- * Text Domain: ds-public-post-preview
- * Domain Path: /lang
+ * Text Domain: public-post-preview
*
* License: GPLv2 or later
*
@@ -95,11 +94,7 @@ class DS_Public_Post_Preview {
* @since 2.0.0
*/
public static function load_textdomain() {
- return load_plugin_textdomain(
- 'ds-public-post-preview',
- false,
- dirname( plugin_basename( __FILE__ ) ) . '/lang'
- );
+ return load_plugin_textdomain( 'public-post-preview' );
}
/**
@@ -115,7 +110,7 @@ class DS_Public_Post_Preview {
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
wp_enqueue_script(
- 'ds-public-post-preview',
+ 'public-post-preview',
plugins_url( "js/public-post-preview$suffix.js", __FILE__ ),
array( 'jquery' ),
self::get_plugin_info( 'Version' ),
@@ -123,11 +118,11 @@ class DS_Public_Post_Preview {
);
wp_localize_script(
- 'ds-public-post-preview',
+ 'public-post-preview',
'DSPublicPostPreviewL10n',
array(
- 'enabled' => __( 'Enabled!', 'ds-public-post-preview' ),
- 'disabled' => __( 'Disabled!', 'ds-public-post-preview' )
+ 'enabled' => __( 'Enabled!', 'public-post-preview' ),
+ 'disabled' => __( 'Disabled!', 'public-post-preview' )
)
);
}
@@ -139,7 +134,7 @@ class DS_Public_Post_Preview {
*/
public static function display_preview_state( $post_states, $post ) {
if ( in_array( $post->ID, self::get_preview_post_ids() ) ) {
- $post_states['ppp_enabled'] = __( 'Public Preview', 'ds-public-post-preview' );
+ $post_states['ppp_enabled'] = __( 'Public Preview', 'public-post-preview' );
}
return $post_states;
@@ -212,12 +207,12 @@ class DS_Public_Post_Preview {
$enabeld = in_array( $post->ID, $preview_post_ids );
?>
<label><input type="checkbox"<?php checked( $enabeld ); ?> name="public_post_preview" id="public-post-preview" value="1" />
- <?php _e( 'Enable public preview', 'ds-public-post-preview' ); ?> <span id="public-post-preview-ajax"></span></label>
+ <?php _e( 'Enable public preview', 'public-post-preview' ); ?> <span id="public-post-preview-ajax"></span></label>
<div id="public-post-preview-link" style="margin-top:6px"<?php echo $enabeld ? '' : ' class="hidden"'; ?>>
<label>
<input type="text" name="public_post_preview_link" class="regular-text" value="<?php echo esc_attr( self::get_preview_link( $post ) ); ?>" style="width:99%" readonly />
- <span class="description"><?php _e( '(Copy and share this link.)', 'ds-public-post-preview' ); ?></span>
+ <span class="description"><?php _e( '(Copy and share this link.)', 'public-post-preview' ); ?></span>
</label>
</div>
<?php
@@ -398,11 +393,11 @@ class DS_Public_Post_Preview {
}
if ( ! self::verify_nonce( get_query_var( '_ppp' ), 'public_post_preview_' . $post_id ) ) {
- wp_die( __( 'The link has been expired!', 'ds-public-post-preview' ) );
+ wp_die( __( 'The link has been expired!', 'public-post-preview' ) );
}
if ( ! in_array( $post_id, self::get_preview_post_ids() ) ) {
- wp_die( __( 'No Public Preview available!', 'ds-public-post-preview' ) );
+ wp_die( __( 'No Public Preview available!', 'public-post-preview' ) );
}
return true;
diff --git a/plugins/public-post-preview/readme.txt b/plugins/public-post-preview/readme.txt
index 8aa49458..16a4f7c4 100644
--- a/plugins/public-post-preview/readme.txt
+++ b/plugins/public-post-preview/readme.txt
@@ -3,8 +3,8 @@ Contributors: ocean90
Tags: public, post, preview, posts, custom post types, draft
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=VR8YU922B7K46
Requires at least: 3.5
-Tested up to: 4.0
-Stable tag: 2.4
+Tested up to: 4.4
+Stable tag: 2.4.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -77,7 +77,10 @@ function my_nonce_life() {
Or use the [Public Post Preview Configurator](https://wordpress.org/plugins/public-post-preview-configurator/).
== Change Log ==
-= 2.4 (2014-08-21):
+= 2.4.1 (2015-10-13): =
+* Update text domain to support language packs. Translations are now managed via http://translate.wordpress.org/projects/wp-plugins/public-post-preview.
+
+= 2.4 (2014-08-21): =
* Supports EditFlow and custom statuses
* Disables comments and pings during public post preview
* Adds **Public Preview** to the list of display states used in the Posts list table