Page MenuHomeIn-Portal Phabricator

phrases_phrases.php
No OneTemporary

File Metadata

Created
Thu, Oct 9, 9:34 PM

phrases_phrases.php

<?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', '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', 'CurrentTranslation', 'CurrentHintTranslation', 'CurrentColumnTranslation',
'LangFile', 'ImportOverwrite', 'DoNotEncode', 'ExportPhrases', 'ExportEmailTemplates'*/
);
$debug_only_fields = Array (
'HintTranslation', 'ColumnTranslation'
);
// 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'),
);

Event Timeline