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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user