Skip to content

Commit 86780c6

Browse files
authored
Fix for issue #102 (#111)
* Marked missing text for translations in JS script
1 parent de6026f commit 86780c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oioioi/programs/static/common/clipboard.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ function copyCodeToClipboard() {
33
const button = document.getElementById("cpy_btn");
44
button.classList.remove("btn-outline-secondary");
55
button.classList.add("btn-success");
6-
button.textContent = "Copied!";
6+
button.textContent = gettext("Copied!");
77
}, function() {
8-
alert("Unable to copy Code");
8+
alert(gettext("Unable to copy Code"));
99
});
1010
}

0 commit comments

Comments
 (0)