From a397faa7adfdfb78921a953292ba6e80ccfa3cff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=B0=8F=E7=99=BD=E5=93=A6?= Date: Thu, 30 Jul 2026 03:01:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=E3=80=8Cresources/locale=E3=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/locale/en.yml | 21 +++++++++++++++++++++ resources/locale/zh.yml | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 resources/locale/en.yml create mode 100644 resources/locale/zh.yml diff --git a/resources/locale/en.yml b/resources/locale/en.yml new file mode 100644 index 0000000..62ce6eb --- /dev/null +++ b/resources/locale/en.yml @@ -0,0 +1,21 @@ +ffans-clipboardjs: + admin: + settings: + codeLang_label: 'Show code language' + copy_enable_label: 'Enable copy code' + themes_label: 'Style of the copy button' + themes: + cnblog: 'cnBlogs' + csdn: 'CSDN' + default: 'Default Clipboardjs' + github: 'GitHub' + jianshu: 'Jian Shu' + lingcoder: 'LingCoder' + segmentfault: 'SegmentFault' + forum: + action_copy: 'Copy' + action_cut: 'Cut' + ok_btn: 'Copied' + error_btn: 'Error' + no_support: 'No support' + msg: 'Press {actionKey} to {action}' \ No newline at end of file diff --git a/resources/locale/zh.yml b/resources/locale/zh.yml new file mode 100644 index 0000000..942ff05 --- /dev/null +++ b/resources/locale/zh.yml @@ -0,0 +1,21 @@ +ffans-clipboardjs: + admin: + settings: + codeLang_label: '显示代码语言' + copy_enable_label: '开启复制功能' + themes_label: '复制按钮风格' + themes: + default: '默认 Clipboardjs' + github: 'GitHub' + csdn: 'CSDN' + cnblog: '博客园' + jianshu: '简书' + lingcoder: 'LingCoder' + segmentfault: '思否' + forum: + action_copy: '复制' + action_cut: '剪切' + ok_btn: '复制成功' + error_btn: '复制失败' + no_support: '不支持 :(' + msg: '按 {actionKey} {action}' \ No newline at end of file