diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-31 14:21:25 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-31 14:21:25 +0200 |
| commit | a90a77cfb913c7c0444ec793b47fd4be6fb66c9f (patch) | |
| tree | 626546526132f5e8b5185aa62905a6c72d7bb8c3 /public | |
| parent | a7cdc1856450c28491118d8143838e4b58ba2142 (diff) | |
Translate the Copied! label indicator for copy-url buttons
Diffstat (limited to 'public')
| -rw-r--r-- | public/javascripts/admin_interface.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/admin_interface.js b/public/javascripts/admin_interface.js index d94fb623..539305a3 100644 --- a/public/javascripts/admin_interface.js +++ b/public/javascripts/admin_interface.js | |||
| @@ -147,7 +147,7 @@ $(document).ready(function () { | |||
| 147 | navigator.clipboard.writeText(text).then(function () { | 147 | navigator.clipboard.writeText(text).then(function () { |
| 148 | var label = button.querySelector('.copy_button_label'); | 148 | var label = button.querySelector('.copy_button_label'); |
| 149 | if (!label) return; | 149 | if (!label) return; |
| 150 | var original = label.textContent; | 150 | var original = ADMIN_STRINGS.copied; |
| 151 | label.textContent = 'Copied!'; | 151 | label.textContent = 'Copied!'; |
| 152 | setTimeout(function () { label.textContent = original; }, 1500); | 152 | setTimeout(function () { label.textContent = original; }, 1500); |
| 153 | }); | 153 | }); |
