进行了一些小修复
This commit is contained in:
1 parent
7c0c21e984
commit
ee4e599f2d
13 files changed
+496
-75
No files matched your search
@@ -54,10 +54,18 @@ if (file_exists($css)) {
|
||||
}
|
||||
$js = get_template_directory() . '/assets/js/front-submit.js';
|
||||
if (file_exists($js)) {
|
||||
$pay_download_js = get_template_directory() . '/assets/js/front-submit-pay-download.js';
|
||||
wp_enqueue_script(
|
||||
'aksrt-front-submit-pay-download',
|
||||
get_template_directory_uri() . '/assets/js/front-submit-pay-download.js',
|
||||
[],
|
||||
(string) filemtime($pay_download_js),
|
||||
true
|
||||
);
|
||||
wp_enqueue_script(
|
||||
'aksrt-front-submit',
|
||||
get_template_directory_uri() . '/assets/js/front-submit.js',
|
||||
['aksrt-runtime'],
|
||||
['aksrt-runtime', 'aksrt-front-submit-pay-download'],
|
||||
(string) filemtime($js),
|
||||
true
|
||||
);
|
||||
@@ -180,6 +188,24 @@ if (file_exists($js)) {
|
||||
'loginVisible' => __('登录可见', 'aksrt'),
|
||||
'vipVisible' => __('VIP 可见', 'aksrt'),
|
||||
'payVisible' => __('付费可见', 'aksrt'),
|
||||
'addResource' => __('添加资源', 'aksrt'),
|
||||
'editResource' => __('编辑资源', 'aksrt'),
|
||||
'downloadUrl' => __('下载地址', 'aksrt'),
|
||||
'enterDownloadUrl' => __('请输入资源下载地址', 'aksrt'),
|
||||
'pasteLinkHint' => __('支持直接粘贴网盘分享链接,并自动识别提取码', 'aksrt'),
|
||||
'resourceNote' => __('资源备注', 'aksrt'),
|
||||
'enterResourceNote' => __('请输入资源备注', 'aksrt'),
|
||||
'resourceNoteHint' => __('例如提取码、解压密码等', 'aksrt'),
|
||||
'clickCopy' => __('点击复制', 'aksrt'),
|
||||
'copyName' => __('复制名称', 'aksrt'),
|
||||
'copyContent' => __('复制内容', 'aksrt'),
|
||||
'copyHint' => __('填写后,用户可点击资源备注复制内容', 'aksrt'),
|
||||
'customButton' => __('自定义按钮', 'aksrt'),
|
||||
'customButtonPlaceholder' => __('自定义下载按钮名称', 'aksrt'),
|
||||
'selectButtonStyle' => __('选择按钮样式', 'aksrt'),
|
||||
'extractCode' => __('提取码', 'aksrt'),
|
||||
'extractCodeColon' => __('提取码:', 'aksrt'),
|
||||
'confirm' => __('确认', 'aksrt'),
|
||||
],
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user