Making "Copied" a translatable string. I'm just gonna hope POEdit recognises it :P
This commit is contained in:
@@ -24,8 +24,10 @@
|
||||
|
||||
var clipboardClient = new ZeroClipboard( document.getElementsByClassName("copy-button") );
|
||||
|
||||
var copied = "<?php yourls_e( 'Copied', 'isq_translation'); ?>";
|
||||
|
||||
clipboardClient.on( 'aftercopy', function(event) {
|
||||
event.target.innerHTML = "Copied!";
|
||||
event.target.innerHTML = copied;
|
||||
} );
|
||||
</script>
|
||||
<?php } ?>
|
||||
|
||||
Reference in New Issue
Block a user