Differential D25002 Diff 39 src/applications/almanac/servicetype/AlmanacClusterDatabaseServiceType.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/almanac/servicetype/AlmanacClusterDatabaseServiceType.php
<?php | <?php | ||||
final class AlmanacClusterDatabaseServiceType | final class AlmanacClusterDatabaseServiceType | ||||
extends AlmanacClusterServiceType { | extends AlmanacClusterServiceType { | ||||
const SERVICETYPE = 'cluster.database'; | const SERVICETYPE = 'cluster.database'; | ||||
public function getServiceTypeShortName() { | public function getServiceTypeShortName() { | ||||
return pht('Cluster Database'); | return pht('Cluster Database'); | ||||
} | } | ||||
public function getServiceTypeName() { | public function getServiceTypeName() { | ||||
return pht('Phabricator Cluster: Database'); | return pht('%s Cluster: Database', | ||||
PhabricatorPlatformSite::getName()); | |||||
} | } | ||||
public function getServiceTypeDescription() { | public function getServiceTypeDescription() { | ||||
return pht( | return pht( | ||||
'Defines a database service for use in a Phabricator cluster.'); | 'Defines a database service for use in a %s cluster.', | ||||
PhabricatorPlatformSite::getName()); | |||||
} | } | ||||
} | } |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0