Skip to content

Commit a856149

Browse files
committed
better copy button
well never known when rehype-pretty/rehype-pretty-code#262 fixes. but we also didnt need it be fixed :)
1 parent 5310cbd commit a856149

21 files changed

+313
-6
lines changed

src/locales/ar-SA.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,19 @@
14631463
"pageNotFoundText": "عفوًا! يبدو أنك وصلت إلى صفحة غير موجودة.",
14641464
"homepageButton": "العودة إلى الصفحة الرئيسية"
14651465
},
1466+
"copy_button": {
1467+
"copy": {
1468+
"dataset": {
1469+
"tip": "نسخ إلى الحافظة"
1470+
}
1471+
},
1472+
"copied": {
1473+
"dataset": {
1474+
"tip": "تم النسخ إلى الحافظة"
1475+
}
1476+
},
1477+
"copy_failed": "تعذّر النسخ إلى الحافظة: ${error}"
1478+
},
14661479
"pow_captcha": {
14671480
"initial": "أنا لست روبوت",
14681481
"verifying": "التحقق ...",

src/locales/de-DE.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,19 @@
14631463
"pageNotFoundText": "Hoppla! Sie scheinen auf einer Seite gelandet zu sein, die nicht existiert.",
14641464
"homepageButton": "Zur Startseite zurückkehren"
14651465
},
1466+
"copy_button": {
1467+
"copy": {
1468+
"dataset": {
1469+
"tip": "in die Zwischenablage kopieren"
1470+
}
1471+
},
1472+
"copied": {
1473+
"dataset": {
1474+
"tip": "In die Zwischenablage kopiert!"
1475+
}
1476+
},
1477+
"copy_failed": "Kopieren in die Zwischenablage fehlgeschlagen: ${error}"
1478+
},
14661479
"pow_captcha": {
14671480
"initial": "Ich bin kein Roboter",
14681481
"verifying": "Wird überprüft...",

src/locales/emoji.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,19 @@
14631463
"pageNotFoundText": "😢 ➡️ 🤷‍♂️📄",
14641464
"homepageButton": "➡️🏠"
14651465
},
1466+
"copy_button": {
1467+
"copy": {
1468+
"dataset": {
1469+
"tip": "📋"
1470+
}
1471+
},
1472+
"copied": {
1473+
"dataset": {
1474+
"tip": "📋✅"
1475+
}
1476+
},
1477+
"copy_failed": "📋❌: ${error}"
1478+
},
14661479
"pow_captcha": {
14671480
"initial": "🤖❓",
14681481
"verifying": "🤔⏳",

src/locales/en-UK.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,19 @@
14631463
"pageNotFoundText": "Oops! It seems you've stumbled upon a page that doesn't exist.",
14641464
"homepageButton": "Back to Homepage"
14651465
},
1466+
"copy_button": {
1467+
"copy": {
1468+
"dataset": {
1469+
"tip": "Copy to clipboard"
1470+
}
1471+
},
1472+
"copied": {
1473+
"dataset": {
1474+
"tip": "Copied to clipboard!"
1475+
}
1476+
},
1477+
"copy_failed": "Unable to copy to clipboard: ${error}"
1478+
},
14661479
"pow_captcha": {
14671480
"initial": "I'm not a robot",
14681481
"verifying": "Verifying...",

src/locales/es-ES.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,19 @@
14631463
"pageNotFoundText": "¡Vaya! Parece que has llegado a una página que no existe.",
14641464
"homepageButton": "Volver a la página de inicio"
14651465
},
1466+
"copy_button": {
1467+
"copy": {
1468+
"dataset": {
1469+
"tip": "Copiar al portapapeles"
1470+
}
1471+
},
1472+
"copied": {
1473+
"dataset": {
1474+
"tip": "¡Copiado al portapapeles!"
1475+
}
1476+
},
1477+
"copy_failed": "No se puede copiar al portapapeles: ${error}"
1478+
},
14661479
"pow_captcha": {
14671480
"initial": "No soy un robot",
14681481
"verifying": "Verificando...",

src/locales/fr-FR.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,19 @@
14631463
"pageNotFoundText": "Oups ! Il semble que vous soyez arrivé sur une page qui n'existe pas.",
14641464
"homepageButton": "Retour à la page d'accueil"
14651465
},
1466+
"copy_button": {
1467+
"copy": {
1468+
"dataset": {
1469+
"tip": "Copier dans le presse-papier"
1470+
}
1471+
},
1472+
"copied": {
1473+
"dataset": {
1474+
"tip": "Copié dans le presse-papier !"
1475+
}
1476+
},
1477+
"copy_failed": "Impossible de copier dans le presse-papier : ${error}"
1478+
},
14661479
"pow_captcha": {
14671480
"initial": "Je ne suis pas un robot",
14681481
"verifying": "Vérification en cours...",

src/locales/hi-IN.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,19 @@
14631463
"pageNotFoundText": "ओह! ऐसा लगता है कि आप एक ऐसे पेज पर आ गए हैं जो मौजूद नहीं है।",
14641464
"homepageButton": "होमपेज पर वापस जाएँ"
14651465
},
1466+
"copy_button": {
1467+
"copy": {
1468+
"dataset": {
1469+
"tip": "क्लिपबोर्ड पर कॉपी करें"
1470+
}
1471+
},
1472+
"copied": {
1473+
"dataset": {
1474+
"tip": "क्लिपबोर्ड पर कॉपी किया गया!"
1475+
}
1476+
},
1477+
"copy_failed": "क्लिपबोर्ड पर कॉपी नहीं हो सका: ${error}"
1478+
},
14661479
"pow_captcha": {
14671480
"initial": "मैं रोबोट नहीं हूं",
14681481
"verifying": "सत्यापित हो रहा है...",

src/locales/is-IS.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,19 @@
14631463
"pageNotFoundText": "Úps! Svo virðist sem þú hafir lent á síðu sem er ekki til.",
14641464
"homepageButton": "Aftur á forsíðu"
14651465
},
1466+
"copy_button": {
1467+
"copy": {
1468+
"dataset": {
1469+
"tip": "afrita á klippiborð"
1470+
}
1471+
},
1472+
"copied": {
1473+
"dataset": {
1474+
"tip": "Afritað á klippiborð!"
1475+
}
1476+
},
1477+
"copy_failed": "Ekki er hægt að afrita á klippiborð: ${error}"
1478+
},
14661479
"pow_captcha": {
14671480
"initial": "Ég er ekki vélmenni",
14681481
"verifying": "Staðfestir...",

src/locales/it-IT.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,19 @@
14631463
"pageNotFoundText": "Ops! Sembra che tu sia finito in una pagina inesistente.",
14641464
"homepageButton": "Torna alla Homepage"
14651465
},
1466+
"copy_button": {
1467+
"copy": {
1468+
"dataset": {
1469+
"tip": "copia negli appunti"
1470+
}
1471+
},
1472+
"copied": {
1473+
"dataset": {
1474+
"tip": "Copiato negli appunti!"
1475+
}
1476+
},
1477+
"copy_failed": "Impossibile copiare negli appunti: ${error}"
1478+
},
14661479
"pow_captcha": {
14671480
"initial": "Non sono un robot",
14681481
"verifying": "Verifica in corso...",

src/locales/ja-JP.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,19 @@
14631463
"pageNotFoundText": "おっと!存在しないページにアクセスしたようです。",
14641464
"homepageButton": "ホームページに戻る"
14651465
},
1466+
"copy_button": {
1467+
"copy": {
1468+
"dataset": {
1469+
"tip": "クリップボードにコピー"
1470+
}
1471+
},
1472+
"copied": {
1473+
"dataset": {
1474+
"tip": "クリップボードにコピーしました!"
1475+
}
1476+
},
1477+
"copy_failed": "クリップボードへのコピーに失敗しました: ${error}"
1478+
},
14661479
"pow_captcha": {
14671480
"initial": "私はロボットではありません",
14681481
"verifying": "検証中...",

0 commit comments

Comments
 (0)