From 96cbaaba1b1a20611a026207d1ddeff739a4f1f0 Mon Sep 17 00:00:00 2001 From: PhilReact Date: Fri, 4 Jul 2025 22:50:07 +0300 Subject: [PATCH 1/2] fix public node fix status --- src/components/CoreSyncStatus.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/CoreSyncStatus.tsx b/src/components/CoreSyncStatus.tsx index 1bf2221..bd44d91 100644 --- a/src/components/CoreSyncStatus.tsx +++ b/src/components/CoreSyncStatus.tsx @@ -83,8 +83,13 @@ export const CoreSyncStatus = () => { let message: string = ''; if (isUsingGateway) { - imagePath = syncingImg; - message = `${t('core:minting.status.no_status')}`; + if (isSynchronizing) { + imagePath = syncingImg; + message = `${t(`core:minting.status.synchronizing`, { percent: syncPercent, postProcess: 'capitalizeFirstChar' })} ${t('core:minting.status.not_minting')}`; + } else { + imagePath = syncedImg; + message = `${t(`core:minting.status.synchronized`, { percent: syncPercent, postProcess: 'capitalizeFirstChar' })} ${t('core:minting.status.not_minting')}`; + } } else if (isMintingPossible) { if (isSynchronizing) { imagePath = syncingImg; From d1bcf9ea3522c4f46d1c2f149af97d59550339ab Mon Sep 17 00:00:00 2001 From: PhilReact Date: Sat, 5 Jul 2025 07:11:15 +0300 Subject: [PATCH 2/2] fixed names with spaces in copy link and translation fixes --- src/components/Apps/AppViewer.tsx | 3 ++- src/components/Apps/AppsDevModeHome.tsx | 4 +++- src/components/Group/ListOfJoinRequests.tsx | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/Apps/AppViewer.tsx b/src/components/Apps/AppViewer.tsx index 5ec416d..1e68f5b 100644 --- a/src/components/Apps/AppViewer.tsx +++ b/src/components/Apps/AppViewer.tsx @@ -131,7 +131,8 @@ export const AppViewer = forwardRef( const copyLinkFunc = (e) => { const { tabId } = e.detail; if (tabId === app?.tabId) { - let link = 'qortal://' + app?.service + '/' + app?.name; + let link = + 'qortal://' + app?.service + '/' + app?.name.replace(/ /g, '%20'); if (path && path.startsWith('/')) { link = link + removeTrailingSlash(path); } diff --git a/src/components/Apps/AppsDevModeHome.tsx b/src/components/Apps/AppsDevModeHome.tsx index 9e56d93..e7ee3b5 100644 --- a/src/components/Apps/AppsDevModeHome.tsx +++ b/src/components/Apps/AppsDevModeHome.tsx @@ -86,7 +86,9 @@ export const AppsDevModeHome = ({ setInfoSnackCustom({ type: 'error', - message: '', + message: t('core:message.generic.devmode_local_node', { + postProcess: 'capitalizeFirstChar', + }), }); return; } diff --git a/src/components/Group/ListOfJoinRequests.tsx b/src/components/Group/ListOfJoinRequests.tsx index 60bdb0a..3a1d49f 100644 --- a/src/components/Group/ListOfJoinRequests.tsx +++ b/src/components/Group/ListOfJoinRequests.tsx @@ -135,10 +135,10 @@ export const ListOfJoinRequests = ({ { ...response, type: 'join-request-accept', - label: t('group:message.success,invitation_request', { + label: t('group:message.success.invitation_request', { postProcess: 'capitalizeFirstChar', }), - labelDone: t('group:message.success,user_joined', { + labelDone: t('group:message.success.user_joined', { postProcess: 'capitalizeFirstChar', }), done: false,