mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-07-29 13:11:23 +00:00
Merge pull request #104 from Qortal/bugfix/name-spacing-and-translations
Bugfix/name spacing and translations
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
|
@@ -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,
|
||||||
|
Reference in New Issue
Block a user