diff --git a/packages/puter-js/src/lib/xdrpc.js b/packages/puter-js/src/lib/xdrpc.js index 0df632e3..49541a5a 100644 --- a/packages/puter-js/src/lib/xdrpc.js +++ b/packages/puter-js/src/lib/xdrpc.js @@ -27,10 +27,6 @@ export class CallbackManager { attach_to_source (source) { source.addEventListener('message', event => { const { data } = event; - console.log( - 'test-app got message from window', - data, - ); debugger; if (data && typeof data === 'object' && data.$SCOPE === $SCOPE) { const { id, args } = data; diff --git a/src/UI/UIWindowRefer.js b/src/UI/UIWindowRefer.js index bebe6164..a37f8e4f 100644 --- a/src/UI/UIWindowRefer.js +++ b/src/UI/UIWindowRefer.js @@ -108,7 +108,7 @@ async function UIWindowRefer(options){ document.execCommand('copy'); } - $(this).html(i18n('copying')); + $(this).html(i18n('link_copied')); setTimeout(function(){ $(copy_btn).html(i18n('copy_link')); }, 1000); diff --git a/src/i18n/translations/en.js b/src/i18n/translations/en.js index af627fb1..c8c1ec33 100644 --- a/src/i18n/translations/en.js +++ b/src/i18n/translations/en.js @@ -119,6 +119,7 @@ const en = { language: "Language", license: "License", lightness: 'Lightness', + link_copied: "Link copied", loading: 'Loading', log_in: "Log In", log_into_another_account_anyway: 'Log into another account anyway',