From 1a50d6ee95f5aaa984a91e0c4cee371f8f28c581 Mon Sep 17 00:00:00 2001
From: azaozz
Date: Mon, 27 Jun 2011 20:24:23 +0000
Subject: [PATCH] Simplify some Twenty-Eleven strings for i18n, props
nbachiyski, fixes #17777
git-svn-id: http://svn.automattic.com/wordpress/trunk@18348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
---
wp-content/themes/twentyeleven/404.php | 3 ++-
wp-content/themes/twentyeleven/content-aside.php | 4 ++--
wp-content/themes/twentyeleven/content-gallery.php | 2 +-
wp-content/themes/twentyeleven/content-image.php | 6 +++---
wp-content/themes/twentyeleven/content-link.php | 4 ++--
wp-content/themes/twentyeleven/content-quote.php | 4 ++--
wp-content/themes/twentyeleven/content-status.php | 4 ++--
wp-content/themes/twentyeleven/content.php | 4 ++--
wp-content/themes/twentyeleven/showcase.php | 4 ++--
9 files changed, 18 insertions(+), 17 deletions(-)
diff --git a/wp-content/themes/twentyeleven/404.php b/wp-content/themes/twentyeleven/404.php
index b41a6bff2e..03e0651279 100644
--- a/wp-content/themes/twentyeleven/404.php
+++ b/wp-content/themes/twentyeleven/404.php
@@ -32,8 +32,9 @@ get_header(); ?>
' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'twentyeleven' ), convert_smilies( ':)' ) ) . '
';
- the_widget( 'WP_Widget_Archives', array('count' => 0 , 'dropdown' => 1 ), "after_title=$archive_content" );
+ the_widget( 'WP_Widget_Archives', array('count' => 0 , 'dropdown' => 1 ), array( 'after_title' => ''.$archive_content ) );
?>
diff --git a/wp-content/themes/twentyeleven/content-aside.php b/wp-content/themes/twentyeleven/content-aside.php
index 8d91cdd243..419f08e4ca 100644
--- a/wp-content/themes/twentyeleven/content-aside.php
+++ b/wp-content/themes/twentyeleven/content-aside.php
@@ -19,7 +19,7 @@
@@ -39,7 +39,7 @@
|
- ', 'twentyeleven' ), __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?>
+ ', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?>
', '' ); ?>
diff --git a/wp-content/themes/twentyeleven/content-gallery.php b/wp-content/themes/twentyeleven/content-gallery.php
index d0e6654b2d..302a51e119 100644
--- a/wp-content/themes/twentyeleven/content-gallery.php
+++ b/wp-content/themes/twentyeleven/content-gallery.php
@@ -84,7 +84,7 @@
|
- ', 'twentyeleven' ), __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?>
+ ', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?>
', '' ); ?>
diff --git a/wp-content/themes/twentyeleven/content-image.php b/wp-content/themes/twentyeleven/content-image.php
index 995a4d7599..0c55dc7450 100644
--- a/wp-content/themes/twentyeleven/content-image.php
+++ b/wp-content/themes/twentyeleven/content-image.php
@@ -18,7 +18,7 @@
@@ -43,7 +43,7 @@
@@ -61,7 +61,7 @@
- ', 'twentyeleven' ), __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?>
+ ', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?>
diff --git a/wp-content/themes/twentyeleven/content-link.php b/wp-content/themes/twentyeleven/content-link.php
index 1170eb9dcb..dd66f0f164 100644
--- a/wp-content/themes/twentyeleven/content-link.php
+++ b/wp-content/themes/twentyeleven/content-link.php
@@ -19,7 +19,7 @@
@@ -39,7 +39,7 @@
|
- ', 'twentyeleven' ), __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?>
+ ', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?>
', '' ); ?>
diff --git a/wp-content/themes/twentyeleven/content-quote.php b/wp-content/themes/twentyeleven/content-quote.php
index c7c363baff..38541bb106 100644
--- a/wp-content/themes/twentyeleven/content-quote.php
+++ b/wp-content/themes/twentyeleven/content-quote.php
@@ -21,7 +21,7 @@
@@ -66,7 +66,7 @@
|
- ', 'twentyeleven' ), __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?>
+ ', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?>
', '' ); ?>
diff --git a/wp-content/themes/twentyeleven/content-status.php b/wp-content/themes/twentyeleven/content-status.php
index e29ef6b298..de2f02dfae 100644
--- a/wp-content/themes/twentyeleven/content-status.php
+++ b/wp-content/themes/twentyeleven/content-status.php
@@ -18,7 +18,7 @@
@@ -40,7 +40,7 @@
|
- ', 'twentyeleven' ), __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?>
+ ', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?>
', '' ); ?>
diff --git a/wp-content/themes/twentyeleven/content.php b/wp-content/themes/twentyeleven/content.php
index a3387a2890..1ead318b8d 100644
--- a/wp-content/themes/twentyeleven/content.php
+++ b/wp-content/themes/twentyeleven/content.php
@@ -27,7 +27,7 @@
@@ -74,7 +74,7 @@
|
- ', 'twentyeleven' ), __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?>
+ ', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?>
', '' ); ?>
diff --git a/wp-content/themes/twentyeleven/showcase.php b/wp-content/themes/twentyeleven/showcase.php
index 24986fdfcc..58e85e21f2 100644
--- a/wp-content/themes/twentyeleven/showcase.php
+++ b/wp-content/themes/twentyeleven/showcase.php
@@ -191,7 +191,7 @@ get_header(); ?>
', 'twentyeleven' ), __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?>
+ ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?>
@@ -208,7 +208,7 @@ get_header(); ?>
&after_title=' );
+ the_widget( 'Twenty_Eleven_Ephemera_Widget', '', array( 'before_title' => '' ) );
?>