mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-27 16:00:59 +01:00
Revert the alternate menu names for applications
Summary: This reverts D18524. See that revision for discussion. Test Plan: Viewed home menu, saw application names as menu items. Differential Revision: https://secure.phabricator.com/D19308
This commit is contained in:
parent
af87f414e8
commit
9bb338c038
8 changed files with 1 additions and 29 deletions
|
@ -57,10 +57,6 @@ abstract class PhabricatorApplication
|
|||
|
||||
abstract public function getName();
|
||||
|
||||
public function getMenuName() {
|
||||
return $this->getName();
|
||||
}
|
||||
|
||||
public function getShortDescription() {
|
||||
return pht('%s Application', $this->getName());
|
||||
}
|
||||
|
|
|
@ -10,10 +10,6 @@ final class PhabricatorDifferentialApplication extends PhabricatorApplication {
|
|||
return pht('Differential');
|
||||
}
|
||||
|
||||
public function getMenuName() {
|
||||
return pht('Code Review');
|
||||
}
|
||||
|
||||
public function getShortDescription() {
|
||||
return pht('Pre-Commit Review');
|
||||
}
|
||||
|
|
|
@ -6,10 +6,6 @@ final class PhabricatorDiffusionApplication extends PhabricatorApplication {
|
|||
return pht('Diffusion');
|
||||
}
|
||||
|
||||
public function getMenuName() {
|
||||
return pht('Repositories');
|
||||
}
|
||||
|
||||
public function getShortDescription() {
|
||||
return pht('Host and Browse Repositories');
|
||||
}
|
||||
|
|
|
@ -6,10 +6,6 @@ final class PhabricatorManiphestApplication extends PhabricatorApplication {
|
|||
return pht('Maniphest');
|
||||
}
|
||||
|
||||
public function getMenuName() {
|
||||
return pht('Tasks');
|
||||
}
|
||||
|
||||
public function getShortDescription() {
|
||||
return pht('Tasks and Bugs');
|
||||
}
|
||||
|
|
|
@ -6,10 +6,6 @@ final class PhabricatorPhameApplication extends PhabricatorApplication {
|
|||
return pht('Phame');
|
||||
}
|
||||
|
||||
public function getMenuName() {
|
||||
return pht('Blogs');
|
||||
}
|
||||
|
||||
public function getBaseURI() {
|
||||
return '/phame/';
|
||||
}
|
||||
|
|
|
@ -6,10 +6,6 @@ final class PhabricatorPholioApplication extends PhabricatorApplication {
|
|||
return pht('Pholio');
|
||||
}
|
||||
|
||||
public function getMenuName() {
|
||||
return pht('Design Review');
|
||||
}
|
||||
|
||||
public function getBaseURI() {
|
||||
return '/pholio/';
|
||||
}
|
||||
|
|
|
@ -6,10 +6,6 @@ final class PhabricatorPhrictionApplication extends PhabricatorApplication {
|
|||
return pht('Phriction');
|
||||
}
|
||||
|
||||
public function getMenuName() {
|
||||
return pht('Wiki');
|
||||
}
|
||||
|
||||
public function getShortDescription() {
|
||||
return pht('Wiki Documents');
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ final class PhabricatorApplicationProfileMenuItem
|
|||
return $name;
|
||||
}
|
||||
|
||||
return $application->getMenuName();
|
||||
return $application->getName();
|
||||
}
|
||||
|
||||
public function buildEditEngineFields(
|
||||
|
|
Loading…
Reference in a new issue