diff --git a/theme/src/node/plugins.ts b/theme/src/node/plugins.ts index b7db9c89..08a6efb8 100644 --- a/theme/src/node/plugins.ts +++ b/theme/src/node/plugins.ts @@ -146,12 +146,6 @@ export const setupPlugins = ( options.copyCode !== false ? copyCodePlugin({ selector: '.plume-content div[class*="language-"] pre', - locales: { - '/': { - copy: '复制成功', - hint: '复制代码', - }, - }, ...options.copyCode, }) : [],