1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 08:42:41 +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:
epriestley 2018-04-08 10:10:34 -07:00
parent af87f414e8
commit 9bb338c038
8 changed files with 1 additions and 29 deletions

View file

@ -57,10 +57,6 @@ abstract class PhabricatorApplication
abstract public function getName(); abstract public function getName();
public function getMenuName() {
return $this->getName();
}
public function getShortDescription() { public function getShortDescription() {
return pht('%s Application', $this->getName()); return pht('%s Application', $this->getName());
} }

View file

@ -10,10 +10,6 @@ final class PhabricatorDifferentialApplication extends PhabricatorApplication {
return pht('Differential'); return pht('Differential');
} }
public function getMenuName() {
return pht('Code Review');
}
public function getShortDescription() { public function getShortDescription() {
return pht('Pre-Commit Review'); return pht('Pre-Commit Review');
} }

View file

@ -6,10 +6,6 @@ final class PhabricatorDiffusionApplication extends PhabricatorApplication {
return pht('Diffusion'); return pht('Diffusion');
} }
public function getMenuName() {
return pht('Repositories');
}
public function getShortDescription() { public function getShortDescription() {
return pht('Host and Browse Repositories'); return pht('Host and Browse Repositories');
} }

View file

@ -6,10 +6,6 @@ final class PhabricatorManiphestApplication extends PhabricatorApplication {
return pht('Maniphest'); return pht('Maniphest');
} }
public function getMenuName() {
return pht('Tasks');
}
public function getShortDescription() { public function getShortDescription() {
return pht('Tasks and Bugs'); return pht('Tasks and Bugs');
} }

View file

@ -6,10 +6,6 @@ final class PhabricatorPhameApplication extends PhabricatorApplication {
return pht('Phame'); return pht('Phame');
} }
public function getMenuName() {
return pht('Blogs');
}
public function getBaseURI() { public function getBaseURI() {
return '/phame/'; return '/phame/';
} }

View file

@ -6,10 +6,6 @@ final class PhabricatorPholioApplication extends PhabricatorApplication {
return pht('Pholio'); return pht('Pholio');
} }
public function getMenuName() {
return pht('Design Review');
}
public function getBaseURI() { public function getBaseURI() {
return '/pholio/'; return '/pholio/';
} }

View file

@ -6,10 +6,6 @@ final class PhabricatorPhrictionApplication extends PhabricatorApplication {
return pht('Phriction'); return pht('Phriction');
} }
public function getMenuName() {
return pht('Wiki');
}
public function getShortDescription() { public function getShortDescription() {
return pht('Wiki Documents'); return pht('Wiki Documents');
} }

View file

@ -31,7 +31,7 @@ final class PhabricatorApplicationProfileMenuItem
return $name; return $name;
} }
return $application->getMenuName(); return $application->getName();
} }
public function buildEditEngineFields( public function buildEditEngineFields(