Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F950620
PhabricatorTranslationsConfigOptions.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
971 B
Referenced Files
None
Subscribers
None
PhabricatorTranslationsConfigOptions.php
View Options
<?php
final
class
PhabricatorTranslationsConfigOptions
extends
PhabricatorApplicationConfigOptions
{
public
function
getName
()
{
return
pht
(
'Translations'
);
}
public
function
getDescription
()
{
return
pht
(
'Options relating to translations.'
);
}
public
function
getFontIcon
()
{
return
'fa-globe'
;
}
public
function
getGroup
()
{
return
'core'
;
}
public
function
getOptions
()
{
return
array
(
$this
->
newOption
(
'translation.override'
,
'wild'
,
array
())
->
setSummary
(
pht
(
'Override translations.'
))
->
setDescription
(
pht
(
"You can use '%s' if you don't want to create a full translation "
.
"to give users an option for switching to it and you just want to "
.
"override some strings in the default translation."
,
'translation.override'
))
->
addExample
(
'{"some string": "my alternative"}'
,
pht
(
'Valid Setting'
)),
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Jun 17, 2:12 PM (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
224263
Default Alt Text
PhabricatorTranslationsConfigOptions.php (971 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment