Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / config / option / PhabricatorTranslationsConfigOptions.php
blobc82e7901bc4e1606e9e2028a89ffae7b0c611e4c
1 <?php
3 final class PhabricatorTranslationsConfigOptions
4 extends PhabricatorApplicationConfigOptions {
6 public function getName() {
7 return pht('Translations');
10 public function getDescription() {
11 return pht('Options relating to translations.');
14 public function getIcon() {
15 return 'fa-globe';
18 public function getGroup() {
19 return 'core';
22 public function getOptions() {
23 return array(
24 $this->newOption('translation.override', 'wild', array())
25 ->setSummary(pht('Override translations.'))
26 ->setDescription(
27 pht(
28 "You can use '%s' if you don't want to create a full translation ".
29 "to give users an option for switching to it and you just want to ".
30 "override some strings in the default translation.",
31 'translation.override'))
32 ->addExample(
33 '{"some string": "my alternative"}',
34 pht('Valid Setting')),