mirror of
https://github.com/HeyPuter/puter
synced 2024-11-15 06:15:47 +00:00
translation fix
This commit is contained in:
parent
548e975cac
commit
cdd0231a76
@ -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;
|
||||||
|
@ -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);
|
||||||
|
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user