Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/views/elements/feature.thtml
diff options
context:
space:
mode:
Diffstat (limited to 'site/app/views/elements/feature.thtml')
-rw-r--r--site/app/views/elements/feature.thtml11
1 files changed, 9 insertions, 2 deletions
diff --git a/site/app/views/elements/feature.thtml b/site/app/views/elements/feature.thtml
index 2f43bcb..17ac654 100644
--- a/site/app/views/elements/feature.thtml
+++ b/site/app/views/elements/feature.thtml
@@ -98,12 +98,19 @@ else
<p class="desc"><?=$addonSummary?></p>
<p class="rating"><?=$this->renderElement('stars',array('rating' => $addonRating))?><?php if ($addonReviews > 0) { ?> <a href="<?=$html->url('/addon/'.$addonId.'#reviews')?>"><?=sprintf(ngettext('feature_reviews','feature_reviews', $addonReviews), $addonReviews)?></a><?php } ?></p>
<p class="stats"><em><?=$html->number_format($addonWeeklyDownloads, 0)?></em>
-<?php echo ___('addon_downloads_weekly'); ?>
+<?php
+// @partial 4/25/08
+echo (_('addon_downloads_weekly') == 'addon_downloads_weekly') ? _('addon_downloads') : _('addon_downloads_weekly');
+?>
</p>
<?php if (isset($addonFiles)): ?>
<p class="updated">
- <?php echo sprintf(___('addon_detail_last_updated'), strftime(_('date'), strtotime($addonVersionCreated))); ?>
+ <?php
+ // @partial 5/08/08, bug 425527
+ $_update_string = (_('addon_detail_last_updated') == 'addon_detail_last_updated') ? 'Updated %s' : _('addon_detail_last_updated');
+ echo sprintf($_update_string, strftime(_('date'), strtotime($addonVersionCreated)));
+ ?>
</p>
<?=$this->renderElement('install',array(