refactor:插件列表页每一项插件的文字链接处的“翻译”按钮,修改为“翻译校准”

This commit is contained in:
sunxiyuan 2020-07-14 11:49:50 +08:00
parent 62b0cbe197
commit 605e2e0849

View file

@ -100,7 +100,7 @@ class Loco_hooks_AdminHooks extends Loco_hooks_Hookable {
} }
// ok to add "translate" link into meta row // ok to add "translate" link into meta row
$href = Loco_mvc_AdminRouter::generate('plugin-view', array( 'bundle' => $plugin) ); $href = Loco_mvc_AdminRouter::generate('plugin-view', array( 'bundle' => $plugin) );
$links[] = '<a href="'.esc_attr($href).'">'.esc_html__('Translate','loco-translate').'</a>'; $links[] = '<a href="'.esc_attr($href).'">翻译校准</a>';
} }
} }
catch( Exception $e ){ catch( Exception $e ){