diff options
author | Pascal Chevrel <pascal@chevrel.org> | 2012-03-12 15:40:15 +0100 |
---|---|---|
committer | Pascal Chevrel <pascal@chevrel.org> | 2012-03-12 15:40:15 +0100 |
commit | 5378cf37d8d3dde29a2e7a67e94f3966696288e6 (patch) | |
tree | d2beff7282a5e5e2ddcd870113117944587084a7 /custom/views/archive/sidebar.tpl.php | |
parent | e6ab308bbdb024fe8f65f6e6419482d94dc54eab (diff) | |
download | planet-5378cf37d8d3dde29a2e7a67e94f3966696288e6.tar planet-5378cf37d8d3dde29a2e7a67e94f3966696288e6.tar.gz planet-5378cf37d8d3dde29a2e7a67e94f3966696288e6.tar.bz2 planet-5378cf37d8d3dde29a2e7a67e94f3966696288e6.tar.xz planet-5378cf37d8d3dde29a2e7a67e94f3966696288e6.zip |
l10n support for moonmoon
Diffstat (limited to 'custom/views/archive/sidebar.tpl.php')
-rwxr-xr-x[-rw-r--r--] | custom/views/archive/sidebar.tpl.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/custom/views/archive/sidebar.tpl.php b/custom/views/archive/sidebar.tpl.php index fc2c881..3f0d617 100644..100755 --- a/custom/views/archive/sidebar.tpl.php +++ b/custom/views/archive/sidebar.tpl.php @@ -4,31 +4,31 @@ usort($all_people, array('PlanetFeed', 'compare')); ?> <div id="sidebar"> <div id="sidebar-people"> - <h2>People (<?php echo count($all_people); ?>)</h2> + <h2><?=_g('People')?> (<?php echo count($all_people); ?>)</h2> <ul> <?php foreach ($all_people as $person) : ?> <li> - <a href="<?php echo htmlspecialchars($person->getFeed(), ENT_QUOTES, 'UTF-8'); ?>" title="Feed"><img src="postload.php?url=<?php echo urlencode(htmlspecialchars($person->getFeed(), ENT_QUOTES, 'UTF-8')); ?>" alt="feed" height="12" width="12" /></a> - <a href="<?php echo $person->getWebsite(); ?>" title="Website"><?php echo htmlspecialchars($person->getName(), ENT_QUOTES, 'UTF-8'); ?></a> + <a href="<?php echo htmlspecialchars($person->getFeed(), ENT_QUOTES, 'UTF-8'); ?>" title="<?=_g('Feed')?>"><img src="postload.php?url=<?php echo urlencode(htmlspecialchars($person->getFeed(), ENT_QUOTES, 'UTF-8')); ?>" alt="<?=_g('Feed')?>" height="12" width="12" /></a> + <a href="<?php echo $person->getWebsite(); ?>" title="<?=_g('Website')?>"><?php echo htmlspecialchars($person->getName(), ENT_QUOTES, 'UTF-8'); ?></a> </li> <?php endforeach; ?> </ul> <p> - <a href="custom/people.opml"><img src="custom/img/opml.png" alt="feed" height="12" width="12" /> All feeds in OPML format</a> + <a href="custom/people.opml"><img src="custom/img/opml.png" alt="<?=_g('Feed')?>" height="12" width="12" /> <?=_g('All feeds in OPML format')?></a> </p> </div> - + <div> - <h2>Syndicate</h2> + <h2><?=_g('Syndicate')?></h2> <ul> - <li><img src="custom/img/feed.png" alt="feed" height="12" width="12" /> <a href="?type=atom10">Feed (ATOM)</a></li> + <li><img src="custom/img/feed.png" alt="<?=_g('Feed')?>" height="12" width="12" /> <a href="?type=atom10"><?=_g('Feed (ATOM)')?></a></li> </ul> </div> <div> - <h2>Archives</h2> + <h2><?=_g('Archives')?></h2> <ul> - <li><a href="?type=archive">See all headlines</a></li> + <li><a href="?type=archive"><?=_g('See all headlines')?></a></li> </ul> </div> -</div>
\ No newline at end of file +</div> |