Remove product literal strings in "pht()", part 4
[phabricator.git] / src / applications / config / option / PhabricatorAWSConfigOptions.php
blob5f2246fdaa0a658a62bf874537a4e038f28f0102
1 <?php
3 final class PhabricatorAWSConfigOptions
4 extends PhabricatorApplicationConfigOptions {
6 public function getName() {
7 return pht('Amazon Web Services');
10 public function getDescription() {
11 return pht('Configure integration with AWS (EC2, SES, S3, etc).');
14 public function getIcon() {
15 return 'fa-server';
18 public function getGroup() {
19 return 'core';
22 public function getOptions() {
23 return array(
24 $this->newOption('amazon-s3.access-key', 'string', null)
25 ->setLocked(true)
26 ->setDescription(pht('Access key for Amazon S3.')),
27 $this->newOption('amazon-s3.secret-key', 'string', null)
28 ->setHidden(true)
29 ->setDescription(pht('Secret key for Amazon S3.')),
30 $this->newOption('amazon-s3.region', 'string', null)
31 ->setLocked(true)
32 ->setDescription(
33 pht(
34 'Amazon S3 region where your S3 bucket is located. When you '.
35 'specify a region, you should also specify a corresponding '.
36 'endpoint with `amazon-s3.endpoint`. You can find a list of '.
37 'available regions and endpoints in the AWS documentation.'))
38 ->addExample('us-west-1', pht('USWest Region')),
39 $this->newOption('amazon-s3.endpoint', 'string', null)
40 ->setLocked(true)
41 ->setDescription(
42 pht(
43 'Explicit S3 endpoint to use. This should be the endpoint '.
44 'which corresponds to the region you have selected in '.
45 '`amazon-s3.region`. Phabricator can not determine the correct '.
46 'endpoint automatically because some endpoint locations are '.
47 'irregular.'))
48 ->addExample(
49 's3-us-west-1.amazonaws.com',
50 pht('Use specific endpoint')),
51 $this->newOption('amazon-ec2.access-key', 'string', null)
52 ->setLocked(true)
53 ->setDescription(pht('Access key for Amazon EC2.')),
54 $this->newOption('amazon-ec2.secret-key', 'string', null)
55 ->setHidden(true)
56 ->setDescription(pht('Secret key for Amazon EC2.')),