Index: branches/5.0.x/core/units/phrases/phrases_config.php =================================================================== diff -u -r12614 -r12640 --- branches/5.0.x/core/units/phrases/phrases_config.php (.../phrases_config.php) (revision 12614) +++ branches/5.0.x/core/units/phrases/phrases_config.php (.../phrases_config.php) (revision 12640) @@ -1,6 +1,6 @@ Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => NULL), 'Translation' => Array ('type' => 'string', 'formatter' => 'kFormatter', 'required' => 1, 'not_null' => 1, 'using_fck' => 1, 'default' => ''), - 'PhraseType' => Array ('type' => 'int', 'required'=>1,'formatter' => 'kOptionsFormatter', 'options'=>Array (0=>'la_PhraseType_Front',1=>'la_PhraseType_Admin',2=>'la_PhraseType_Both'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 0), + 'PhraseType' => Array ( + 'type' => 'int', + 'formatter' => 'kOptionsFormatter', 'options' => Array (0 => 'la_PhraseType_Front', 1 => 'la_PhraseType_Admin', 2 => 'la_PhraseType_Both'), 'use_phrases' => 1, + 'not_null' => 1, 'required' => 1, 'default' => 0 + ), 'PhraseId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), 'LanguageId' => Array ( @@ -156,8 +160,13 @@ ), 'VirtualFields' => Array ( - 'PrimaryTranslation' => Array (), - 'LangFile' => Array (), + 'PrimaryTranslation' => Array ('type' => 'string', 'default' => ''), + 'LangFile' => Array ( + 'type' => 'string', + 'formatter' => 'kUploadFormatter', + 'max_size' => MAX_UPLOAD_SIZE, 'upload_dir' => WRITEBALE_BASE . '/', + 'max_len' => 255, 'default' => '' + ), 'ImportOverwrite' => Array ('type' => 'int', 'default' => 0), 'DoNotEncode' => Array (), 'PackName' => Array (