fix: style tweaks for copy-code button

This commit is contained in:
saicaca
2024-06-21 22:26:00 +08:00
parent 88a7414625
commit b70a01a43a
6 changed files with 47 additions and 29 deletions

View File

@@ -32,9 +32,6 @@ enum I18nKey {
author = 'author',
publishedAt = 'publishedAt',
license = 'license',
codeCopy = 'copy',
codeCopied = 'codeCopied',
}
export default I18nKey

View File

@@ -35,7 +35,4 @@ export const en: Translation = {
[Key.author]: 'Author',
[Key.publishedAt]: 'Published at',
[Key.license]: 'License',
[Key.codeCopy]: 'Copy',
[Key.codeCopied]: 'Code copied',
}

View File

@@ -35,7 +35,4 @@ export const ja: Translation = {
[Key.author]: '作者',
[Key.publishedAt]: '公開日',
[Key.license]: 'ライセンス',
[Key.codeCopy]: 'コピー',
[Key.codeCopied]: 'コピーしました',
}

View File

@@ -35,7 +35,4 @@ export const zh_CN: Translation = {
[Key.author]: '作者',
[Key.publishedAt]: '发布于',
[Key.license]: '许可协议',
[Key.codeCopy]: '复制',
[Key.codeCopied]: '复制成功',
}

View File

@@ -35,7 +35,4 @@ export const zh_TW: Translation = {
[Key.author]: '作者',
[Key.publishedAt]: '發佈於',
[Key.license]: '許可協議',
[Key.codeCopy]: '複製',
[Key.codeCopied]: '複製成功',
}