diff --git a/libretranslate/templates/app.js.template b/libretranslate/templates/app.js.template index a8fed99..db436b4 100644 --- a/libretranslate/templates/app.js.template +++ b/libretranslate/templates/app.js.template @@ -272,7 +272,7 @@ document.addEventListener('DOMContentLoaded', function(){ this.$refs.translatedTextarea.setSelectionRange(0, 9999999); /* For mobile devices */ document.execCommand("copy"); - if (this.copyTextLabel === "Copy text"){ + if (this.copyTextLabel === {{ _e("Copy text") }}){ this.copyTextLabel = {{ _e("Copied") }}; var self = this; setTimeout(function(){ diff --git a/libretranslate/templates/index.html b/libretranslate/templates/index.html index deead3f..5726b92 100644 --- a/libretranslate/templates/index.html +++ b/libretranslate/templates/index.html @@ -56,7 +56,7 @@