1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 13:22:42 +01:00

Consistently refer to 'Projects' as 'Tags'

Summary:
In calendar, dashboard, diffusion, diviner, feed, fund,
maniphest, pholio, ponder, and slowvote use the term 'tags' if possible.

This intenctionally skips diffusion, differential, and the projects application itself.

Ref T10326 Ref T10349

Test Plan: inspection on a running, locally modified, system

Reviewers: avivey, epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Maniphest Tasks: T10835, T10326, T10349

Differential Revision: https://secure.phabricator.com/D15753
This commit is contained in:
Eitan Adler 2016-04-19 16:48:21 +00:00 committed by eadler
parent c30fe65ee9
commit c9daa2b0ad
12 changed files with 12 additions and 12 deletions

View file

@ -459,7 +459,7 @@ final class PhabricatorCalendarEventEditController
}
$projects = id(new AphrontFormTokenizerControl())
->setLabel(pht('Projects'))
->setLabel(pht('Tags'))
->setName('projects')
->setValue($projects)
->setUser($viewer)

View file

@ -161,7 +161,7 @@ final class PhabricatorDashboardEditController
$form->appendControl(
id(new AphrontFormTokenizerControl())
->setLabel(pht('Projects'))
->setLabel(pht('Tags'))
->setName('projects')
->setValue($v_projects)
->setDatasource(new PhabricatorProjectDatasource()));

View file

@ -240,7 +240,7 @@ final class PhabricatorDashboardPanelEditController
$form->appendControl(
id(new AphrontFormTokenizerControl())
->setLabel(pht('Projects'))
->setLabel(pht('Tags'))
->setName('projects')
->setValue($v_projects)
->setDatasource(new PhabricatorProjectDatasource()));

View file

@ -179,7 +179,7 @@ final class DifferentialRevisionSearchEngine
->setValue($repository_phids))
->appendControl(
id(new AphrontFormTokenizerControl())
->setLabel(pht('Projects'))
->setLabel(pht('Tags'))
->setName('projects')
->setDatasource(new PhabricatorProjectLogicalDatasource())
->setValue($projects))

View file

@ -75,7 +75,7 @@ final class DivinerBookEditController extends DivinerController {
id(new AphrontFormTokenizerControl())
->setDatasource(new PhabricatorProjectDatasource())
->setName('projectPHIDs')
->setLabel(pht('Projects'))
->setLabel(pht('Tags'))
->setValue($book->getProjectPHIDs()))
->appendControl(
id(new AphrontFormTokenizerControl())

View file

@ -102,7 +102,7 @@ final class PhabricatorFeedSearchEngine
);
if ($this->requireViewer()->isLoggedIn()) {
$names['projects'] = pht('Projects');
$names['projects'] = pht('Tags');
}
return $names;

View file

@ -201,7 +201,7 @@ final class FundInitiativeEditController
->setValue($v_risk))
->appendControl(
id(new AphrontFormTokenizerControl())
->setLabel(pht('Projects'))
->setLabel(pht('Tags'))
->setName('projects')
->setValue($v_projects)
->setDatasource(new PhabricatorProjectDatasource()))

View file

@ -58,7 +58,7 @@ final class ManiphestExcelDefaultFormat extends ManiphestExcelFormat {
pht('Date Created'),
pht('Date Updated'),
pht('Title'),
pht('Projects'),
pht('Tags'),
pht('URI'),
pht('Description'),
);

View file

@ -316,7 +316,7 @@ final class PholioMockEditController extends PholioController {
->setUser($viewer))
->appendControl(
id(new AphrontFormTokenizerControl())
->setLabel(pht('Projects'))
->setLabel(pht('Tags'))
->setName('projects')
->setValue($v_projects)
->setDatasource(new PhabricatorProjectDatasource()))

View file

@ -165,7 +165,7 @@ final class PhabricatorPhurlURLEditController
->setError($error_alias);
$projects = id(new AphrontFormTokenizerControl())
->setLabel(pht('Projects'))
->setLabel(pht('Tags'))
->setName('projects')
->setValue($projects)
->setUser($viewer)

View file

@ -156,7 +156,7 @@ final class PonderQuestionEditController extends PonderController {
$form->appendControl(
id(new AphrontFormTokenizerControl())
->setLabel(pht('Projects'))
->setLabel(pht('Tags'))
->setName('projects')
->setValue($v_projects)
->setDatasource(new PhabricatorProjectDatasource()));

View file

@ -152,7 +152,7 @@ final class PhabricatorSlowvoteEditController
->setValue($v_description))
->appendControl(
id(new AphrontFormTokenizerControl())
->setLabel(pht('Projects'))
->setLabel(pht('Tags'))
->setName('projects')
->setValue($v_projects)
->setDatasource(new PhabricatorProjectDatasource()));