Use "tag" more consistenty when referring to associating a project with an object

Summary:
Ref T10144. This isn't comprehensive, but we can give it a try and see how it feels?

  - EditEngine forms now say "Tags" instead of "Projects".
  - Modern SearchEngine forms now say "Tags" instead of "Projects".
  - For clarity, replaced as much "in project" language as I could find with "tagged with project" language.

Test Plan: reading / grepping + used "not tagged with any project" token

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10144

Differential Revision: https://secure.phabricator.com/D15108
This commit is contained in:
epriestley
2016-01-24 09:39:53 -08:00
parent 7bbd949703
commit cb1c3424a8
6 changed files with 24 additions and 22 deletions

View File

@@ -44,13 +44,13 @@ final class PhabricatorProjectsEditEngineExtension
$projects_field = id(new PhabricatorProjectsEditField())
->setKey('projectPHIDs')
->setLabel(pht('Projects'))
->setLabel(pht('Tags'))
->setEditTypeKey('projects')
->setAliases(array('project', 'projects'))
->setAliases(array('project', 'projects', 'tag', 'tags'))
->setIsCopyable(true)
->setUseEdgeTransactions(true)
->setCommentActionLabel(pht('Change Projects'))
->setDescription(pht('Select projects for the object.'))
->setCommentActionLabel(pht('Change Project Tags'))
->setDescription(pht('Select project tags for the object.'))
->setTransactionType($edge_type)
->setMetadataValue('edge:type', $project_edge_type)
->setValue($project_phids);
@@ -58,14 +58,14 @@ final class PhabricatorProjectsEditEngineExtension
$projects_field->setViewer($engine->getViewer());
$edit_add = $projects_field->getConduitEditType('projects.add')
->setConduitDescription(pht('Add projects.'));
->setConduitDescription(pht('Add project tags.'));
$edit_set = $projects_field->getConduitEditType('projects.set')
->setConduitDescription(
pht('Set projects, overwriting current value.'));
pht('Set project tags, overwriting current value.'));
$edit_rem = $projects_field->getConduitEditType('projects.remove')
->setConduitDescription(pht('Remove projects.'));
->setConduitDescription(pht('Remove project tags.'));
return array(
$projects_field,