Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1177318
phrases_phrases.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Oct 8, 7:14 AM
Size
2 KB
Mime Type
text/x-php
Expires
Fri, Oct 10, 7:14 AM (1 d, 17 h)
Engine
blob
Format
Raw Data
Handle
763952
Attached To
rINP In-Portal
phrases_phrases.php
View Options
<?php
defined
(
'FULL_PATH'
)
or
die
(
'restricted access!'
);
// section removal
$remove_sections
=
Array
(
// 'in-portal:phrases',
);
// sections shown with debug on
$debug_only_sections
=
Array
(
'in-portal:phrases'
,
);
// toolbar buttons
$remove_buttons
=
Array
(
// edit phrase via regional
// 'phrase_edit' => Array ('select', 'cancel', 'reset_edit', 'prev', 'next'),
// single phrase list
'phrases_list_st'
=>
Array
(
/*'new_item', 'edit', 'delete', 'view',*/
'export'
,
/*'dbl-click'*/
),
// edit phrase
'phrase_edit_single'
=>
Array
(
/*'select',*/
'setprimary'
,
/*'cancel', 'reset_edit', 'prev', 'next'*/
),
);
// fields to hide
$hidden_fields
=
Array
(
/*'PhraseId', 'Phrase', 'PhraseKey', 'Translation', 'HintTranslation', 'ColumnTranslation',
'PhraseType', 'LastChanged', 'LastChangeIP', 'Module',*/
);
// virtual fields to hide
$virtual_hidden_fields
=
Array
(
/*'PrimaryTranslation', 'SourceTranslation', 'SourceHintTranslation', 'SourceColumnTranslation',
'CurrentTranslation', 'CurrentHintTranslation', 'CurrentColumnTranslation', 'LangFile', 'ImportOverwrite',
'ImportSynced', 'DoNotEncode', 'ExportPhrases', 'ExportEmailTemplates',*/
'TranslationInSync'
,
'TranslateFromLanguage'
);
$debug_only_fields
=
Array
(
'HintTranslation'
,
'ColumnTranslation'
);
$debug_only_virtual_fields
=
Array
(
'SourceHintTranslation'
,
'SourceColumnTranslation'
);
// fields to make required
$required_fields
=
Array
(
'Phrase'
,
'Translation'
,
'PhraseType'
,
'Module'
);
// virtual fields to make required
$virtual_required_fields
=
Array
(
);
// hide columns in grids
$hide_columns
=
Array
(
// default grid
// 'Default' => Array ('PhraseId', 'Phrase', 'CurrentTranslation', 'PrimaryTranslation', 'PhraseType', 'LastChanged', 'Module', 'CurrentHintTranslation', 'CurrentColumnTranslation'),
// single list of phrases
'Phrases'
=>
Array
(
/*'PhraseId', 'Phrase', 'CurrentTranslation', 'PhraseType', 'LastChanged', 'Module', 'CurrentHintTranslation', 'CurrentColumnTranslation',*/
'TranslationInSync'
,
'TranslateFromLanguage'
),
);
Event Timeline
Log In to Comment