Web: Fixed 404 error on translation.json loading
This commit is contained in:
parent
35a4eca247
commit
55a4a53bbc
@ -74,7 +74,7 @@ Tiles.propTypes = {
|
||||
};
|
||||
|
||||
const Body = ({ modules, match, isLoaded }) => {
|
||||
const { t } = useTranslation("Home");
|
||||
const { t } = useTranslation();
|
||||
const { error } = match.params;
|
||||
setDocumentTitle();
|
||||
|
||||
|
@ -1,131 +0,0 @@
|
||||
{
|
||||
"pages": {
|
||||
"About": {
|
||||
"Resource": [
|
||||
"AboutCompanyTitle",
|
||||
"AboutCompanyVersion",
|
||||
"AboutCompanyLicensor",
|
||||
"AboutCompanyAddressTitle",
|
||||
"AboutCompanyEmailTitle",
|
||||
"AboutCompanyTelTitle",
|
||||
"AllRightsReservedCustomMode",
|
||||
"AboutTitle"
|
||||
],
|
||||
"UserControlsCommonResource": ["LicensedUnder"]
|
||||
},
|
||||
"Home": {},
|
||||
"Login": {
|
||||
"Resource": [
|
||||
"LoadingProcessing",
|
||||
"Password",
|
||||
"RegistrationEmailWatermark",
|
||||
"MessageEmailConfirmed",
|
||||
"MessageAuthorize",
|
||||
"LoginButton",
|
||||
"ForgotPassword",
|
||||
"PasswordRecoveryTitle",
|
||||
"MessageSendPasswordRecoveryInstructionsOnEmail",
|
||||
"RememberHelper",
|
||||
"LoadingDescription",
|
||||
"CookieSettingsTitle"
|
||||
]
|
||||
},
|
||||
"Confirm": {
|
||||
"Resource": [
|
||||
"InviteTitle",
|
||||
"LoginRegistryButton",
|
||||
"LoginWithAccount",
|
||||
"Email",
|
||||
"InvitePassword",
|
||||
"FirstName",
|
||||
"CopyEmailAndPassword",
|
||||
"ErrorPasswordMessage",
|
||||
"ErrorPasswordLength",
|
||||
"ErrorPasswordNoDigits",
|
||||
"ErrorPasswordNoUpperCase",
|
||||
"ErrorPasswordNoSpecialSymbols",
|
||||
"EmailAndPasswordCopiedToClipboard",
|
||||
"LastName",
|
||||
"DeleteProfileBtn",
|
||||
"DeleteProfileSuccessMessage",
|
||||
"DeleteProfileSuccessMessageInfo",
|
||||
"DeleteProfileConfirmation",
|
||||
"DeleteProfileConfirmationInfo",
|
||||
"ChangePasswordSuccess",
|
||||
"Remember",
|
||||
"ConfirmOwnerPortalTitle",
|
||||
"ConfirmOwnerPortalSuccessMessage"
|
||||
]
|
||||
},
|
||||
"Settings": {
|
||||
"Resource": [
|
||||
"PortalOwner",
|
||||
"AccessRightsOwnerCan",
|
||||
"AccessRightsOwnerOpportunities",
|
||||
"AdminSettings",
|
||||
"People",
|
||||
"Mail",
|
||||
"AccessRightsFullAccess",
|
||||
"AccessRightsAccessToProduct",
|
||||
"AccessRightsProductUsersCan",
|
||||
"AccessRightsDisabledProduct",
|
||||
"AccessRightsAllUsers",
|
||||
"AccessRightsUsersFromList",
|
||||
"StudioTimeLanguageSettings",
|
||||
"Language",
|
||||
"TimeZone",
|
||||
"SaveButton",
|
||||
"NotFoundLanguage",
|
||||
"ManagementCategoryCommon",
|
||||
"Customization",
|
||||
"ProductsAndInstruments",
|
||||
"WhiteLabel",
|
||||
"ManagementCategorySecurity",
|
||||
"PortalSecurity",
|
||||
"AccessRights",
|
||||
"ManagementCategoryIntegration",
|
||||
"ManagementCategoryStatistic",
|
||||
"DataManagement",
|
||||
"Migration",
|
||||
"Backup",
|
||||
"DeactivationDeletionPortal",
|
||||
"ThirdPartyAuthorization",
|
||||
"SmtpSettings",
|
||||
"GreetingSettingsTitle",
|
||||
"GreetingTitle",
|
||||
"RestoreDefaultButton",
|
||||
"SuccessfullySaveGreetingSettingsMessage",
|
||||
"ChangeLogoButton",
|
||||
"Employees",
|
||||
"AccessRightsChangeOwnerText",
|
||||
"DnsChangeMsg",
|
||||
"AccessRightsChangeOwnerConfirmText",
|
||||
"LearnMore",
|
||||
"AccessRightsChangeOwnerButtonText"
|
||||
],
|
||||
"FeedResource": [
|
||||
"ProjectsProduct",
|
||||
"CrmProduct",
|
||||
"CommunityProduct",
|
||||
"DocumentsProduct"
|
||||
],
|
||||
"PeopleResource": ["Settings", "ProductUserOpportunities"],
|
||||
"AuditResource": ["LoginHistoryNav", "AuditTrailNav"],
|
||||
"WhiteLabelResource": [
|
||||
"LogoSettings",
|
||||
"CompanyNameForCanvasLogo",
|
||||
"UseAsLogoButton",
|
||||
"LogoLightSmall",
|
||||
"LogoDark",
|
||||
"LogoFavicon",
|
||||
"BrowserNoCanvasSupport",
|
||||
"LogoDocsEditor"
|
||||
],
|
||||
"UserControlsCommonResource": ["NextPage", "PreviousPage"],
|
||||
"ResourceJS": ["ChooseOwner"]
|
||||
}
|
||||
},
|
||||
"Layout": {
|
||||
"Resource": ["Profile", "AboutCompanyTitle", "LogoutButton"]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user