feat(code): add copy button for code (#239)

This commit is contained in:
Dillon
2020-04-18 20:54:54 +08:00
committed by GitHub
parent 9f37d7bc2a
commit 8a0e61085c
33 changed files with 350 additions and 198 deletions

View File

@@ -40,6 +40,19 @@ other = "More"
[selectLanguage]
other = "Select Language"
[switchTheme]
other = "Switch Theme"
# === partials/header.html ===
# === partials/footer.html ===
[poweredBySome]
other = "Powered by %s"
[theme]
other = "Theme"
# === partials/footer.html ===
# === partials/assets.html ===
[search]
other = "Search"
@@ -55,17 +68,9 @@ other = "Cancel"
[noResultsFound]
other = "No results found"
[switchTheme]
other = "Switch Theme"
# === partials/header.html ===
# === partials/footer.html ===
[poweredBySome]
other = "Powered by %s"
[theme]
other = "Theme"
# === partials/footer.html ===
[copyToClipboard]
other = "Copy to clipboard"
# === partials/assets.html ===
# === partials/plugin/share.html ===
[shareOn]

View File

@@ -40,6 +40,19 @@ other = "Plus"
[selectLanguage]
other = "Choisir la langue"
[switchTheme]
other = "Changer de Thème"
# === partials/header.html ===
# === partials/footer.html ===
[poweredBySome]
other = "Propulsé par %s"
[theme]
other = "Thème"
# === partials/footer.html ===
# === partials/assets.html ===
[search]
other = "Chercher"
@@ -55,24 +68,14 @@ other = "Annuler"
[noResultsFound]
other = "Aucun résultat trouvé"
[switchTheme]
other = "Changer de Thème"
# === partials/header.html ===
# === partials/footer.html ===
[poweredBySome]
other = "Propulsé par %s"
[theme]
other = "Thème"
# === partials/footer.html ===
# === partials/assets.html ===
[lunrLanguageLib]
other = "lib/lunr/lunr.fr.js"
[lunrLanguageCode]
other = "fr"
[copyToClipboard]
other = "Copier dans le presse-papiers"
# === partials/assets.html ===
# === partials/plugin/share.html ===

View File

@@ -40,6 +40,19 @@ other = "Więcej"
[selectLanguage]
other = "Wybierz język"
[switchTheme]
other = "Przełącz schemat"
# === partials/header.html ===
# === partials/footer.html ===
[poweredBySome]
other = "Napędzany przez %s"
[theme]
other = "Szablon"
# === partials/footer.html ===
# === partials/assets.html ===
[search]
other = "Szukaj"
@@ -55,24 +68,14 @@ other = "Anuluj"
[noResultsFound]
other = "Nie znaleziono wyników"
[switchTheme]
other = "Przełącz schemat"
# === partials/header.html ===
# === partials/footer.html ===
[poweredBySome]
other = "Napędzany przez %s"
[theme]
other = "Szablon"
# === partials/footer.html ===
# === partials/assets.html ===
[lunrLanguageLib]
other = "lib/lunr/lunr.pl.js"
[lunrLanguageCode]
other = "pl"
[copyToClipboard]
other = "Skopiuj do schowka"
# === partials/assets.html ===
# === partials/plugin/share.html ===

View File

@@ -40,6 +40,19 @@ other = "更多"
[selectLanguage]
other = "选择语言"
[switchTheme]
other = "切换主题"
# === partials/header.html ===
# === partials/footer.html ===
[poweredBySome]
other = "由 %s 强力驱动"
[theme]
other = "主题"
# === partials/footer.html ===
# === partials/assets.html ===
[search]
other = "搜索"
@@ -55,24 +68,14 @@ other = "取消"
[noResultsFound]
other = "没有找到结果"
[switchTheme]
other = "切换主题"
# === partials/header.html ===
# === partials/footer.html ===
[poweredBySome]
other = "由 %s 强力驱动"
[theme]
other = "主题"
# === partials/footer.html ===
# === partials/assets.html ===
[lunrLanguageLib]
other = "lib/lunr/lunr.zh.js"
[lunrLanguageCode]
other = "zh"
[copyToClipboard]
other = "复制到剪贴板"
# === partials/assets.html ===
# === partials/plugin/share.html ===