------------------------------------------------------------
revno: 1191
committer: Roger Martin <[email protected]>
branch nick: aikiframework
timestamp: Wed 2012-04-25 22:44:13 +0200
message:
  literals with __() functions
modified:
  libs/widgets.php


--
lp:aikiframework
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk

Your team Aiki Framework Developers is subscribed to branch lp:aikiframework.
To unsubscribe from this branch go to 
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk/+edit-subscription
=== modified file 'libs/widgets.php'
--- libs/widgets.php	2012-03-16 16:24:31 +0000
+++ libs/widgets.php	2012-04-25 20:44:13 +0000
@@ -164,7 +164,7 @@
 	if (isset($_GET["widget"])) {
 		$widget= $this->get_widget($_GET["widget"]);
 		if ( is_null($widget) ){
-			$content=  sprintf( t("No valid widget %s"), strip_tags($_GET["widget"]));
+			$content=  __sprintf( "No valid widget %s", strip_tags($_GET["widget"]));
 		} else {
 			$content = $engine->parseWidget($widget);
 		}

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to