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
+2
View File
@@ -9,11 +9,13 @@ $lang_fields = [
'text_edit' => '编辑',
'col_id' => 'ID',
'col_name' => 'Name',
'col_name_helptext' => '仅允许数字、字母、下划线',
'col_label' => '显示标签',
'col_type' => '类型',
'col_required' => '不能为空',
'col_help' => '辅助说明',
'col_options' => '选项',
'col_options_helptext' => '类型为单选、多选、下拉时必填,一行一个,格式:选项值|选项描述文本',
'col_action' => '操作',
'col_is_single_row' => '展示时单独一行',
'js_sure_to_delete_this' => '你确信要删除此项目吗?',
+2
View File
@@ -312,6 +312,8 @@ $lang_functions = array
'text_tag_diy' => '自制',
'text_tag_mother_language' => '国语',
'text_tag_mother_language_subtitle' => '中字',
'text_required' => '不能为空',
'text_invalid' => '非法',
);
?>
+31
View File
@@ -0,0 +1,31 @@
<?php
$lang_fields = [
'field_management' => '字段管理',
'text_manage' => '管理',
'text_add' => '添加',
'text_field' => '字段',
'text_delete' => '刪除',
'text_edit' => '編輯',
'col_id' => 'ID',
'col_name' => 'Name',
'col_name_helptext' => '僅允許數字、字母、下劃線',
'col_label' => '顯示標簽',
'col_type' => '類型',
'col_required' => '不能為空',
'col_help' => '輔助說明',
'col_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' => '文件',
];
+2
View File
@@ -313,6 +313,8 @@ $lang_functions = array
'text_tag_diy' => '自制',
'text_tag_mother_language' => '國語',
'text_tag_mother_language_subtitle' => '中字',
'text_required' => '不能為空',
'text_invalid' => '非法',
);
?>
+31
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' => '文件',
];
+2
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',
);
?>