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 { 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);
|
||||
}
|
||||
|
@@ -86,7 +86,9 @@ export const AppsDevModeHome = ({
|
||||
|
||||
setInfoSnackCustom({
|
||||
type: 'error',
|
||||
message: '',
|
||||
message: t('core:message.generic.devmode_local_node', {
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
}),
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
@@ -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;
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user