From: <var...@us...> - 2011-01-31 16:57:56
|
Revision: 7924 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7924&view=rev Author: vargenau Date: 2011-01-31 16:57:48 +0000 (Mon, 31 Jan 2011) Log Message: ----------- Translate LikePages action (like the others) Modified Paths: -------------- trunk/themes/Crao/templates/navbar.tmpl trunk/themes/MonoBook/templates/navbar.tmpl trunk/themes/Portland/templates/navbar.tmpl trunk/themes/Wordpress/templates/actionbar.tmpl trunk/themes/fusionforge/templates/navbar.tmpl trunk/themes/smaller/templates/navbar.tmpl Modified: trunk/themes/Crao/templates/navbar.tmpl =================================================================== --- trunk/themes/Crao/templates/navbar.tmpl 2011-01-31 16:47:04 UTC (rev 7923) +++ trunk/themes/Crao/templates/navbar.tmpl 2011-01-31 16:57:48 UTC (rev 7924) @@ -14,7 +14,7 @@ <?php echo WikiLink(_("RecentChanges"), "button") ?> <?php if (!empty($revision)) { ?> <?php echo $SEP?><?php echo Button("RelatedChanges", _("RelatedChanges")) ?> -<?php echo $SEP?><?php echo Button("LikePages", _("LikePages")) ?> +<?php echo $SEP?><?php echo Button(_("LikePages"), _("LikePages")) ?> <?php echo $SEP?><?php echo Button(_("BackLinks"), _("BackLinks")) ?> <?php } ?> </td> Modified: trunk/themes/MonoBook/templates/navbar.tmpl =================================================================== --- trunk/themes/MonoBook/templates/navbar.tmpl 2011-01-31 16:47:04 UTC (rev 7923) +++ trunk/themes/MonoBook/templates/navbar.tmpl 2011-01-31 16:57:48 UTC (rev 7924) @@ -16,7 +16,7 @@ <li><? $link = WikiLink(_("RecentChanges"), "",_("Recent changes")); $link->setAttr("accesskey","r"); $link->addTooltip(_("The list of recent changes in the wiki.")." [$p-r]"); ?><?php echo $link ?></li> <li id="n-recentcomments"><?php echo WikiLink(_("RecentComments"), "",_("Recent comments")) ?></li> <li id="n-recentnewpages"><?php echo WikiLink(_("RecentNewPages"), "",_("Recent new pages")) ?></li> - <li id="n-likepages"><?php echo Button(array('action'=>'LikePages'),_("Like pages"), $page->getName()) ?></li> + <li id="n-likepages"><?php echo Button(array('action'=>_("LikePages")),_("Like pages"), $page->getName()) ?></li> <li id="n-randompage"><?php echo WikiLink(_("RandomPage"), "",_("Random page")) ?></li> <li id="n-help"><?php echo WikiLink(_("PhpWikiDocumentation"),"",_("Help")) ?></li> </ul> Modified: trunk/themes/Portland/templates/navbar.tmpl =================================================================== --- trunk/themes/Portland/templates/navbar.tmpl 2011-01-31 16:47:04 UTC (rev 7923) +++ trunk/themes/Portland/templates/navbar.tmpl 2011-01-31 16:57:48 UTC (rev 7924) @@ -5,7 +5,7 @@ <?php echo WikiLink(_("FindPage"), "button") ?> by searching <?php if ($revision) { ?> - (or browse <?php echo Button("LikePages", _("LikePages")) ?>) + (or browse <?php echo Button(_("LikePages"), _("LikePages")) ?>) <?php } ?> <?php if ($user->isAdmin()) { ?> <?php echo $SEP?><?php echo Button($page->get('locked') ? 'unlock' : 'lock')?> Modified: trunk/themes/Wordpress/templates/actionbar.tmpl =================================================================== --- trunk/themes/Wordpress/templates/actionbar.tmpl 2011-01-31 16:47:04 UTC (rev 7923) +++ trunk/themes/Wordpress/templates/actionbar.tmpl 2011-01-31 16:57:48 UTC (rev 7924) @@ -90,7 +90,7 @@ </li> <li> <?php if ($revision) { ?> - <?php echo Button("LikePages", _("LikePages")) ?> + <?php echo Button(_("LikePages"), _("LikePages")) ?> <?php } ?> </li> </ul> Modified: trunk/themes/fusionforge/templates/navbar.tmpl =================================================================== --- trunk/themes/fusionforge/templates/navbar.tmpl 2011-01-31 16:47:04 UTC (rev 7923) +++ trunk/themes/fusionforge/templates/navbar.tmpl 2011-01-31 16:57:48 UTC (rev 7924) @@ -14,7 +14,7 @@ <tr><td class="submenu"><?php echo WikiLink(_("RandomPage"), "", _("Random Page")) ?></td></tr> <?php } ?> <?php if ($curuserprefs->get('likePagesMenuItem')) { ?> - <tr><td class="submenu"><?php echo Button(array('action'=>'LikePages'), _("Like Pages"),$page->getName()) ?></td></tr> + <tr><td class="submenu"><?php echo Button(array('action'=>_("LikePages")), _("Like Pages"),$page->getName()) ?></td></tr> <?php } ?> <tr><td class="submenu"><?php echo WikiLink(_("UpLoad"), "", _("Upload File")) ?></td></tr> <?php if (!empty($user) && $user->isAdmin()) { ?> Modified: trunk/themes/smaller/templates/navbar.tmpl =================================================================== --- trunk/themes/smaller/templates/navbar.tmpl 2011-01-31 16:47:04 UTC (rev 7923) +++ trunk/themes/smaller/templates/navbar.tmpl 2011-01-31 16:57:48 UTC (rev 7924) @@ -13,7 +13,7 @@ onmouseover="window.status='<?php echo _("Quick Search")?>'; return true;" onmouseout="window.status=''; return true;" /> <?php if (!empty($revision)) { ?> - <?php echo $SEP?><?php echo Button(array('action'=>'LikePages'),_("LikePages"),$page->getName()) ?> + <?php echo $SEP?><?php echo Button(array('action'=>_("LikePages")),_("LikePages"),$page->getName()) ?> <?php echo $SEP?><?php echo Button(array('action'=>_("BackLinks")), _("BackLinks"),$page->getName()) ?> <?php } ?> <?php if (!empty($user) && $user->isAdmin()) { ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |