comanage-dev - [comanage-dev] r335 - in registry/trunk/app: Lib View/Elements
Subject: COmanage Developers List
List archive
- From:
- To:
- Subject: [comanage-dev] r335 - in registry/trunk/app: Lib View/Elements
- Date: Mon, 13 Aug 2012 17:29:20 -0400
Author: marie
Date: 2012-08-13 17:29:20 -0400 (Mon, 13 Aug 2012)
New Revision: 335
Modified:
registry/trunk/app/Lib/lang.php
registry/trunk/app/View/Elements/dropMenu.ctp
Log:
co405 parameterizing menu
Modified: registry/trunk/app/Lib/lang.php
===================================================================
--- registry/trunk/app/Lib/lang.php 2012-08-12 02:03:06 UTC (rev 334)
+++ registry/trunk/app/Lib/lang.php 2012-08-13 21:29:20 UTC (rev 335)
@@ -449,7 +449,7 @@
// Menu
'me.account' => 'My Account',
'me.changepassword' => 'Change Password',
- 'me.for' => 'For ',
+ 'me.for' => 'For %1$s',
'me.identity' => 'Identity',
'me.label' => 'Manage:',
'me.platform' => 'Platform',
Modified: registry/trunk/app/View/Elements/dropMenu.ctp
===================================================================
--- registry/trunk/app/View/Elements/dropMenu.ctp 2012-08-12 02:03:06
UTC (rev 334)
+++ registry/trunk/app/View/Elements/dropMenu.ctp 2012-08-13 21:29:20
UTC (rev 335)
@@ -216,7 +216,7 @@
$co['co_person_id'],
'co' => $co['co_id']
);
- print $this->Html->link(_txt('me.for') . $co['co_name'],
$args);
+ print $this->Html->link(_txt('me.for',
array($co['co_name'])), $args);
print "</li>";
}
print '</ul>
@@ -236,7 +236,7 @@
'action' => 'editself',
'co' => $co['co_id']
);
- print $this->Html->link(_txt('me.for'). $co['co_name'],
$args);
+ print $this->Html->link(_txt('me.for',
array($co['co_name'])), $args);
print "</li>";
}
- [comanage-dev] r335 - in registry/trunk/app: Lib View/Elements, svnlog, 08/13/2012
Archive powered by MHonArc 2.6.16.