From 7b4f2fac88de3df6da7a83319bef6c37d9b49ac8 Mon Sep 17 00:00:00 2001 From: Erick Hitter <ehitter@gmail.com> Date: Sat, 11 May 2013 16:22:21 -0500 Subject: [PATCH] Correct translation string problem introduced in ac45a899644da4439b68da810bf2bdd7efa4d8fe. --- readme.txt | 8 +++++++- view-all-posts-pages.php | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/readme.txt b/readme.txt index 516c2ff..652e736 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: http://www.thinkoomph.com/plugins-modules/view-all-posts-pages/ Tags: view all, pages, paged, paged post, multipage, single view, single page, wp_link_pages, nextpage, next page, quicktag Requires at least: 3.2.1 Tested up to: 3.6 -Stable tag: 0.8 +Stable tag: 0.8.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -45,6 +45,9 @@ This plugin is known to conflict with certain plugins, many pertaining to SEO an == Changelog == += 0.8.1 = +* Correct translation implementation issue introduced in v0.8. + = 0.8 = * When WordPress determines a request is a 404, don't activate the plugin's functionality. * Convert the plugin to a singleton. @@ -86,6 +89,9 @@ This plugin is known to conflict with certain plugins, many pertaining to SEO an == Upgrade Notice == += 0.8.1 = +Recommended upgrade for anyone translating plugin's interface. + = 0.8 = Plugin won't unnecessarily execute its functionality if no posts are available and is now more thoroughly translatable. diff --git a/view-all-posts-pages.php b/view-all-posts-pages.php index 84974bf..11e18a1 100644 --- a/view-all-posts-pages.php +++ b/view-all-posts-pages.php @@ -4,7 +4,7 @@ Plugin Name: View All Post's Pages Plugin URI: http://www.thinkoomph.com/plugins-modules/view-all-posts-pages/ Description: Provides a "view all" (single page) option for posts, pages, and custom post types paged using WordPress' <a href="http://codex.wordpress.org/Write_Post_SubPanel#Quicktags" target="_blank"><code><!--nextpage--></code> Quicktag</a> (multipage posts). Author: Erick Hitter & Oomph, Inc. -Version: 0.8 +Version: 0.8.1 Author URI: http://www.thinkoomph.com/ Text Domain: view_all_posts_pages @@ -429,7 +429,7 @@ class view_all_posts_pages { * @return null */ public function action_admin_menu() { - add_options_page( __( "View All Post's Pages Options", 'view_all_posts_pages' ), "View All Post's Pages", 'manage_options', $this->ns, array( $this, 'admin_options' ) ); + add_options_page( sprintf( __( '%s Options', 'view_all_posts_pages' ), "View All Post's Pages" ), "View All Post's Pages", 'manage_options', $this->ns, array( $this, 'admin_options' ) ); } /** -- GitLab