[4623] trunk/htdocs/system/plugins/flickrsilo/flickrsilo.plugin.php: Made two more strings in the Flickr Silo translatable.

0 views
Skip to first unread message

svn-N...@habariproject.org

unread,
Nov 25, 2010, 4:19:44 AM11/25/10
to habar...@googlegroups.com
Revision
4623
Author
lildude
Date
2010-11-25 09:19:41 +0000 (Thu, 25 Nov 2010)

Log Message

Made two more strings in the Flickr Silo translatable.  Fixes #1339. Thanks Konzertheld

Modified Paths

Diff

Modified: trunk/htdocs/system/plugins/flickrsilo/flickrsilo.plugin.php (4622 => 4623)


--- trunk/htdocs/system/plugins/flickrsilo/flickrsilo.plugin.php	2010-11-24 20:08:12 UTC (rev 4622)
+++ trunk/htdocs/system/plugins/flickrsilo/flickrsilo.plugin.php	2010-11-25 09:19:41 UTC (rev 4623)
@@ -836,7 +836,7 @@
 		$flickr = new Flickr();
 		if ( !isset( $_SESSION['flickr_frob'] ) ){
 			$auth_url = URL::get( 'admin', array( 'page' => 'plugins', 'configure' => $this->plugin_id(), 'configaction' => 'authorize' ) ) . '#plugin_options';
-			echo '<p>' . _t( 'Either you have already authorized Habari to access your flickr account, or you have not yet done so.  Please <a href="' . $auth_url . '">try again</a>.' ) . '</p>';
+			echo '<p>' . _t( 'Either you have already authorized Habari to access your flickr account, or you have not yet done so.  Please ' ). '<a href="' . $auth_url . '">' . _t( 'try again' ) . '</a></p>';
 		}
 		else{
 			$token = $flickr->getToken( $_SESSION['flickr_frob'] );
@@ -861,7 +861,7 @@
 		Options::set( 'flickr_token_' . User::identify()->id );
 		$reauth_url = URL::get( 'admin', array( 'page' => 'plugins', 'configure' => $this->plugin_id(), 'configaction' => 'authorize' ) ) . '#plugin_options';
 		echo '<p>' . _t( 'The Flickr Silo Plugin authorization has been deleted.' ) . '<p>';
-		echo "<p>Do you want to <a href=\"{$reauth_url}\">re-authorize this plugin</a>?<p>";
+		echo '<p>' . _t( 'Do you want to ' ) . "<a href=\"{$reauth_url}\">" . _t( 're-authorize this plugin' ) . "</a>?<p>";
 	}
 	
 	/**
Reply all
Reply to author
Forward
0 new messages