translation fix

This commit is contained in:
Nariman Jelveh 2024-04-24 12:06:05 -07:00
parent 548e975cac
commit cdd0231a76
3 changed files with 2 additions and 5 deletions

View File

@ -27,10 +27,6 @@ export class CallbackManager {
attach_to_source (source) { attach_to_source (source) {
source.addEventListener('message', event => { source.addEventListener('message', event => {
const { data } = event; const { data } = event;
console.log(
'test-app got message from window',
data,
);
debugger; debugger;
if (data && typeof data === 'object' && data.$SCOPE === $SCOPE) { if (data && typeof data === 'object' && data.$SCOPE === $SCOPE) {
const { id, args } = data; const { id, args } = data;

View File

@ -108,7 +108,7 @@ async function UIWindowRefer(options){
document.execCommand('copy'); document.execCommand('copy');
} }
$(this).html(i18n('copying')); $(this).html(i18n('link_copied'));
setTimeout(function(){ setTimeout(function(){
$(copy_btn).html(i18n('copy_link')); $(copy_btn).html(i18n('copy_link'));
}, 1000); }, 1000);

View File

@ -119,6 +119,7 @@ const en = {
language: "Language", language: "Language",
license: "License", license: "License",
lightness: 'Lightness', lightness: 'Lightness',
link_copied: "Link copied",
loading: 'Loading', loading: 'Loading',
log_in: "Log In", log_in: "Log In",
log_into_another_account_anyway: 'Log into another account anyway', log_into_another_account_anyway: 'Log into another account anyway',