feat(widgets): add phase 4 validation and accessibility
This commit is contained in:
@@ -33,6 +33,8 @@ final class AssetManager {
|
||||
'loading' => __('正在加载…', 'aksrt'),
|
||||
'error' => __('加载失败,请重试。', 'aksrt'),
|
||||
'retry' => __('重试', 'aksrt'),
|
||||
'pause' => __('暂停自动播放', 'aksrt'),
|
||||
'resume' => __('继续自动播放', 'aksrt'),
|
||||
],
|
||||
];
|
||||
wp_add_inline_script('aksrt-widgets', 'window.aksrtWidgets=' . wp_json_encode($config) . ';', 'before');
|
||||
|
||||
Reference in New Issue
Block a user