From: <var...@us...> - 2011-01-31 16:47:10
|
Revision: 7923 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7923&view=rev Author: vargenau Date: 2011-01-31 16:47:04 +0000 (Mon, 31 Jan 2011) Log Message: ----------- Translate BackLinks action (like the others) Modified Paths: -------------- trunk/themes/Crao/templates/navbar.tmpl trunk/themes/MonoBook/templates/navbar.tmpl trunk/themes/Sidebar/templates/navbar.tmpl trunk/themes/fusionforge/templates/actionbar.tmpl trunk/themes/smaller/templates/navbar.tmpl Modified: trunk/themes/Crao/templates/navbar.tmpl =================================================================== --- trunk/themes/Crao/templates/navbar.tmpl 2011-01-31 16:34:28 UTC (rev 7922) +++ trunk/themes/Crao/templates/navbar.tmpl 2011-01-31 16:47:04 UTC (rev 7923) @@ -15,7 +15,7 @@ <?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("BackLinks", _("BackLinks")) ?> +<?php echo $SEP?><?php echo Button(_("BackLinks"), _("BackLinks")) ?> <?php } ?> </td> <td align="right" width="150"> Modified: trunk/themes/MonoBook/templates/navbar.tmpl =================================================================== --- trunk/themes/MonoBook/templates/navbar.tmpl 2011-01-31 16:34:28 UTC (rev 7922) +++ trunk/themes/MonoBook/templates/navbar.tmpl 2011-01-31 16:47:04 UTC (rev 7923) @@ -49,7 +49,7 @@ <div class="pBody"> <ul> <?php if ($revision) { ?> - <li id="t-whatlinkshere"><?php echo Button(array('action'=>'BackLinks'), _("What links here"), $page->getName()) ?></li> + <li id="t-whatlinkshere"><?php echo Button(array('action'=>_("BackLinks")), _("What links here"), $page->getName()) ?></li> <?php } ?> <?php $links = $page->getPageLinks(); if ($links->count() > 1) { ?> <li id="t-recentchangeslinked"><?php echo $WikiTheme->makeLinkButton($revision,_("Related changes"),_("RelatedChanges")) ?></li> Modified: trunk/themes/Sidebar/templates/navbar.tmpl =================================================================== --- trunk/themes/Sidebar/templates/navbar.tmpl 2011-01-31 16:34:28 UTC (rev 7922) +++ trunk/themes/Sidebar/templates/navbar.tmpl 2011-01-31 16:47:04 UTC (rev 7923) @@ -45,7 +45,7 @@ <li><? $link = WikiLink(_("RecentChanges"), "",_("RecentChanges")); $link->setAttr("accesskey","r"); $link->addTooltip(_("The list of recent changes in the wiki.")." [$p-r]"); ?><?php echo $link ?> </li> <li><?php echo WikiLink(_("RecentNewPages"), "",_("RecentNewPages")) ?></li> <?php if (!empty($revision)) { ?> - <li id="t-whatlinkshere"><?php echo Button(array('action'=>'BackLinks'), _("What links here"), $page->getName()) ?></li> + <li id="t-whatlinkshere"><?php echo Button(array('action'=>_("BackLinks")), _("What links here"), $page->getName()) ?></li> <?php } ?> <?php if (!empty($user) && $user->isSignedIn()) { ?> <li><? $link = WikiLink(_("UpLoad"),"",_("Upload file")); $link->setAttr("accesskey","u"); $link->addTooltip(_("Upload images or media files")." [$p-u]"); ?><?php echo $link ?></li> Modified: trunk/themes/fusionforge/templates/actionbar.tmpl =================================================================== --- trunk/themes/fusionforge/templates/actionbar.tmpl 2011-01-31 16:34:28 UTC (rev 7922) +++ trunk/themes/fusionforge/templates/actionbar.tmpl 2011-01-31 16:47:04 UTC (rev 7923) @@ -81,7 +81,7 @@ <td><?php echo Button("PageInfo", _("Page Info")) ?></td> <td class="spacer"> </td> - <td><?php echo Button(array('action'=>'BackLinks'), _("Back Links"),$page->getName()) ?></td> + <td><?php echo Button(array('action'=>_("BackLinks")), _("Back Links"),$page->getName()) ?></td> <?php if (defined('USE_EXTERNAL_HTML2PDF') and USE_EXTERNAL_HTML2PDF) { ?> <?php if ($curuserprefs->get('pdfMenuItem')) { ?> Modified: trunk/themes/smaller/templates/navbar.tmpl =================================================================== --- trunk/themes/smaller/templates/navbar.tmpl 2011-01-31 16:34:28 UTC (rev 7922) +++ trunk/themes/smaller/templates/navbar.tmpl 2011-01-31 16:47:04 UTC (rev 7923) @@ -14,7 +14,7 @@ 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'=>'BackLinks'), _("BackLinks"),$page->getName()) ?> + <?php echo $SEP?><?php echo Button(array('action'=>_("BackLinks")), _("BackLinks"),$page->getName()) ?> <?php } ?> <?php if (!empty($user) && $user->isAdmin()) { ?> <?php echo $SEP?><?php echo WikiLink(_("PhpWikiAdministration"), "","Admin") ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |