Skip to content

Commit ba0f749

Browse files
authored
Add a copy button to code blocks (#737)
1 parent aa2d3f3 commit ba0f749

31 files changed

+146
-1
lines changed

javascript/boilerplate-text/boilerplate-ar.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ s.quickanswer = "جواب سريع" // heading
151151
s.longeranswer = "تفاصيل" // heading that follows 'Quick answer'
152152
s.additionalinfo = "معلومات إضافية" // heading that sometimes follows 'Details'
153153

154+
// copy button for code blocks
155+
s.copy = "Copy"
156+
s.copied = "Copied!"
154157

155158
// obsolete in most recent articles — used to be in bottom right box
156159
s.subscribeToRSS = "الإنضمام إلى خدمة RSS."

javascript/boilerplate-text/boilerplate-bg.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ s.quickanswer = "Бърз отговор" // heading
151151
s.longeranswer = "Детайли" // heading that follows 'Quick answer'
152152
s.additionalinfo = "Допълнителна информация" // heading that sometimes follows 'Details'
153153

154+
// copy button for code blocks
155+
s.copy = "Copy"
156+
s.copied = "Copied!"
154157

155158
// obsolete in most recent articles — used to be in bottom right box
156159
s.subscribeToRSS = "Абонирай се за RSS фиид."

javascript/boilerplate-text/boilerplate-de.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ s.quickanswer = "Kurze Antwort" // heading
151151
s.longeranswer = "Details" // heading that follows 'Quick answer'
152152
s.additionalinfo = "Weitere Informationen" // heading that sometimes follows 'Details'
153153

154+
// copy button for code blocks
155+
s.copy = "Copy"
156+
s.copied = "Copied!"
154157

155158
// obsolete in most recent articles — used to be in bottom right box
156159
s.subscribeToRSS = "Abonnieren Sie unseren RSS-Feed."

javascript/boilerplate-text/boilerplate-el.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ s.quickanswer = "Quick answer" // heading
151151
s.longeranswer = "Details" // heading that follows 'Quick answer'
152152
s.additionalinfo = "Additional information" // heading that sometimes follows 'Details'
153153

154+
// copy button for code blocks
155+
s.copy = "Copy"
156+
s.copied = "Copied!"
154157

155158
// obsolete in most recent articles — used to be in bottom right box
156159
s.subscribeToRSS = "Εγγραφή σε Τροφοδότη Ειδήσεων RSS."

javascript/boilerplate-text/boilerplate-en.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ s.quickanswer = "Quick answer" // heading
149149
s.longeranswer = "Details" // heading that follows 'Quick answer'
150150
s.additionalinfo = "Additional information" // heading that sometimes follows 'Details'
151151

152+
// copy button for code blocks
153+
s.copy = "Copy"
154+
s.copied = "Copied!"
152155

153156
// obsolete in most recent articles — used to be in bottom right box
154157
s.subscribeToRSS = "Subscribe to an RSS feed."

javascript/boilerplate-text/boilerplate-es.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ s.quickanswer = "Respuesta rápida" // heading
151151
s.longeranswer = "Respuesta extensa" // heading that follows 'Quick answer'
152152
s.additionalinfo = "Información adicional" // heading that sometimes follows 'Details'
153153

154+
// copy button for code blocks
155+
s.copy = "Copy"
156+
s.copied = "Copied!"
157+
154158

155159
// obsolete in most recent articles — used to be in bottom right box
156160
s.subscribeToRSS = "Suscripción a feed RSS."

javascript/boilerplate-text/boilerplate-fr.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ s.quickanswer = "Réponse courte" // heading
151151
s.longeranswer = "Détails" // heading that follows 'Quick answer'
152152
s.additionalinfo = "Information complémentaire" // heading that sometimes follows 'Details'
153153

154+
// copy button for code blocks
155+
s.copy = "Copy"
156+
s.copied = "Copied!"
157+
154158

155159
// obsolete in most recent articles — used to be in bottom right box
156160
s.subscribeToRSS = "Abonnez-vous au flux RSS."

javascript/boilerplate-text/boilerplate-gl.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ s.quickanswer = "Resposta rápida" // heading
151151
s.longeranswer = "Detalles" // heading that follows 'Quick answer'
152152
s.additionalinfo = "Información adicional" // heading that sometimes follows 'Details'
153153

154+
// copy button for code blocks
155+
s.copy = "Copy"
156+
s.copied = "Copied!"
154157

155158
// obsolete in most recent articles — used to be in bottom right box
156159
s.subscribeToRSS = "Suscríbete ó RSS."

javascript/boilerplate-text/boilerplate-he.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ s.quickanswer = "Quick answer" // heading
151151
s.longeranswer = "Details" // heading that follows 'Quick answer'
152152
s.additionalinfo = "Additional information" // heading that sometimes follows 'Details'
153153

154+
// copy button for code blocks
155+
s.copy = "Copy"
156+
s.copied = "Copied!"
154157

155158
// obsolete in most recent articles — used to be in bottom right box
156159
s.subscribeToRSS = "הירשם להזנת RSS."

javascript/boilerplate-text/boilerplate-hi.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ s.quickanswer = "त्वरित उत्तर" // heading
151151
s.longeranswer = "विवरण" // heading that follows 'Quick answer'
152152
s.additionalinfo = "अतिरिक्त जानकारी" // heading that sometimes follows 'Details'
153153

154+
// copy button for code blocks
155+
s.copy = "Copy"
156+
s.copied = "Copied!"
154157

155158
// obsolete in most recent articles — used to be in bottom right box
156159
s.subscribeToRSS = "एक आरएसएस फ़ीड की सदस्यता लें।"

0 commit comments

Comments
 (0)