pht for Paste

Summary: Fill in missing pht's for Paste

Test Plan: Review Paste in ALLCAPS.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D4934
This commit is contained in:
Chad Little
2013-02-13 11:47:31 -08:00
parent b4d69800f9
commit 2591b4bc77
3 changed files with 17 additions and 16 deletions

View File

@@ -9,13 +9,14 @@ abstract class PhabricatorPasteController extends PhabricatorController {
$nav->setBaseURI(new PhutilURI($this->getApplicationURI('filter/')));
if ($for_app) {
$nav->addFilter('', 'Create Paste', $this->getApplicationURI('/create/'));
$nav->addFilter('', pht('Create Paste'),
$this->getApplicationURI('/create/'));
}
$nav->addLabel('Filters');
$nav->addFilter('all', 'All Pastes');
$nav->addLabel(pht('Filters'));
$nav->addFilter('all', pht('All Pastes'));
if ($user->isLoggedIn()) {
$nav->addFilter('my', 'My Pastes');
$nav->addFilter('my', pht('My Pastes'));
}
$nav->selectFilter($filter, 'all');