custom fields add i18n and getPreparedTorrents()

This commit is contained in:
xiaomlove
2021-03-06 19:16:58 +08:00
parent cb4e5e5eb5
commit cf301fef89
8 changed files with 131 additions and 34 deletions

31
lang/en/lang_fields.php Normal file
View File

@@ -0,0 +1,31 @@
<?php
$lang_fields = [
'field_management' => 'Custom field managent',
'text_manage' => 'Manage',
'text_add' => 'Add',
'text_field' => 'Field',
'text_delete' => 'Delete',
'text_edit' => 'Edit',
'col_id' => 'ID',
'col_name' => 'Name',
'col_name_helptext' => 'Only allow digit, alphabet, underline',
'col_label' => 'Display label',
'col_type' => 'Type',
'col_required' => 'Required',
'col_help' => 'Helptext',
'col_options' => 'Options',
'col_options_helptext' => '类型为单选、多选、下拉时必填,一行一个,格式:选项值|选项描述文本',
'col_action' => '操作',
'col_is_single_row' => '展示时单独一行',
'js_sure_to_delete_this' => '你确信要删除此项目吗?',
'submit_submit' => '提交',
'field_type_text' => '短文本',
'field_type_textarea' => '长文本',
'field_type_radio' => '横向单选',
'field_type_checkbox' => '横向多选',
'field_type_select' => '下拉单选',
'field_type_image' => '图片',
'field_type_file' => '文件',
];

View File

@@ -314,6 +314,8 @@ $lang_functions = array
'text_tag_diy' => 'DIY',
'text_tag_mother_language' => 'Mother language',
'text_tag_mother_language_subtitle' => 'Mother language subtitle',
'text_required' => 'Required',
'text_invalid' => 'Invalid',
);
?>