Page Menu
Home
WMGMC Issues
搜索
Configure Global Search
登录
Files
F15901
PhabricatorTranslationsConfigOptions.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
订阅
标记用于日后
授予令牌
Size
967 B
Referenced Files
None
订阅者
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
getIcon
()
{
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
详情
附加的
Mime Type
text/x-php
Expires
9月 9 Tue, 5:48 AM (10 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5271
默认替代文本
PhabricatorTranslationsConfigOptions.php (967 B)
Attached To
Mode
rP phorge
附加的
Detach File
Event Timeline
Log In to Comment