Merge pull request #104 from Qortal/bugfix/name-spacing-and-translations

Bugfix/name spacing and translations
This commit is contained in:
Phillip
2025-07-05 07:12:31 +03:00
committed by GitHub
4 changed files with 14 additions and 6 deletions

View File

@@ -131,7 +131,8 @@ export const AppViewer = forwardRef<HTMLIFrameElement, AppViewerProps>(
const copyLinkFunc = (e) => { const copyLinkFunc = (e) => {
const { tabId } = e.detail; const { tabId } = e.detail;
if (tabId === app?.tabId) { 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('/')) { if (path && path.startsWith('/')) {
link = link + removeTrailingSlash(path); link = link + removeTrailingSlash(path);
} }

View File

@@ -86,7 +86,9 @@ export const AppsDevModeHome = ({
setInfoSnackCustom({ setInfoSnackCustom({
type: 'error', type: 'error',
message: '', message: t('core:message.generic.devmode_local_node', {
postProcess: 'capitalizeFirstChar',
}),
}); });
return; return;
} }

View File

@@ -83,8 +83,13 @@ export const CoreSyncStatus = () => {
let message: string = ''; let message: string = '';
if (isUsingGateway) { if (isUsingGateway) {
imagePath = syncingImg; if (isSynchronizing) {
message = `${t('core:minting.status.no_status')}`; 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) { } else if (isMintingPossible) {
if (isSynchronizing) { if (isSynchronizing) {
imagePath = syncingImg; imagePath = syncingImg;

View File

@@ -135,10 +135,10 @@ export const ListOfJoinRequests = ({
{ {
...response, ...response,
type: 'join-request-accept', type: 'join-request-accept',
label: t('group:message.success,invitation_request', { label: t('group:message.success.invitation_request', {
postProcess: 'capitalizeFirstChar', postProcess: 'capitalizeFirstChar',
}), }),
labelDone: t('group:message.success,user_joined', { labelDone: t('group:message.success.user_joined', {
postProcess: 'capitalizeFirstChar', postProcess: 'capitalizeFirstChar',
}), }),
done: false, done: false,