Skip to content

Commit

Permalink
chore: convention de nommage .locale pour les fichiers contenant les …
Browse files Browse the repository at this point in the history
…traductions #571
  • Loading branch information
ocruze committed Dec 6, 2024
1 parent 2f78fb6 commit a6fb96d
Show file tree
Hide file tree
Showing 48 changed files with 119 additions and 119 deletions.
2 changes: 1 addition & 1 deletion assets/components/Layout/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import useDocumentTitle from "../../hooks/useDocumentTitle";
import { useTranslation } from "../../i18n/i18n";
import Translator from "../../modules/Translator";
import RQKeys from "../../modules/entrepot/RQKeys";
import getBreadcrumb from "../../modules/entrepot/breadcrumbs/breadcrumbs";
import getBreadcrumb from "../../modules/entrepot/breadcrumbs/Breadcrumb";
import { useRoute } from "../../router/router";
import SessionExpiredAlert from "../Utils/SessionExpiredAlert";
import SnackbarMessage from "../Utils/SnackbarMessage";
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion assets/entrepot/pages/service/default-values.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { format as datefnsFormat } from "date-fns";
import { EndpointTypeEnum, Metadata, MetadataFormValuesType, MetadataHierarchyLevel, Service, StoredData } from "../../../@types/app";
import { ConfigurationWfsDetailsContent, ConfigurationWmsVectorDetailsContent, ConfigurationWmtsTmsDetailsContent } from "../../../@types/entrepot";
import { getProjectionCode, removeDiacritics } from "../../../utils";
import { getEndpointSuffix } from "./metadatas/Description";
import { getEndpointSuffix } from "./metadata/Description";
import { PyramidVectorTmsServiceFormValuesType } from "./tms/PyramidVectorTmsServiceForm";
import { WfsServiceFormValuesType, WfsTableInfos } from "./wfs/WfsServiceForm";
import { WmsVectorServiceFormValuesType } from "./wms-vector/WmsVectorServiceForm";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import api from "../../../api";
import AccessRestrictions from "../AccessRestrictions";
import { CommonSchemasValidation } from "../common-schemas-validation";
import { getPyramidVectorTmsServiceFormDefaultValues } from "../default-values";
import AdditionalInfo from "../metadatas/AdditionalInfo";
import Description from "../metadatas/Description";
import UploadMDFile from "../metadatas/UploadMDFile";
import AdditionalInfo from "../metadata/AdditionalInfo";
import Description from "../metadata/Description";
import UploadMDFile from "../metadata/UploadMDFile";

export type PyramidVectorTmsServiceFormValuesType = ServiceFormValuesBaseType;

Expand Down
6 changes: 3 additions & 3 deletions assets/entrepot/pages/service/wfs/WfsServiceForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ import api from "../../../api";
import AccessRestrictions from "../AccessRestrictions";
import { CommonSchemasValidation } from "../common-schemas-validation";
import { getWfsServiceFormDefaultValues } from "../default-values";
import AdditionalInfo from "../metadatas/AdditionalInfo";
import Description from "../metadatas/Description";
import UploadMDFile from "../metadatas/UploadMDFile";
import AdditionalInfo from "../metadata/AdditionalInfo";
import Description from "../metadata/Description";
import UploadMDFile from "../metadata/UploadMDFile";
import TableInfosForm from "./TablesInfoForm";

type TableInfoType = Record<string, WfsTableInfos>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ import AccessRestrictions from "../AccessRestrictions";
import TableSelection from "../TableSelection";
import { CommonSchemasValidation } from "../common-schemas-validation";
import { getWmsVectorServiceFormDefaultValues } from "../default-values";
import AdditionalInfo from "../metadatas/AdditionalInfo";
import Description from "../metadatas/Description";
import UploadMDFile from "../metadatas/UploadMDFile";
import AdditionalInfo from "../metadata/AdditionalInfo";
import Description from "../metadata/Description";
import UploadMDFile from "../metadata/UploadMDFile";
import UploadStyleFile from "./UploadStyleFile";

/**
Expand Down
File renamed without changes.
File renamed without changes.
72 changes: 36 additions & 36 deletions assets/i18n/languages/en.tsx
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
import { datastoreNavItemsEnTranslations } from "../../config/navItems/datastoreNavItems.tr";
import { navItemsEnTranslations } from "../../config/navItems/navItems.tr";
import { AccessesRequestEnTranslations } from "../../entrepot/pages/accesses-request/AccessesRequest.tr";
import { AddMemberEnTranslations } from "../../entrepot/pages/communities/AddMember/AddMember.tr";
import { CommunityMembersEnTranslations } from "../../entrepot/pages/communities/CommunityMembers/CommunityMembers.tr";
import { RightsEnTranslations } from "../../entrepot/pages/communities/Rights.tr";
import { DashboardProEnTranslations } from "../../entrepot/pages/dashboard/DashboardPro.tr";
import { DatasheetListEnTranslations } from "../../entrepot/pages/datasheet/DatasheetList/DatasheetList.tr";
import { DatasheetUploadFormEnTranslations } from "../../entrepot/pages/datasheet/DatasheetNew/DatasheetUploadForm.tr";
import { PyramidListFrTranslations } from "../../entrepot/pages/datasheet/DatasheetView/DatasetListTab/PyramidList/PyramidList.tr";
import { VectorDbListEnTranslations } from "../../entrepot/pages/datasheet/DatasheetView/DatasetListTab/VectorDbList/VectorDbList.tr";
import { DatasheetViewEnTranslations } from "../../entrepot/pages/datasheet/DatasheetView/DatasheetView/DatasheetView.tr";
import { DatastorePermissionsEnTranslations } from "../../entrepot/pages/datastore/ManagePermissions/DatastorePermissions.tr";
import { DatastoreManageStorageEnTranslations } from "../../entrepot/pages/datastore/ManageStorage/DatastoreManageStorage.tr";
import { AccessRestrictionsEnTranslations } from "../../entrepot/pages/service/AccessRestrictions.tr";
import { TableSelectionEnTranslations } from "../../entrepot/pages/service/TableSelection.tr";
import { MetadatasFormEnTranslations } from "../../entrepot/pages/service/metadatas/MetadataForm.tr";
import { ValidationMetadatasEnTranslations } from "../../entrepot/pages/service/metadatas/MetadataValidation.tr";
import { PyramidVectorTmsServiceFormEnTranslations } from "../../entrepot/pages/service/tms/PyramidVectorTmsServiceForm.tr";
import { StyleEnTranslations } from "../../entrepot/pages/service/view/Style/Style.tr";
import { WfsServiceFormEnTranslations } from "../../entrepot/pages/service/wfs/WfsServiceForm.tr";
import { UploadStyleFileEnTranslations } from "../../entrepot/pages/service/wms-vector/UploadStyleFile.tr";
import { WmsVectorServiceFormEnTranslations } from "../../entrepot/pages/service/wms-vector/WmsVectorServiceForm.tr";
import { MyAccessKeysEnTranslations } from "../../entrepot/pages/users/access-keys/MyAccessKeys.tr";
import { UserKeyEnTranslations } from "../../entrepot/pages/users/keys/UserKey.tr";
import { UserKeysListTabEnTranslations } from "../../entrepot/pages/users/keys/UserKeysListTab/UserKeysListTab.tr";
import { MeEnTranslations } from "../../entrepot/pages/users/me/Me.tr";
import { PermissionsEnTranslations } from "../../entrepot/pages/users/permissions/Permissions.tr";
import { EspaceCoCommunitiesEnTranslations } from "../../espaceco/pages/communities/EspaceCoCommunities.tr";
import { TMSStyleFilesManagerEnTranslations } from "../../modules/Style/TMSStyleFilesManager/TMSStyleFilesManager.tr";
import { LoginDisabledEnTranslations } from "../../pages/LoginDisabled/LoginDisabled.tr";
import { contactEnTranslations } from "../../pages/assistance/contact/Contact.tr";
import { mapboxStyleValidationEnTranslations } from "../../validations/mapbox/MapboxStyleValidator.tr";
import { SldStyleValidationErrorsEnTranslations } from "../../validations/sld/SldStyleValidation.tr";
import { BreadcrumbEnTranslations } from "../../modules/entrepot/breadcrumbs/Breadcrumb.tr";
import { commonEnTranslations } from "../Common.tr";
import { datastoreNavItemsEnTranslations } from "../../config/navItems/datastoreNavItems.locale";
import { navItemsEnTranslations } from "../../config/navItems/navItems.locale";
import { AccessesRequestEnTranslations } from "../../entrepot/pages/accesses-request/AccessesRequest.locale";
import { AddMemberEnTranslations } from "../../entrepot/pages/communities/AddMember/AddMember.locale";
import { CommunityMembersEnTranslations } from "../../entrepot/pages/communities/CommunityMembers/CommunityMembers.locale";
import { RightsEnTranslations } from "../../entrepot/pages/communities/Rights.locale";
import { DashboardProEnTranslations } from "../../entrepot/pages/dashboard/DashboardPro.locale";
import { DatasheetListEnTranslations } from "../../entrepot/pages/datasheet/DatasheetList/DatasheetList.locale";
import { DatasheetUploadFormEnTranslations } from "../../entrepot/pages/datasheet/DatasheetNew/DatasheetUploadForm.locale";
import { PyramidListFrTranslations } from "../../entrepot/pages/datasheet/DatasheetView/DatasetListTab/PyramidList/PyramidList.locale";
import { VectorDbListEnTranslations } from "../../entrepot/pages/datasheet/DatasheetView/DatasetListTab/VectorDbList/VectorDbList.locale";
import { DatasheetViewEnTranslations } from "../../entrepot/pages/datasheet/DatasheetView/DatasheetView/DatasheetView.locale";
import { DatastorePermissionsEnTranslations } from "../../entrepot/pages/datastore/ManagePermissions/DatastorePermissions.locale";
import { DatastoreManageStorageEnTranslations } from "../../entrepot/pages/datastore/ManageStorage/DatastoreManageStorage.locale";
import { AccessRestrictionsEnTranslations } from "../../entrepot/pages/service/AccessRestrictions.locale";
import { TableSelectionEnTranslations } from "../../entrepot/pages/service/TableSelection.locale";
import { MetadatasFormEnTranslations } from "../../entrepot/pages/service/metadata/MetadataForm.locale";
import { ValidationMetadatasEnTranslations } from "../../entrepot/pages/service/metadata/MetadataValidation.locale";
import { PyramidVectorTmsServiceFormEnTranslations } from "../../entrepot/pages/service/tms/PyramidVectorTmsServiceForm.locale";
import { StyleEnTranslations } from "../../entrepot/pages/service/view/Style/Style.locale";
import { WfsServiceFormEnTranslations } from "../../entrepot/pages/service/wfs/WfsServiceForm.locale";
import { UploadStyleFileEnTranslations } from "../../entrepot/pages/service/wms-vector/UploadStyleFile.locale";
import { WmsVectorServiceFormEnTranslations } from "../../entrepot/pages/service/wms-vector/WmsVectorServiceForm.locale";
import { MyAccessKeysEnTranslations } from "../../entrepot/pages/users/access-keys/MyAccessKeys.locale";
import { UserKeyEnTranslations } from "../../entrepot/pages/users/keys/UserKey.locale";
import { UserKeysListTabEnTranslations } from "../../entrepot/pages/users/keys/UserKeysListTab/UserKeysListTab.locale";
import { MeEnTranslations } from "../../entrepot/pages/users/me/Me.locale";
import { PermissionsEnTranslations } from "../../entrepot/pages/users/permissions/Permissions.locale";
import { EspaceCoCommunitiesEnTranslations } from "../../espaceco/pages/communities/EspaceCoCommunities.locale";
import { TMSStyleFilesManagerEnTranslations } from "../../modules/Style/TMSStyleFilesManager/TMSStyleFilesManager.locale";
import { BreadcrumbEnTranslations } from "../../modules/entrepot/breadcrumbs/Breadcrumb.locale";
import { LoginDisabledEnTranslations } from "../../pages/LoginDisabled/LoginDisabled.locale";
import { contactEnTranslations } from "../../pages/assistance/contact/Contact.locale";
import { mapboxStyleValidationEnTranslations } from "../../validations/mapbox/MapboxStyleValidator.locale";
import { SldStyleValidationErrorsEnTranslations } from "../../validations/sld/SldStyleValidation.locale";
import { commonEnTranslations } from "../Common.locale";
import type { Translations } from "../types";

export const translations: Translations<"en"> = {
Expand Down
72 changes: 36 additions & 36 deletions assets/i18n/languages/fr.tsx
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
import { datastoreNavItemsFrTranslations } from "../../config/navItems/datastoreNavItems.tr";
import { navItemsFrTranslations } from "../../config/navItems/navItems.tr";
import { AccessesRequestFrTranslations } from "../../entrepot/pages/accesses-request/AccessesRequest.tr";
import { AddMemberFrTranslations } from "../../entrepot/pages/communities/AddMember/AddMember.tr";
import { CommunityMembersFrTranslations } from "../../entrepot/pages/communities/CommunityMembers/CommunityMembers.tr";
import { RightsFrTranslations } from "../../entrepot/pages/communities/Rights.tr";
import { DashboardProFrTranslations } from "../../entrepot/pages/dashboard/DashboardPro.tr";
import { DatasheetListFrTranslations } from "../../entrepot/pages/datasheet/DatasheetList/DatasheetList.tr";
import { DatasheetUploadFormFrTranslations } from "../../entrepot/pages/datasheet/DatasheetNew/DatasheetUploadForm.tr";
import { PyramidListFrTranslations } from "../../entrepot/pages/datasheet/DatasheetView/DatasetListTab/PyramidList/PyramidList.tr";
import { VectorDbListFrTranslations } from "../../entrepot/pages/datasheet/DatasheetView/DatasetListTab/VectorDbList/VectorDbList.tr";
import { DatasheetViewFrTranslations } from "../../entrepot/pages/datasheet/DatasheetView/DatasheetView/DatasheetView.tr";
import { DatastorePermissionsFrTranslations } from "../../entrepot/pages/datastore/ManagePermissions/DatastorePermissions.tr";
import { DatastoreManageStorageFrTranslations } from "../../entrepot/pages/datastore/ManageStorage/DatastoreManageStorage.tr";
import { AccessRestrictionsFrTranslations } from "../../entrepot/pages/service/AccessRestrictions.tr";
import { TableSelectionFrTranslations } from "../../entrepot/pages/service/TableSelection.tr";
import { MetadatasFormFrTranslations } from "../../entrepot/pages/service/metadatas/MetadataForm.tr";
import { ValidationMetadatasFrTranslations } from "../../entrepot/pages/service/metadatas/MetadataValidation.tr";
import { PyramidVectorTmsServiceFormFrTranslations } from "../../entrepot/pages/service/tms/PyramidVectorTmsServiceForm.tr";
import { StyleFrTranslations } from "../../entrepot/pages/service/view/Style/Style.tr";
import { WfsServiceFormFrTranslations } from "../../entrepot/pages/service/wfs/WfsServiceForm.tr";
import { UploadStyleFileFrTranslations } from "../../entrepot/pages/service/wms-vector/UploadStyleFile.tr";
import { WmsVectorServiceFormFrTranslations } from "../../entrepot/pages/service/wms-vector/WmsVectorServiceForm.tr";
import { MyAccessKeysFrTranslations } from "../../entrepot/pages/users/access-keys/MyAccessKeys.tr";
import { UserKeyFrTranslations } from "../../entrepot/pages/users/keys/UserKey.tr";
import { UserKeysListTabFrTranslations } from "../../entrepot/pages/users/keys/UserKeysListTab/UserKeysListTab.tr";
import { MeFrTranslations } from "../../entrepot/pages/users/me/Me.tr";
import { PermissionsFrTranslations } from "../../entrepot/pages/users/permissions/Permissions.tr";
import { EspaceCoCommunitiesFrTranslations } from "../../espaceco/pages/communities/EspaceCoCommunities.tr";
import { TMSStyleFilesManagerFrTranslations } from "../../modules/Style/TMSStyleFilesManager/TMSStyleFilesManager.tr";
import { LoginDisabledFrTranslations } from "../../pages/LoginDisabled/LoginDisabled.tr";
import { contactFrTranslations } from "../../pages/assistance/contact/Contact.tr";
import { mapboxStyleValidationFrTranslations } from "../../validations/mapbox/MapboxStyleValidator.tr";
import { SldStyleValidationErrorsFrTranslations } from "../../validations/sld/SldStyleValidation.tr";
import { BreadcrumbFrTranslations } from "../../modules/entrepot/breadcrumbs/Breadcrumb.tr";
import { commonFrTranslations } from "../Common.tr";
import { datastoreNavItemsFrTranslations } from "../../config/navItems/datastoreNavItems.locale";
import { navItemsFrTranslations } from "../../config/navItems/navItems.locale";
import { AccessesRequestFrTranslations } from "../../entrepot/pages/accesses-request/AccessesRequest.locale";
import { AddMemberFrTranslations } from "../../entrepot/pages/communities/AddMember/AddMember.locale";
import { CommunityMembersFrTranslations } from "../../entrepot/pages/communities/CommunityMembers/CommunityMembers.locale";
import { RightsFrTranslations } from "../../entrepot/pages/communities/Rights.locale";
import { DashboardProFrTranslations } from "../../entrepot/pages/dashboard/DashboardPro.locale";
import { DatasheetListFrTranslations } from "../../entrepot/pages/datasheet/DatasheetList/DatasheetList.locale";
import { DatasheetUploadFormFrTranslations } from "../../entrepot/pages/datasheet/DatasheetNew/DatasheetUploadForm.locale";
import { PyramidListFrTranslations } from "../../entrepot/pages/datasheet/DatasheetView/DatasetListTab/PyramidList/PyramidList.locale";
import { VectorDbListFrTranslations } from "../../entrepot/pages/datasheet/DatasheetView/DatasetListTab/VectorDbList/VectorDbList.locale";
import { DatasheetViewFrTranslations } from "../../entrepot/pages/datasheet/DatasheetView/DatasheetView/DatasheetView.locale";
import { DatastorePermissionsFrTranslations } from "../../entrepot/pages/datastore/ManagePermissions/DatastorePermissions.locale";
import { DatastoreManageStorageFrTranslations } from "../../entrepot/pages/datastore/ManageStorage/DatastoreManageStorage.locale";
import { AccessRestrictionsFrTranslations } from "../../entrepot/pages/service/AccessRestrictions.locale";
import { TableSelectionFrTranslations } from "../../entrepot/pages/service/TableSelection.locale";
import { MetadatasFormFrTranslations } from "../../entrepot/pages/service/metadata/MetadataForm.locale";
import { ValidationMetadatasFrTranslations } from "../../entrepot/pages/service/metadata/MetadataValidation.locale";
import { PyramidVectorTmsServiceFormFrTranslations } from "../../entrepot/pages/service/tms/PyramidVectorTmsServiceForm.locale";
import { StyleFrTranslations } from "../../entrepot/pages/service/view/Style/Style.locale";
import { WfsServiceFormFrTranslations } from "../../entrepot/pages/service/wfs/WfsServiceForm.locale";
import { UploadStyleFileFrTranslations } from "../../entrepot/pages/service/wms-vector/UploadStyleFile.locale";
import { WmsVectorServiceFormFrTranslations } from "../../entrepot/pages/service/wms-vector/WmsVectorServiceForm.locale";
import { MyAccessKeysFrTranslations } from "../../entrepot/pages/users/access-keys/MyAccessKeys.locale";
import { UserKeyFrTranslations } from "../../entrepot/pages/users/keys/UserKey.locale";
import { UserKeysListTabFrTranslations } from "../../entrepot/pages/users/keys/UserKeysListTab/UserKeysListTab.locale";
import { MeFrTranslations } from "../../entrepot/pages/users/me/Me.locale";
import { PermissionsFrTranslations } from "../../entrepot/pages/users/permissions/Permissions.locale";
import { EspaceCoCommunitiesFrTranslations } from "../../espaceco/pages/communities/EspaceCoCommunities.locale";
import { TMSStyleFilesManagerFrTranslations } from "../../modules/Style/TMSStyleFilesManager/TMSStyleFilesManager.locale";
import { BreadcrumbFrTranslations } from "../../modules/entrepot/breadcrumbs/Breadcrumb.locale";
import { LoginDisabledFrTranslations } from "../../pages/LoginDisabled/LoginDisabled.locale";
import { contactFrTranslations } from "../../pages/assistance/contact/Contact.locale";
import { mapboxStyleValidationFrTranslations } from "../../validations/mapbox/MapboxStyleValidator.locale";
import { SldStyleValidationErrorsFrTranslations } from "../../validations/sld/SldStyleValidation.locale";
import { commonFrTranslations } from "../Common.locale";
import type { Translations } from "../types";

export const translations: Translations<"fr"> = {
Expand Down
Loading

0 comments on commit a6fb96d

Please sign in to comment.